|
1 |
| -<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 |
| - xmlns:system="clr-namespace:System;assembly=mscorlib"> |
| 1 | +<ResourceDictionary |
| 2 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 3 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 4 | + xmlns:system="clr-namespace:System;assembly=mscorlib"> |
4 | 5 | <ResourceDictionary.MergedDictionaries>
|
5 | 6 | <ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
|
6 | 7 | </ResourceDictionary.MergedDictionaries>
|
7 |
| - <Style x:Key="ItemGlyph" BasedOn="{StaticResource BaseGlyphStyle}" TargetType="{x:Type TextBlock}"> |
| 8 | + <Style |
| 9 | + x:Key="ItemGlyph" |
| 10 | + BasedOn="{StaticResource BaseGlyphStyle}" |
| 11 | + TargetType="{x:Type TextBlock}"> |
8 | 12 | <Setter Property="Foreground" Value="#9fb2bf" />
|
9 | 13 | </Style>
|
10 |
| - <Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}"> |
11 |
| - <Setter Property="SelectionBrush" Value="#515a6b"/> |
| 14 | + <Style |
| 15 | + x:Key="QueryBoxStyle" |
| 16 | + BasedOn="{StaticResource BaseQueryBoxStyle}" |
| 17 | + TargetType="{x:Type TextBox}"> |
| 18 | + <Setter Property="SelectionBrush" Value="#515a6b" /> |
12 | 19 | <Setter Property="FontSize" Value="24" />
|
13 | 20 | <Setter Property="Background" Value="#282c34" />
|
14 | 21 | <Setter Property="Foreground" Value="#61afef" />
|
15 | 22 | <Setter Property="CaretBrush" Value="#ffb86c" />
|
16 | 23 | <Setter Property="FontSize" Value="26" />
|
17 |
| - <Setter Property="Padding" Value="0 4 66 0" /> |
| 24 | + <Setter Property="Padding" Value="0,4,66,0" /> |
18 | 25 | <Setter Property="Height" Value="42" />
|
19 | 26 | </Style>
|
20 |
| - <Style x:Key="QuerySuggestionBoxStyle" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" TargetType="{x:Type TextBox}"> |
| 27 | + <Style |
| 28 | + x:Key="QuerySuggestionBoxStyle" |
| 29 | + BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" |
| 30 | + TargetType="{x:Type TextBox}"> |
21 | 31 | <Setter Property="Background" Value="#282c34" />
|
22 | 32 | <Setter Property="Foreground" Value="#454e61" />
|
23 | 33 | <Setter Property="FontSize" Value="26" />
|
24 |
| - <Setter Property="Padding" Value="0 4 66 0" /> |
| 34 | + <Setter Property="Padding" Value="0,4,66,0" /> |
25 | 35 | <Setter Property="Height" Value="42" />
|
26 | 36 | </Style>
|
27 |
| - <Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}"> |
| 37 | + <Style |
| 38 | + x:Key="WindowBorderStyle" |
| 39 | + BasedOn="{StaticResource BaseWindowBorderStyle}" |
| 40 | + TargetType="{x:Type Border}"> |
28 | 41 | <Setter Property="BorderThickness" Value="2" />
|
29 | 42 | <Setter Property="BorderBrush" Value="#44475a" />
|
30 | 43 | <Setter Property="CornerRadius" Value="5" />
|
31 | 44 | <Setter Property="Background" Value="#282c34" />
|
32 | 45 | </Style>
|
33 |
| - <Style x:Key="WindowStyle" BasedOn="{StaticResource BaseWindowStyle}" TargetType="{x:Type Window}"> |
| 46 | + <Style |
| 47 | + x:Key="WindowStyle" |
| 48 | + BasedOn="{StaticResource BaseWindowStyle}" |
| 49 | + TargetType="{x:Type Window}"> |
34 | 50 | <Setter Property="Width" Value="576" />
|
35 |
| - <Setter Property="RenderOptions.ClearTypeHint" Value="Enabled"/> |
| 51 | + <Setter Property="RenderOptions.ClearTypeHint" Value="Enabled" /> |
36 | 52 | </Style>
|
37 | 53 |
|
38 |
| - <Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}"> |
39 |
| - </Style> |
| 54 | + <Style |
| 55 | + x:Key="PendingLineStyle" |
| 56 | + BasedOn="{StaticResource BasePendingLineStyle}" |
| 57 | + TargetType="{x:Type Line}" /> |
40 | 58 |
|
41 |
| - <!-- Item Style --> |
42 |
| - <Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}"> |
| 59 | + <!-- Item Style --> |
| 60 | + <Style |
| 61 | + x:Key="ItemTitleStyle" |
| 62 | + BasedOn="{StaticResource BaseItemTitleStyle}" |
| 63 | + TargetType="{x:Type TextBlock}"> |
43 | 64 | <Setter Property="Foreground" Value="#9fb2bf" />
|
44 | 65 | </Style>
|
45 |
| - <Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" > |
| 66 | + <Style |
| 67 | + x:Key="ItemSubTitleStyle" |
| 68 | + BasedOn="{StaticResource BaseItemSubTitleStyle}" |
| 69 | + TargetType="{x:Type TextBlock}"> |
46 | 70 | <Setter Property="Foreground" Value="#6272a4 " />
|
47 | 71 | <Setter Property="FontSize" Value="13" />
|
48 | 72 | </Style>
|
49 |
| - <Style x:Key="ItemNumberStyle" BasedOn="{StaticResource BaseItemNumberStyle}" TargetType="{x:Type TextBlock}"> |
| 73 | + <Style |
| 74 | + x:Key="ItemNumberStyle" |
| 75 | + BasedOn="{StaticResource BaseItemNumberStyle}" |
| 76 | + TargetType="{x:Type TextBlock}"> |
50 | 77 | <Setter Property="Foreground" Value="#6272a4" />
|
51 | 78 | </Style>
|
52 |
| - <Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}" > |
| 79 | + <Style |
| 80 | + x:Key="ItemTitleSelectedStyle" |
| 81 | + BasedOn="{StaticResource BaseItemTitleSelectedStyle}" |
| 82 | + TargetType="{x:Type TextBlock}"> |
53 | 83 | <Setter Property="Cursor" Value="Arrow" />
|
54 | 84 | <Setter Property="Foreground" Value="#e5c07b" />
|
55 | 85 | </Style>
|
56 |
| - <Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}" > |
| 86 | + <Style |
| 87 | + x:Key="ItemSubTitleSelectedStyle" |
| 88 | + BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" |
| 89 | + TargetType="{x:Type TextBlock}"> |
57 | 90 | <Setter Property="Cursor" Value="Arrow" />
|
58 | 91 | <Setter Property="Foreground" Value="#c678dd" />
|
59 | 92 | </Style>
|
60 | 93 | <SolidColorBrush x:Key="ItemSelectedBackgroundColor">#2c313c</SolidColorBrush>
|
61 |
| - <Style x:Key="ItemImageSelectedStyle" BasedOn="{StaticResource BaseItemImageSelectedStyle}" TargetType="{x:Type Image}" > |
| 94 | + <Style |
| 95 | + x:Key="ItemImageSelectedStyle" |
| 96 | + BasedOn="{StaticResource BaseItemImageSelectedStyle}" |
| 97 | + TargetType="{x:Type Image}"> |
62 | 98 | <Setter Property="Cursor" Value="Arrow" />
|
63 | 99 | </Style>
|
64 | 100 | <Style x:Key="HighlightStyle">
|
|
68 | 104 | <Setter Property="FontSize" Value="13" />
|
69 | 105 | <Setter Property="Foreground" Value="#6272a4" />
|
70 | 106 | </Style>
|
71 |
| - <Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource BaseItemHotkeySelecetedStyle}"> |
| 107 | + <Style |
| 108 | + x:Key="ItemHotkeySelectedStyle" |
| 109 | + BasedOn="{StaticResource BaseItemHotkeySelecetedStyle}" |
| 110 | + TargetType="{x:Type TextBlock}"> |
72 | 111 | <Setter Property="FontSize" Value="13" />
|
73 | 112 | <Setter Property="Foreground" Value="#56b6c2" />
|
74 | 113 | </Style>
|
75 |
| - <!-- button style in the middle of the scrollbar --> |
76 |
| - <Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}"> |
77 |
| - <Setter Property="SnapsToDevicePixels" Value="True"/> |
78 |
| - <Setter Property="OverridesDefaultStyle" Value="true"/> |
79 |
| - <Setter Property="IsTabStop" Value="false"/> |
80 |
| - <Setter Property="Width" Value="2"/> |
81 |
| - <Setter Property="Focusable" Value="false"/> |
| 114 | + <!-- button style in the middle of the scrollbar --> |
| 115 | + <Style |
| 116 | + x:Key="ThumbStyle" |
| 117 | + BasedOn="{StaticResource BaseThumbStyle}" |
| 118 | + TargetType="{x:Type Thumb}"> |
| 119 | + <Setter Property="SnapsToDevicePixels" Value="True" /> |
| 120 | + <Setter Property="OverridesDefaultStyle" Value="true" /> |
| 121 | + <Setter Property="IsTabStop" Value="false" /> |
| 122 | + <Setter Property="Width" Value="2" /> |
| 123 | + <Setter Property="Focusable" Value="false" /> |
82 | 124 | <Setter Property="Template">
|
83 | 125 | <Setter.Value>
|
84 | 126 | <ControlTemplate TargetType="{x:Type Thumb}">
|
85 |
| - <Border CornerRadius="2" DockPanel.Dock="Right" Background="#b4b5b7" BorderBrush="Transparent" BorderThickness="0" /> |
| 127 | + <Border |
| 128 | + Background="#b4b5b7" |
| 129 | + BorderBrush="Transparent" |
| 130 | + BorderThickness="0" |
| 131 | + CornerRadius="2" |
| 132 | + DockPanel.Dock="Right" /> |
86 | 133 | </ControlTemplate>
|
87 | 134 | </Setter.Value>
|
88 | 135 | </Setter>
|
89 | 136 | </Style>
|
90 |
| - <Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}"> |
91 |
| - </Style> |
92 |
| - <Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}"> |
93 |
| - <Setter Property="Fill" Value="#495162"/> |
94 |
| - <Setter Property="Height" Value="1"/> |
95 |
| - <Setter Property="Margin" Value="12 0 12 8"/> |
| 137 | + <Style |
| 138 | + x:Key="ScrollBarStyle" |
| 139 | + BasedOn="{StaticResource BaseScrollBarStyle}" |
| 140 | + TargetType="{x:Type ScrollBar}" /> |
| 141 | + <Style |
| 142 | + x:Key="SeparatorStyle" |
| 143 | + BasedOn="{StaticResource BaseSeparatorStyle}" |
| 144 | + TargetType="{x:Type Rectangle}"> |
| 145 | + <Setter Property="Fill" Value="#495162" /> |
| 146 | + <Setter Property="Height" Value="1" /> |
| 147 | + <Setter Property="Margin" Value="12,0,12,8" /> |
96 | 148 | </Style>
|
97 |
| - <Style x:Key="SearchIconStyle" TargetType="{x:Type Path}" BasedOn="{StaticResource BaseSearchIconStyle}"> |
| 149 | + <Style |
| 150 | + x:Key="SearchIconStyle" |
| 151 | + BasedOn="{StaticResource BaseSearchIconStyle}" |
| 152 | + TargetType="{x:Type Path}"> |
98 | 153 | <Setter Property="Fill" Value="#495162" />
|
99 | 154 | <Setter Property="Width" Value="32" />
|
100 | 155 | <Setter Property="Height" Value="32" />
|
101 | 156 | <Setter Property="Opacity" Value="0.8" />
|
102 | 157 | </Style>
|
| 158 | + <Style |
| 159 | + x:Key="ClockBox" |
| 160 | + BasedOn="{StaticResource BaseClockBox}" |
| 161 | + TargetType="{x:Type TextBlock}"> |
| 162 | + <Setter Property="Foreground" Value="#495162" /> |
| 163 | + </Style> |
| 164 | + <Style |
| 165 | + x:Key="DateBox" |
| 166 | + BasedOn="{StaticResource BaseDateBox}" |
| 167 | + TargetType="{x:Type TextBlock}"> |
| 168 | + <Setter Property="Foreground" Value="#495162" /> |
| 169 | + </Style> |
103 | 170 | </ResourceDictionary>
|
0 commit comments