|
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="#ffffff" />
|
9 | 13 | </Style>
|
10 |
| - <Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}"> |
11 |
| - <Setter Property="SelectionBrush" Value="#4a5459"/> |
| 14 | + <Style |
| 15 | + x:Key="QueryBoxStyle" |
| 16 | + BasedOn="{StaticResource BaseQueryBoxStyle}" |
| 17 | + TargetType="{x:Type TextBox}"> |
| 18 | + <Setter Property="SelectionBrush" Value="#4a5459" /> |
12 | 19 | <Setter Property="FontSize" Value="24" />
|
13 | 20 | <Setter Property="Background" Value="#202020" />
|
14 | 21 | <Setter Property="Foreground" Value="#FFFFFF" />
|
15 | 22 | <Setter Property="CaretBrush" Value="#FFFFFF" />
|
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="#202020" />
|
22 | 32 | <Setter Property="Foreground" Value="#7b7b7b" />
|
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="1" />
|
29 | 42 | <Setter Property="BorderBrush" Value="#3f3f3f" />
|
30 | 43 | <Setter Property="CornerRadius" Value="5" />
|
31 | 44 | <Setter Property="Background" Value="#202020" />
|
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}"> |
| 54 | + <Style |
| 55 | + x:Key="PendingLineStyle" |
| 56 | + BasedOn="{StaticResource BasePendingLineStyle}" |
| 57 | + TargetType="{x:Type Line}"> |
39 | 58 | <Setter Property="Stroke" Value="White" />
|
40 | 59 | </Style>
|
41 | 60 |
|
42 |
| - <!-- Item Style --> |
43 |
| - <Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}"> |
| 61 | + <!-- Item Style --> |
| 62 | + <Style |
| 63 | + x:Key="ItemTitleStyle" |
| 64 | + BasedOn="{StaticResource BaseItemTitleStyle}" |
| 65 | + TargetType="{x:Type TextBlock}"> |
44 | 66 | <Setter Property="Foreground" Value="#ffffff" />
|
45 | 67 | </Style>
|
46 |
| - <Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" > |
| 68 | + <Style |
| 69 | + x:Key="ItemSubTitleStyle" |
| 70 | + BasedOn="{StaticResource BaseItemSubTitleStyle}" |
| 71 | + TargetType="{x:Type TextBlock}"> |
47 | 72 | <Setter Property="Foreground" Value="#7b7b7b" />
|
48 | 73 | <Setter Property="FontSize" Value="13" />
|
49 | 74 | <Setter Property="FontWeight" Value="Regular" />
|
50 | 75 | </Style>
|
51 |
| - <Style x:Key="ItemNumberStyle" BasedOn="{StaticResource BaseItemNumberStyle}" TargetType="{x:Type TextBlock}"> |
| 76 | + <Style |
| 77 | + x:Key="ItemNumberStyle" |
| 78 | + BasedOn="{StaticResource BaseItemNumberStyle}" |
| 79 | + TargetType="{x:Type TextBlock}"> |
52 | 80 | <Setter Property="Foreground" Value="#ffffff" />
|
53 | 81 | </Style>
|
54 |
| - <Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}" > |
| 82 | + <Style |
| 83 | + x:Key="ItemTitleSelectedStyle" |
| 84 | + BasedOn="{StaticResource BaseItemTitleSelectedStyle}" |
| 85 | + TargetType="{x:Type TextBlock}"> |
55 | 86 | <Setter Property="Cursor" Value="Arrow" />
|
56 | 87 | <Setter Property="Foreground" Value="#ffffff" />
|
57 | 88 | </Style>
|
58 |
| - <Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}" > |
| 89 | + <Style |
| 90 | + x:Key="ItemSubTitleSelectedStyle" |
| 91 | + BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" |
| 92 | + TargetType="{x:Type TextBlock}"> |
59 | 93 | <Setter Property="Cursor" Value="Arrow" />
|
60 | 94 | <Setter Property="Foreground" Value="#7b7b7b" />
|
61 | 95 | <Setter Property="FontSize" Value="13" />
|
62 | 96 | <Setter Property="FontWeight" Value="Regular" />
|
63 | 97 | </Style>
|
64 |
| - <SolidColorBrush x:Key="ItemSelectedBackgroundColor">#2d2d2d</SolidColorBrush> |
65 |
| - <Style x:Key="ItemImageSelectedStyle" BasedOn="{StaticResource BaseItemImageSelectedStyle}" TargetType="{x:Type Image}" > |
| 98 | + <SolidColorBrush x:Key="ItemSelectedBackgroundColor">#198F8F8F</SolidColorBrush> |
| 99 | + <Style |
| 100 | + x:Key="ItemImageSelectedStyle" |
| 101 | + BasedOn="{StaticResource BaseItemImageSelectedStyle}" |
| 102 | + TargetType="{x:Type Image}"> |
66 | 103 | <Setter Property="Cursor" Value="Arrow" />
|
67 | 104 | </Style>
|
68 | 105 | <Style x:Key="HighlightStyle">
|
69 |
| - <Setter Property="Inline.FontWeight" Value="Bold" /> |
| 106 | + <Setter Property="Inline.Foreground" Value="#0078d7" /> |
70 | 107 | </Style>
|
71 | 108 | <Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
|
72 | 109 | <Setter Property="FontSize" Value="13" />
|
|
76 | 113 | <Setter Property="FontSize" Value="13" />
|
77 | 114 | <Setter Property="Foreground" Value="#7b7b7b" />
|
78 | 115 | </Style>
|
79 |
| - <!-- button style in the middle of the scrollbar --> |
80 |
| - <Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}"> |
81 |
| - <Setter Property="SnapsToDevicePixels" Value="True"/> |
82 |
| - <Setter Property="OverridesDefaultStyle" Value="true"/> |
83 |
| - <Setter Property="IsTabStop" Value="false"/> |
84 |
| - <Setter Property="Width" Value="2"/> |
85 |
| - <Setter Property="Focusable" Value="false"/> |
| 116 | + <!-- button style in the middle of the scrollbar --> |
| 117 | + <Style |
| 118 | + x:Key="ThumbStyle" |
| 119 | + BasedOn="{StaticResource BaseThumbStyle}" |
| 120 | + TargetType="{x:Type Thumb}"> |
| 121 | + <Setter Property="SnapsToDevicePixels" Value="True" /> |
| 122 | + <Setter Property="OverridesDefaultStyle" Value="true" /> |
| 123 | + <Setter Property="IsTabStop" Value="false" /> |
| 124 | + <Setter Property="Width" Value="2" /> |
| 125 | + <Setter Property="Focusable" Value="false" /> |
86 | 126 | <Setter Property="Template">
|
87 | 127 | <Setter.Value>
|
88 | 128 | <ControlTemplate TargetType="{x:Type Thumb}">
|
89 |
| - <Border CornerRadius="2" DockPanel.Dock="Right" Background="#9a9a9a" BorderBrush="Transparent" BorderThickness="0" /> |
| 129 | + <Border |
| 130 | + Background="#9a9a9a" |
| 131 | + BorderBrush="Transparent" |
| 132 | + BorderThickness="0" |
| 133 | + CornerRadius="2" |
| 134 | + DockPanel.Dock="Right" /> |
90 | 135 | </ControlTemplate>
|
91 | 136 | </Setter.Value>
|
92 | 137 | </Setter>
|
93 | 138 | </Style>
|
94 |
| - <Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}"> |
95 |
| - </Style> |
96 |
| - <Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}"> |
97 |
| - <Setter Property="Fill" Value="#4d4d4d"/> |
98 |
| - <Setter Property="Height" Value="1"/> |
99 |
| - <Setter Property="Margin" Value="12 0 12 8"/> |
| 139 | + <Style |
| 140 | + x:Key="ScrollBarStyle" |
| 141 | + BasedOn="{StaticResource BaseScrollBarStyle}" |
| 142 | + TargetType="{x:Type ScrollBar}" /> |
| 143 | + <Style |
| 144 | + x:Key="SeparatorStyle" |
| 145 | + BasedOn="{StaticResource BaseSeparatorStyle}" |
| 146 | + TargetType="{x:Type Rectangle}"> |
| 147 | + <Setter Property="Fill" Value="#4d4d4d" /> |
| 148 | + <Setter Property="Height" Value="1" /> |
| 149 | + <Setter Property="Margin" Value="12,0,12,8" /> |
100 | 150 | </Style>
|
101 |
| - <Style x:Key="SearchIconStyle" TargetType="{x:Type Path}" BasedOn="{StaticResource BaseSearchIconStyle}"> |
| 151 | + <Style |
| 152 | + x:Key="SearchIconStyle" |
| 153 | + BasedOn="{StaticResource BaseSearchIconStyle}" |
| 154 | + TargetType="{x:Type Path}"> |
102 | 155 | <Setter Property="Fill" Value="#4d4d4d" />
|
103 | 156 | <Setter Property="Width" Value="32" />
|
104 | 157 | <Setter Property="Height" Value="32" />
|
|
0 commit comments