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