ux: style for commit time display mode toggle

This commit is contained in:
leo 2024-07-16 13:26:04 +08:00
parent f9c8e4c699
commit 80a7b73dd4
No known key found for this signature in database

View file

@ -1087,7 +1087,7 @@
VerticalAlignment="Center"> VerticalAlignment="Center">
<Path x:Name="ChevronPath" <Path x:Name="ChevronPath"
Data="M 4 0 L 8 4 L 4 8 Z" Data="M 4 0 L 8 4 L 4 8 Z"
Fill="{DynamicResource TreeViewItemForeground}" Fill="{DynamicResource Brush.FG1}"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
</Border> </Border>
@ -1111,7 +1111,7 @@
VerticalAlignment="Center"> VerticalAlignment="Center">
<Path x:Name="ChevronPath" <Path x:Name="ChevronPath"
Data="{StaticResource Icons.Calender}" Data="{StaticResource Icons.Calender}"
Fill="{DynamicResource TreeViewItemForeground}" Fill="{DynamicResource Brush.FG1}"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Opacity="0.65"/> Opacity="0.65"/>
@ -1122,6 +1122,11 @@
<Style Selector="^:checked /template/ Path#ChevronPath"> <Style Selector="^:checked /template/ Path#ChevronPath">
<Setter Property="Data" Value="{StaticResource Icons.Stopwatch}" /> <Setter Property="Data" Value="{StaticResource Icons.Stopwatch}" />
</Style> </Style>
<Style Selector="^:pointerover /template/ Path#ChevronPath">
<Setter Property="Fill" Value="{DynamicResource Brush.Accent}" />
<Setter Property="Opacity" Value="1"/>
</Style>
</Style> </Style>
<Style Selector="ToggleButton.folder"> <Style Selector="ToggleButton.folder">