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

146 lines
4.9 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.Android"
xmlns:controls="clr-namespace:Bit.App.Controls">
2019-05-01 22:11:54 +03:00
<Style TargetType="Entry"
ApplyToDerivedTypes="True">
2019-06-05 19:32:40 +03:00
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
2019-05-01 22:11:54 +03:00
<Setter Property="Margin"
2019-05-08 06:22:25 +03:00
Value="-4, 0, -4, -4" />
</Style>
<Style TargetType="Picker"
ApplyToDerivedTypes="True">
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
2019-05-01 22:11:54 +03:00
</Style>
2019-05-08 22:00:45 +03:00
<Style TargetType="Editor"
ApplyToDerivedTypes="True">
2019-06-05 19:32:40 +03:00
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
2019-05-08 22:00:45 +03:00
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
2019-06-24 18:53:19 +03:00
</Style>
<Style TargetType="SearchBar"
ApplyToDerivedTypes="True">
2019-06-24 18:53:19 +03:00
<Setter Property="BackgroundColor"
Value="Transparent" />
<Setter Property="TextColor"
Value="{StaticResource TitleEntryTextColor}" />
<Setter Property="CancelButtonColor"
Value="{StaticResource TitleEntryTextColor}" />
<Setter Property="PlaceholderColor"
Value="{StaticResource TitleEntryPlaceholderColor}" />
2019-06-24 21:29:23 +03:00
</Style>
<Style TargetType="controls:ExtendedSlider">
<Setter Property="MinimumTrackColor"
Value="{StaticResource SliderTrackMinColor}" />
<Setter Property="MaximumTrackColor"
Value="{StaticResource SliderTrackMinColor}" />
<Setter Property="ThumbColor"
Value="{StaticResource SliderThumbColor}" />
<Setter Property="ThumbBorderColor"
Value="{StaticResource SliderThumbBorderColor}" />
2019-05-08 22:00:45 +03:00
</Style>
2019-05-02 19:20:56 +03:00
<!-- Buttons -->
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="btn-icon-platform">
<Setter Property="WidthRequest"
Value="37" />
<Setter Property="FontSize"
Value="25" />
</Style>
2019-05-07 06:18:13 +03:00
<!-- Title -->
<Style TargetType="Button"
Class="btn-title-platform"
ApplyToDerivedTypes="True">
<Setter Property="WidthRequest"
Value="28" />
<Setter Property="FontSize"
Value="24" />
</Style>
2019-04-26 19:57:52 +03:00
<!-- List -->
2019-05-08 17:42:55 +03:00
2019-04-23 00:08:37 +03:00
<Style TargetType="ListView"
2019-05-08 17:42:55 +03:00
Class="list-platform"
ApplyToDerivedTypes="True">
2019-04-23 00:08:37 +03:00
<Setter Property="SeparatorColor"
Value="Transparent" />
</Style>
2019-06-20 23:02:39 +03:00
<Style TargetType="StackLayout"
Class="list-row-header-platform">
<Setter Property="Padding"
Value="10, 12" />
<Setter Property="VerticalOptions"
Value="CenterAndExpand" />
</Style>
2019-04-22 18:32:17 +03:00
<Style TargetType="Label"
Class="list-header-platform">
2019-04-22 21:17:33 +03:00
<Setter Property="TextColor"
Value="{StaticResource ListHeaderTextColor}" />
2019-04-23 00:08:37 +03:00
<Setter Property="FontSize"
Value="Small" />
<Setter Property="FontAttributes"
Value="Bold" />
</Style>
2019-06-20 23:02:39 +03:00
<Style TargetType="BoxView"
Class="list-section-separator-top-platform">
<Setter Property="Color"
Value="{StaticResource ListItemBorderColor}" />
</Style>
<Style TargetType="BoxView"
Class="list-section-separator-bottom-platform">
<Setter Property="Color"
Value="Transparent" />
<Setter Property="IsVisible"
Value="False" />
</Style>
2019-04-23 00:08:37 +03:00
<Style TargetType="StackLayout"
Class="list-row-platform">
</Style>
<Style TargetType="Grid"
Class="list-row-platform">
2019-04-22 18:32:17 +03:00
</Style>
2019-06-12 16:13:13 +03:00
<Style TargetType="Label"
Class="list-icon-platform"
ApplyToDerivedTypes="True">
<Setter Property="FontSize"
Value="10" />
</Style>
2019-05-02 21:53:45 +03:00
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="list-row-button-platform">
<Setter Property="WidthRequest"
Value="37" />
<Setter Property="FontSize"
Value="25" />
</Style>
2019-04-26 07:26:09 +03:00
<!-- Box -->
2019-04-26 19:57:52 +03:00
<Style TargetType="Label"
Class="box-header-platform">
<Setter Property="TextColor"
Value="{StaticResource BoxHeaderTextColor}" />
<Setter Property="FontSize"
Value="Small" />
<Setter Property="FontAttributes"
Value="Bold" />
</Style>
2019-04-26 07:26:09 +03:00
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="box-row-button-platform">
<Setter Property="WidthRequest"
2019-04-26 23:58:20 +03:00
Value="37" />
2019-04-26 07:26:09 +03:00
<Setter Property="FontSize"
2019-04-26 23:58:20 +03:00
Value="25" />
2019-04-26 07:26:09 +03:00
</Style>
2019-04-22 18:32:17 +03:00
</ResourceDictionary>