1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-08 03:23:23 +00:00

extended slider

This commit is contained in:
Kyle Spearrin
2019-05-13 15:24:38 -04:00
parent 018a7c9f96
commit 29d876eaed
9 changed files with 128 additions and 20 deletions

View File

@@ -2,7 +2,8 @@
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Styles.Base"
xmlns:fab="clr-namespace:Refractored.FabControl;assembly=Refractored.FabControl">
xmlns:fab="clr-namespace:Refractored.FabControl;assembly=Refractored.FabControl"
xmlns:controls="clr-namespace:Bit.App.Controls">
<!-- General -->
<Style TargetType="Label"
@@ -50,6 +51,16 @@
<Setter Property="FontAttributes"
Value="Bold" />
</Style>
<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>
<!-- Buttons -->
<Style TargetType="Button"
@@ -264,6 +275,13 @@
<Setter Property="Spacing"
Value="10" />
</Style>
<Style TargetType="StackLayout"
Class="box-row-slider">
<Setter Property="Orientation"
Value="Horizontal" />
<Setter Property="Spacing"
Value="10" />
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="box-row-button">