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-05-08 08:33:17 -04:00
|
|
|
x:Class="Bit.App.Styles.Base"
|
2019-05-13 15:24:38 -04:00
|
|
|
xmlns:fab="clr-namespace:Refractored.FabControl;assembly=Refractored.FabControl"
|
|
|
|
xmlns:controls="clr-namespace:Bit.App.Controls">
|
2019-04-22 17:08:37 -04:00
|
|
|
|
|
|
|
<!-- General -->
|
|
|
|
<Style TargetType="Label"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Medium" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource TextColor}" />
|
|
|
|
</Style>
|
2019-04-26 12:03:29 -04:00
|
|
|
<Style TargetType="Label"
|
2019-05-02 12:46:08 -04:00
|
|
|
x:Key="text-default">
|
2019-04-26 12:03:29 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource TextColor}" />
|
|
|
|
</Style>
|
2019-06-03 12:19:42 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="text-default">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource TextColor}" />
|
|
|
|
</Style>
|
2019-04-30 09:50:35 -04:00
|
|
|
<Style TargetType="Label"
|
2019-05-30 12:04:31 -04:00
|
|
|
Class="text-muted"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-04-30 09:50:35 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
</Style>
|
2019-04-26 12:03:29 -04:00
|
|
|
<Style TargetType="Label"
|
2019-05-02 12:46:08 -04:00
|
|
|
x:Key="text-danger">
|
2019-04-26 12:03:29 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource DangerColor}" />
|
|
|
|
</Style>
|
2019-06-03 12:19:42 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="text-danger">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource DangerColor}" />
|
|
|
|
</Style>
|
2019-04-26 12:03:29 -04:00
|
|
|
<Style TargetType="Label"
|
2019-05-02 12:20:56 -04:00
|
|
|
Class="text-success">
|
2019-04-26 12:03:29 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource SuccessColor}" />
|
|
|
|
</Style>
|
2019-04-30 09:50:35 -04:00
|
|
|
<Style TargetType="Label"
|
2019-05-02 12:20:56 -04:00
|
|
|
Class="text-sm">
|
2019-04-30 09:50:35 -04:00
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
2019-05-13 12:13:23 -04:00
|
|
|
Class="text-lg"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-04-30 09:50:35 -04:00
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Large" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
2019-05-02 12:20:56 -04:00
|
|
|
Class="text-bold">
|
2019-04-30 09:50:35 -04:00
|
|
|
<Setter Property="FontAttributes"
|
|
|
|
Value="Bold" />
|
|
|
|
</Style>
|
2019-05-13 15:24:38 -04:00
|
|
|
<Style TargetType="controls:ExtendedSlider">
|
|
|
|
<Setter Property="MinimumTrackColor"
|
|
|
|
Value="{StaticResource SliderTrackColor}" />
|
|
|
|
<Setter Property="MaximumTrackColor"
|
|
|
|
Value="{StaticResource SliderTrackColor}" />
|
|
|
|
<Setter Property="ThumbColor"
|
|
|
|
Value="{StaticResource SliderThumbColor}" />
|
|
|
|
<Setter Property="ThumbBorderColor"
|
|
|
|
Value="{StaticResource SliderThumbBorderColor}" />
|
|
|
|
</Style>
|
2019-06-03 12:19:42 -04:00
|
|
|
|
2019-05-29 15:50:20 -04:00
|
|
|
<!-- Pages -->
|
|
|
|
<Style TargetType="TabbedPage"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="BarBackgroundColor"
|
|
|
|
Value="{StaticResource TabBarBackgroundColor}" />
|
|
|
|
</Style>
|
2019-06-05 11:36:58 -04:00
|
|
|
<Style TargetType="NavigationPage"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="BarTextColor"
|
|
|
|
Value="{StaticResource NavigationBarTextColor}" />
|
|
|
|
<Setter Property="BarBackgroundColor"
|
|
|
|
Value="{StaticResource NavigationBarBackgroundColor}" />
|
|
|
|
</Style>
|
2019-05-29 15:50:20 -04:00
|
|
|
|
2019-05-02 12:20:56 -04:00
|
|
|
<!-- Buttons -->
|
|
|
|
<Style TargetType="Button"
|
|
|
|
ApplyToDerivedTypes="True"
|
|
|
|
Class="btn-icon">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Button"
|
|
|
|
Class="btn-muted"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
</Style>
|
2019-05-02 21:25:26 -04:00
|
|
|
<Style TargetType="Button"
|
|
|
|
Class="btn-disabled"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource DisabledIconColor}" />
|
|
|
|
</Style>
|
2019-05-08 08:33:17 -04:00
|
|
|
<Style TargetType="fab:FloatingActionButtonView">
|
|
|
|
<Setter Property="ColorNormal"
|
|
|
|
Value="{StaticResource FabColor}" />
|
|
|
|
<Setter Property="ColorPressed"
|
|
|
|
Value="{StaticResource FabPressedColor}" />
|
|
|
|
<Setter Property="ColorRipple"
|
|
|
|
Value="{StaticResource FabPressedColor}" />
|
|
|
|
</Style>
|
2019-05-29 15:50:20 -04:00
|
|
|
|
2019-05-06 22:35:42 -04:00
|
|
|
<!-- Title -->
|
|
|
|
<Style TargetType="Button"
|
|
|
|
Class="btn-title"
|
|
|
|
ApplyToDerivedTypes="True">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource TitleTextColor}" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="SearchBar">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource TitleEntryTextColor}" />
|
|
|
|
<Setter Property="CancelButtonColor"
|
|
|
|
Value="{StaticResource TitleEntryTextColor}" />
|
|
|
|
<Setter Property="PlaceholderColor"
|
|
|
|
Value="{StaticResource TitleEntryPlaceholderColor}" />
|
|
|
|
</Style>
|
|
|
|
|
2019-04-22 17:08:37 -04:00
|
|
|
<!-- List -->
|
2019-04-22 11:32:17 -04:00
|
|
|
<Style TargetType="ListView"
|
|
|
|
Class="list">
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="list-row-header">
|
2019-05-01 12:28:49 -04:00
|
|
|
<Setter Property="Orientation"
|
|
|
|
Value="Horizontal" />
|
2019-04-22 11:32:17 -04:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-header">
|
2019-05-01 12:28:49 -04:00
|
|
|
<Setter Property="HorizontalOptions"
|
|
|
|
Value="StartAndExpand" />
|
|
|
|
<Setter Property="VerticalOptions"
|
|
|
|
Value="CenterAndExpand" />
|
|
|
|
<Setter Property="VerticalTextAlignment"
|
|
|
|
Value="Center" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-header-sub">
|
2019-05-02 12:46:08 -04:00
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
2019-05-01 12:28:49 -04:00
|
|
|
<Setter Property="HorizontalTextAlignment"
|
|
|
|
Value="End" />
|
|
|
|
<Setter Property="VerticalTextAlignment"
|
|
|
|
Value="Center" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
<Setter Property="HorizontalOptions"
|
|
|
|
Value="End" />
|
|
|
|
<Setter Property="VerticalOptions"
|
|
|
|
Value="CenterAndExpand" />
|
2019-04-22 11:32:17 -04:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="list-row">
|
|
|
|
<Setter Property="Padding"
|
2019-05-01 11:31:00 -04:00
|
|
|
Value="10, 12" />
|
2019-04-22 17:08:37 -04:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="Grid"
|
|
|
|
Class="list-row">
|
|
|
|
<Setter Property="Padding"
|
2019-06-10 10:37:47 -04:00
|
|
|
Value="2, 5, 0, 5" />
|
2019-04-22 11:32:17 -04:00
|
|
|
</Style>
|
2019-05-31 11:40:53 -04:00
|
|
|
<Style TargetType="BoxView"
|
2019-06-20 16:02:39 -04:00
|
|
|
Class="list-section-separator-top">
|
|
|
|
<Setter Property="HeightRequest"
|
|
|
|
Value="1" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="BoxView"
|
|
|
|
Class="list-section-separator-bottom">
|
2019-05-31 11:40:53 -04:00
|
|
|
<Setter Property="HeightRequest"
|
|
|
|
Value="1" />
|
|
|
|
</Style>
|
2019-04-22 11:32:17 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-title">
|
2019-04-22 17:08:37 -04:00
|
|
|
</Style>
|
2019-05-01 12:28:49 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-sub">
|
2019-05-02 12:46:08 -04:00
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
2019-05-01 12:28:49 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
</Style>
|
2019-04-22 17:08:37 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
ApplyToDerivedTypes="True"
|
|
|
|
Class="list-title-icon">
|
2019-04-22 11:32:17 -04:00
|
|
|
<Setter Property="FontSize"
|
2019-04-22 17:08:37 -04:00
|
|
|
Value="Small" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
2019-04-22 11:32:17 -04:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-subtitle">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
2019-04-22 17:08:37 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
2019-04-22 11:32:17 -04:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="list-icon"
|
|
|
|
ApplyToDerivedTypes="True">
|
2019-05-01 11:31:00 -04:00
|
|
|
<Setter Property="WidthRequest"
|
|
|
|
Value="26" />
|
|
|
|
<Setter Property="HeightRequest"
|
|
|
|
Value="26" />
|
|
|
|
<Setter Property="HorizontalTextAlignment"
|
|
|
|
Value="Center" />
|
|
|
|
<Setter Property="VerticalTextAlignment"
|
|
|
|
Value="Center" />
|
2019-04-22 17:08:37 -04:00
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
2019-04-22 11:32:17 -04:00
|
|
|
</Style>
|
2019-05-02 14:53:45 -04:00
|
|
|
<Style TargetType="Button"
|
|
|
|
ApplyToDerivedTypes="True"
|
|
|
|
Class="list-row-button">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0" />
|
|
|
|
<Setter Property="TextColor"
|
2019-05-31 13:41:18 -04:00
|
|
|
Value="{StaticResource ButtonColor}" />
|
2019-04-30 11:27:53 -04:00
|
|
|
</Style>
|
2019-05-29 15:50:20 -04:00
|
|
|
|
2019-04-26 00:26:09 -04:00
|
|
|
<!-- Box -->
|
|
|
|
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="10, 0" />
|
|
|
|
<Setter Property="Spacing"
|
|
|
|
Value="0" />
|
|
|
|
</Style>
|
2019-04-30 09:50:35 -04:00
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-bottom">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="10, 0, 10, 10" />
|
|
|
|
<Setter Property="Spacing"
|
|
|
|
Value="0" />
|
|
|
|
</Style>
|
2019-04-26 12:57:52 -04:00
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-row-header">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0, 10, 0, 5" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-header">
|
|
|
|
</Style>
|
2019-04-26 00:26:09 -04:00
|
|
|
<Style TargetType="Grid"
|
|
|
|
Class="box-row">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0, 10" />
|
|
|
|
<Setter Property="RowSpacing"
|
|
|
|
Value="0" />
|
|
|
|
<Setter Property="ColumnSpacing"
|
|
|
|
Value="10" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-row">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0, 10" />
|
|
|
|
<Setter Property="Spacing"
|
|
|
|
Value="0" />
|
|
|
|
</Style>
|
2019-05-07 23:22:55 -04:00
|
|
|
<Style TargetType="Grid"
|
|
|
|
Class="box-row-input">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0, 10, 0, 0" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-row-input">
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0, 10, 0, 0" />
|
|
|
|
</Style>
|
2019-05-09 12:29:57 -04:00
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-row-switch">
|
|
|
|
<Setter Property="Orientation"
|
|
|
|
Value="Horizontal" />
|
|
|
|
</Style>
|
2019-05-13 14:43:23 -04:00
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-row-stepper">
|
|
|
|
<Setter Property="Orientation"
|
|
|
|
Value="Horizontal" />
|
|
|
|
<Setter Property="Spacing"
|
|
|
|
Value="10" />
|
2019-05-13 15:24:38 -04:00
|
|
|
</Style>
|
|
|
|
<Style TargetType="StackLayout"
|
|
|
|
Class="box-row-slider">
|
|
|
|
<Setter Property="Orientation"
|
|
|
|
Value="Horizontal" />
|
|
|
|
<Setter Property="Spacing"
|
|
|
|
Value="10" />
|
2019-05-13 14:43:23 -04:00
|
|
|
</Style>
|
2019-04-26 00:26:09 -04:00
|
|
|
<Style TargetType="Button"
|
|
|
|
ApplyToDerivedTypes="True"
|
|
|
|
Class="box-row-button">
|
|
|
|
<Setter Property="BackgroundColor"
|
|
|
|
Value="Transparent" />
|
|
|
|
<Setter Property="Padding"
|
|
|
|
Value="0" />
|
|
|
|
<Setter Property="TextColor"
|
2019-05-31 13:41:18 -04:00
|
|
|
Value="{StaticResource ButtonColor}" />
|
2019-04-26 00:26:09 -04:00
|
|
|
<Setter Property="HorizontalOptions"
|
|
|
|
Value="End" />
|
|
|
|
<Setter Property="VerticalOptions"
|
|
|
|
Value="CenterAndExpand" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="BoxView"
|
|
|
|
Class="box-row-separator">
|
|
|
|
<Setter Property="HeightRequest"
|
|
|
|
Value="1" />
|
|
|
|
<Setter Property="Color"
|
|
|
|
Value="{StaticResource BoxBorderColor}" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-label">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
</Style>
|
2019-05-09 12:29:57 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-label-regular">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Medium" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource TextColor}" />
|
2019-06-10 10:02:09 -04:00
|
|
|
<Setter Property="VerticalOptions"
|
|
|
|
Value="Center" />
|
2019-05-09 12:29:57 -04:00
|
|
|
</Style>
|
2019-04-26 00:26:09 -04:00
|
|
|
<Style TargetType="Label"
|
2019-04-26 23:37:21 -04:00
|
|
|
ApplyToDerivedTypes="True"
|
2019-04-26 00:26:09 -04:00
|
|
|
Class="box-value">
|
2019-04-26 22:59:53 -04:00
|
|
|
<Setter Property="LineBreakMode"
|
|
|
|
Value="CharacterWrap" />
|
2019-05-01 15:11:54 -04:00
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, 5, 0, 0" />
|
2019-04-26 00:26:09 -04:00
|
|
|
</Style>
|
2019-04-29 14:35:44 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-sub-label">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
</Style>
|
2019-04-30 09:50:35 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-footer-label">
|
|
|
|
<Setter Property="FontSize"
|
|
|
|
Value="Small" />
|
|
|
|
<Setter Property="TextColor"
|
|
|
|
Value="{StaticResource MutedColor}" />
|
|
|
|
</Style>
|
2019-06-03 22:19:51 -04:00
|
|
|
<Style TargetType="Label"
|
|
|
|
Class="box-footer-label-switch">
|
|
|
|
<Setter Property="Margin"
|
|
|
|
Value="0, -10, 0, 0" />
|
|
|
|
</Style>
|
2019-04-22 11:32:17 -04:00
|
|
|
</ResourceDictionary>
|