author | Wuzzy <Wuzzy2@mail.ru> |
Tue, 30 Apr 2019 14:21:11 +0200 | |
changeset 14860 | 6d95d314ae8b |
parent 14567 | af22a14c6a23 |
child 14862 | 38eadfc525ce |
permissions | -rw-r--r-- |
13310 | 1 |
/****************************************************************************** |
2 |
* |
|
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
3 |
* CSS definition of Qt frontend appearance: April 1 style. |
13310 | 4 |
* |
5 |
****************************************************************************** |
|
6 |
* |
|
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
7 |
* see https://doc.qt.io/qt-5/style-reference.html |
13310 | 8 |
* |
9 |
****************************************************************************** |
|
10 |
* |
|
11 |
* This file can be stored at different locations, but it will be read only |
|
12 |
* once, based on first file found in this order: |
|
13 |
* |
|
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
14 |
* <userdir>/Data/css/april1.css |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
15 |
* <datadir>/css/april1.css |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
16 |
* <internal default style-sheet> (:/res/css/april1.css) |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
17 |
* |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
18 |
***************************************************************************** |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
19 |
* |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
20 |
* This file is based off qt.css with minimal changes. The altered parts are |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
21 |
* marked with “CUSTOM”. |
13310 | 22 |
* |
23 |
*****************************************************************************/ |
|
24 |
||
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
25 |
#infoButton |
13310 | 26 |
{ |
27 |
border: transparent; |
|
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
28 |
background: transparent; |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
29 |
width: 800px; /* CUSTOM */ |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
30 |
min-width: 800px; /* CUSTOM */ |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
31 |
qproperty-icon: url(":/res/TomatowarsTitle.png"); /* CUSTOM */ |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13310
diff
changeset
|
32 |
qproperty-iconSize: 800px 165px; /* CUSTOM */ |
13310 | 33 |
} |
34 |
HWForm,QDialog { |
|
35 |
background-image: url(":/res/Background.png"); |
|
36 |
background-position: bottom center; |
|
37 |
background-repeat: repeat-x; |
|
38 |
background-color: #141250; |
|
39 |
} |
|
40 |
||
41 |
* { |
|
42 |
color: #ffcc00; |
|
43 |
selection-background-color: #ffcc00; |
|
44 |
selection-color: #00351d; |
|
45 |
} |
|
46 |
||
47 |
a { color:#c8c8ff; } |
|
48 |
||
49 |
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser, QSpinBox, QComboBox, |
|
50 |
QComboBox QAbstractItemView, QPlainTextEdit, QMenu::item, #labelLikeLineEdit { |
|
51 |
background-color: rgba(13, 5, 68, 70%); |
|
52 |
} |
|
53 |
||
54 |
VertScrArea, QGraphicsView { |
|
55 |
border-style: solid; border-width: 2px; border-color: #cca300; border-radius: 3px; |
|
56 |
} |
|
57 |
#gameStatsView { |
|
58 |
border-color: #332816; |
|
59 |
} |
|
60 |
||
61 |
QSplitter::handle { |
|
62 |
background-image: url(":/res/splitter.png"); |
|
63 |
background-clip: content; |
|
64 |
} |
|
65 |
QSplitter::handle:horizontal { |
|
66 |
width: 7px; |
|
67 |
background-repeat: repeat-y; |
|
68 |
} |
|
69 |
QSplitter::handle:vertical { |
|
70 |
height: 7px; |
|
71 |
background-repeat: repeat-x; |
|
72 |
} |
|
73 |
||
74 |
QComboBox::separator { |
|
75 |
border: solid; border-width: 3px; border-color: #ffcc00; |
|
76 |
} |
|
77 |
||
78 |
QPushButton, QListWidget, QListView, QTableView, QTableWidget, QLineEdit, |
|
79 |
QTextBrowser, QSpinBox, QToolBox, QComboBox, QPlainTextEdit, |
|
80 |
QComboBox QAbstractItemView, IconedGroupBox, |
|
81 |
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget, |
|
82 |
QTabWidget::pane, QTabBar::tab, #mapPreview, #labelLikeLineEdit { |
|
83 |
border: solid; |
|
84 |
border-width: 3px; |
|
85 |
border-color: #ffcc00; |
|
86 |
} |
|
87 |
||
88 |
QPushButton:hover, QLineEdit:hover, QListWidget:hover, QListView:hover, |
|
89 |
QSpinBox:hover, QToolBox:hover, QComboBox:hover { |
|
90 |
border-color: yellow; |
|
91 |
} |
|
92 |
||
93 |
TeamShowWidget QPushButton { |
|
94 |
icon-size: 48px; |
|
95 |
text-align: left; |
|
96 |
background-color: #0d0544; |
|
97 |
color: orange; |
|
98 |
font: bold; |
|
99 |
border-width: 2px; |
|
100 |
margin: 6px 0px 6px 0px; |
|
101 |
} |
|
102 |
TeamShowWidget QPushButton:disabled { |
|
103 |
color: #a0a0a0; |
|
104 |
} |
|
105 |
||
106 |
QToolButton { |
|
107 |
background-color: #11084A; |
|
108 |
} |
|
109 |
||
110 |
QToolButton:hover { |
|
111 |
background-color: #150A61; |
|
112 |
} |
|
113 |
||
114 |
QToolButton:pressed { |
|
115 |
background-color: #100744; |
|
116 |
} |
|
117 |
||
118 |
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser, |
|
119 |
QSpinBox, QToolBox, QPlainTextEdit, QToolButton, #mapPreview, #labelLikeLineEdit { |
|
120 |
border-radius: 10px; |
|
121 |
} |
|
122 |
||
123 |
#mapPreview { |
|
124 |
background-color: #0d0544; |
|
125 |
} |
|
126 |
#mapPreview:disabled{ |
|
127 |
border-color: #a0a0a0; |
|
128 |
background-color: #0d0544; |
|
129 |
color: #ffffff; |
|
130 |
} |
|
131 |
||
132 |
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, |
|
133 |
QTableWidget, QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView, |
|
134 |
IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget, |
|
135 |
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, QPlainTextEdit, |
|
136 |
#mapName { |
|
137 |
font: bold 13px; |
|
138 |
} |
|
139 |
.QLabel{ |
|
140 |
background-color: transparent; |
|
141 |
} |
|
142 |
SelWeaponWidget QTabWidget::pane, SelWeaponWidget QTabBar::tab:selected { |
|
143 |
background-position: bottom center; |
|
144 |
background-repeat: repeat-x; |
|
145 |
background-color: #000000; |
|
146 |
} |
|
147 |
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget { |
|
148 |
background-position: bottom center; |
|
149 |
background-repeat: repeat-x; |
|
150 |
border-radius: 16px; |
|
151 |
background-color: rgba(13, 5, 68, 70%); |
|
152 |
padding: 6px; |
|
153 |
margin-top: 4px; |
|
154 |
} |
|
155 |
/* Experimenting with PaintOnScreen and border-radius on IconedGroupBox children didn't work out well |
|
156 |
IconedGroupBox QComboBox, IconedGroupBox QPushButton, IconedGroupBox QLineEdit, |
|
157 |
IconedGroupBox QSpinBox { |
|
158 |
border-radius: 0; |
|
159 |
} |
|
160 |
IconedGroupBox, IconedGroupBox *, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{" */ |
|
161 |
IconedGroupBox, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{ |
|
162 |
background-color: #130f2c; |
|
163 |
} |
|
164 |
||
165 |
QTabWidget::pane { |
|
166 |
border-radius: 8px; |
|
167 |
border-top-left-radius: 0px; |
|
168 |
} |
|
169 |
||
170 |
GameCFGWidget { |
|
171 |
border: none; |
|
172 |
} |
|
173 |
||
174 |
QPushButton { |
|
175 |
border-radius: 8px; |
|
176 |
background-origin: margin; |
|
177 |
background-position: top left; |
|
178 |
background-color: rgba(18, 42, 5, 70%); |
|
179 |
} |
|
180 |
||
181 |
QPushButton:pressed, QToolButton:pressed { |
|
182 |
border-color: white; |
|
183 |
} |
|
184 |
||
185 |
QPushButton:focus { |
|
186 |
outline: none; |
|
187 |
} |
|
188 |
||
189 |
QHeaderView { |
|
190 |
background-color: #00351d; |
|
191 |
border: solid; |
|
192 |
border-bottom-width: 3px; |
|
193 |
border-top-width: 0px; |
|
194 |
border-left-width: 0px; |
|
195 |
border-right-width: 0px; |
|
196 |
border-color: #ffcc00; |
|
197 |
} |
|
198 |
QHeaderView::section { |
|
199 |
border-left-width: 1px; |
|
200 |
border-right-width: 1px; |
|
201 |
border-top-width: 0; |
|
202 |
border-bottom-width: 0px; |
|
203 |
border-color: #001d10; |
|
204 |
border-style: solid; |
|
205 |
background-color: #00351d; |
|
206 |
padding: 4px; |
|
207 |
} |
|
208 |
QHeaderView::section:pressed { |
|
209 |
background-color: #00250d; |
|
210 |
} |
|
211 |
QHeaderView::up-arrow { |
|
212 |
image: url(":/res/sort_up.png"); |
|
213 |
} |
|
214 |
QHeaderView::down-arrow{ |
|
215 |
image: url(":/res/sort_down.png"); |
|
216 |
} |
|
217 |
||
218 |
QTableView, QTableWidget { |
|
219 |
alternate-background-color: #2f213a; |
|
220 |
gridline-color: transparent; |
|
221 |
} |
|
222 |
QTabWidget::pane { top: -2px; } |
|
223 |
QTabBar::tab { |
|
224 |
border-radius: 0; |
|
225 |
border-top-left-radius: 6px; |
|
226 |
border-top-right-radius: 6px; |
|
227 |
padding: 3px; |
|
228 |
background-color: #00351d; |
|
229 |
color: #ffcc00; |
|
230 |
} |
|
231 |
QTabBar::tab:selected { |
|
232 |
border-bottom-color: #0d0544; |
|
233 |
border-bottom-width: 0; |
|
234 |
} |
|
235 |
QSpinBox::up-button{ |
|
236 |
background: transparent; |
|
237 |
width: 16px; |
|
238 |
height: 10px; |
|
239 |
} |
|
240 |
||
241 |
QSpinBox::up-arrow { |
|
242 |
image: url(":/res/spin_up.png"); |
|
243 |
} |
|
244 |
QSpinBox::up-arrow:disabled { |
|
245 |
image: url(":/res/spin_up_disabled.png"); |
|
246 |
} |
|
247 |
||
248 |
QSpinBox::down-arrow { |
|
249 |
image: url(":/res/spin_down.png"); |
|
250 |
} |
|
251 |
QSpinBox::down-arrow:disabled { |
|
252 |
image: url(":/res/spin_down_disabled.png"); |
|
253 |
} |
|
254 |
||
255 |
QSpinBox::down-button { |
|
256 |
background: transparent; |
|
257 |
width: 16px; |
|
258 |
height: 10px; |
|
259 |
} |
|
260 |
||
261 |
QComboBox { |
|
262 |
border-radius: 10px; |
|
263 |
padding: 3px; |
|
264 |
height: 18px; |
|
265 |
} |
|
266 |
QComboBox:pressed{ |
|
267 |
border-color: white; |
|
268 |
} |
|
269 |
QComboBox::drop-down{ |
|
270 |
border: transparent; |
|
271 |
width: 25px; |
|
272 |
} |
|
273 |
QComboBox::down-arrow { |
|
274 |
image: url(":/res/dropdown.png"); |
|
275 |
} |
|
276 |
QComboBox::down-arrow:disabled { |
|
277 |
image: url(":/res/dropdown_disabled.png"); |
|
278 |
} |
|
279 |
||
280 |
VertScrArea { |
|
281 |
background-position: bottom center; |
|
282 |
background-repeat: repeat-x; |
|
283 |
} |
|
284 |
||
285 |
IconedGroupBox { |
|
286 |
border-radius: 16px; |
|
287 |
padding: 2px; |
|
288 |
} |
|
289 |
||
290 |
QGroupBox::title{ |
|
291 |
subcontrol-origin: margin; |
|
292 |
subcontrol-position: top left; |
|
293 |
text-align: left; |
|
294 |
left: 15px; |
|
295 |
} |
|
296 |
||
297 |
QCheckBox::indicator:checked{ |
|
298 |
image: url(":/res/checked.png"); |
|
299 |
} |
|
300 |
QCheckBox::indicator:checked:hover{ |
|
301 |
image: url(":/res/checkedHover.png"); |
|
302 |
} |
|
303 |
QCheckBox::indicator:checked:pressed{ |
|
304 |
image: url(":/res/checkedPressed.png"); |
|
305 |
} |
|
306 |
QCheckBox::indicator:unchecked{ |
|
307 |
image: url(":/res/unchecked.png"); |
|
308 |
} |
|
309 |
QCheckBox::indicator:unchecked:hover{ |
|
310 |
image: url(":/res/uncheckedHover.png"); |
|
311 |
} |
|
312 |
QCheckBox::indicator:unchecked:pressed{ |
|
313 |
image: url(":/res/uncheckedPressed.png"); |
|
314 |
} |
|
315 |
||
316 |
QRadioButton::indicator:checked{ |
|
317 |
image: url(":/res/radioButtonChecked.png"); |
|
318 |
} |
|
319 |
QRadioButton::indicator:checked:hover{ |
|
320 |
image: url(":/res/radioButtonCheckedHover.png"); |
|
321 |
} |
|
322 |
QRadioButton::indicator:checked:pressed{ |
|
323 |
image: url(":/res/radioButtonCheckedPressed.png"); |
|
324 |
} |
|
325 |
QRadioButton::indicator:unchecked{ |
|
326 |
image: url(":/res/radioButtonUnchecked.png"); |
|
327 |
} |
|
328 |
QRadioButton::indicator:unchecked:hover{ |
|
329 |
image: url(":/res/radioButtonUncheckedHover.png"); |
|
330 |
} |
|
331 |
QRadioButton::indicator:unchecked:pressed{ |
|
332 |
image: url(":/res/radioButtonUncheckedPressed.png"); |
|
333 |
} |
|
334 |
||
335 |
.QWidget{ |
|
336 |
background: transparent; |
|
337 |
} |
|
338 |
||
339 |
QTabWidget::pane { |
|
340 |
border-top-width: 2px; |
|
341 |
} |
|
342 |
||
343 |
QMenu{ |
|
344 |
background-color: #ffcc00; |
|
345 |
margin: 3px; |
|
346 |
} |
|
347 |
QMenu::item { |
|
348 |
background-color: #0d0544; |
|
349 |
border: 1px solid transparent; |
|
350 |
font: bold; |
|
351 |
padding: 2px 25px 2px 20px; |
|
352 |
} |
|
353 |
QMenu::item:selected { |
|
354 |
background-color: #2d2564; |
|
355 |
} |
|
356 |
QMenu::indicator { |
|
357 |
width: 16px; |
|
358 |
height: 16px; |
|
359 |
} |
|
360 |
QMenu::indicator:non-exclusive:checked{ |
|
361 |
image: url(":/res/checked.png"); |
|
362 |
} |
|
363 |
QMenu::indicator:non-exclusive:unchecked{ |
|
364 |
image: url(":/res/unchecked.png"); |
|
365 |
} |
|
366 |
||
367 |
QToolTip{ |
|
368 |
background-color: #0d0544; |
|
369 |
border: 1px solid #ffcc00; |
|
370 |
} |
|
371 |
||
372 |
:disabled{ |
|
373 |
color: #a0a0a0; |
|
374 |
border-color: #a0a0a0; |
|
375 |
} |
|
376 |
QListWidget:item:selected:disabled, QListView:item:selected:disabled{ |
|
377 |
color: rgba(13, 5, 68, 70%); |
|
378 |
background-color: #a0a0a0; |
|
379 |
} |
|
380 |
SquareLabel, ItemNum { |
|
381 |
background-color: #000000; |
|
382 |
} |
|
383 |
||
384 |
QSlider::groove::horizontal { |
|
385 |
height: 2px; |
|
386 |
margin: 2px 0px; |
|
387 |
background-color: #ffcc00; |
|
388 |
} |
|
389 |
QSlider::groove::horizontal:disabled { |
|
390 |
background-color: #a0a0a0; |
|
391 |
} |
|
392 |
||
393 |
QSlider::handle::horizontal { |
|
394 |
border: 0px; |
|
395 |
margin: -8px 0px; |
|
396 |
background-color: #ffcc00; |
|
397 |
width: 12px; |
|
398 |
height: 6px; |
|
399 |
border-radius: 3px; |
|
400 |
} |
|
401 |
QSlider::handle::horizontal:disabled { |
|
402 |
background-color: #a0a0a0; |
|
403 |
} |
|
404 |
||
405 |
HatButton, ThemeButton { |
|
406 |
text-align: left; |
|
407 |
} |
|
408 |
||
409 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
|
410 |
border-color: #F6CB1C; |
|
411 |
} |
|
412 |
||
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
413 |
QScrollBar:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
414 |
border: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
415 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
416 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
417 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
418 |
margin: 16px 0 16px 0; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
419 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
420 |
QScrollBar:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
421 |
border: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
422 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
423 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
424 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
425 |
margin: 0 16px 0 16px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
426 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
427 |
QScrollBar::handle:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
428 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
429 |
border-top: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
430 |
border-bottom: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
431 |
border-left: none; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
432 |
border-right: none; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
433 |
min-height: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
434 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
435 |
QScrollBar::handle:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
436 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
437 |
border-top: none; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
438 |
border-bottom: none; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
439 |
border-left: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
440 |
border-right: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
441 |
min-width: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
442 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
443 |
QScrollBar::handle:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
444 |
background: #005a33; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
445 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
446 |
QScrollBar::add-line, QScrollBar::sub-line { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
447 |
border: 1px solid black; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
448 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
449 |
subcontrol-origin: margin; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
450 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
451 |
QScrollBar::add-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
452 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
453 |
subcontrol-position: bottom; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
454 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
455 |
QScrollBar::sub-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
456 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
457 |
subcontrol-position: top; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
458 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
459 |
QScrollBar::add-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
460 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
461 |
subcontrol-position: right; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
462 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
463 |
QScrollBar::sub-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
464 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
465 |
subcontrol-position: left; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
466 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
467 |
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
468 |
background: #005a33; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
469 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
470 |
|
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
471 |
QScrollBar::up-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
472 |
background-image: url(":/res/scroll_up.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
473 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
474 |
QScrollBar::down-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
475 |
background-image: url(":/res/scroll_down.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
476 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
477 |
QScrollBar::left-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
478 |
background-image: url(":/res/scroll_left.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
479 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
480 |
QScrollBar::right-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
481 |
background-image: url(":/res/scroll_right.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
482 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
483 |
QScrollBar::add-page, QScrollBar::sub-page { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
484 |
background: #00190F; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
485 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
486 |
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
487 |
background: #FFFCA1; |
13310 | 488 |
} |
489 |
||
490 |
#hatList, #themeList { |
|
491 |
border-color: #F6CB1C; |
|
492 |
border-width: 3px; |
|
493 |
border-style: solid; |
|
494 |
border-radius: 10px; |
|
495 |
border-top-left-radius: 0px; |
|
496 |
} |
|
497 |
||
498 |
#hatList::item, #themeList::item { |
|
499 |
background-color: #11084A; |
|
500 |
padding: 4px; |
|
501 |
border-radius: 10px; |
|
502 |
color: #ffcc00 !important; |
|
503 |
font: 8px; |
|
504 |
border-width: 2px; |
|
505 |
border-color: #11084A; |
|
506 |
} |
|
507 |
||
508 |
#hatList::item:hover, #themeList::item:hover { |
|
509 |
background-color: #150A61; |
|
510 |
} |
|
511 |
||
512 |
#hatList::item:selected, #themeList::item:selected { |
|
513 |
background-color: #150A61; |
|
514 |
} |
|
515 |
||
14567
af22a14c6a23
Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents:
14564
diff
changeset
|
516 |
.QPushButton, .QPushButtonWithSound { |
13310 | 517 |
padding: 3px 5px; |
518 |
} |
|
519 |
||
520 |
#gameCfgWidgetTabs { |
|
521 |
border-radius: 16px; |
|
522 |
border-top-left-radius: 0px; |
|
523 |
} |
|
524 |
||
525 |
TeamSelWidget, #gameStackContainer, #GBoxOptions { |
|
526 |
border-radius: 10px; |
|
527 |
} |
|
528 |
||
529 |
PageMultiplayer TeamSelWidget { |
|
530 |
min-height: 500px; |
|
531 |
} |