2020-07-03 00:24:31 -07:00
|
|
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<Style x:Key="Style.Button" TargetType="{x:Type Button}">
|
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
2021-01-06 05:08:32 -08:00
|
|
|
<Setter Property="TextElement.Foreground" Value="{DynamicResource Brush.FG1}"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Border1}"/>
|
|
|
|
<Setter Property="BorderThickness" Value="1"/>
|
2021-04-02 00:45:31 -07:00
|
|
|
<Setter Property="Opacity" Value=".8"/>
|
2020-07-03 00:24:31 -07:00
|
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
<Setter.Value>
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
|
|
<Border Background="{TemplateBinding Background}"
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
Padding="{TemplateBinding Padding}">
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
|
|
</Border>
|
|
|
|
</ControlTemplate>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
<Setter Property="Opacity" Value="1"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource Style.Button}"/>
|
|
|
|
|
|
|
|
|
|
|
|
</ResourceDictionary>
|