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"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource InputPlaceholderColor}" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource TextColor}" />
|
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">
|
2021-10-08 15:47:40 +03:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource TextColor}" />
|
2019-05-08 06:22:25 +03:00
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="-4, 0, -4, -4" />
|
2019-05-01 22:11:54 +03:00
|
|
|
</Style>
|
2021-10-08 15:47:40 +03:00
|
|
|
<Style TargetType="DatePicker"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource TextColor}" />
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource BackgroundColor}" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="TimePicker"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource TextColor}" />
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource BackgroundColor}" />
|
|
|
|
</Style>
|
2019-05-08 22:00:45 +03:00
|
|
|
<Style TargetType="Editor"
|
|
|
|
ApplyToDerivedTypes="True">
|
2021-10-08 15:47:40 +03:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource TextColor}" />
|
2019-06-05 19:32:40 +03:00
|
|
|
<Setter Property="PlaceholderColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource 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>
|
2021-10-08 15:47:40 +03:00
|
|
|
<Style TargetType="Switch"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="OnColor"
|
|
|
|
Value="{DynamicResource SwitchOnColor}" />
|
|
|
|
</Style>
|
2019-10-04 16:32:59 +03:00
|
|
|
<Style TargetType="SearchBar"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-06-24 18:53:19 +03:00
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
<Setter Property="TextColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource TitleEntryTextColor}" />
|
2019-06-24 18:53:19 +03:00
|
|
|
<Setter Property="CancelButtonColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource TitleEntryTextColor}" />
|
2019-06-24 18:53:19 +03:00
|
|
|
<Setter Property="PlaceholderColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource TitleEntryPlaceholderColor}" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="ContentPage"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource BackgroundColor}" />
|
2019-06-24 21:29:23 +03:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="controls:ExtendedSlider">
|
|
|
|
<Setter Property="MinimumTrackColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource SliderTrackMinColor}" />
|
2019-06-24 21:29:23 +03:00
|
|
|
<Setter Property="MaximumTrackColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource SliderTrackMinColor}" />
|
2019-06-24 21:29:23 +03:00
|
|
|
<Setter Property="ThumbColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource SliderThumbColor}" />
|
2019-06-24 21:29:23 +03:00
|
|
|
<Setter Property="ThumbBorderColor"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource SliderThumbBorderColor}" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="controls:ExtendedStepper">
|
|
|
|
<Setter Property="StepperBackgroundColor"
|
|
|
|
Value="{DynamicResource StepperBackgroundColor}" />
|
|
|
|
<Setter Property="StepperForegroundColor"
|
|
|
|
Value="{DynamicResource StepperForegroundColor}" />
|
2019-05-08 22:00:45 +03:00
|
|
|
</Style>
|
2022-08-18 00:10:16 +03:00
|
|
|
<Style TargetType="Frame"
|
2022-10-29 01:10:41 +03:00
|
|
|
ApplyToDerivedTypes="True"
|
2022-08-18 00:10:16 +03:00
|
|
|
Class="btn-icon-row">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColor}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonBorderColor}" />
|
|
|
|
<Setter Property="CornerRadius"
|
|
|
|
Value="5" />
|
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 0" />
|
|
|
|
<Setter Property="HasShadow"
|
|
|
|
Value="False" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroupList>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
2019-05-02 19:20:56 +03:00
|
|
|
|
|
|
|
<!-- Buttons -->
|
2021-10-08 15:47:40 +03:00
|
|
|
<Style TargetType="Button">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColor}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonBorderColor}" />
|
|
|
|
<Setter Property="BorderWidth"
|
|
|
|
Value="1" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonTextColor}" />
|
|
|
|
<Setter Property="FontSize"
|
2022-03-10 21:55:48 +03:00
|
|
|
Value="Medium" />
|
2021-10-08 15:47:40 +03:00
|
|
|
<Setter Property="CornerRadius"
|
|
|
|
Value="5" />
|
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 0" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
|
|
|
<Setter Property="BorderWidth"
|
|
|
|
Value="0" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonTextColorDisabled}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroupList>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Button"
|
|
|
|
Class="btn-primary">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource PrimaryColor}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource PrimaryColor}" />
|
|
|
|
<Setter Property="BorderWidth"
|
|
|
|
Value="1" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonPrimaryTextColor}" />
|
|
|
|
<Setter Property="FontSize"
|
2022-03-10 21:55:48 +03:00
|
|
|
Value="Medium" />
|
2021-10-08 15:47:40 +03:00
|
|
|
<Setter Property="FontAttributes"
|
|
|
|
Value="Bold" />
|
|
|
|
<Setter Property="CornerRadius"
|
|
|
|
Value="5" />
|
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 0" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonPrimaryTextColorDisabled}" />
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonPrimaryBackgroundColorDisabled}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonPrimaryBackgroundColorDisabled}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroupList>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
2021-11-24 22:09:39 +03:00
|
|
|
|
|
|
|
<Style TargetType="Button"
|
|
|
|
Class="btn-secondary">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonBorderColor}" />
|
|
|
|
<Setter Property="BorderWidth"
|
|
|
|
Value="1" />
|
|
|
|
<Setter Property="TextColor"
|
2021-12-20 18:31:12 +03:00
|
|
|
Value="{DynamicResource ButtonTextColorOpacity}" />
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Medium" />
|
|
|
|
<Setter Property="CornerRadius"
|
|
|
|
Value="5" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonTextColorDisabled}" />
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroupList>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Button"
|
|
|
|
Class="btn-danger">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource DangerColor}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource DangerColor}" />
|
|
|
|
<Setter Property="BorderWidth"
|
|
|
|
Value="1" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonPrimaryTextColor}" />
|
2021-11-24 22:09:39 +03:00
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Medium" />
|
|
|
|
<Setter Property="CornerRadius"
|
|
|
|
Value="5" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource ButtonTextColorDisabled}" />
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorDisabled}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroupList>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
2019-05-02 19:20:56 +03:00
|
|
|
<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
|
|
|
|
2021-05-13 21:36:20 +03:00
|
|
|
<Style TargetType="BoxView"
|
|
|
|
Class="list-item-separator-bottom-platform"
|
2019-05-08 17:42:55 +03:00
|
|
|
ApplyToDerivedTypes="True">
|
2021-05-13 21:36:20 +03:00
|
|
|
<Setter Property="BackgroundColor"
|
2019-04-23 00:08:37 +03:00
|
|
|
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"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource 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"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource ListItemBorderColor}" />
|
2019-06-20 23:02:39 +03:00
|
|
|
</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>
|
2021-05-13 21:36:20 +03:00
|
|
|
<Style TargetType="controls:ExtendedStackLayout"
|
|
|
|
Class="list-row-platform">
|
|
|
|
</Style>
|
2019-04-23 00:08:37 +03:00
|
|
|
<Style TargetType="Grid"
|
|
|
|
Class="list-row-platform">
|
2019-04-22 18:32:17 +03:00
|
|
|
</Style>
|
2021-05-13 21:36:20 +03:00
|
|
|
<Style TargetType="controls:ExtendedGrid"
|
|
|
|
Class="list-row-platform">
|
|
|
|
</Style>
|
2019-06-12 16:13:13 +03:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-icon-platform"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="FontSize"
|
2019-10-30 16:30:45 +03:00
|
|
|
Value="23" />
|
2019-06-12 16:13:13 +03:00
|
|
|
</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>
|
2022-03-10 21:55:48 +03:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="accountlist-title-platform"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Body" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="accountlist-sub-platform"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Caption" />
|
|
|
|
</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"
|
2021-10-08 15:47:40 +03:00
|
|
|
Value="{DynamicResource BoxHeaderTextColor}" />
|
2019-04-26 19:57:52 +03:00
|
|
|
<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-10-30 16:30:45 +03:00
|
|
|
<Setter Property="HeightRequest"
|
|
|
|
Value="45" />
|
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>
|
2021-12-20 18:31:12 +03:00
|
|
|
|
|
|
|
<Style TargetType="Label"
|
|
|
|
ApplyToDerivedTypes="True"
|
|
|
|
Class="title-danger">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource DangerColor}" />
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Title" />
|
|
|
|
</Style>
|
2019-04-22 18:32:17 +03:00
|
|
|
</ResourceDictionary>
|