author | alfadur |
Thu, 25 Jan 2024 22:22:00 +0300 | |
changeset 15984 | bb847fe6d51c |
parent 15503 | ebc33ffb1cbd |
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 |
} |
|
15503
ebc33ffb1cbd
Change color of hovered and pressed slider
Wuzzy <Wuzzy2@mail.ru>
parents:
15415
diff
changeset
|
409 |
QSlider::handle::horizontal:hover { |
ebc33ffb1cbd
Change color of hovered and pressed slider
Wuzzy <Wuzzy2@mail.ru>
parents:
15415
diff
changeset
|
410 |
background-color: yellow; |
ebc33ffb1cbd
Change color of hovered and pressed slider
Wuzzy <Wuzzy2@mail.ru>
parents:
15415
diff
changeset
|
411 |
} |
ebc33ffb1cbd
Change color of hovered and pressed slider
Wuzzy <Wuzzy2@mail.ru>
parents:
15415
diff
changeset
|
412 |
QSlider::handle::horizontal:pressed { |
ebc33ffb1cbd
Change color of hovered and pressed slider
Wuzzy <Wuzzy2@mail.ru>
parents:
15415
diff
changeset
|
413 |
background-color: white; |
ebc33ffb1cbd
Change color of hovered and pressed slider
Wuzzy <Wuzzy2@mail.ru>
parents:
15415
diff
changeset
|
414 |
} |
13305 | 415 |
QSlider::handle::horizontal:disabled { |
416 |
background-color: #a0a0a0; |
|
417 |
} |
|
418 |
||
419 |
HatButton, ThemeButton { |
|
420 |
text-align: left; |
|
421 |
} |
|
422 |
||
423 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
|
424 |
border-color: #F6CB1C; |
|
425 |
} |
|
426 |
||
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
427 |
QScrollBar:vertical { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
428 |
border: none; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
429 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
430 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
431 |
width: 15px; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
432 |
margin: 17px 0 17px 0; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
433 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
434 |
QScrollBar:horizontal { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
435 |
border: none; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
436 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
437 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
438 |
height: 15px; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
439 |
margin: 0 17px 0 17px; |
14855
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:vertical { |
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-height: 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:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
448 |
background: #00321c; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
449 |
border: 1px solid #005F35; |
14881
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14880
diff
changeset
|
450 |
border-radius: 2px; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
451 |
min-width: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
452 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
453 |
QScrollBar::handle:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
454 |
background: #005a33; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
455 |
border-color: #FFFFFF; |
14855
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, QScrollBar::sub-line { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
458 |
border: 1px solid #005F35; |
14881
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14880
diff
changeset
|
459 |
border-radius: 2px; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
460 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
461 |
subcontrol-origin: margin; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
462 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
463 |
QScrollBar::add-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
464 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
465 |
subcontrol-position: bottom; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
466 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
467 |
QScrollBar::sub-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
468 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
469 |
subcontrol-position: top; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
470 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
471 |
QScrollBar::add-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
472 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
473 |
subcontrol-position: right; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
474 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
475 |
QScrollBar::sub-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
476 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
477 |
subcontrol-position: left; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
478 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
479 |
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
480 |
background: #005a33; |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
481 |
border-color: #FFFFFF; |
14855
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
482 |
} |
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::up-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
485 |
background-image: url(":/res/scroll_up.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::down-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
488 |
background-image: url(":/res/scroll_down.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::left-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
491 |
background-image: url(":/res/scroll_left.png"); |
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::right-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
494 |
background-image: url(":/res/scroll_right.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
495 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
496 |
QScrollBar::add-page, QScrollBar::sub-page { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
497 |
background: #00190F; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
498 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14562
diff
changeset
|
499 |
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed { |
14882
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14881
diff
changeset
|
500 |
background: #008751; |
13305 | 501 |
} |
502 |
||
503 |
#hatList, #themeList { |
|
504 |
border-color: #F6CB1C; |
|
505 |
border-width: 3px; |
|
506 |
border-style: solid; |
|
507 |
border-radius: 10px; |
|
508 |
border-top-left-radius: 0px; |
|
509 |
} |
|
510 |
||
511 |
#hatList::item, #themeList::item { |
|
512 |
background-color: #11084A; |
|
513 |
padding: 4px; |
|
514 |
border-radius: 10px; |
|
515 |
color: #ffcc00 !important; |
|
516 |
font: 8px; |
|
517 |
border-width: 2px; |
|
518 |
border-color: #11084A; |
|
519 |
} |
|
520 |
||
521 |
#hatList::item:hover, #themeList::item:hover { |
|
522 |
background-color: #150A61; |
|
523 |
} |
|
524 |
||
525 |
#hatList::item:selected, #themeList::item:selected { |
|
526 |
background-color: #150A61; |
|
527 |
} |
|
528 |
||
14562
af22a14c6a23
Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents:
14559
diff
changeset
|
529 |
.QPushButton, .QPushButtonWithSound { |
13305 | 530 |
padding: 3px 5px; |
531 |
} |
|
532 |
||
533 |
#gameCfgWidgetTabs { |
|
534 |
border-radius: 16px; |
|
535 |
border-top-left-radius: 0px; |
|
536 |
} |
|
537 |
||
538 |
TeamSelWidget, #gameStackContainer, #GBoxOptions { |
|
539 |
border-radius: 10px; |
|
540 |
} |
|
541 |
||
542 |
PageMultiplayer TeamSelWidget { |
|
543 |
min-height: 500px; |
|
544 |
} |
|
14880
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
545 |
|
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
546 |
QProgressBar { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
547 |
border: 3px solid #FFCC00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
548 |
background-color: #150A61; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
549 |
border-radius: 5px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
550 |
text-align: center; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
551 |
color: #FFFFFF; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
552 |
} |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
553 |
QProgressBar::chunk { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
554 |
background-color: #FF9B00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
555 |
margin: 2px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14857
diff
changeset
|
556 |
} |
15249
441bdf1e6026
Fix broken stylesheet in keybinder widget
Wuzzy <Wuzzy2@mail.ru>
parents:
15000
diff
changeset
|
557 |
#keyBinderScrollArea { |
441bdf1e6026
Fix broken stylesheet in keybinder widget
Wuzzy <Wuzzy2@mail.ru>
parents:
15000
diff
changeset
|
558 |
background: #130F2A; |
441bdf1e6026
Fix broken stylesheet in keybinder widget
Wuzzy <Wuzzy2@mail.ru>
parents:
15000
diff
changeset
|
559 |
} |
15254
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
560 |
#chatContainer { |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
561 |
border-width: 0px; |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
562 |
background-color: #ffcc00; |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
563 |
border-radius: 10px; |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
564 |
} |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
565 |
#chatText { |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
566 |
background-color: rgb(23, 11, 54); |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
567 |
border-width: 0px; |
ebb86ed1b785
Move chat box stylesheets to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15249
diff
changeset
|
568 |
} |
15257
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
569 |
#trainingList { |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
570 |
border-style: none; |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
571 |
padding-top: 6px; |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
572 |
} |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
573 |
#trainingList::item |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
574 |
{ |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
575 |
padding-top: 2px; |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
576 |
padding-bottom: 2px; |
752b44ffa707
Pagetraining: Move style sheet to CSS files
Wuzzy <Wuzzy2@mail.ru>
parents:
15254
diff
changeset
|
577 |
} |
15415
78607b894e59
Disable "pressed in" effect of ToggleButtonWidget
Wuzzy <Wuzzy2@mail.ru>
parents:
15257
diff
changeset
|
578 |
ToggleButtonWidget |
78607b894e59
Disable "pressed in" effect of ToggleButtonWidget
Wuzzy <Wuzzy2@mail.ru>
parents:
15257
diff
changeset
|
579 |
{ |
78607b894e59
Disable "pressed in" effect of ToggleButtonWidget
Wuzzy <Wuzzy2@mail.ru>
parents:
15257
diff
changeset
|
580 |
padding: 0px; |
78607b894e59
Disable "pressed in" effect of ToggleButtonWidget
Wuzzy <Wuzzy2@mail.ru>
parents:
15257
diff
changeset
|
581 |
} |