]>
Commit | Line | Data |
---|---|---|
37b0bd35 SA |
1 | QToolTip { |
2 | border: 1px solid #76797C; | |
3 | background-color: #5A7566; | |
4 | color: white; | |
5 | padding: 0px; /*remove padding, for fix combobox tooltip.*/ | |
6 | opacity: 200; | |
7 | } | |
8 | ||
9 | QWidget { | |
10 | color: #eff0f1; | |
11 | background-color: #31363b; | |
12 | selection-background-color: #3daee9; | |
13 | selection-color: #eff0f1; | |
14 | background-clip: border; | |
15 | border-image: none; | |
16 | border: 0px transparent black; | |
17 | outline: 0; | |
18 | } | |
19 | ||
20 | QWidget:item:hover { | |
21 | background-color: #18465d; | |
22 | color: #eff0f1; | |
23 | } | |
24 | ||
25 | QWidget:item:selected { | |
26 | background-color: #18465d; | |
27 | } | |
28 | ||
29 | QCheckBox { | |
30 | spacing: 5px; | |
31 | outline: none; | |
32 | color: #eff0f1; | |
33 | margin-bottom: 2px; | |
34 | } | |
35 | ||
36 | QCheckBox:disabled { | |
37 | color: #76797C; | |
38 | } | |
39 | ||
40 | QCheckBox::indicator, | |
41 | QGroupBox::indicator { | |
42 | width: 18px; | |
43 | height: 18px; | |
44 | } | |
45 | ||
46 | QGroupBox::indicator { | |
47 | margin-left: 2px; | |
48 | } | |
49 | ||
50 | QCheckBox::indicator:unchecked, | |
51 | QGroupBox::indicator:unchecked { | |
52 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked.png); | |
53 | } | |
54 | ||
55 | QCheckBox::indicator:unchecked:hover, | |
56 | QCheckBox::indicator:unchecked:focus, | |
57 | QCheckBox::indicator:unchecked:pressed, | |
58 | QGroupBox::indicator:unchecked:hover, | |
59 | QGroupBox::indicator:unchecked:focus, | |
60 | QGroupBox::indicator:unchecked:pressed { | |
61 | border: none; | |
62 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked_focus.png); | |
63 | } | |
64 | ||
65 | QCheckBox::indicator:checked, | |
66 | QGroupBox::indicator:checked { | |
67 | image: url(:/themes/qdarkstyle/rc/checkbox_checked.png); | |
68 | } | |
69 | ||
70 | QCheckBox::indicator:checked:hover, | |
71 | QCheckBox::indicator:checked:focus, | |
72 | QCheckBox::indicator:checked:pressed, | |
73 | QGroupBox::indicator:checked:hover, | |
74 | QGroupBox::indicator:checked:focus, | |
75 | QGroupBox::indicator:checked:pressed { | |
76 | border: none; | |
77 | image: url(:/themes/qdarkstyle/rc/checkbox_checked_focus.png); | |
78 | } | |
79 | ||
80 | QCheckBox::indicator:indeterminate { | |
81 | image: url(:/themes/qdarkstyle/rc/checkbox_indeterminate.png); | |
82 | } | |
83 | ||
84 | QCheckBox::indicator:indeterminate:focus, | |
85 | QCheckBox::indicator:indeterminate:hover, | |
86 | QCheckBox::indicator:indeterminate:pressed { | |
87 | image: url(:/themes/qdarkstyle/rc/checkbox_indeterminate_focus.png); | |
88 | } | |
89 | ||
90 | QCheckBox::indicator:checked:disabled, | |
91 | QGroupBox::indicator:checked:disabled { | |
92 | image: url(:/themes/qdarkstyle/rc/checkbox_checked_disabled.png); | |
93 | } | |
94 | ||
95 | QCheckBox::indicator:unchecked:disabled, | |
96 | QGroupBox::indicator:unchecked:disabled { | |
97 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked_disabled.png); | |
98 | } | |
99 | ||
100 | QRadioButton { | |
101 | spacing: 5px; | |
102 | outline: none; | |
103 | color: #eff0f1; | |
104 | margin-bottom: 2px; | |
105 | } | |
106 | ||
107 | QRadioButton:disabled { | |
108 | color: #76797C; | |
109 | } | |
110 | ||
111 | QRadioButton::indicator { | |
112 | width: 21px; | |
113 | height: 21px; | |
114 | } | |
115 | ||
116 | QRadioButton::indicator:unchecked { | |
117 | image: url(:/themes/qdarkstyle/rc/radio_unchecked.png); | |
118 | } | |
119 | ||
120 | QRadioButton::indicator:unchecked:hover, | |
121 | QRadioButton::indicator:unchecked:focus, | |
122 | QRadioButton::indicator:unchecked:pressed { | |
123 | border: none; | |
124 | outline: none; | |
125 | image: url(:/themes/qdarkstyle/rc/radio_unchecked_focus.png); | |
126 | } | |
127 | ||
128 | QRadioButton::indicator:checked { | |
129 | border: none; | |
130 | outline: none; | |
131 | image: url(:/themes/qdarkstyle/rc/radio_checked.png); | |
132 | } | |
133 | ||
134 | QRadioButton::indicator:checked:hover, | |
135 | QRadioButton::indicator:checked:focus, | |
136 | QRadioButton::indicator:checked:pressed { | |
137 | border: none; | |
138 | outline: none; | |
139 | image: url(:/themes/qdarkstyle/rc/radio_checked_focus.png); | |
140 | } | |
141 | ||
142 | QRadioButton::indicator:checked:disabled { | |
143 | outline: none; | |
144 | image: url(:/themes/qdarkstyle/rc/radio_checked_disabled.png); | |
145 | } | |
146 | ||
147 | QRadioButton::indicator:unchecked:disabled { | |
148 | image: url(:/themes/qdarkstyle/rc/radio_unchecked_disabled.png); | |
149 | } | |
150 | ||
151 | QMenuBar { | |
152 | background-color: #31363b; | |
153 | color: #eff0f1; | |
154 | } | |
155 | ||
156 | QMenuBar::item { | |
157 | background: transparent; | |
158 | } | |
159 | ||
160 | QMenuBar::item:selected { | |
161 | background: transparent; | |
162 | border: 1px solid #76797C; | |
163 | } | |
164 | ||
165 | QMenuBar::item:pressed { | |
166 | border: 1px solid #76797C; | |
167 | background-color: #3daee9; | |
168 | color: #eff0f1; | |
169 | margin-bottom: -1px; | |
170 | padding-bottom: 1px; | |
171 | } | |
172 | ||
173 | QMenu { | |
174 | border: 1px solid #76797C; | |
175 | color: #eff0f1; | |
176 | margin: 2px; | |
177 | } | |
178 | ||
179 | QMenu::icon { | |
180 | margin: 5px; | |
181 | } | |
182 | ||
183 | QMenu::item { | |
184 | padding: 5px 30px 5px 30px; | |
185 | border: 1px solid transparent; | |
186 | /* reserve space for selection border */ | |
187 | } | |
188 | ||
189 | QMenu::item:selected { | |
190 | color: #eff0f1; | |
191 | } | |
192 | ||
193 | QMenu::separator { | |
194 | height: 2px; | |
195 | background: lightblue; | |
196 | margin-left: 10px; | |
197 | margin-right: 5px; | |
198 | } | |
199 | ||
200 | QMenu::indicator { | |
201 | width: 18px; | |
202 | height: 18px; | |
203 | } | |
204 | ||
205 | ||
206 | /* non-exclusive indicator = check box style indicator | |
207 | (see QActionGroup::setExclusive) */ | |
208 | ||
209 | QMenu::indicator:non-exclusive:unchecked { | |
210 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked.png); | |
211 | } | |
212 | ||
213 | QMenu::indicator:non-exclusive:unchecked:selected { | |
214 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked_disabled.png); | |
215 | } | |
216 | ||
217 | QMenu::indicator:non-exclusive:checked { | |
218 | image: url(:/themes/qdarkstyle/rc/checkbox_checked.png); | |
219 | } | |
220 | ||
221 | QMenu::indicator:non-exclusive:checked:selected { | |
222 | image: url(:/themes/qdarkstyle/rc/checkbox_checked_disabled.png); | |
223 | } | |
224 | ||
225 | ||
226 | /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ | |
227 | ||
228 | QMenu::indicator:exclusive:unchecked { | |
229 | image: url(:/themes/qdarkstyle/rc/radio_unchecked.png); | |
230 | } | |
231 | ||
232 | QMenu::indicator:exclusive:unchecked:selected { | |
233 | image: url(:/themes/qdarkstyle/rc/radio_unchecked_disabled.png); | |
234 | } | |
235 | ||
236 | QMenu::indicator:exclusive:checked { | |
237 | image: url(:/themes/qdarkstyle/rc/radio_checked.png); | |
238 | } | |
239 | ||
240 | QMenu::indicator:exclusive:checked:selected { | |
241 | image: url(:/themes/qdarkstyle/rc/radio_checked_disabled.png); | |
242 | } | |
243 | ||
244 | QMenu::right-arrow { | |
245 | margin: 5px; | |
246 | image: url(:/themes/qdarkstyle/rc/right_arrow.png) | |
247 | } | |
248 | ||
249 | QWidget:disabled { | |
250 | color: #454545; | |
251 | background-color: #31363b; | |
252 | } | |
253 | ||
254 | QAbstractItemView { | |
255 | alternate-background-color: #31363b; | |
256 | color: #eff0f1; | |
257 | border: 1px solid #3A3939; | |
258 | border-radius: 2px; | |
259 | } | |
260 | ||
261 | QWidget:focus, | |
262 | QMenuBar:focus { | |
263 | border: 1px solid #3daee9; | |
264 | } | |
265 | ||
266 | QTabWidget:focus, | |
267 | QCheckBox:focus, | |
268 | QRadioButton:focus, | |
269 | QSlider:focus { | |
270 | border: none; | |
271 | } | |
272 | ||
273 | QLineEdit { | |
274 | background-color: #232629; | |
275 | padding: 5px; | |
276 | border-style: solid; | |
277 | border: 1px solid #76797C; | |
278 | border-radius: 2px; | |
279 | color: #eff0f1; | |
280 | } | |
281 | ||
282 | QAbstractItemView QLineEdit { | |
283 | padding: 0; | |
284 | } | |
285 | ||
286 | QGroupBox { | |
287 | border: 1px solid #76797C; | |
288 | border-radius: 2px; | |
289 | margin-top: 20px; | |
290 | } | |
291 | ||
292 | QGroupBox::title { | |
293 | subcontrol-origin: margin; | |
294 | subcontrol-position: top center; | |
295 | padding-left: 10px; | |
296 | padding-right: 10px; | |
297 | padding-top: 10px; | |
298 | } | |
299 | ||
300 | QAbstractScrollArea { | |
301 | border-radius: 2px; | |
302 | border: 1px solid #76797C; | |
303 | background-color: transparent; | |
304 | } | |
305 | ||
306 | QScrollBar:horizontal { | |
307 | height: 15px; | |
308 | margin: 3px 15px 3px 15px; | |
309 | border: 1px transparent #2A2929; | |
310 | border-radius: 4px; | |
311 | background-color: #2A2929; | |
312 | } | |
313 | ||
314 | QScrollBar::handle:horizontal { | |
315 | background-color: #605F5F; | |
316 | min-width: 5px; | |
317 | border-radius: 4px; | |
318 | } | |
319 | ||
320 | QScrollBar::add-line:horizontal { | |
321 | margin: 0px 3px 0px 3px; | |
322 | border-image: url(:/themes/qdarkstyle/rc/right_arrow_disabled.png); | |
323 | width: 10px; | |
324 | height: 10px; | |
325 | subcontrol-position: right; | |
326 | subcontrol-origin: margin; | |
327 | } | |
328 | ||
329 | QScrollBar::sub-line:horizontal { | |
330 | margin: 0px 3px 0px 3px; | |
331 | border-image: url(:/themes/qdarkstyle/rc/left_arrow_disabled.png); | |
332 | height: 10px; | |
333 | width: 10px; | |
334 | subcontrol-position: left; | |
335 | subcontrol-origin: margin; | |
336 | } | |
337 | ||
338 | QScrollBar::add-line:horizontal:hover, | |
339 | QScrollBar::add-line:horizontal:on { | |
340 | border-image: url(:/themes/qdarkstyle/rc/right_arrow.png); | |
341 | height: 10px; | |
342 | width: 10px; | |
343 | subcontrol-position: right; | |
344 | subcontrol-origin: margin; | |
345 | } | |
346 | ||
347 | QScrollBar::sub-line:horizontal:hover, | |
348 | QScrollBar::sub-line:horizontal:on { | |
349 | border-image: url(:/themes/qdarkstyle/rc/left_arrow.png); | |
350 | height: 10px; | |
351 | width: 10px; | |
352 | subcontrol-position: left; | |
353 | subcontrol-origin: margin; | |
354 | } | |
355 | ||
356 | QScrollBar::up-arrow:horizontal, | |
357 | QScrollBar::down-arrow:horizontal { | |
358 | background: none; | |
359 | } | |
360 | ||
361 | QScrollBar::add-page:horizontal, | |
362 | QScrollBar::sub-page:horizontal { | |
363 | background: none; | |
364 | } | |
365 | ||
366 | QScrollBar:vertical { | |
367 | background-color: #2A2929; | |
368 | width: 15px; | |
369 | margin: 15px 3px 15px 3px; | |
370 | border: 1px transparent #2A2929; | |
371 | border-radius: 4px; | |
372 | } | |
373 | ||
374 | QScrollBar::handle:vertical { | |
375 | background-color: #605F5F; | |
376 | min-height: 5px; | |
377 | border-radius: 4px; | |
378 | } | |
379 | ||
380 | QScrollBar::sub-line:vertical { | |
381 | margin: 3px 0px 3px 0px; | |
382 | border-image: url(:/themes/qdarkstyle/rc/up_arrow_disabled.png); | |
383 | height: 10px; | |
384 | width: 10px; | |
385 | subcontrol-position: top; | |
386 | subcontrol-origin: margin; | |
387 | } | |
388 | ||
389 | QScrollBar::add-line:vertical { | |
390 | margin: 3px 0px 3px 0px; | |
391 | border-image: url(:/themes/qdarkstyle/rc/down_arrow_disabled.png); | |
392 | height: 10px; | |
393 | width: 10px; | |
394 | subcontrol-position: bottom; | |
395 | subcontrol-origin: margin; | |
396 | } | |
397 | ||
398 | QScrollBar::sub-line:vertical:hover, | |
399 | QScrollBar::sub-line:vertical:on { | |
400 | border-image: url(:/themes/qdarkstyle/rc/up_arrow.png); | |
401 | height: 10px; | |
402 | width: 10px; | |
403 | subcontrol-position: top; | |
404 | subcontrol-origin: margin; | |
405 | } | |
406 | ||
407 | QScrollBar::add-line:vertical:hover, | |
408 | QScrollBar::add-line:vertical:on { | |
409 | border-image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
410 | height: 10px; | |
411 | width: 10px; | |
412 | subcontrol-position: bottom; | |
413 | subcontrol-origin: margin; | |
414 | } | |
415 | ||
416 | QScrollBar::up-arrow:vertical, | |
417 | QScrollBar::down-arrow:vertical { | |
418 | background: none; | |
419 | } | |
420 | ||
421 | QScrollBar::add-page:vertical, | |
422 | QScrollBar::sub-page:vertical { | |
423 | background: none; | |
424 | } | |
425 | ||
426 | QTextEdit { | |
427 | background-color: #232629; | |
428 | color: #eff0f1; | |
429 | border: 1px solid #76797C; | |
430 | } | |
431 | ||
432 | QPlainTextEdit { | |
433 | background-color: #232629; | |
434 | ; | |
435 | color: #eff0f1; | |
436 | border-radius: 2px; | |
437 | border: 1px solid #76797C; | |
438 | } | |
439 | ||
440 | QHeaderView::section { | |
441 | background-color: #76797C; | |
442 | color: #eff0f1; | |
443 | padding: 5px; | |
444 | border: 1px solid #76797C; | |
445 | } | |
446 | ||
447 | QSizeGrip { | |
448 | image: url(:/themes/qdarkstyle/rc/sizegrip.png); | |
449 | width: 12px; | |
450 | height: 12px; | |
451 | } | |
452 | ||
453 | QMainWindow::separator { | |
454 | background-color: #31363b; | |
455 | color: white; | |
456 | padding-left: 4px; | |
457 | spacing: 2px; | |
458 | border: 1px dashed #76797C; | |
459 | } | |
460 | ||
461 | QMainWindow::separator:hover { | |
462 | background-color: #787876; | |
463 | color: white; | |
464 | padding-left: 4px; | |
465 | border: 1px solid #76797C; | |
466 | spacing: 2px; | |
467 | } | |
468 | ||
469 | QMenu::separator { | |
470 | height: 1px; | |
471 | background-color: #76797C; | |
472 | color: white; | |
473 | padding-left: 4px; | |
474 | margin-left: 10px; | |
475 | margin-right: 5px; | |
476 | } | |
477 | ||
478 | QFrame { | |
479 | border-radius: 2px; | |
480 | border: 1px solid #76797C; | |
481 | } | |
482 | ||
483 | QFrame[frameShape="0"] { | |
484 | border-radius: 2px; | |
485 | border: 1px transparent #76797C; | |
486 | } | |
487 | ||
488 | QStackedWidget { | |
489 | border: 1px transparent black; | |
490 | } | |
491 | ||
492 | QToolBar { | |
493 | border: 1px transparent #393838; | |
494 | background: 1px solid #31363b; | |
495 | font-weight: bold; | |
496 | } | |
497 | ||
498 | QToolBar::handle:horizontal { | |
499 | image: url(:/themes/qdarkstyle/rc/Hmovetoolbar.png); | |
500 | } | |
501 | ||
502 | QToolBar::handle:vertical { | |
503 | image: url(:/themes/qdarkstyle/rc/Vmovetoolbar.png); | |
504 | } | |
505 | ||
506 | QToolBar::separator:horizontal { | |
507 | image: url(:/themes/qdarkstyle/rc/Hsepartoolbar.png); | |
508 | } | |
509 | ||
510 | QToolBar::separator:vertical { | |
511 | image: url(:/themes/qdarkstyle/rc/Vsepartoolbar.png); | |
512 | } | |
513 | ||
514 | QToolButton#qt_toolbar_ext_button { | |
515 | background: #58595a | |
516 | } | |
517 | ||
518 | QPushButton { | |
519 | color: #eff0f1; | |
520 | background-color: #31363b; | |
521 | border-width: 1px; | |
522 | border-color: #76797C; | |
523 | border-style: solid; | |
524 | padding: 5px; | |
525 | border-radius: 2px; | |
526 | outline: none; | |
527 | } | |
528 | ||
529 | QPushButton:disabled { | |
530 | background-color: #31363b; | |
531 | border-width: 1px; | |
532 | border-color: #454545; | |
533 | border-style: solid; | |
534 | padding-top: 5px; | |
535 | padding-bottom: 5px; | |
536 | padding-left: 10px; | |
537 | padding-right: 10px; | |
538 | border-radius: 2px; | |
539 | color: #454545; | |
540 | } | |
541 | ||
542 | QPushButton:focus { | |
543 | background-color: #3daee9; | |
544 | color: white; | |
545 | } | |
546 | ||
547 | QPushButton:pressed { | |
548 | background-color: #3daee9; | |
549 | padding-top: -15px; | |
550 | padding-bottom: -17px; | |
551 | } | |
552 | ||
553 | QComboBox { | |
554 | selection-background-color: #3daee9; | |
555 | border-style: solid; | |
556 | border: 1px solid #76797C; | |
557 | border-radius: 2px; | |
558 | padding: 5px; | |
559 | min-width: 75px; | |
560 | } | |
561 | ||
562 | QPushButton:checked { | |
563 | background-color: #76797C; | |
564 | border-color: #6A6969; | |
565 | } | |
566 | ||
567 | QComboBox:hover, | |
568 | QPushButton:hover, | |
569 | QAbstractSpinBox:hover, | |
570 | QLineEdit:hover, | |
571 | QTextEdit:hover, | |
572 | QPlainTextEdit:hover, | |
573 | QAbstractView:hover, | |
574 | QTreeView:hover { | |
575 | border: 1px solid #3daee9; | |
576 | color: #eff0f1; | |
577 | } | |
578 | ||
579 | QComboBox:on { | |
580 | padding-top: 3px; | |
581 | padding-left: 4px; | |
582 | selection-background-color: #4a4a4a; | |
583 | } | |
584 | ||
585 | QComboBox QAbstractItemView { | |
586 | background-color: #232629; | |
587 | border-radius: 2px; | |
588 | border: 1px solid #76797C; | |
589 | selection-background-color: #18465d; | |
590 | } | |
591 | ||
592 | QComboBox::drop-down { | |
593 | subcontrol-origin: padding; | |
594 | subcontrol-position: top right; | |
595 | width: 15px; | |
596 | border-left-width: 0px; | |
597 | border-left-color: darkgray; | |
598 | border-left-style: solid; | |
599 | border-top-right-radius: 3px; | |
600 | border-bottom-right-radius: 3px; | |
601 | } | |
602 | ||
603 | QComboBox::down-arrow { | |
604 | image: url(:/themes/qdarkstyle/rc/down_arrow_disabled.png); | |
605 | } | |
606 | ||
607 | QComboBox::down-arrow:on, | |
608 | QComboBox::down-arrow:hover, | |
609 | QComboBox::down-arrow:focus { | |
610 | image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
611 | } | |
612 | ||
613 | QAbstractSpinBox { | |
614 | padding: 5px; | |
615 | border: 1px solid #76797C; | |
616 | background-color: #232629; | |
617 | color: #eff0f1; | |
618 | border-radius: 2px; | |
619 | min-width: 75px; | |
620 | } | |
621 | ||
622 | QAbstractSpinBox:up-button { | |
623 | background-color: transparent; | |
624 | subcontrol-origin: border; | |
625 | subcontrol-position: center right; | |
626 | } | |
627 | ||
628 | QAbstractSpinBox:down-button { | |
629 | background-color: transparent; | |
630 | subcontrol-origin: border; | |
631 | subcontrol-position: center left; | |
632 | } | |
633 | ||
634 | QAbstractSpinBox::up-arrow, | |
635 | QAbstractSpinBox::up-arrow:disabled, | |
636 | QAbstractSpinBox::up-arrow:off { | |
637 | image: url(:/themes/qdarkstyle/rc/up_arrow_disabled.png); | |
638 | width: 10px; | |
639 | height: 10px; | |
640 | } | |
641 | ||
642 | QAbstractSpinBox::up-arrow:hover { | |
643 | image: url(:/themes/qdarkstyle/rc/up_arrow.png); | |
644 | } | |
645 | ||
646 | QAbstractSpinBox::down-arrow, | |
647 | QAbstractSpinBox::down-arrow:disabled, | |
648 | QAbstractSpinBox::down-arrow:off { | |
649 | image: url(:/themes/qdarkstyle/rc/down_arrow_disabled.png); | |
650 | width: 10px; | |
651 | height: 10px; | |
652 | } | |
653 | ||
654 | QAbstractSpinBox::down-arrow:hover { | |
655 | image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
656 | } | |
657 | ||
658 | QLabel { | |
659 | border: 0px solid black; | |
660 | } | |
661 | ||
662 | QTabWidget { | |
663 | border: 0px transparent black; | |
664 | } | |
665 | ||
666 | QTabWidget::pane { | |
667 | border: 1px solid #76797C; | |
668 | padding: 5px; | |
669 | margin: 0px; | |
670 | } | |
671 | ||
672 | QTabWidget::tab-bar { | |
673 | /* left: 5px; move to the right by 5px */ | |
674 | } | |
675 | ||
676 | QTabBar { | |
677 | qproperty-drawBase: 0; | |
678 | border-radius: 3px; | |
679 | } | |
680 | ||
681 | QTabBar:focus { | |
682 | border: 0px transparent black; | |
683 | } | |
684 | ||
685 | QTabBar::close-button { | |
686 | image: url(:/themes/qdarkstyle/rc/close.png); | |
687 | background: transparent; | |
688 | } | |
689 | ||
690 | QTabBar::close-button:hover { | |
691 | image: url(:/themes/qdarkstyle/rc/close-hover.png); | |
692 | background: transparent; | |
693 | } | |
694 | ||
695 | QTabBar::close-button:pressed { | |
696 | image: url(:/themes/qdarkstyle/rc/close-pressed.png); | |
697 | background: transparent; | |
698 | } | |
699 | ||
700 | ||
701 | /* TOP TABS */ | |
702 | ||
703 | QTabBar::tab:top { | |
704 | color: #eff0f1; | |
705 | border: 1px solid #76797C; | |
706 | border-bottom: 1px transparent black; | |
707 | background-color: #31363b; | |
708 | padding: 5px; | |
709 | min-width: 50px; | |
710 | border-top-left-radius: 2px; | |
711 | border-top-right-radius: 2px; | |
712 | } | |
713 | ||
714 | QTabBar::tab:top:selected { | |
715 | color: #eff0f1; | |
716 | background-color: #54575B; | |
717 | border: 1px solid #76797C; | |
718 | border-bottom: 2px solid #3daee9; | |
719 | border-top-left-radius: 2px; | |
720 | border-top-right-radius: 2px; | |
721 | } | |
722 | ||
723 | QTabBar::tab:top:!selected:hover { | |
724 | background-color: #3daee9; | |
725 | } | |
726 | ||
727 | ||
728 | /* BOTTOM TABS */ | |
729 | ||
730 | QTabBar::tab:bottom { | |
731 | color: #eff0f1; | |
732 | border: 1px solid #76797C; | |
733 | border-top: 1px transparent black; | |
734 | background-color: #31363b; | |
735 | padding: 5px; | |
736 | border-bottom-left-radius: 2px; | |
737 | border-bottom-right-radius: 2px; | |
738 | min-width: 50px; | |
739 | } | |
740 | ||
741 | QTabBar::tab:bottom:selected { | |
742 | color: #eff0f1; | |
743 | background-color: #54575B; | |
744 | border: 1px solid #76797C; | |
745 | border-top: 2px solid #3daee9; | |
746 | border-bottom-left-radius: 2px; | |
747 | border-bottom-right-radius: 2px; | |
748 | } | |
749 | ||
750 | QTabBar::tab:bottom:!selected:hover { | |
751 | background-color: #3daee9; | |
752 | } | |
753 | ||
754 | ||
755 | /* LEFT TABS */ | |
756 | ||
757 | QTabBar::tab:left { | |
758 | color: #eff0f1; | |
759 | border: 1px solid #76797C; | |
760 | border-left: 1px transparent black; | |
761 | background-color: #31363b; | |
762 | padding: 5px; | |
763 | border-top-right-radius: 2px; | |
764 | border-bottom-right-radius: 2px; | |
765 | min-height: 50px; | |
766 | } | |
767 | ||
768 | QTabBar::tab:left:selected { | |
769 | color: #eff0f1; | |
770 | background-color: #54575B; | |
771 | border: 1px solid #76797C; | |
772 | border-left: 2px solid #3daee9; | |
773 | border-top-right-radius: 2px; | |
774 | border-bottom-right-radius: 2px; | |
775 | } | |
776 | ||
777 | QTabBar::tab:left:!selected:hover { | |
778 | background-color: #3daee9; | |
779 | } | |
780 | ||
781 | ||
782 | /* RIGHT TABS */ | |
783 | ||
784 | QTabBar::tab:right { | |
785 | color: #eff0f1; | |
786 | border: 1px solid #76797C; | |
787 | border-right: 1px transparent black; | |
788 | background-color: #31363b; | |
789 | padding: 5px; | |
790 | border-top-left-radius: 2px; | |
791 | border-bottom-left-radius: 2px; | |
792 | min-height: 50px; | |
793 | } | |
794 | ||
795 | QTabBar::tab:right:selected { | |
796 | color: #eff0f1; | |
797 | background-color: #54575B; | |
798 | border: 1px solid #76797C; | |
799 | border-right: 2px solid #3daee9; | |
800 | border-top-left-radius: 2px; | |
801 | border-bottom-left-radius: 2px; | |
802 | } | |
803 | ||
804 | QTabBar::tab:right:!selected:hover { | |
805 | background-color: #3daee9; | |
806 | } | |
807 | ||
808 | QTabBar QToolButton::right-arrow:enabled { | |
809 | image: url(:/themes/qdarkstyle/rc/right_arrow.png); | |
810 | } | |
811 | ||
812 | QTabBar QToolButton::left-arrow:enabled { | |
813 | image: url(:/themes/qdarkstyle/rc/left_arrow.png); | |
814 | } | |
815 | ||
816 | QTabBar QToolButton::right-arrow:disabled { | |
817 | image: url(:/themes/qdarkstyle/rc/right_arrow_disabled.png); | |
818 | } | |
819 | ||
820 | QTabBar QToolButton::left-arrow:disabled { | |
821 | image: url(:/themes/qdarkstyle/rc/left_arrow_disabled.png); | |
822 | } | |
823 | ||
824 | QDockWidget { | |
825 | background: #31363b; | |
826 | border: 1px solid #403F3F; | |
827 | titlebar-close-icon: url(:/themes/qdarkstyle/rc/close.png); | |
828 | titlebar-normal-icon: url(:/themes/qdarkstyle/rc/undock.png); | |
829 | } | |
830 | ||
831 | QDockWidget::close-button, | |
832 | QDockWidget::float-button { | |
833 | border: 1px solid transparent; | |
834 | border-radius: 2px; | |
835 | background: transparent; | |
836 | } | |
837 | ||
838 | QDockWidget::close-button:hover, | |
839 | QDockWidget::float-button:hover { | |
840 | background: rgba(255, 255, 255, 10); | |
841 | } | |
842 | ||
843 | QDockWidget::close-button:pressed, | |
844 | QDockWidget::float-button:pressed { | |
845 | padding: 1px -1px -1px 1px; | |
846 | background: rgba(255, 255, 255, 10); | |
847 | } | |
848 | ||
849 | QTreeView, | |
850 | QListView { | |
851 | border: 1px solid #76797C; | |
852 | background-color: #232629; | |
853 | } | |
854 | ||
855 | QTreeView:branch:selected, | |
856 | QTreeView:branch:hover { | |
857 | background: url(:/themes/qdarkstyle/rc/transparent.png); | |
858 | } | |
859 | ||
860 | QTreeView::branch:has-siblings:!adjoins-item { | |
861 | border-image: url(:/themes/qdarkstyle/rc/transparent.png); | |
862 | } | |
863 | ||
864 | QTreeView::branch:has-siblings:adjoins-item { | |
865 | border-image: url(:/themes/qdarkstyle/rc/transparent.png); | |
866 | } | |
867 | ||
868 | QTreeView::branch:!has-children:!has-siblings:adjoins-item { | |
869 | border-image: url(:/themes/qdarkstyle/rc/transparent.png); | |
870 | } | |
871 | ||
872 | QTreeView::branch:has-children:!has-siblings:closed, | |
873 | QTreeView::branch:closed:has-children:has-siblings { | |
874 | image: url(:/themes/qdarkstyle/rc/branch_closed.png); | |
875 | } | |
876 | ||
877 | QTreeView::branch:open:has-children:!has-siblings, | |
878 | QTreeView::branch:open:has-children:has-siblings { | |
879 | image: url(:/themes/qdarkstyle/rc/branch_open.png); | |
880 | } | |
881 | ||
882 | QTreeView::branch:has-children:!has-siblings:closed:hover, | |
883 | QTreeView::branch:closed:has-children:has-siblings:hover { | |
884 | image: url(:/themes/qdarkstyle/rc/branch_closed-on.png); | |
885 | } | |
886 | ||
887 | QTreeView::branch:open:has-children:!has-siblings:hover, | |
888 | QTreeView::branch:open:has-children:has-siblings:hover { | |
889 | image: url(:/themes/qdarkstyle/rc/branch_open-on.png); | |
890 | } | |
891 | ||
892 | QListView::item:!selected:hover, | |
893 | QTreeView::item:!selected:hover { | |
894 | background: #18465d; | |
895 | outline: 0; | |
896 | color: #eff0f1 | |
897 | } | |
898 | ||
899 | QListView::item:selected:hover, | |
900 | QTreeView::item:selected:hover { | |
901 | background: #287399; | |
902 | color: #eff0f1; | |
903 | } | |
904 | ||
905 | QTreeView::indicator:checked, | |
906 | QListView::indicator:checked { | |
907 | image: url(:/themes/qdarkstyle/rc/checkbox_checked.png); | |
908 | } | |
909 | ||
910 | QTreeView::indicator:unchecked, | |
911 | QListView::indicator:unchecked { | |
912 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked.png); | |
913 | } | |
914 | ||
915 | QTreeView::indicator:indeterminate, | |
916 | QListView::indicator:indeterminate { | |
917 | image: url(:/themes/qdarkstyle/rc/checkbox_indeterminate.png); | |
918 | } | |
919 | ||
920 | QTreeView::indicator:checked:hover, | |
921 | QTreeView::indicator:checked:focus, | |
922 | QTreeView::indicator:checked:pressed, | |
923 | QListView::indicator:checked:hover, | |
924 | QListView::indicator:checked:focus, | |
925 | QListView::indicator:checked:pressed { | |
926 | image: url(:/themes/qdarkstyle/rc/checkbox_checked_focus.png); | |
927 | } | |
928 | ||
929 | QTreeView::indicator:unchecked:hover, | |
930 | QTreeView::indicator:unchecked:focus, | |
931 | QTreeView::indicator:unchecked:pressed, | |
932 | QListView::indicator:unchecked:hover, | |
933 | QListView::indicator:unchecked:focus, | |
934 | QListView::indicator:unchecked:pressed { | |
935 | image: url(:/themes/qdarkstyle/rc/checkbox_unchecked_focus.png); | |
936 | } | |
937 | ||
938 | QTreeView::indicator:indeterminate:hover, | |
939 | QTreeView::indicator:indeterminate:focus, | |
940 | QTreeView::indicator:indeterminate:pressed, | |
941 | QListView::indicator:indeterminate:hover, | |
942 | QListView::indicator:indeterminate:focus, | |
943 | QListView::indicator:indeterminate:pressed { | |
944 | image: url(:/themes/qdarkstyle/rc/checkbox_indeterminate_focus.png); | |
945 | } | |
946 | ||
947 | QSlider::groove:horizontal { | |
948 | border: 1px solid #565a5e; | |
949 | height: 4px; | |
950 | background: #565a5e; | |
951 | margin: 0px; | |
952 | border-radius: 2px; | |
953 | } | |
954 | ||
955 | QSlider::handle:horizontal { | |
956 | background: #232629; | |
957 | border: 1px solid #565a5e; | |
958 | width: 16px; | |
959 | height: 16px; | |
960 | margin: -8px 0; | |
961 | border-radius: 9px; | |
962 | } | |
963 | ||
964 | QSlider::sub-page:horizontal { | |
965 | border: 1px solid #565a5e; | |
966 | height: 4px; | |
967 | background: #3daee9; | |
968 | margin: 0px; | |
969 | border-radius: 2px; | |
970 | } | |
971 | ||
972 | QSlider::groove:vertical { | |
973 | border: 1px solid #565a5e; | |
974 | width: 4px; | |
975 | background: #565a5e; | |
976 | margin: 0px; | |
977 | border-radius: 3px; | |
978 | } | |
979 | ||
980 | QSlider::handle:vertical { | |
981 | background: #232629; | |
982 | border: 1px solid #565a5e; | |
983 | width: 16px; | |
984 | height: 16px; | |
985 | margin: 0 -8px; | |
986 | border-radius: 9px; | |
987 | } | |
988 | ||
989 | QSlider::sub-page:vertical { | |
990 | border: 1px solid #565a5e; | |
991 | width: 4px; | |
992 | background: #3daee9; | |
993 | margin: 0px; | |
994 | border-radius: 3px; | |
995 | } | |
996 | ||
997 | QToolButton { | |
998 | background-color: transparent; | |
999 | border: 1px transparent #76797C; | |
1000 | border-radius: 2px; | |
1001 | margin: 3px; | |
1002 | padding: 5px; | |
1003 | } | |
1004 | ||
1005 | QToolButton[popupMode="1"] { | |
1006 | /* only for MenuButtonPopup */ | |
1007 | padding-right: 20px; | |
1008 | /* make way for the popup button */ | |
1009 | border: 1px #76797C; | |
1010 | border-radius: 5px; | |
1011 | } | |
1012 | ||
1013 | QToolButton[popupMode="2"] { | |
1014 | /* only for InstantPopup */ | |
1015 | padding-right: 10px; | |
1016 | /* make way for the popup button */ | |
1017 | border: 1px #76797C; | |
1018 | } | |
1019 | ||
1020 | QToolButton:hover, | |
1021 | QToolButton::menu-button:hover { | |
1022 | background-color: transparent; | |
1023 | border: 1px solid #3daee9; | |
1024 | } | |
1025 | ||
1026 | QToolButton:checked, | |
1027 | QToolButton:pressed, | |
1028 | QToolButton::menu-button:pressed { | |
1029 | background-color: #3daee9; | |
1030 | border: 1px solid #3daee9; | |
1031 | padding: 5px; | |
1032 | } | |
1033 | ||
1034 | ||
1035 | /* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */ | |
1036 | ||
1037 | QToolButton::menu-indicator { | |
1038 | image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
1039 | top: -7px; | |
1040 | } | |
1041 | ||
1042 | ||
1043 | /* the subcontrols below are used only in the MenuButtonPopup mode */ | |
1044 | ||
1045 | QToolButton::menu-button { | |
1046 | border: 1px transparent #76797C; | |
1047 | border-top-right-radius: 6px; | |
1048 | border-bottom-right-radius: 6px; | |
1049 | /* 16px width + 4px for border = 20px allocated above */ | |
1050 | width: 16px; | |
1051 | outline: none; | |
1052 | } | |
1053 | ||
1054 | QToolButton::menu-arrow { | |
1055 | image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
1056 | } | |
1057 | ||
1058 | QToolButton::menu-arrow:open { | |
1059 | border: 1px solid #76797C; | |
1060 | } | |
1061 | ||
1062 | QPushButton::menu-indicator { | |
1063 | subcontrol-origin: padding; | |
1064 | subcontrol-position: bottom right; | |
1065 | bottom: 5px; | |
1066 | } | |
1067 | ||
1068 | QTableView { | |
1069 | border: 1px solid #76797C; | |
1070 | gridline-color: #31363b; | |
1071 | background-color: #232629; | |
1072 | } | |
1073 | ||
1074 | QTableView, | |
1075 | QHeaderView { | |
1076 | border-radius: 0px; | |
1077 | } | |
1078 | ||
1079 | QTableView::item:pressed, | |
1080 | QListView::item:pressed, | |
1081 | QTreeView::item:pressed { | |
1082 | background: #18465d; | |
1083 | color: #eff0f1; | |
1084 | } | |
1085 | ||
1086 | QTableView::item:selected:active, | |
1087 | QTreeView::item:selected:active, | |
1088 | QListView::item:selected:active { | |
1089 | background: #287399; | |
1090 | color: #eff0f1; | |
1091 | } | |
1092 | ||
1093 | QHeaderView { | |
1094 | background-color: #31363b; | |
1095 | border: 1px transparent; | |
1096 | border-radius: 0px; | |
1097 | margin: 0px; | |
1098 | padding: 0px; | |
1099 | } | |
1100 | ||
1101 | QHeaderView::section { | |
1102 | background-color: #31363b; | |
1103 | color: #eff0f1; | |
1104 | padding: 5px; | |
1105 | border: 1px solid #76797C; | |
1106 | border-radius: 0px; | |
1107 | text-align: center; | |
1108 | } | |
1109 | ||
1110 | QHeaderView::section::vertical::first, | |
1111 | QHeaderView::section::vertical::only-one { | |
1112 | border-top: 1px solid #76797C; | |
1113 | } | |
1114 | ||
1115 | QHeaderView::section::vertical { | |
1116 | border-top: transparent; | |
1117 | } | |
1118 | ||
1119 | QHeaderView::section::horizontal::first, | |
1120 | QHeaderView::section::horizontal::only-one { | |
1121 | border-left: 1px solid #76797C; | |
1122 | } | |
1123 | ||
1124 | QHeaderView::section::horizontal { | |
1125 | border-left: transparent; | |
1126 | } | |
1127 | ||
1128 | QHeaderView::section:checked { | |
1129 | color: white; | |
1130 | background-color: #334e5e; | |
1131 | } | |
1132 | ||
1133 | ||
1134 | /* style the sort indicator */ | |
1135 | ||
1136 | QHeaderView::down-arrow { | |
1137 | image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
1138 | } | |
1139 | ||
1140 | QHeaderView::up-arrow { | |
1141 | image: url(:/themes/qdarkstyle/rc/up_arrow.png); | |
1142 | } | |
1143 | ||
1144 | QTableCornerButton::section { | |
1145 | background-color: #31363b; | |
1146 | border: 1px transparent #76797C; | |
1147 | border-radius: 0px; | |
1148 | } | |
1149 | ||
1150 | QToolBox { | |
1151 | padding: 5px; | |
1152 | border: 1px transparent black; | |
1153 | } | |
1154 | ||
1155 | QToolBox::tab { | |
1156 | color: #eff0f1; | |
1157 | background-color: #31363b; | |
1158 | border: 1px solid #76797C; | |
1159 | border-bottom: 1px transparent #31363b; | |
1160 | border-top-left-radius: 5px; | |
1161 | border-top-right-radius: 5px; | |
1162 | } | |
1163 | ||
1164 | QToolBox::tab:selected { | |
1165 | /* italicize selected tabs */ | |
1166 | font: italic; | |
1167 | background-color: #31363b; | |
1168 | border-color: #3daee9; | |
1169 | } | |
1170 | ||
1171 | QStatusBar::item { | |
1172 | border: 0px transparent dark; | |
1173 | } | |
1174 | ||
1175 | QFrame[height="3"], | |
1176 | QFrame[width="3"] { | |
1177 | background-color: #76797C; | |
1178 | } | |
1179 | ||
1180 | QSplitter::handle { | |
1181 | border: 1px dashed #76797C; | |
1182 | } | |
1183 | ||
1184 | QSplitter::handle:hover { | |
1185 | background-color: #787876; | |
1186 | border: 1px solid #76797C; | |
1187 | } | |
1188 | ||
1189 | QSplitter::handle:horizontal { | |
1190 | width: 1px; | |
1191 | } | |
1192 | ||
1193 | QSplitter::handle:vertical { | |
1194 | height: 1px; | |
1195 | } | |
1196 | ||
1197 | QProgressBar { | |
1198 | border: 1px solid #76797C; | |
1199 | border-radius: 5px; | |
1200 | text-align: center; | |
1201 | } | |
1202 | ||
1203 | QProgressBar::chunk { | |
1204 | background-color: #05B8CC; | |
1205 | } | |
1206 | ||
1207 | QDateEdit { | |
1208 | selection-background-color: #3daee9; | |
1209 | border-style: solid; | |
1210 | border: 1px solid #3375A3; | |
1211 | border-radius: 2px; | |
1212 | padding: 1px; | |
1213 | min-width: 75px; | |
1214 | } | |
1215 | ||
1216 | QDateEdit:on { | |
1217 | padding-top: 3px; | |
1218 | padding-left: 4px; | |
1219 | selection-background-color: #4a4a4a; | |
1220 | } | |
1221 | ||
1222 | QDateEdit QAbstractItemView { | |
1223 | background-color: #232629; | |
1224 | border-radius: 2px; | |
1225 | border: 1px solid #3375A3; | |
1226 | selection-background-color: #3daee9; | |
1227 | } | |
1228 | ||
1229 | QDateEdit::drop-down { | |
1230 | subcontrol-origin: padding; | |
1231 | subcontrol-position: top right; | |
1232 | width: 15px; | |
1233 | border-left-width: 0px; | |
1234 | border-left-color: darkgray; | |
1235 | border-left-style: solid; | |
1236 | border-top-right-radius: 3px; | |
1237 | border-bottom-right-radius: 3px; | |
1238 | } | |
1239 | ||
1240 | QDateEdit::down-arrow { | |
1241 | image: url(:/themes/qdarkstyle/rc/down_arrow_disabled.png); | |
1242 | } | |
1243 | ||
1244 | QDateEdit::down-arrow:on, | |
1245 | QDateEdit::down-arrow:hover, | |
1246 | QDateEdit::down-arrow:focus { | |
1247 | image: url(:/themes/qdarkstyle/rc/down_arrow.png); | |
1248 | } |