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"
|
2019-06-24 20:29:23 +02:00
|
|
|
x:Class="Bit.App.Styles.iOS"
|
|
|
|
xmlns:controls="clr-namespace:Bit.App.Controls">
|
2019-06-05 18:32:40 +02:00
|
|
|
<Style TargetType="Entry"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="PlaceholderColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource InputPlaceholderColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource TextColor}" />
|
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>
|
2019-06-21 22:36:23 +02:00
|
|
|
<Style TargetType="Picker"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-06-24 20:29:23 +02:00
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource TextColor}" />
|
2019-06-21 22:36:23 +02:00
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 12" />
|
|
|
|
</Style>
|
2021-10-08 14:47:40 +02: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-06-05 18:32:40 +02:00
|
|
|
<Style TargetType="Editor"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-06-24 20:29:23 +02:00
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource TextColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource BackgroundColor}" />
|
2019-06-05 18:32:40 +02:00
|
|
|
<Setter Property="PlaceholderColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource 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"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource SwitchOnColor}" />
|
2019-06-22 15:51:04 +02:00
|
|
|
</Style>
|
2019-10-04 15:32:59 +02:00
|
|
|
<Style TargetType="SearchBar"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-06-24 17:53:19 +02:00
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ListHeaderBackgroundColor}" />
|
2019-06-24 17:53:19 +02:00
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource TextColor}" />
|
2019-06-24 17:53:19 +02:00
|
|
|
<Setter Property="CancelButtonColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource PrimaryColor}" />
|
2019-06-24 17:53:19 +02:00
|
|
|
<Setter Property="PlaceholderColor"
|
2019-06-24 21:13:33 +02:00
|
|
|
Value="#777777" />
|
2019-06-24 17:53:19 +02:00
|
|
|
</Style>
|
2019-06-24 20:29:23 +02:00
|
|
|
<Style TargetType="ContentPage"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource BackgroundColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
</Style>
|
2021-05-13 20:36:20 +02:00
|
|
|
<Style TargetType="CollectionView"
|
2019-06-24 20:29:23 +02:00
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource BackgroundColor}" />
|
2021-05-13 20:36:20 +02:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="RefreshView"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="RefreshColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource PrimaryColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="ActivityIndicator"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="Color"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource PrimaryColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="controls:ExtendedSlider">
|
|
|
|
<Setter Property="MinimumTrackColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource SliderTrackMinColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
<Setter Property="MaximumTrackColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource SliderTrackMaxColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
<Setter Property="ThumbColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource SliderThumbColor}" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="controls:ExtendedStepper">
|
|
|
|
<Setter Property="StepperForegroundColor"
|
|
|
|
Value="{DynamicResource StepperForegroundColor}" />
|
2019-06-24 20:29:23 +02:00
|
|
|
</Style>
|
2019-06-22 15:15:37 +02:00
|
|
|
|
|
|
|
<!-- Buttons -->
|
|
|
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ButtonBackgroundColor}" />
|
|
|
|
<Setter Property="BorderColor"
|
|
|
|
Value="{DynamicResource ButtonBorderColor}" />
|
|
|
|
<Setter Property="BorderWidth"
|
|
|
|
Value="1" />
|
2019-06-22 15:15:37 +02:00
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ButtonTextColor}" />
|
|
|
|
<Setter Property="FontSize"
|
2022-03-10 19:55:48 +01:00
|
|
|
Value="Medium" />
|
2021-10-08 14:47:40 +02:00
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 0" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Pressed">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorPressed}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
<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 19:55:48 +01:00
|
|
|
Value="Medium" />
|
2021-10-08 14:47:40 +02:00
|
|
|
<Setter Property="FontAttributes"
|
|
|
|
Value="Bold" />
|
2019-06-22 15:15:37 +02:00
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 0" />
|
2021-10-08 14:47:40 +02:00
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Pressed">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonPrimaryBackgroundColorPressed}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
<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>
|
2019-06-22 15:15:37 +02:00
|
|
|
</Style>
|
2021-11-24 20:09:39 +01: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 16:31:12 +01:00
|
|
|
Value="{DynamicResource ButtonTextColorOpacity}" />
|
2021-11-24 20:09:39 +01: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="Pressed">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource ButtonBackgroundColorPressed}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
<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>
|
2021-12-20 16:31:12 +01:00
|
|
|
<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}" />
|
|
|
|
<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="Pressed">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="{DynamicResource DangerPressedColor}" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
<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-06-22 15:15:37 +02:00
|
|
|
<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 -->
|
|
|
|
|
2021-05-13 20:36:20 +02:00
|
|
|
<Style TargetType="BoxView"
|
|
|
|
Class="list-item-separator-bottom-platform"
|
2019-06-20 22:02:39 +02:00
|
|
|
ApplyToDerivedTypes="True">
|
2021-05-13 20:36:20 +02:00
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ListItemBorderColor}" />
|
2019-06-20 22:02:39 +02:00
|
|
|
</Style>
|
2019-06-21 15:59:22 +02:00
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="list-row-header-container-platform">
|
|
|
|
<Setter Property="BackgroundColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ListHeaderBackgroundColor}" />
|
2019-06-21 15:59:22 +02:00
|
|
|
</Style>
|
2019-06-20 22:02:39 +02:00
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="list-row-header-platform">
|
|
|
|
<Setter Property="Padding"
|
2021-05-13 20:36:20 +02:00
|
|
|
Value="10, 22, 10, 5" />
|
2019-06-20 22:02:39 +02:00
|
|
|
<Setter Property="VerticalOptions"
|
|
|
|
Value="EndAndExpand" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-header-platform">
|
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource 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"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ListSectionBorderColor}" />
|
2019-06-20 22:02:39 +02:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="BoxView"
|
|
|
|
Class="list-section-separator-bottom-platform">
|
|
|
|
<Setter Property="Color"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource ListSectionBorderBottomColor}" />
|
2019-06-20 22:02:39 +02:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="list-row-platform">
|
|
|
|
</Style>
|
2021-05-13 20:36:20 +02:00
|
|
|
<Style TargetType="controls:ExtendedStackLayout"
|
|
|
|
Class="list-row-platform">
|
|
|
|
</Style>
|
2019-06-20 22:02:39 +02:00
|
|
|
<Style TargetType="Grid"
|
|
|
|
Class="list-row-platform">
|
|
|
|
</Style>
|
2021-05-13 20:36:20 +02:00
|
|
|
<Style TargetType="controls:ExtendedGrid"
|
|
|
|
Class="list-row-platform">
|
|
|
|
</Style>
|
2019-06-20 22:02:39 +02:00
|
|
|
<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>
|
2022-03-10 19:55:48 +01:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="accountlist-title-platform"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="accountlist-sub-platform"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
|
|
|
</Style>
|
2019-06-20 23:05:28 +02:00
|
|
|
|
|
|
|
<!-- Box -->
|
|
|
|
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-header-platform">
|
|
|
|
<Setter Property="TextColor"
|
2021-10-08 14:47:40 +02:00
|
|
|
Value="{DynamicResource 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>
|
2021-12-20 16:31:12 +01:00
|
|
|
|
|
|
|
<Style TargetType="Label"
|
|
|
|
ApplyToDerivedTypes="True"
|
|
|
|
Class="title-danger">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{DynamicResource DangerColor}" />
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Medium" />
|
|
|
|
</Style>
|
2019-04-22 17:32:17 +02:00
|
|
|
</ResourceDictionary>
|