author | Wuzzy <Wuzzy2@mail.ru> |
Sun, 05 May 2019 14:27:19 +0200 | |
changeset 14887 | d99ad8ac75d6 |
parent 14886 | 272cd0142a90 |
child 14889 | 1f0e8a144bad |
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; |
|
14862
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
239 |
padding-top: 1px; |
13310 | 240 |
} |
241 |
||
242 |
QSpinBox::up-arrow { |
|
243 |
image: url(":/res/spin_up.png"); |
|
244 |
} |
|
245 |
QSpinBox::up-arrow:disabled { |
|
246 |
image: url(":/res/spin_up_disabled.png"); |
|
247 |
} |
|
248 |
||
249 |
QSpinBox::down-arrow { |
|
250 |
image: url(":/res/spin_down.png"); |
|
251 |
} |
|
252 |
QSpinBox::down-arrow:disabled { |
|
253 |
image: url(":/res/spin_down_disabled.png"); |
|
254 |
} |
|
255 |
||
256 |
QSpinBox::down-button { |
|
257 |
background: transparent; |
|
258 |
width: 16px; |
|
259 |
height: 10px; |
|
14862
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
260 |
padding-top: 1px; |
13310 | 261 |
} |
262 |
||
14862
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
263 |
QSpinBox, QLineEdit { |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
264 |
padding: 3px; |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
265 |
min-height: 18px; |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
266 |
} |
13310 | 267 |
QComboBox { |
268 |
border-radius: 10px; |
|
269 |
padding: 3px; |
|
270 |
height: 18px; |
|
271 |
} |
|
272 |
QComboBox:pressed{ |
|
273 |
border-color: white; |
|
274 |
} |
|
275 |
QComboBox::drop-down{ |
|
276 |
border: transparent; |
|
277 |
width: 25px; |
|
278 |
} |
|
279 |
QComboBox::down-arrow { |
|
280 |
image: url(":/res/dropdown.png"); |
|
281 |
} |
|
282 |
QComboBox::down-arrow:disabled { |
|
283 |
image: url(":/res/dropdown_disabled.png"); |
|
284 |
} |
|
285 |
||
286 |
VertScrArea { |
|
287 |
background-position: bottom center; |
|
288 |
background-repeat: repeat-x; |
|
289 |
} |
|
290 |
||
291 |
IconedGroupBox { |
|
292 |
border-radius: 16px; |
|
293 |
padding: 2px; |
|
294 |
} |
|
295 |
||
296 |
QGroupBox::title{ |
|
297 |
subcontrol-origin: margin; |
|
298 |
subcontrol-position: top left; |
|
299 |
text-align: left; |
|
300 |
left: 15px; |
|
301 |
} |
|
302 |
||
303 |
QCheckBox::indicator:checked{ |
|
304 |
image: url(":/res/checked.png"); |
|
305 |
} |
|
306 |
QCheckBox::indicator:checked:hover{ |
|
307 |
image: url(":/res/checkedHover.png"); |
|
308 |
} |
|
309 |
QCheckBox::indicator:checked:pressed{ |
|
310 |
image: url(":/res/checkedPressed.png"); |
|
311 |
} |
|
312 |
QCheckBox::indicator:unchecked{ |
|
313 |
image: url(":/res/unchecked.png"); |
|
314 |
} |
|
315 |
QCheckBox::indicator:unchecked:hover{ |
|
316 |
image: url(":/res/uncheckedHover.png"); |
|
317 |
} |
|
318 |
QCheckBox::indicator:unchecked:pressed{ |
|
319 |
image: url(":/res/uncheckedPressed.png"); |
|
320 |
} |
|
321 |
||
322 |
QRadioButton::indicator:checked{ |
|
323 |
image: url(":/res/radioButtonChecked.png"); |
|
324 |
} |
|
325 |
QRadioButton::indicator:checked:hover{ |
|
326 |
image: url(":/res/radioButtonCheckedHover.png"); |
|
327 |
} |
|
328 |
QRadioButton::indicator:checked:pressed{ |
|
329 |
image: url(":/res/radioButtonCheckedPressed.png"); |
|
330 |
} |
|
331 |
QRadioButton::indicator:unchecked{ |
|
332 |
image: url(":/res/radioButtonUnchecked.png"); |
|
333 |
} |
|
334 |
QRadioButton::indicator:unchecked:hover{ |
|
335 |
image: url(":/res/radioButtonUncheckedHover.png"); |
|
336 |
} |
|
337 |
QRadioButton::indicator:unchecked:pressed{ |
|
338 |
image: url(":/res/radioButtonUncheckedPressed.png"); |
|
339 |
} |
|
340 |
||
341 |
.QWidget{ |
|
342 |
background: transparent; |
|
343 |
} |
|
344 |
||
345 |
QTabWidget::pane { |
|
346 |
border-top-width: 2px; |
|
347 |
} |
|
348 |
||
349 |
QMenu{ |
|
350 |
background-color: #ffcc00; |
|
351 |
margin: 3px; |
|
352 |
} |
|
353 |
QMenu::item { |
|
354 |
background-color: #0d0544; |
|
355 |
border: 1px solid transparent; |
|
356 |
font: bold; |
|
357 |
padding: 2px 25px 2px 20px; |
|
358 |
} |
|
359 |
QMenu::item:selected { |
|
360 |
background-color: #2d2564; |
|
361 |
} |
|
362 |
QMenu::indicator { |
|
363 |
width: 16px; |
|
364 |
height: 16px; |
|
365 |
} |
|
366 |
QMenu::indicator:non-exclusive:checked{ |
|
367 |
image: url(":/res/checked.png"); |
|
368 |
} |
|
369 |
QMenu::indicator:non-exclusive:unchecked{ |
|
370 |
image: url(":/res/unchecked.png"); |
|
371 |
} |
|
372 |
||
373 |
QToolTip{ |
|
374 |
background-color: #0d0544; |
|
375 |
border: 1px solid #ffcc00; |
|
376 |
} |
|
377 |
||
378 |
:disabled{ |
|
379 |
color: #a0a0a0; |
|
380 |
border-color: #a0a0a0; |
|
381 |
} |
|
382 |
QListWidget:item:selected:disabled, QListView:item:selected:disabled{ |
|
383 |
color: rgba(13, 5, 68, 70%); |
|
384 |
background-color: #a0a0a0; |
|
385 |
} |
|
386 |
SquareLabel, ItemNum { |
|
387 |
background-color: #000000; |
|
388 |
} |
|
389 |
||
390 |
QSlider::groove::horizontal { |
|
391 |
height: 2px; |
|
392 |
margin: 2px 0px; |
|
393 |
background-color: #ffcc00; |
|
394 |
} |
|
395 |
QSlider::groove::horizontal:disabled { |
|
396 |
background-color: #a0a0a0; |
|
397 |
} |
|
398 |
||
399 |
QSlider::handle::horizontal { |
|
400 |
border: 0px; |
|
401 |
margin: -8px 0px; |
|
402 |
background-color: #ffcc00; |
|
403 |
width: 12px; |
|
404 |
height: 6px; |
|
405 |
border-radius: 3px; |
|
406 |
} |
|
407 |
QSlider::handle::horizontal:disabled { |
|
408 |
background-color: #a0a0a0; |
|
409 |
} |
|
410 |
||
411 |
HatButton, ThemeButton { |
|
412 |
text-align: left; |
|
413 |
} |
|
414 |
||
415 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
|
416 |
border-color: #F6CB1C; |
|
417 |
} |
|
418 |
||
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
419 |
QScrollBar:vertical { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
420 |
border: none; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
421 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
422 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
423 |
width: 15px; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
424 |
margin: 17px 0 17px 0; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
425 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
426 |
QScrollBar:horizontal { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
427 |
border: none; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
428 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
429 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
430 |
height: 15px; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
431 |
margin: 0 17px 0 17px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
432 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
433 |
QScrollBar::handle:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
434 |
background: #00321c; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
435 |
border: 1px solid #005F35; |
14886
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14885
diff
changeset
|
436 |
border-radius: 2px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
437 |
min-height: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
438 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
439 |
QScrollBar::handle:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
440 |
background: #00321c; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
441 |
border: 1px solid #005F35; |
14886
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14885
diff
changeset
|
442 |
border-radius: 2px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
443 |
min-width: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
444 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
445 |
QScrollBar::handle:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
446 |
background: #005a33; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
447 |
border-color: #FFFFFF; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
448 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
449 |
QScrollBar::add-line, QScrollBar::sub-line { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
450 |
border: 1px solid #005F35; |
14886
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14885
diff
changeset
|
451 |
border-radius: 2px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
452 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
453 |
subcontrol-origin: margin; |
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::add-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: bottom; |
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::sub-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
460 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
461 |
subcontrol-position: top; |
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::add-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: right; |
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::sub-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
468 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
469 |
subcontrol-position: left; |
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::add-line:pressed, QScrollBar::sub-line:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
472 |
background: #005a33; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
473 |
border-color: #FFFFFF; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
474 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
475 |
|
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
476 |
QScrollBar::up-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
477 |
background-image: url(":/res/scroll_up.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
478 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
479 |
QScrollBar::down-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
480 |
background-image: url(":/res/scroll_down.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
481 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
482 |
QScrollBar::left-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
483 |
background-image: url(":/res/scroll_left.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
484 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
485 |
QScrollBar::right-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
486 |
background-image: url(":/res/scroll_right.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
487 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
488 |
QScrollBar::add-page, QScrollBar::sub-page { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
489 |
background: #00190F; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
490 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
491 |
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
492 |
background: #008751; |
13310 | 493 |
} |
494 |
||
495 |
#hatList, #themeList { |
|
496 |
border-color: #F6CB1C; |
|
497 |
border-width: 3px; |
|
498 |
border-style: solid; |
|
499 |
border-radius: 10px; |
|
500 |
border-top-left-radius: 0px; |
|
501 |
} |
|
502 |
||
503 |
#hatList::item, #themeList::item { |
|
504 |
background-color: #11084A; |
|
505 |
padding: 4px; |
|
506 |
border-radius: 10px; |
|
507 |
color: #ffcc00 !important; |
|
508 |
font: 8px; |
|
509 |
border-width: 2px; |
|
510 |
border-color: #11084A; |
|
511 |
} |
|
512 |
||
513 |
#hatList::item:hover, #themeList::item:hover { |
|
514 |
background-color: #150A61; |
|
515 |
} |
|
516 |
||
517 |
#hatList::item:selected, #themeList::item:selected { |
|
518 |
background-color: #150A61; |
|
519 |
} |
|
520 |
||
14567
af22a14c6a23
Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents:
14564
diff
changeset
|
521 |
.QPushButton, .QPushButtonWithSound { |
13310 | 522 |
padding: 3px 5px; |
523 |
} |
|
524 |
||
525 |
#gameCfgWidgetTabs { |
|
526 |
border-radius: 16px; |
|
527 |
border-top-left-radius: 0px; |
|
528 |
} |
|
529 |
||
530 |
TeamSelWidget, #gameStackContainer, #GBoxOptions { |
|
531 |
border-radius: 10px; |
|
532 |
} |
|
533 |
||
534 |
PageMultiplayer TeamSelWidget { |
|
535 |
min-height: 500px; |
|
536 |
} |
|
14885
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
537 |
|
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
538 |
QProgressBar { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
539 |
border: 3px solid #FFCC00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
540 |
background-color: #150A61; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
541 |
border-radius: 5px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
542 |
text-align: center; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
543 |
color: #FFFFFF; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
544 |
} |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
545 |
QProgressBar::chunk { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
546 |
background-color: #FF9B00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
547 |
margin: 2px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
548 |
} |