mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
ux: style for left panel of repository view
This commit is contained in:
parent
a7f609d479
commit
a78cf611c0
2 changed files with 28 additions and 27 deletions
|
@ -962,12 +962,14 @@
|
|||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="RadioButton.icon_button">
|
||||
<Style Selector="RadioButton.switch_button">
|
||||
<Setter Property="Width" Value="48"/>
|
||||
<Setter Property="Height" Value="24"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="Template">
|
||||
<ControlTemplate>
|
||||
<Border Background="Transparent">
|
||||
<Border CornerRadius="12" Background="{TemplateBinding Background}">
|
||||
<ContentPresenter x:Name="PART_ContentPresenter"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Center"
|
||||
|
@ -980,9 +982,11 @@
|
|||
</ControlTemplate>
|
||||
</Setter>
|
||||
|
||||
<Style Selector="^:checked">
|
||||
<Setter Property="Background" Value="{DynamicResource Brush.Accent}"/>
|
||||
</Style>
|
||||
<Style Selector="^:checked Path">
|
||||
<Setter Property="Fill" Value="{DynamicResource Brush.Accent}"/>
|
||||
<Setter Property="Opacity" Value="0.65"/>
|
||||
<Setter Property="Fill" Value="White"/>
|
||||
</Style>
|
||||
</Style>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue