mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: style for commit time display mode toggle
This commit is contained in:
parent
f9c8e4c699
commit
80a7b73dd4
1 changed files with 7 additions and 2 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue