emo-client/Saradomin/Resources/Styles/OutsideNavigatorButton.axaml

31 lines
1.7 KiB
XML

<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Button.OutsideNavigator">
<Setter Property="BorderThickness" Value="0" />
<Setter Property="FontSize" Value="13" />
<Setter Property="FontWeight" Value="Light" />
<Setter Property="Height" Value="20" />
<Setter Property="Padding" Value="6,0" />
<Setter Property="Width" Value="95" />
<Setter Property="Margin" Value="1,0,0,0" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Background" Value="{StaticResource SemiLightMediumBackgroundBrush}" />
<Setter Property="Foreground" Value="{StaticResource LightForegroundBrush}" />
</Style>
<Style Selector="Button.OutsideNavigator:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="{StaticResource MouseOverBrush}" />
<Setter Property="TextBlock.Foreground" Value="{StaticResource DarkForegroundBrush}" />
</Style>
<Style Selector="Button.OutsideNavigator:pressed /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="{StaticResource AccentBrush}" />
<Setter Property="TextBlock.Foreground" Value="{StaticResource DarkForegroundBrush}" />
</Style>
<Style Selector="Button.OutsideNavigator:disabled">
<Setter Property="Background" Value="{StaticResource DarkMediumBackgroundBrush}" />
<Setter Property="Foreground" Value="{StaticResource SemiDarkForegroundBrush}" />
</Style>
</Styles>