68 lines
3.7 KiB
XML
68 lines
3.7 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<Style TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="Foreground" Value="White" />
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="defaultCheckBox"
|
|
TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="Foreground" Value="White" />
|
|
</Style>
|
|
|
|
<Style x:Key="StCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MahApps.Styles.CheckBox.Aurora}">
|
|
<Setter Property="Foreground" Value="{DynamicResource MahApps.Brushes.ThemeForeground}" />
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
|
|
<Setter Property="FontSize" Value="11"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource MahApps.Brushes.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.Accent3}" />
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.Accent}" />
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.Accent}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
<!-- <Setter Property="FontFamily" Value="{DynamicResource MahApps.Fonts.Family.Button}"/>
|
|
<Setter Property="FontSize" Value="{DynamicResource MahApps.Font.Size.Button}"/> -->
|
|
</Style>
|
|
|
|
<Style x:Key="StCheckBoxToggleButton" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MahApps.Styles.CheckBox.Aurora}">
|
|
<Setter Property="Foreground" Value="{DynamicResource MahApps.Brushes.ThemeForeground}" />
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
|
|
<Setter Property="FontSize" Value="11"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource MahApps.Brushes.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.Accent3}" />
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.Accent}" />
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.Accent}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
<!-- <Setter Property="FontFamily" Value="{DynamicResource MahApps.Fonts.Family.Button}"/>
|
|
<Setter Property="FontSize" Value="{DynamicResource MahApps.Font.Size.Button}"/> -->
|
|
</Style>
|
|
</ResourceDictionary>
|