mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: remove unused styles
This commit is contained in:
parent
1c204e72a1
commit
6206c6abbc
3 changed files with 14 additions and 16 deletions
|
@ -1094,7 +1094,7 @@
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style Selector="ToggleButton.change_tree_folder">
|
<Style Selector="ToggleButton.folder">
|
||||||
<Setter Property="Margin" Value="0" />
|
<Setter Property="Margin" Value="0" />
|
||||||
<Setter Property="Background" Value="Transparent"/>
|
<Setter Property="Background" Value="Transparent"/>
|
||||||
<Setter Property="IsHitTestVisible" Value="False"/>
|
<Setter Property="IsHitTestVisible" Value="False"/>
|
||||||
|
@ -1106,9 +1106,8 @@
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center">
|
VerticalAlignment="Center">
|
||||||
<Path x:Name="ChevronPath"
|
<Path x:Name="ChevronPath"
|
||||||
Margin="0,2,0,0"
|
|
||||||
Data="{StaticResource Icons.Folder.Fill}"
|
Data="{StaticResource Icons.Folder.Fill}"
|
||||||
Fill="Goldenrod"
|
Fill="{TemplateBinding Foreground}"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center"/>
|
VerticalAlignment="Center"/>
|
||||||
</Border>
|
</Border>
|
||||||
|
@ -1292,12 +1291,6 @@
|
||||||
<Setter Property="Opacity" Value=".65"/>
|
<Setter Property="Opacity" Value=".65"/>
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="TreeViewItem[IsExpanded=True] Path.folder_icon">
|
|
||||||
<Setter Property="Data" Value="{StaticResource Icons.Folder.Open}"/>
|
|
||||||
</Style>
|
|
||||||
<Style Selector="TreeViewItem[IsExpanded=False] Path.folder_icon">
|
|
||||||
<Setter Property="Data" Value="{StaticResource Icons.Folder.Fill}"/>
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
<Style Selector="NumericUpDown">
|
<Style Selector="NumericUpDown">
|
||||||
<Style Selector="^ /template/ ButtonSpinner#PART_Spinner">
|
<Style Selector="^ /template/ ButtonSpinner#PART_Spinner">
|
||||||
|
|
|
@ -47,9 +47,10 @@
|
||||||
IsVisible="{Binding IsFolder}"/>
|
IsVisible="{Binding IsFolder}"/>
|
||||||
|
|
||||||
<ToggleButton Grid.Column="1"
|
<ToggleButton Grid.Column="1"
|
||||||
Classes="change_tree_folder"
|
Classes="folder"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
Width="14" Height="14"
|
Width="14" Height="14"
|
||||||
|
Foreground="Goldenrod"
|
||||||
IsChecked="{Binding IsExpanded}"
|
IsChecked="{Binding IsExpanded}"
|
||||||
IsVisible="{Binding IsFolder}"/>
|
IsVisible="{Binding IsFolder}"/>
|
||||||
|
|
||||||
|
|
|
@ -94,18 +94,22 @@
|
||||||
PointerReleased="OnPointerReleasedOnTreeNode"
|
PointerReleased="OnPointerReleasedOnTreeNode"
|
||||||
DoubleTapped="OnDoubleTappedTreeNode"
|
DoubleTapped="OnDoubleTappedTreeNode"
|
||||||
ClipToBounds="True">
|
ClipToBounds="True">
|
||||||
<Path Grid.Column="0" Width="12" Height="12" Margin="0,0,8,0"
|
<Path Grid.Column="0" Width="12" Height="12" Margin="0,0,4,0"
|
||||||
Fill="{Binding Bookmark, Converter={x:Static c:BookmarkConverters.ToBrush}}"
|
Fill="{Binding Bookmark, Converter={x:Static c:BookmarkConverters.ToBrush}}"
|
||||||
StrokeThickness="{Binding Bookmark, Converter={x:Static c:BookmarkConverters.ToStrokeThickness}}"
|
StrokeThickness="{Binding Bookmark, Converter={x:Static c:BookmarkConverters.ToStrokeThickness}}"
|
||||||
Stroke="{DynamicResource Brush.FG1}"
|
Stroke="{DynamicResource Brush.FG1}"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Data="{StaticResource Icons.Bookmark}"
|
Data="{StaticResource Icons.Bookmark}"
|
||||||
IsVisible="{Binding IsRepository}"/>
|
IsVisible="{Binding IsRepository}"/>
|
||||||
<Path Grid.Column="0" Classes="folder_icon"
|
|
||||||
Width="12" Height="12" Margin="0,2,8,0"
|
<ToggleButton Grid.Column="0"
|
||||||
Fill="{DynamicResource Brush.FG1}"
|
Classes="folder"
|
||||||
HorizontalAlignment="Left"
|
Focusable="False"
|
||||||
IsVisible="{Binding !IsRepository}"/>
|
Width="12" Height="12"
|
||||||
|
Margin="0,0,4,0"
|
||||||
|
Foreground="{DynamicResource Brush.FG1}"
|
||||||
|
IsChecked="{Binding IsExpanded}"
|
||||||
|
IsVisible="{Binding !IsRepository}"/>
|
||||||
|
|
||||||
<TextBlock Grid.Column="1" Classes="monospace" VerticalAlignment="Center" Text="{Binding Name}"/>
|
<TextBlock Grid.Column="1" Classes="monospace" VerticalAlignment="Center" Text="{Binding Name}"/>
|
||||||
<TextBlock Grid.Column="2"
|
<TextBlock Grid.Column="2"
|
||||||
|
|
Loading…
Reference in a new issue