-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGold Box.xaml
248 lines (245 loc) · 9.12 KB
/
Gold Box.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:m="http://schemas.modernwpf.com/2019"
xmlns:system="clr-namespace:System;assembly=mscorlib">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
</ResourceDictionary.MergedDictionaries>
<system:Boolean x:Key="ThemeBlurEnabled">True</system:Boolean>
<!-- Main query box style including Query text -->
<Style x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}">
<Setter Property="Padding"
Value="0,0,50,0" />
<Setter Property="Foreground"
Value="#FFB900" />
<Setter Property="FontSize"
Value="39" />
<Setter Property="Height"
Value="42" />
</Style>
<!-- Main query box suggesstions style -->
<Style x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}">
<Setter Property="Padding"
Value="0,0,50,0" />
<Setter Property="Background"
Value="Transparent" />
<Setter Property="Height"
Value="42" />
<Setter Property="FontSize"
Value="39" />
<Setter Property="Foreground"
Value="#8a876e" />
<Setter Property="Opacity"
Value="0.5" />
</Style>
<!-- Query box border -->
<Style x:Key="WindowBorderStyle"
BasedOn="{StaticResource BaseWindowBorderStyle}"
TargetType="{x:Type Border}">
<Setter Property="BorderThickness"
Value="5" />
<Setter Property="BorderBrush"
Value="#FFB900" />
<Setter Property="Background">
<Setter.Value>
<SolidColorBrush Color="Black"
Opacity="0.7" />
</Setter.Value>
</Setter>
<Setter Property="CornerRadius"
Value="14" />
<Setter Property="UseLayoutRounding"
Value="True" />
</Style>
<Style x:Key="WindowStyle"
BasedOn="{StaticResource BaseWindowStyle}"
TargetType="{x:Type Window}">
<!-- <Setter Property="Background">
<Setter.Value>
<SolidColorBrush Color="Black" Opacity="0.7" />
</Setter.Value>
</Setter> -->
<Setter Property="Opacity"
Value="0" />
<Setter Property="Background"
Value="#fff" />
<Setter Property="Visibility"
Value="Hidden" />
</Style>
<!-- Result styles -->
<Style x:Key="ItemTitleStyle"
BasedOn="{StaticResource BaseItemTitleStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#ffffff" />
</Style>
<Style x:Key="ItemSubTitleStyle"
BasedOn="{StaticResource BaseItemSubTitleStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#BFC3C4" />
</Style>
<!-- Seperator of Query and Result -->
<Style x:Key="SeparatorStyle"
BasedOn="{StaticResource BaseSeparatorStyle}"
TargetType="{x:Type Rectangle}">
<Setter Property="Fill"
Value="#6a6a6a" />
<Setter Property="Height"
Value="1" />
<Setter Property="Margin"
Value="0,0,0,8" />
</Style>
<Style x:Key="HighlightStyle">
<Setter Property="Inline.FontWeight"
Value="Bold" />
<Setter Property="Inline.Foreground"
Value="#ea7354" />
</Style>
<Style x:Key="ItemTitleSelectedStyle"
BasedOn="{StaticResource BaseItemTitleSelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#000000" />
</Style>
<Style x:Key="ItemSubTitleSelectedStyle"
BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#171C1E" />
</Style>
<SolidColorBrush x:Key="ItemSelectedBackgroundColor"
Color="{m:DynamicColor SystemAccentColorLight1}" />
<!-- Search pending bar -->
<Style x:Key="PendingLineStyle"
BasedOn="{StaticResource BasePendingLineStyle}"
TargetType="{x:Type Line}">
<Setter Property="Stroke"
Value="#aeaeae" />
</Style>
<!-- button style in the middle of the scrollbar -->
<Style x:Key="ThumbStyle"
BasedOn="{StaticResource BaseThumbStyle}"
TargetType="{x:Type Thumb}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}">
<Border Background="#a0a8b5"
BorderBrush="Transparent"
BorderThickness="2"
CornerRadius="2"
DockPanel.Dock="Right" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="ScrollBarStyle"
BasedOn="{StaticResource BaseScrollBarStyle}"
TargetType="{x:Type ScrollBar}" />
<Style x:Key="SearchIconStyle"
BasedOn="{StaticResource BaseSearchIconStyle}"
TargetType="{x:Type Path}">
<Setter Property="Fill"
Value="#FFB900" />
<Setter Property="Width"
Value="24" />
<Setter Property="Height"
Value="24" />
</Style>
<Style x:Key="SearchIconPosition"
TargetType="{x:Type Canvas}">
<Setter Property="Background"
Value="Transparent" />
<Setter Property="Width"
Value="32" />
<Setter Property="Height"
Value="32" />
<Setter Property="Margin"
Value="0,8,8,0" />
<Setter Property="HorizontalAlignment"
Value="Right" />
</Style>
<Style x:Key="ItemHotkeyStyle"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize"
Value="14" />
<Setter Property="Foreground"
Value="#9da1aa" />
</Style>
<Style x:Key="ItemHotkeySelectedStyle"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize"
Value="14" />
<Setter Property="Foreground"
Value="#000000" />
</Style>
<Style x:Key="ItemGlyphSelectedStyle"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#FFB900" />
<Setter Property="VerticalAlignment"
Value="Center" />
<Setter Property="HorizontalAlignment"
Value="Center" />
<Setter Property="Width"
Value="25" />
<Setter Property="Height"
Value="25" />
<Setter Property="FontSize"
Value="25" />
</Style>
<CornerRadius x:Key="ItemRadius">8</CornerRadius>
<Thickness x:Key="ItemMargin">10 0 10 0</Thickness>
<Thickness x:Key="ResultMargin">0 0 0 10</Thickness>
<!-- Clock and Date styles -->
<Style x:Key="ClockPanel"
BasedOn="{StaticResource ClockPanel}"
TargetType="{x:Type StackPanel}">
<Setter Property="Margin"
Value="0,0,54,0" />
</Style>
<Style x:Key="ClockBox"
BasedOn="{StaticResource BaseClockBox}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#FFB900" />
<Setter Property="Margin"
Value="0,0,0,5" />
</Style>
<Style x:Key="DateBox"
BasedOn="{StaticResource BaseDateBox}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#FFB900" />
</Style>
<!-- Preview box styles -->
<Style x:Key="PreviewBorderStyle"
BasedOn="{StaticResource BasePreviewBorderStyle}"
TargetType="{x:Type Border}">
<Setter Property="BorderBrush"
Value="#373737" />
</Style>
<Style x:Key="PreviewItemTitleStyle"
BasedOn="{StaticResource BasePreviewItemTitleStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#FFB900" />
</Style>
<Style x:Key="PreviewItemSubTitleStyle"
BasedOn="{StaticResource BasePreviewItemSubTitleStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#FFB900" />
</Style>
<Style x:Key="PreviewGlyph"
BasedOn="{StaticResource BasePreviewGlyph}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground"
Value="#9da1aa" />
</Style>
</ResourceDictionary>
<!-- Gold Box Flow Launcher theme v1 -2024.07.06- theme from: https://github.com/indigofairyx/GoldBox.Theme -->