1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-29 04:07:37 +02:00
bitwarden-mobile/src/App/Styles/iOS.xaml

144 lines
4.9 KiB
Plaintext
Raw Normal View History

2019-04-22 17:32:17 +02:00
<?xml version="1.0" encoding="utf-8" ?>
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Styles.iOS">
2019-06-05 18:32:40 +02:00
<Style TargetType="Entry"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
2019-06-21 22:09:20 +02:00
<Setter Property="Margin"
Value="0, 5, 0, 12" />
2019-06-05 18:32:40 +02:00
</Style>
<Style TargetType="Picker"
ApplyToDerivedTypes="True">
<Setter Property="Margin"
Value="0, 5, 0, 12" />
</Style>
2019-06-05 18:32:40 +02:00
<Style TargetType="Editor"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
2019-06-24 17:22:34 +02:00
<Setter Property="Margin"
Value="0, 0, 0, 12" />
2019-06-05 18:32:40 +02:00
</Style>
2019-06-22 15:51:04 +02:00
<Style TargetType="Switch"
ApplyToDerivedTypes="True">
<Setter Property="OnColor"
Value="{StaticResource SwitchOnColor}" />
</Style>
2019-06-24 17:53:19 +02:00
<Style TargetType="SearchBar">
<Setter Property="BackgroundColor"
Value="{StaticResource ListHeaderBackgroundColor}" />
<Setter Property="TextColor"
Value="{StaticResource TextColor}" />
<Setter Property="CancelButtonColor"
Value="{StaticResource PrimaryColor}" />
<Setter Property="PlaceholderColor"
Value="{StaticResource MutedColor}" />
</Style>
2019-06-22 15:15:37 +02:00
<!-- Buttons -->
<Style TargetType="Button">
<Setter Property="BackgroundColor"
Value="{StaticResource ButtonBackgroundColor}" />
<Setter Property="TextColor"
Value="{StaticResource ButtonTextColor}" />
<Setter Property="Margin"
Value="0, 5, 0, 0" />
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="btn-icon-platform">
<Setter Property="WidthRequest"
Value="37" />
<Setter Property="FontSize"
Value="25" />
</Style>
2019-06-20 22:02:39 +02:00
<!-- List -->
<Style TargetType="ListView"
Class="list-platform"
ApplyToDerivedTypes="True">
<Setter Property="SeparatorColor"
Value="{StaticResource ListItemBorderColor}" />
</Style>
2019-06-21 15:59:22 +02:00
<Style TargetType="StackLayout"
Class="list-row-header-container-platform">
<Setter Property="BackgroundColor"
Value="{StaticResource ListHeaderBackgroundColor}" />
</Style>
2019-06-20 22:02:39 +02:00
<Style TargetType="StackLayout"
Class="list-row-header-platform">
<Setter Property="Padding"
Value="10, 0, 10, 5" />
<Setter Property="VerticalOptions"
Value="EndAndExpand" />
</Style>
<Style TargetType="Label"
Class="list-header-platform">
<Setter Property="TextColor"
2019-06-20 23:05:28 +02:00
Value="{StaticResource MutedColor}" />
2019-06-20 22:02:39 +02:00
<Setter Property="FontSize"
Value="Small" />
</Style>
<Style TargetType="BoxView"
Class="list-section-separator-top-platform">
<Setter Property="Color"
2019-06-20 22:40:13 +02:00
Value="{StaticResource ListSectionBorderColor}" />
2019-06-20 22:02:39 +02:00
</Style>
<Style TargetType="BoxView"
Class="list-section-separator-bottom-platform">
<Setter Property="Color"
2019-06-20 22:40:13 +02:00
Value="{StaticResource ListSectionBorderColor}" />
2019-06-20 22:02:39 +02:00
<Setter Property="Margin"
Value="0, 0, 0, -1" />
</Style>
<Style TargetType="StackLayout"
Class="list-row-platform">
</Style>
<Style TargetType="Grid"
Class="list-row-platform">
</Style>
<Style TargetType="Label"
Class="list-icon-platform"
ApplyToDerivedTypes="True">
<Setter Property="FontSize"
2019-06-20 22:49:27 +02:00
Value="21" />
2019-06-20 22:02:39 +02:00
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="list-row-button-platform">
<Setter Property="WidthRequest"
2019-06-20 23:05:28 +02:00
Value="37" />
<Setter Property="FontSize"
Value="25" />
</Style>
<!-- Box -->
<Style TargetType="Label"
Class="box-header-platform">
<Setter Property="TextColor"
2019-06-20 23:26:42 +02:00
Value="{StaticResource BoxHeaderTextColor}" />
2019-06-20 23:05:28 +02:00
<Setter Property="FontSize"
Value="Small" />
2019-06-20 23:26:42 +02:00
<Setter Property="FontAttributes"
Value="Bold" />
2019-06-20 23:05:28 +02:00
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="box-row-button-platform">
<Setter Property="WidthRequest"
Value="37" />
2019-06-20 22:02:39 +02:00
<Setter Property="FontSize"
Value="25" />
</Style>
2019-06-24 18:05:01 +02:00
<Style TargetType="StackLayout"
Class="box-row-input-options-platform">
<Setter Property="Padding"
Value="0, 10, 0, 5" />
</Style>
2019-04-22 17:32:17 +02:00
</ResourceDictionary>