mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
Update Theme
This commit is contained in:
parent
f9a611fc94
commit
62d9a19e0e
@ -73,7 +73,7 @@
|
||||
<GradientStop Offset="1.0" Color="#888" />
|
||||
</LinearGradientBrush>
|
||||
|
||||
<SolidColorBrush x:Key="DefaultedBorderBrush" Color="{StaticResource DefaultColor}" />
|
||||
<SolidColorBrush x:Key="DefaultedBorderBrush" Color="{StaticResource MainColor}" />
|
||||
<SolidColorBrush x:Key="SolidBorderBrush" Color="#888" />
|
||||
|
||||
|
||||
@ -2136,11 +2136,18 @@
|
||||
|
||||
<Style TargetType="{x:Type ComboBox}">
|
||||
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource DefaultedBorderBrush}" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="true" />
|
||||
<Setter Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
|
||||
<Border
|
||||
x:Name="ComboBoxBorder"
|
||||
Background="{DynamicResource ControlBackgroundBrush}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="3,3,3,3">
|
||||
<Grid x:Name="grid">
|
||||
<ToggleButton
|
||||
x:Name="ToggleButton"
|
||||
@ -2186,6 +2193,8 @@
|
||||
<Border
|
||||
x:Name="DropDownBorder"
|
||||
Background="{DynamicResource ControlBackgroundBrush}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="3,3,3,3" />
|
||||
<ScrollViewer
|
||||
Margin="4,6,4,6"
|
||||
@ -2200,6 +2209,7 @@
|
||||
</Grid>
|
||||
</Popup>
|
||||
</Grid>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="HasItems" Value="false">
|
||||
<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95" />
|
||||
@ -2454,7 +2464,7 @@
|
||||
<Setter Property="Template" Value="{DynamicResource TextBoxTemplate}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" />
|
||||
<Setter Property="Background" Value="{DynamicResource ControlBackgroundBrush}" />
|
||||
<Setter Property="BorderBrush" Value="#FF000000" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource DefaultedBorderBrush}" />
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="TextBoxTemplate" TargetType="{x:Type TextBox}">
|
||||
|
Loading…
Reference in New Issue
Block a user