list-row-header-container bg color

This commit is contained in:
Kyle Spearrin 2019-06-21 09:59:22 -04:00
parent f9a3bbd7fa
commit 5470f08fee
7 changed files with 16 additions and 3 deletions

View file

@ -57,7 +57,9 @@
<ListView.GroupHeaderTemplate> <ListView.GroupHeaderTemplate>
<DataTemplate x:DataType="pages:SettingsPageListGroup"> <DataTemplate x:DataType="pages:SettingsPageListGroup">
<ViewCell> <ViewCell>
<StackLayout Padding="0" Spacing="0" VerticalOptions="FillAndExpand"> <StackLayout
Padding="0" Spacing="0" VerticalOptions="FillAndExpand"
StyleClass="list-row-header-container, list-row-header-container-platform">>
<BoxView <BoxView
StyleClass="list-section-separator-top, list-section-separator-top-platform" StyleClass="list-section-separator-top, list-section-separator-top-platform"
IsVisible="{Binding First, Converter={StaticResource inverseBool}}" /> IsVisible="{Binding First, Converter={StaticResource inverseBool}}" />
@ -66,7 +68,7 @@
Text="{Binding Name}" Text="{Binding Name}"
StyleClass="list-header, list-header-platform" /> StyleClass="list-header, list-header-platform" />
</StackLayout> </StackLayout>
<BoxView StyleClass="list-section-separator-bottom, list-section-separator-bottom-platform" /> <BoxView StyleClass="list-section-separator-bottom, list-section-separator-bottom-platform" />
</StackLayout> </StackLayout>
</ViewCell> </ViewCell>
</DataTemplate> </DataTemplate>

View file

@ -111,7 +111,9 @@
<ListView.GroupHeaderTemplate> <ListView.GroupHeaderTemplate>
<DataTemplate x:DataType="pages:GroupingsPageListGroup"> <DataTemplate x:DataType="pages:GroupingsPageListGroup">
<ViewCell> <ViewCell>
<StackLayout Spacing="0" Padding="0" VerticalOptions="FillAndExpand"> <StackLayout
Spacing="0" Padding="0" VerticalOptions="FillAndExpand"
StyleClass="list-row-header-container, list-row-header-container-platform">
<BoxView <BoxView
StyleClass="list-section-separator-top, list-section-separator-top-platform" StyleClass="list-section-separator-top, list-section-separator-top-platform"
IsVisible="{Binding First, Converter={StaticResource inverseBool}}" /> IsVisible="{Binding First, Converter={StaticResource inverseBool}}" />

View file

@ -27,6 +27,7 @@
<Color x:Key="ListItemBorderColor">#191919</Color> <Color x:Key="ListItemBorderColor">#191919</Color>
<Color x:Key="ListSectionBorderColor">#282828</Color> <Color x:Key="ListSectionBorderColor">#282828</Color>
<Color x:Key="ListHeaderTextColor">#52bdfb</Color> <Color x:Key="ListHeaderTextColor">#52bdfb</Color>
<Color x:Key="ListHeaderBackgroundColor">#000000</Color>
<Color x:Key="SliderThumbColor">#B9B9B9</Color> <Color x:Key="SliderThumbColor">#B9B9B9</Color>
<Color x:Key="SliderThumbBorderColor">#000000</Color> <Color x:Key="SliderThumbBorderColor">#000000</Color>

View file

@ -27,6 +27,7 @@
<Color x:Key="ListItemBorderColor">#262626</Color> <Color x:Key="ListItemBorderColor">#262626</Color>
<Color x:Key="ListSectionBorderColor">#191919</Color> <Color x:Key="ListSectionBorderColor">#191919</Color>
<Color x:Key="ListHeaderTextColor">#52bdfb</Color> <Color x:Key="ListHeaderTextColor">#52bdfb</Color>
<Color x:Key="ListHeaderBackgroundColor">#efeff4</Color>
<Color x:Key="SliderThumbColor">#B9B9B9</Color> <Color x:Key="SliderThumbColor">#B9B9B9</Color>
<Color x:Key="SliderThumbBorderColor">#000000</Color> <Color x:Key="SliderThumbBorderColor">#000000</Color>

View file

@ -27,6 +27,7 @@
<Color x:Key="ListItemBorderColor">#f0f0f0</Color> <Color x:Key="ListItemBorderColor">#f0f0f0</Color>
<Color x:Key="ListSectionBorderColor">#dddddd</Color> <Color x:Key="ListSectionBorderColor">#dddddd</Color>
<Color x:Key="ListHeaderTextColor">#3c8dbc</Color> <Color x:Key="ListHeaderTextColor">#3c8dbc</Color>
<Color x:Key="ListHeaderBackgroundColor">#efeff4</Color>
<Color x:Key="SliderThumbColor">#ffffff</Color> <Color x:Key="SliderThumbColor">#ffffff</Color>
<Color x:Key="SliderThumbBorderColor">#b5b5b5</Color> <Color x:Key="SliderThumbBorderColor">#b5b5b5</Color>

View file

@ -27,6 +27,7 @@
<Color x:Key="ListItemBorderColor">#2e3440</Color> <Color x:Key="ListItemBorderColor">#2e3440</Color>
<Color x:Key="ListSectionBorderColor">#2e3440</Color> <Color x:Key="ListSectionBorderColor">#2e3440</Color>
<Color x:Key="ListHeaderTextColor">#81a1c1</Color> <Color x:Key="ListHeaderTextColor">#81a1c1</Color>
<Color x:Key="ListHeaderBackgroundColor">#3b4252</Color>
<Color x:Key="SliderThumbColor">#e5e9f0</Color> <Color x:Key="SliderThumbColor">#e5e9f0</Color>
<Color x:Key="SliderThumbBorderColor">#2e3440</Color> <Color x:Key="SliderThumbBorderColor">#2e3440</Color>

View file

@ -21,6 +21,11 @@
<Setter Property="SeparatorColor" <Setter Property="SeparatorColor"
Value="{StaticResource ListItemBorderColor}" /> Value="{StaticResource ListItemBorderColor}" />
</Style> </Style>
<Style TargetType="StackLayout"
Class="list-row-header-container-platform">
<Setter Property="BackgroundColor"
Value="{StaticResource ListHeaderBackgroundColor}" />
</Style>
<Style TargetType="StackLayout" <Style TargetType="StackLayout"
Class="list-row-header-platform"> Class="list-row-header-platform">
<Setter Property="Padding" <Setter Property="Padding"