mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 17:44:59 +00:00
style<*>: font size and weight
This commit is contained in:
parent
8c1674aef7
commit
bfade2e69b
7 changed files with 43 additions and 28 deletions
|
@ -287,7 +287,7 @@
|
|||
<sys:String x:Key="Text.Merge.Into">Into :</sys:String>
|
||||
<sys:String x:Key="Text.Merge.Mode">Merge Option :</sys:String>
|
||||
|
||||
<sys:String x:Key="Text.Welcome.Title">Welcome to SourceGit :)</sys:String>
|
||||
<sys:String x:Key="Text.Welcome.Title">SourceGit</sys:String>
|
||||
<sys:String x:Key="Text.Welcome.OpenOrInit">Open Local Repository</sys:String>
|
||||
<sys:String x:Key="Text.Welcome.Clone">Clone Remote Repository</sys:String>
|
||||
<sys:String x:Key="Text.Welcome.Repositories">REPOSITORIES</sys:String>
|
||||
|
|
|
@ -38,16 +38,17 @@
|
|||
<Border
|
||||
x:Name="Border"
|
||||
BorderThickness="0,0,0,1"
|
||||
BorderBrush="Transparent">
|
||||
BorderBrush="Transparent"
|
||||
Opacity=".56">
|
||||
<ContentPresenter
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center"
|
||||
ContentSource="Header"
|
||||
Margin="8,6">
|
||||
Margin="8,4">
|
||||
<ContentPresenter.Resources>
|
||||
<Style TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.FG2}"/>
|
||||
<Setter Property="FontWeight" Value="Bold"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
|
||||
<Setter Property="FontWeight" Value="DemiBold"/>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabItem}}, Path=IsSelected}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Accent1}"/>
|
||||
|
@ -60,6 +61,7 @@
|
|||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsSelected" Value="True">
|
||||
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource Brush.Accent1}"/>
|
||||
<Setter TargetName="Border" Property="Opacity" Value="1"/>
|
||||
</Trigger>
|
||||
<MultiTrigger>
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -67,6 +69,7 @@
|
|||
<Condition Property="IsMouseOver" Value="True"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource Brush.Accent2}"/>
|
||||
<Setter TargetName="Border" Property="Opacity" Value=".7"/>
|
||||
</MultiTrigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue