Browse Source

fix caption buttons in fluent.

demo1
Dan Walmsley 6 years ago
parent
commit
2315069d6f
  1. 2
      src/Avalonia.Themes.Default/CaptionButtons.xaml
  2. 4
      src/Avalonia.Themes.Fluent/CaptionButtons.xaml

2
src/Avalonia.Themes.Default/CaptionButtons.xaml

@ -17,7 +17,7 @@
<Setter Property="Background" Value="Transparent" />
</Style>
<Style Selector="Panel:pointerover.captionButton">
<Setter Property="Background" Value="#7f7f7f7f" />
<Setter Property="Background" Value="Red" />
</Style>
<Style Selector="Panel#PART_CloseButton:pointerover">
<Setter Property="Background" Value="#AFFF0000" />

4
src/Avalonia.Themes.Fluent/CaptionButtons.xaml

@ -12,10 +12,10 @@
<Setter Property="Background" Value="Transparent" />
</Style>
<Style Selector="Panel:pointerover">
<Setter Property="Background" Value="#CFFFFFFF" />
<Setter Property="Background" Value="#7F7f7f7f" />
</Style>
<Style Selector="Panel#PART_CloseButton:pointerover">
<Setter Property="Background" Value="#AFFF0000" />
<Setter Property="Background" Value="#7FFF0000" />
</Style>
<Style Selector="Viewbox">
<Setter Property="Width" Value="11" />

Loading…
Cancel
Save