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

186 lines
6.6 KiB
Text
Raw Normal View History

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