styling boxes

This commit is contained in:
Kyle Spearrin 2019-04-26 12:57:52 -04:00
parent a01f9c7351
commit c2a168c6b7
5 changed files with 22 additions and 0 deletions

View file

@ -111,6 +111,7 @@
<Label
Text="{Binding TotpSec, Mode=OneWay}"
Style="{DynamicResource textTotp}"
Margin="0, 0, 10, 0"
Grid.Row="0"
Grid.Column="1"
Grid.RowSpan="2"

View file

@ -2,6 +2,8 @@
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Styles.Android">
<!-- List -->
<Style TargetType="ListView"
Class="list-platform">
<Setter Property="SeparatorColor"
@ -25,6 +27,15 @@
<!-- Box -->
<Style TargetType="Label"
Class="box-header-platform">
<Setter Property="TextColor"
Value="{StaticResource BoxHeaderTextColor}" />
<Setter Property="FontSize"
Value="Small" />
<Setter Property="FontAttributes"
Value="Bold" />
</Style>
<Style TargetType="Button"
ApplyToDerivedTypes="True"
Class="box-row-button-platform">

View file

@ -87,6 +87,14 @@
<Setter Property="Spacing"
Value="0" />
</Style>
<Style TargetType="StackLayout"
Class="box-row-header">
<Setter Property="Padding"
Value="0, 10, 0, 5" />
</Style>
<Style TargetType="Label"
Class="box-header">
</Style>
<Style TargetType="Grid"
Class="box-row">
<Setter Property="Padding"

View file

@ -13,6 +13,7 @@
<Color x:Key="BorderColor">#dddddd</Color>
<Color x:Key="BoxBorderColor">#f0f0f0</Color>
<Color x:Key="BoxHeaderTextColor">#3c8dbc</Color>
<Color x:Key="ListItemBorderColor">#f0f0f0</Color>
<Color x:Key="ListHeaderTextColor">#3c8dbc</Color>

View file

@ -13,6 +13,7 @@
<Color x:Key="BorderColor">#dddddd</Color>
<Color x:Key="BoxBorderColor">#dddddd</Color>
<Color x:Key="BoxHeaderTextColor">#3c8dbc</Color>
<Color x:Key="ListItemBorderColor">#f0f0f0</Color>
<Color x:Key="ListHeaderTextColor">#3c8dbc</Color>