author | Wuzzy <Wuzzy2@mail.ru> |
Sun, 19 May 2019 11:05:57 +0200 | |
changeset 15008 | fdf646e3e083 |
parent 15000 | d597a851f5d8 |
child 15249 | 441bdf1e6026 |
permissions | -rw-r--r-- |
13305 | 1 |
/****************************************************************************** |
2 |
* |
|
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
3 |
* CSS definition of Qt frontend appearance: April 1 style. |
13305 | 4 |
* |
5 |
****************************************************************************** |
|
6 |
* |
|
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
7 |
* see https://doc.qt.io/qt-5/style-reference.html |
13305 | 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 |
* |
|
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
14 |
* <userdir>/Data/css/april1.css |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
15 |
* <datadir>/css/april1.css |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
16 |
* <internal default style-sheet> (:/res/css/april1.css) |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
17 |
* |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
18 |
***************************************************************************** |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
19 |
* |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
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:
13305
diff
changeset
|
21 |
* marked with “CUSTOM”. |
13305 | 22 |
* |
23 |
*****************************************************************************/ |
|
24 |
||
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
25 |
#infoButton |
13305 | 26 |
{ |
27 |
border: transparent; |
|
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
28 |
background: transparent; |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
29 |
width: 800px; /* CUSTOM */ |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
30 |
min-width: 800px; /* CUSTOM */ |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
31 |
qproperty-icon: url(":/res/TomatowarsTitle.png"); /* CUSTOM */ |
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13305
diff
changeset
|
32 |
qproperty-iconSize: 800px 165px; /* CUSTOM */ |
13305 | 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 |
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser, |
|
115 |
QSpinBox, QToolBox, QPlainTextEdit, QToolButton, #mapPreview, #labelLikeLineEdit { |
|
116 |
border-radius: 10px; |
|
117 |
} |
|
118 |
||
119 |
#mapPreview { |
|
120 |
background-color: #0d0544; |
|
121 |
} |
|
122 |
#mapPreview:disabled{ |
|
123 |
border-color: #a0a0a0; |
|
124 |
background-color: #0d0544; |
|
125 |
color: #ffffff; |
|
126 |
} |
|
127 |
||
128 |
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, |
|
129 |
QTableWidget, QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView, |
|
130 |
IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget, |
|
131 |
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, QPlainTextEdit, |
|
132 |
#mapName { |
|
133 |
font: bold 13px; |
|
134 |
} |
|
135 |
.QLabel{ |
|
136 |
background-color: transparent; |
|
137 |
} |
|
138 |
SelWeaponWidget QTabWidget::pane, SelWeaponWidget QTabBar::tab:selected { |
|
139 |
background-position: bottom center; |
|
140 |
background-repeat: repeat-x; |
|
141 |
background-color: #000000; |
|
142 |
} |
|
143 |
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget { |
|
144 |
background-position: bottom center; |
|
145 |
background-repeat: repeat-x; |
|
146 |
border-radius: 16px; |
|
147 |
background-color: rgba(13, 5, 68, 70%); |
|
148 |
padding: 6px; |
|
149 |
margin-top: 4px; |
|
150 |
} |
|
151 |
/* Experimenting with PaintOnScreen and border-radius on IconedGroupBox children didn't work out well |
|
152 |
IconedGroupBox QComboBox, IconedGroupBox QPushButton, IconedGroupBox QLineEdit, |
|
153 |
IconedGroupBox QSpinBox { |
|
154 |
border-radius: 0; |
|
155 |
} |
|
156 |
IconedGroupBox, IconedGroupBox *, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{" */ |
|
157 |
IconedGroupBox, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{ |
|
158 |
background-color: #130f2c; |
|
159 |
} |
|
160 |
||
161 |
QTabWidget::pane { |
|
162 |
border-radius: 8px; |
|
163 |
border-top-left-radius: 0px; |
|
164 |
} |
|
165 |
||
166 |
GameCFGWidget { |
|
167 |
border: none; |
|
168 |
} |
|
169 |
||
170 |
QPushButton { |
|
171 |
border-radius: 8px; |
|
172 |
background-origin: margin; |
|
173 |
background-position: top left; |
|
174 |
background-color: rgba(18, 42, 5, 70%); |
|
175 |
} |
|
176 |
||
177 |
QPushButton:pressed, QToolButton:pressed { |
|
178 |
border-color: white; |
|
15000
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14884
diff
changeset
|
179 |
background-color: #344b1e; |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14884
diff
changeset
|
180 |
color: white; |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14884
diff
changeset
|
181 |
} |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14884
diff
changeset
|
182 |
TeamShowWidget QPushButton:pressed { |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14884
diff
changeset
|
183 |
background-color: #362c7a; |
13305 | 184 |
} |
185 |
||
186 |
QPushButton:focus { |
|
187 |
outline: none; |
|
188 |
} |
|
189 |
||
190 |
QHeaderView { |
|
191 |
background-color: #00351d; |
|
192 |
border: solid; |
|
193 |
border-bottom-width: 3px; |
|
194 |
border-top-width: 0px; |
|
195 |
border-left-width: 0px; |
|
196 |
border-right-width: 0px; |
|
197 |
border-color: #ffcc00; |
|
198 |
} |
|
199 |
QHeaderView::section { |
|
200 |
border-left-width: 1px; |
|
201 |
border-right-width: 1px; |
|
202 |
border-top-width: 0; |
|
203 |
border-bottom-width: 0px; |
|
204 |
border-color: #001d10; |
|
205 |
border-style: solid; |
|
14884 | 206 |
background-color: #005F35; |
13305 | 207 |
padding: 4px; |
208 |
} |
|
209 |
QHeaderView::section:pressed { |
|
14884 | 210 |
background-color: #005A33; |
211 |
border-color: #FFFFFF; |
|
13305 | 212 |
} |
213 |
QHeaderView::up-arrow { |
|
214 |
image: url(":/res/sort_up.png"); |
|
215 |
} |
|
216 |
QHeaderView::down-arrow{ |
|
217 |
image: url(":/res/sort_down.png"); |
|
218 |
} |
|
219 |
||
220 |
QTableView, QTableWidget { |
|
221 |
alternate-background-color: #2f213a; |
|
222 |
gridline-color: transparent; |
|
223 |
} |
|
224 |
QTabWidget::pane { top: -2px; } |
|
225 |
QTabBar::tab { |
|
226 |
border-radius: 0; |
|
227 |
border-top-left-radius: 6px; |
|
228 |
border-top-right-radius: 6px; |
|
229 |
padding: 3px; |
|
230 |
background-color: #00351d; |
|
231 |
color: #ffcc00; |
|
232 |
} |
|
233 |
QTabBar::tab:selected { |
|
234 |
border-bottom-color: #0d0544; |
|
235 |
border-bottom-width: 0; |
|
236 |
} |
|
237 |
QSpinBox::up-button{ |
|
238 |
background: transparent; |
|
239 |
width: 16px; |
|
240 |
height: 10px; |
|
14857
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14855
diff
changeset
|
241 |
padding-top: 1px; |
13305 | 242 |
} |
243 |
||
244 |
QSpinBox::up-arrow { |
|
245 |
image: url(":/res/spin_up.png"); |
|
246 |
} |
|
247 |
QSpinBox::up-arrow:disabled { |
|
248 |
image: url(":/res/spin_up_disabled.png"); |
|
249 |
} |
|
250 |
||
251 |
QSpinBox::down-arrow { |
|
252 |
image: url(":/res/spin_down.png"); |
|
253 |
} |
|
254 |
QSpinBox::down-arrow:disabled { |
|
255 |
image: url(":/res/spin_down_disabled.png"); |
|
256 |
} |
|
257 |
||
258 |
QSpinBox::down-button { |
|
259 |
background: transparent; |
|
260 |
width: 16px; |
|
261 |
height: 10px; |
|
14857
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14855
diff
changeset
|
262 |
padding-top: 1px; |
13305 | 263 |
} |
264 |
||
14857
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14855
diff
changeset
|
265 |
QSpinBox, QLineEdit { |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14855
diff
changeset
|
266 |
padding: 3px; |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14855
diff
changeset
|
267 |
min-height: 18px; |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14855
diff
changeset
|
268 |
} |
13305 | 269 |
QComboBox { |
270 |
border-radius: 10px; |
|
271 |
padding: 3px; |
|
272 |
height: 18px; |
|
273 |
} |
|
274 |
QComboBox:pressed{ |
|
275 |
border-color: white; |
|
276 |
} |
|
277 |
QComboBox::drop-down{ |
|
278 |
border: transparent; |
|
279 |
width: 25px; |
|
280 |
} |
|
281 |
QComboBox::down-arrow { |
|
282 |
image: url(":/res/dropdown.png"); |
|
283 |
} |
|
284 |
QComboBox::down-arrow:disabled { |
|
285 |
image: url(":/res/dropdown_disabled.png"); |
|
286 |
} |
|
287 |
||
288 |
VertScrArea { |
|
289 |
background-position: bottom center; |
|
290 |
background-repeat: repeat-x; |
|
291 |
} |
|
292 |
||
293 |
IconedGroupBox { |
|
294 |
border-radius: 16px; |
|
295 |
padding: 2px; |
|
296 |
} |
|
297 |
||
298 |
QGroupBox::title{ |
|
299 |
subcontrol-origin: margin; |
|
300 |
subcontrol-position: top left; |
|
301 |
text-align: left; |
|
302 |
left: 15px; |
|
303 |
} |
|
304 |
||
305 |
QCheckBox::indicator:checked{ |
|
306 |
image: url(":/res/checked.png"); |
|
307 |
} |
|
308 |
QCheckBox::indicator:checked:hover{ |
|
309 |
image: url(":/res/checkedHover.png"); |
|
310 |
} |
|
311 |
QCheckBox::indicator:checked:pressed{ |
|
312 |
image: url(":/res/checkedPressed.png"); |
|
313 |
} |
|
314 |
QCheckBox::indicator:unchecked{ |
|
315 |
image: url(":/res/unchecked.png"); |
|
316 |
} |
|
317 |
QCheckBox::indicator:unchecked:hover{ |
|
318 |
image: url(":/res/uncheckedHover.png"); |
|
319 |
} |
|
320 |
QCheckBox::indicator:unchecked:pressed{ |
|
321 |
image: url(":/res/uncheckedPressed.png"); |
|
322 |
} |
|
323 |
||
324 |
QRadioButton::indicator:checked{ |
|
325 |
image: url(":/res/radioButtonChecked.png"); |
|
326 |
} |
|
327 |
QRadioButton::indicator:checked:hover{ |
|
328 |
image: url(":/res/radioButtonCheckedHover.png"); |
|
329 |
} |
|
330 |
QRadioButton::indicator:checked:pressed{ |
|
331 |
image: url(":/res/radioButtonCheckedPressed.png"); |
|
332 |
} |
|
333 |
QRadioButton::indicator:unchecked{ |
|
334 |
image: url(":/res/radioButtonUnchecked.png"); |
|
335 |
} |
|
336 |
QRadioButton::indicator:unchecked:hover{ |
|
337 |
image: url(":/res/radioButtonUncheckedHover.png"); |
|
338 |
} |
|
339 |
QRadioButton::indicator:unchecked:pressed{ |
|
340 |
image: url(":/res/radioButtonUncheckedPressed.png"); |
|
341 |
} |
|
342 |
||
343 |
.QWidget{ |
|
344 |
background: transparent; |
|
345 |
} |
|
346 |
||
347 |
QTabWidget::pane { |
|
348 |
border-top-width: 2px; |
|
349 |
} |
|
350 |
||
351 |
QMenu{ |
|
352 |
background-color: #ffcc00; |
|
353 |
margin: 3px; |
|
354 |
} |
|
355 |
QMenu::item { |
|
356 |
background-color: #0d0544; |
|
357 |
border: 1px solid transparent; |
|
358 |
font: bold; |
|
359 |
padding: 2px 25px 2px 20px; |
|
360 |
} |
|
361 |
QMenu::item:selected { |
|
362 |
background-color: #2d2564; |
|
363 |
} |
|
364 |
QMenu::indicator { |
|
365 |
width: 16px; |
|
366 |
height: 16px; |
|
367 |
} |
|
368 |
QMenu::indicator:non-exclusive:checked{ |
|
369 |
image: url(":/res/checked.png"); |
|
370 |
} |
|
371 |
QMenu::indicator:non-exclusive:unchecked{ |
|
372 |
image: url(":/res/unchecked.png"); |
|
373 |
} |
|
374 |
||
375 |
QToolTip{ |
|
376 |
background-color: #0d0544; |
|
377 |
border: 1px solid #ffcc00; |
|
378 |
} |
|
379 |
||
380 |
:disabled{ |
|
381 |
color: #a0a0a0; |
|
382 |
border-color: #a0a0a0; |
|
383 |
} |
|
384 |
QListWidget:item:selected:disabled, QListView:item:selected:disabled{ |
|
385 |
color: rgba(13, 5, 68, 70%); |
|
386 |
background-color: #a0a0a0; |
|
387 |
} |
|
388 |
SquareLabel, ItemNum { |
|
389 |
background-color: #000000; |
|
390 |
} |
|
391 |
||
392 |
QSlider::groove::horizontal { |
|
393 |
height: 2px; |
|
394 |
margin: 2px 0px; |
|
395 |
background-color: #ffcc00; |
|
396 |
} |
|
397 |
QSlider::groove::horizontal:disabled { |
|
398 |
background-color: #a0a0a0; |
|
399 |
} |
|
400 |
||
401 |
QSlider::handle::horizontal { |
|
402 |
border: 0px; |
|
403 |
margin: -8px 0px; |
|
404 |
background-color: #ffcc00; |
|
405 |
width: 12px; |
|
406 |
height: 6px; |
|
407 |
border-radius: 3px; |
|
408 |
} |
|
409 |
QSlider::handle::horizontal:disabled { |
|
410 |
background-color: #a0a0a0; |
|
411 |
} |
|
412 |
||
413 |
HatButton, ThemeButton { |
|
414 |
text-align: left; |
|
415 |
} |
|
416 |
||
417 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
|
418 |
border-color: #F6CB1C; |
|
419 |
} |
|
420 |
||
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
421 |
QScrollBar:vertical { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
422 |
border: none; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
423 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
424 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
425 |
width: 15px; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
426 |
margin: 17px 0 17px 0; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
427 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
428 |
QScrollBar:horizontal { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
429 |
border: none; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
430 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
431 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
432 |
height: 15px; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
433 |
margin: 0 17px 0 17px; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
434 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
435 |
QScrollBar::handle:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
436 |
background: #00321c; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
437 |
border: 1px solid #005F35; |
14881
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14880
diff
changeset
|
438 |
border-radius: 2px; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
439 |
min-height: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
440 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
441 |
QScrollBar::handle:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
442 |
background: #00321c; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
443 |
border: 1px solid #005F35; |
14881
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14880
diff
changeset
|
444 |
border-radius: 2px; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
445 |
min-width: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
446 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
447 |
QScrollBar::handle:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
448 |
background: #005a33; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
449 |
border-color: #FFFFFF; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
450 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
451 |
QScrollBar::add-line, QScrollBar::sub-line { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
452 |
border: 1px solid #005F35; |
14881
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14880
diff
changeset
|
453 |
border-radius: 2px; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
454 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
455 |
subcontrol-origin: margin; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
456 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
457 |
QScrollBar::add-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
458 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
459 |
subcontrol-position: bottom; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
460 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
461 |
QScrollBar::sub-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
462 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
463 |
subcontrol-position: top; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
464 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
465 |
QScrollBar::add-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
466 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
467 |
subcontrol-position: right; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
468 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
469 |
QScrollBar::sub-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
470 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
471 |
subcontrol-position: left; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
472 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
473 |
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
474 |
background: #005a33; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
475 |
border-color: #FFFFFF; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
476 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
477 |
|
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
478 |
QScrollBar::up-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
479 |
background-image: url(":/res/scroll_up.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
480 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
481 |
QScrollBar::down-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
482 |
background-image: url(":/res/scroll_down.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
483 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
484 |
QScrollBar::left-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
485 |
background-image: url(":/res/scroll_left.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
486 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
487 |
QScrollBar::right-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
488 |
background-image: url(":/res/scroll_right.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
489 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
490 |
QScrollBar::add-page, QScrollBar::sub-page { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
491 |
background: #00190F; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
492 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
493 |
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
494 |
background: #008751; |
13305 | 495 |
} |
496 |
||
497 |
#hatList, #themeList { |
|
498 |
border-color: #F6CB1C; |
|
499 |
border-width: 3px; |
|
500 |
border-style: solid; |
|
501 |
border-radius: 10px; |
|
502 |
border-top-left-radius: 0px; |
|
503 |
} |
|
504 |
||
505 |
#hatList::item, #themeList::item { |
|
506 |
background-color: #11084A; |
|
507 |
padding: 4px; |
|
508 |
border-radius: 10px; |
|
509 |
color: #ffcc00 !important; |
|
510 |
font: 8px; |
|
511 |
border-width: 2px; |
|
512 |
border-color: #11084A; |
|
513 |
} |
|
514 |
||
515 |
#hatList::item:hover, #themeList::item:hover { |
|
516 |
background-color: #150A61; |
|
517 |
} |
|
518 |
||
519 |
#hatList::item:selected, #themeList::item:selected { |
|
520 |
background-color: #150A61; |
|
521 |
} |
|
522 |
||
14562
af22a14c6a23
Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents:
14559
diff
changeset
|
523 |
.QPushButton, .QPushButtonWithSound { |
13305 | 524 |
padding: 3px 5px; |
525 |
} |
|
526 |
||
527 |
#gameCfgWidgetTabs { |
|
528 |
border-radius: 16px; |
|
529 |
border-top-left-radius: 0px; |
|
530 |
} |
|
531 |
||
532 |
TeamSelWidget, #gameStackContainer, #GBoxOptions { |
|
533 |
border-radius: 10px; |
|
534 |
} |
|
535 |
||
536 |
PageMultiplayer TeamSelWidget { |
|
537 |
min-height: 500px; |
|
538 |
} |
|
14880
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
539 |
|
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
540 |
QProgressBar { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
541 |
border: 3px solid #FFCC00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
542 |
background-color: #150A61; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
543 |
border-radius: 5px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
544 |
text-align: center; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
545 |
color: #FFFFFF; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
546 |
} |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
547 |
QProgressBar::chunk { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
548 |
background-color: #FF9B00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
549 |
margin: 2px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
550 |
} |