style<Dashboard>: toolbar style

This commit is contained in:
leo 2021-02-01 10:18:56 +08:00
parent 5f2fe64e80
commit ed911fb679
3 changed files with 19 additions and 19 deletions

View file

@ -23,7 +23,7 @@
<sys:String x:Key="Text.About">ABOUT</sys:String> <sys:String x:Key="Text.About">ABOUT</sys:String>
<sys:String x:Key="Text.About.Title">SourceGit - OPEN SOURCE GIT CLIENT</sys:String> <sys:String x:Key="Text.About.Title">SourceGit - OPEN SOURCE GIT CLIENT</sys:String>
<sys:String x:Key="Text.Apply">Apply</sys:String> <sys:String x:Key="Text.Apply">Patch</sys:String>
<sys:String x:Key="Text.Apply.Title">Apply Patch</sys:String> <sys:String x:Key="Text.Apply.Title">Apply Patch</sys:String>
<sys:String x:Key="Text.Apply.File">Patch File :</sys:String> <sys:String x:Key="Text.Apply.File">Patch File :</sys:String>
<sys:String x:Key="Text.Apply.File.Placeholder">Select .patch file to apply</sys:String> <sys:String x:Key="Text.Apply.File.Placeholder">Select .patch file to apply</sys:String>

View file

@ -62,35 +62,35 @@
</StackPanel> </StackPanel>
<!-- Common Git Options --> <!-- Common Git Options -->
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="6,0"> <StackPanel Grid.Column="1" Orientation="Horizontal">
<Button Click="OpenFetch" Margin="4,0"> <Button Click="OpenFetch" Style="{StaticResource Style.Button.HighlightHover}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" Margin="6,0">
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Fetch}"/> <Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Fetch}"/>
<Label Content="{StaticResource Text.Fetch}"/> <Label Content="{StaticResource Text.Fetch}" Margin="4,0,0,0"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Click="OpenPull" Margin="4,0"> <Button Click="OpenPull" Style="{StaticResource Style.Button.HighlightHover}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" Margin="6,0">
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Pull}"/> <Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Pull}"/>
<Label Content="{StaticResource Text.Pull}"/> <Label Content="{StaticResource Text.Pull}" Margin="4,0,0,0"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Click="OpenPush" Margin="4,0"> <Button Click="OpenPush" Style="{StaticResource Style.Button.HighlightHover}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" Margin="6,0">
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Push}"/> <Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Push}"/>
<Label Content="{StaticResource Text.Push}"/> <Label Content="{StaticResource Text.Push}" Margin="4,0,0,0"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Click="OpenStash" Margin="4,0"> <Button Click="OpenStash" Style="{StaticResource Style.Button.HighlightHover}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" Margin="6,0">
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.SaveStash}"/> <Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.SaveStash}"/>
<Label Content="{StaticResource Text.Stash}"/> <Label Content="{StaticResource Text.Stash}" Margin="4,0,0,0"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Click="OpenApply"> <Button Click="OpenApply" Style="{StaticResource Style.Button.HighlightHover}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" Margin="6,0">
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Apply}"/> <Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Apply}"/>
<Label Content="{StaticResource Text.Apply}"/> <Label Content="{StaticResource Text.Apply}" Margin="4,0,0,0"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>

View file

@ -24,7 +24,7 @@
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.ColumnSpan="2" FontWeight="DemiBold" FontSize="18" Content="{StaticResource Text.Push.Local}"/> <Label Grid.Row="0" Grid.ColumnSpan="2" FontWeight="DemiBold" FontSize="18" Content="{StaticResource Text.Push.Title}"/>
<Label Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Content="{StaticResource Text.Push.Local}"/> <Label Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Content="{StaticResource Text.Push.Local}"/>
<ComboBox Grid.Row="2" Grid.Column="1" <ComboBox Grid.Row="2" Grid.Column="1"