bitwarden-android/src/App/Styles/iOS.xaml

179 lines
6.4 KiB
Text
Raw Normal View History

2019-04-22 18:32:17 +03: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"
2019-06-24 21:29:23 +03:00
x:Class="Bit.App.Styles.iOS"
xmlns:controls="clr-namespace:Bit.App.Controls">
2019-06-05 19:32:40 +03:00
<Style TargetType="Entry"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
2019-06-24 21:29:23 +03:00
<Setter Property="TextColor"
Value="{StaticResource TextColor}" />
2019-06-21 23:09:20 +03:00
<Setter Property="Margin"
Value="0, 5, 0, 12" />
2019-06-05 19:32:40 +03:00
</Style>
<Style TargetType="Picker"
ApplyToDerivedTypes="True">
2019-06-24 21:29:23 +03:00
<Setter Property="TextColor"
Value="{StaticResource TextColor}" />
<Setter Property="Margin"
Value="0, 5, 0, 12" />
</Style>
2019-06-05 19:32:40 +03:00
<Style TargetType="Editor"
ApplyToDerivedTypes="True">
2019-06-24 21:29:23 +03:00
<Setter Property="TextColor"
Value="{StaticResource TextColor}" />
<Setter Property="BackgroundColor"
Value="{StaticResource BackgroundColor}" />
2019-06-05 19:32:40 +03:00
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
2019-06-24 18:22:34 +03:00
<Setter Property="Margin"
Value="0, 0, 0, 12" />
2019-06-05 19:32:40 +03:00
</Style>
2019-06-22 16:51:04 +03:00
<Style TargetType="Switch"
ApplyToDerivedTypes="True">
<Setter Property="OnColor"
Value="{StaticResource SwitchOnColor}" />
</Style>
<Style TargetType="SearchBar"
ApplyToDerivedTypes="True">
2019-06-24 18:53:19 +03:00
<Setter Property="BackgroundColor"
Value="{StaticResource ListHeaderBackgroundColor}" />
<Setter Property="TextColor"
Value="{StaticResource TextColor}" />
2019-06-24 18:53:19 +03:00
<Setter Property="CancelButtonColor"
Value="{StaticResource PrimaryColor}" />
<Setter Property="PlaceholderColor"
2019-06-24 22:13:33 +03:00
Value="#777777" />
2019-06-24 18:53:19 +03:00
</Style>
2019-06-24 21:29:23 +03:00
<Style TargetType="ContentPage"
ApplyToDerivedTypes="True">
<Setter Property="BackgroundColor"
Value="{StaticResource BackgroundColor}" />
</Style>
<Style TargetType="ListView"
ApplyToDerivedTypes="True">
<Setter Property="BackgroundColor"
Value="{StaticResource BackgroundColor}" />
<Setter Property="RefreshControlColor"
Value="{StaticResource PrimaryColor}" />
2019-06-24 21:29:23 +03:00
</Style>
<Style TargetType="ActivityIndicator"
ApplyToDerivedTypes="True">
<Setter Property="Color"
Value="{StaticResource PrimaryColor}" />
</Style>
<Style TargetType="controls:ExtendedSlider">
<Setter Property="MinimumTrackColor"
Value="{StaticResource SliderTrackMinColor}" />
<Setter Property="MaximumTrackColor"
Value="{StaticResource SliderTrackMaxColor}" />
<Setter Property="ThumbColor"
Value="{StaticResource SliderThumbColor}" />
</Style>
2019-06-22 16:15:37 +03: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 23:02:39 +03:00
<!-- List -->
<Style TargetType="ListView"
Class="list-platform"
ApplyToDerivedTypes="True">
<Setter Property="SeparatorColor"
Value="{StaticResource ListItemBorderColor}" />
</Style>
2019-06-21 16:59:22 +03:00
<Style TargetType="StackLayout"
Class="list-row-header-container-platform">
<Setter Property="BackgroundColor"
Value="{StaticResource ListHeaderBackgroundColor}" />
</Style>
2019-06-20 23:02:39 +03: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-21 00:05:28 +03:00
Value="{StaticResource MutedColor}" />
2019-06-20 23:02:39 +03:00
<Setter Property="FontSize"
Value="Small" />
</Style>
<Style TargetType="BoxView"
Class="list-section-separator-top-platform">
<Setter Property="Color"
2019-06-20 23:40:13 +03:00
Value="{StaticResource ListSectionBorderColor}" />
2019-06-20 23:02:39 +03:00
</Style>
<Style TargetType="BoxView"
Class="list-section-separator-bottom-platform">
<Setter Property="Color"
2019-06-24 21:49:47 +03:00
Value="{StaticResource ListSectionBorderBottomColor}" />
2019-06-20 23:02:39 +03: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 23:49:27 +03:00
Value="21" />
2019-06-20 23:02:39 +03:00
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="list-row-button-platform">
<Setter Property="WidthRequest"
2019-06-21 00:05:28 +03:00
Value="37" />
<Setter Property="FontSize"
Value="25" />
</Style>
<!-- Box -->
<Style TargetType="Label"
Class="box-header-platform">
<Setter Property="TextColor"
2019-06-21 00:26:42 +03:00
Value="{StaticResource BoxHeaderTextColor}" />
2019-06-21 00:05:28 +03:00
<Setter Property="FontSize"
Value="Small" />
2019-06-21 00:26:42 +03:00
<Setter Property="FontAttributes"
Value="Bold" />
2019-06-21 00:05:28 +03:00
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="box-row-button-platform">
<Setter Property="WidthRequest"
Value="37" />
2019-06-20 23:02:39 +03:00
<Setter Property="FontSize"
Value="25" />
</Style>
2019-06-24 19:05:01 +03:00
<Style TargetType="StackLayout"
Class="box-row-input-options-platform">
<Setter Property="Padding"
Value="0, 10, 0, 5" />
</Style>
2019-04-22 18:32:17 +03:00
</ResourceDictionary>