separate InvisibleButton style
ADD
WalletWasabi.Fluent/Styles/InvisibleButton.xaml
+<Styles xmlns="https://github.com/avaloniaui">
+ <Style Selector="Button.invisible">
+ <Setter Property="VerticalAlignment" Value="Stretch" />
+ <Setter Property="HorizontalAlignment" Value="Stretch" />
+ <Setter Property="Cursor" Value="Hand" />
+ <Setter Property="Padding" Value="0" />
+ </Style>
+ <Style Selector="Button.invisible /template/ ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonBackgroundColor}" />
+ </Style>
+ <Style Selector="Button.invisible:pointerover /template/ ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonPointerOverBackgroundColor}" />
+ </Style>
+ <Style Selector="Button.invisible:pressed /template/ ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonPressedBackgroundColor}" />
+ </Style>
+</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Styles/Styles.xaml
WalletWasabi.Fluent/Styles/Styles.xaml
<Setter Property="Background" Value="{DynamicResource InvisibleButtonBackgroundColor}" />
</Style>
- <!--Invisible button style-->
- <Style Selector="Button.invisible">
- <Setter Property="VerticalAlignment" Value="Stretch" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Padding" Value="0" />
- </Style>
- <Style Selector="Button.invisible /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource InvisibleButtonBackgroundColor}" />
- </Style>
- <Style Selector="Button.invisible:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource InvisibleButtonPointerOverBackgroundColor}" />
- </Style>
- <Style Selector="Button.invisible:pressed /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource InvisibleButtonPressedBackgroundColor}" />
- </Style>
-
<!--TextBox style-->
<Style Selector="TextBox /template/ Border#PART_BorderElement">
<Setter Property="CornerRadius" Value="0" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/OptionButton.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/ActionButton.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Label.xaml" />
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/InvisibleButton.xaml" />
</Styles>
\ No newline at end of file

separate InvisibleButton style