Interactive styling for navbaritems.
MODIFY
WalletWasabi.Fluent/Controls/NavBarItem.xaml
WalletWasabi.Fluent/Controls/NavBarItem.xaml
</Style>
<!-- PointerOver State -->
- <Style Selector="c|NavBarItem:pointerover /template/ Border">
- <Setter Property="BorderBrush" Value="{DynamicResource SystemAccentColor}"/>
- </Style>
<Style Selector="c|NavBarItem:pointerover /template/ ContentPresenter">
<Setter Property="TextBlock.Foreground" Value="{DynamicResource SystemControlHighlightAltBaseHighBrush}"/>
</Style>
+ <Style Selector="c|NavBarItem:pointerover /template/ Rectangle#PressedBackground">
+ <Setter Property="Fill" Value="{DynamicResource SystemControlHighlightListLowBrush}"/>
+ </Style>
<!-- Pressed State -->
<Style Selector="c|NavBarItem:pressed /template/ Border">
<Style Selector="c|NavBarItem:pressed /template/ ContentPresenter">
<Setter Property="TextBlock.Foreground" Value="{DynamicResource SystemControlHighlightAltBaseHighBrush}"/>
</Style>
+ <Style Selector="c|NavBarItem">
+ <Setter Property="RenderTransform" Value="none" />
+ <Setter Property="Transitions">
+ <Transitions>
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:.075" />
+ </Transitions>
+ </Setter>
+ </Style>
+ <Style Selector="c|NavBarItem:pressed">
+ <Setter Property="RenderTransform" Value="scale(0.98)" />
+ </Style>
<!-- Selected State -->
<Style Selector="c|NavBarItem:selected /template/ Border">

Interactive styling for navbaritems.