-
Notifications
You must be signed in to change notification settings - Fork 69
/
default.qss
454 lines (372 loc) · 9 KB
/
default.qss
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
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
QPushButton, QToolButton {
padding: 5px;
}
QComboBox, QLineEdit, QSpinBox {
border-width: 1px;
border-style: solid;
border-radius: 5px;
padding: 3px;
}
QComboxBox:!editable, QComboBox::drop-down {
border-left: 0;
}
QComboBox::down-arrow {
height: 8px;
width: 8px;
padding-right: 10px;
}
QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off, QSpinBox::down-arrow:disabled, QSpinBox::down-arrow:off {
image: none;
}
QCheckBox::indicator {
width: 18px;
height: 18px;
}
QCheckBox[warning = "true"] {
color: yellow;
}
QProgressBar {
max-height: 4px;
}
QTableWidget QToolButton {
padding: 5px;
margin-top: 3px;
margin-bottom: 3px;
}
QTableWidget QToolButton#bt_task {
margin-top: 1px;
margin-bottom: 1px;
}
QTableWidget QToolButton[text_only = "true"] {
min-width: 80px;
max-width: 150px;
}
QMenu QPushButton {
border: 0px;
background: none;
padding: 5px;
text-align: left;
}
QLabel[help_icon = "true"], QLabel[warning_icon = "true"] {
qproperty-scaledContents: True;
min-height: 16;
max-height: 16;
min-width: 16;
max-width: 16;
}
QLabel[tip_icon = "true"] {
qproperty-scaledContents: True;
min-height: 12;
max-height: 12;
min-width: 12;
max-width: 12;
}
QLabel#confirm_dialog_icon {
qproperty-scaledContents: True;
min-width: 32px;
max-width: 32px;
min-height: 32px;
max-height: 32px;
}
QCustomToolbar QWidget[spacer = "true"] {
min-width: 5px;
}
FormQt {
min-width: 600px;
font-weight: bold;
font-size: 12px;
border-radius: 6px;
margin-top: 6px;
}
FormQt::title {
subcontrol-origin: margin;
left: 7px;
padding: 0px 5px 0px 5px;
}
FormQt IconButton#clean_field {
min-width: 14px;
max-width: 14px;
min-height: 14px;
max-height: 14px;
}
QSearchBar QPushButton {
padding: inherit;
}
QSearchBar QLabel#lb_left_corner {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
border-left-width: 1px;
border-left-style: solid;
border-top-width: 1px;
border-top-style: solid;
border-bottom-width: 1px;
border-bottom-style: solid;
border-right: 0px;
}
QSearchBar QPushButton#search_button {
qproperty-iconSize: 10px 10px;
padding-right: 10px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-right-width: 1px;
border-right-style: solid;
border-top-width: 1px;
border-top-style: solid;
border-bottom-width: 1px;
border-bottom-style: solid;
height: 30px;
border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
QSearchBar QLineEdit#inp_search {
spacing: 0;
height: 30px;
font-size: 12px;
width: 300px;
border-top-width: 1px;
border-top-style: solid;
border-bottom-width: 1px;
border-bottom-style: solid;
border-left: none;
border-right: none;
border-radius: 0;
padding: 0;
}
RadioSelectQt {
font-weight: bold;
}
RadioSelectQt[no_label = "true"] {
padding-top: 5px;
}
ComboSelectQt QGridLayout, RangeInputQt QGridLayout, TextInputQt QGridLayout {
margin-left: 0;
}
ComboSelectQt QLabel, RangeInputQt QLabel, TextInputQt QLabel {
font-weight: bold;
}
MultipleSelectQt {
font-weight: bold;
font-size: 12px;
border: 1px solid none;
border-radius: 6px;
margin-top: 6px;
}
MultipleSelectQt::title {
subcontrol-origin: margin;
left: 7px;
padding: 0px 5px 0px 5px;
}
ManageWindow QSearchBar#name_filter QLabel#lb_left_corner, ManageWindow QSearchBar#name_filter QLineEdit#inp_search, ManageWindow QSearchBar#name_filter QPushButton#search_button {
min-height: 27px;
max-height: 27px;
height: 27px;
}
ManageWindow QSearchBar#name_filter QPushButton#search_button {
qproperty-iconSize: 9px 9px;
}
ManageWindow QWidget#table_filters QPushButton[root = "true"] {
min-width: 100px;
max-width: 150px;
min-height: 18px;
max-height: 18px;
}
ManageWindow QLabel#label_status {
font-weight: bold;
letter-spacing: 0.7px;
}
ManageWindow QWidget#table_filters QCheckBox::indicator {
width: 22px;
height: 22px;
}
ConfirmationDialog QPushButton, QWidget[container = "true"] QPushButton, InfoDialog QPushButton {
min-width: 80px;
}
ConfirmationDialog UpgradeToggleButton {
height: 10px;
}
PreparePanel QLabel#prepare_status {
font-weight: bold;
letter-spacing: 0.7px;
}
PreparePanel QPushButton#bt_hide_details {
text-decoration: underline;
border: 0px;
background: none;
}
PreparePanel QLabel#task_status[status = "done"], PreparePanel QLabel#task_progress[status = "done"], PreparePanel QLabel#task_substatus[status = "done"] {
text-decoration: line-through;
}
PreparePanel QTableWidget QToolButton {
min-width: 14px;
max-width: 14px;
min-height: 14px;
max-height: 14px;
}
ManageWindow QComboBox#combo_categories, ManageWindow QComboBox#combo_types {
height: 20px;
min-width: 130px;
}
ManageWindow QComboBox#combo_types {
qproperty-iconSize: 14px 14px;
}
ManageWindow QComboBox#combo_types > QLineEdit, ManageWindow QComboBox#combo_categories > QLineEdit {
height: 2px;
}
ManageWindow QSearchBar#name_filter {
min-width: 170;
max-width: 170;
}
ManageWindow QPushButton#bt_installed, ManageWindow QPushButton#bt_refresh, ManageWindow QPushButton#suggestions, ManageWindow QPushButton#bt_upgrade {
font-weight: 500;
}
PackagesTable QToolButton, PackagesTable UpgradeToggleButton {
min-width: 16px;
max-width: 16px;
min-height: 14px;
max-height: 14px;
}
PackagesTable QLabel#icon_publisher_verified {
qproperty-scaledContents: True;
min-height: 10;
max-height: 10;
min-width: 10;
max-width: 10;
}
PackagesTable QLabel[icon = "true"] {
qproperty-scaledContents: True;
min-height: 16;
max-height: 16;
min-width: 16;
max-width: 16;
margin-left: 12px;
margin-right: 12px;
margin-top: 7px;
}
PackagesTable QToolButton#bt_install {
font-size: 10px;
font-weight: bold;
letter-spacing: 0.6px;
}
PackagesTable QToolButton#bt_uninstall {
font-size: 10px;
font-weight: bold;
letter-spacing: 0.6px;
}
PackagesTable QLabel#app_version[ignored = "true"] {
font-weight: bold;
}
AboutDialog QLabel {
qproperty-alignment: AlignCenter;
}
AboutDialog QLabel#logo {
qproperty-pixmap: url("@images/logo.svg");
qproperty-scaledContents: true;
min-height: 55px;
max-height: 55px;
min-width: 64px;
max-width: 64px;
}
AboutDialog QLabel#app_name {
font-size: 14px;
font-weight: bold;
}
AboutDialog QLabel#app_version {
font-size: 11px;
font-weight: bold;
}
AboutDialog QLabel#app_description {
min-width: 400px;
font-size: 12px;
font-weight: bold;
}
AboutDialog QLabel#app_more_information, AboutDialog QLabel#app_license {
font-size: 11px;
}
AboutDialog > QLabel#app_trouble_question, AboutDialog > QLabel#app_rate_question {
font-size: 10px;
font-weight: bold;
}
AboutDialog > QLabel#app_trouble_answer, AboutDialog > QLabel#app_rate_answer {
font-size: 10px;
}
RootDialog QLineEdit#password {
qproperty-alignment: AlignCenter;
qproperty-echoMode: Password;
}
RootDialog QLabel#message {
qproperty-alignment: AlignCenter;
}
RootDialog QLabel[error = "true"] {
qproperty-alignment: AlignCenter;
}
HistoryDialog QTableWidget QLabel[outdated = "true"] {
font-weight: bold;
}
HistoryDialog QTableWidget QLabel[outdated = "false"] {
font-weight: bold;
}
InfoDialog QLabel#field_name {
font-weight: bold;
}
InfoDialog QLineEdit#field_value {
width: 400px;
}
InfoDialog QPushButton#show {
min-height: 16px;
max-height: 16px;
}
ScreenshotsDialog QLabel#image {
qproperty-alignment: AlignCenter;
}
ScreenshotsDialog QAbstractButton[control = "true"] {
min-width: 100px;
}
ScreenshotsDialog QPushButton#close {
min-width: 25px;
}
SettingsWindow * {
font-size: 14px;
}
SettingsWindow QLabel[tip_icon = "true"] {
qproperty-scaledContents: True;
min-height: 14px;
max-height: 14px;
min-width: 14px;
max-width: 14px;
}
SettingsWindow TabGroupQt#settings {
min-width: 400px;
}
SettingsWindow PanelQt FormComboBoxQt {
max-width: 190px;
}
SettingsWindow PanelQt QLineEdit, SettingsWindow PanelQt QSpinBox {
max-width: 60px;
}
SettingsWindow PanelQt QLineEdit[file_chooser = 'true'] {
max-width: 300px;
}
SettingsWindow PanelQt FormRadioSelectQt[opts = '2'] {
min-width: 280px;
max-width: 280px;
}
SettingsWindow PanelQt FormRadioSelectQt[opts = '3'] {
min-width: 280px;
max-width: 400px;
}
SettingsWindow FormMultipleSelectQt#gems {
max-width: 220px;
}
SettingsWindow FormMultipleSelectQt#gems QCheckBox {
qproperty-iconSize: 18px 18px;
}
SettingsWindow FormMultipleSelectQt#gems QLabel[help_icon = "true"], SettingsWindow FormMultipleSelectQt#gems QLabel[warning_icon = "true"] {
min-height: 18px;
max-height: 18px;
min-width: 18px;
max-width: 18px;
}
QMenu QPushButton[current = "true"] {
font-weight: bold;
}