1 /* ---------------------------------------------------------------------------
3 Created by the qtsass compiler v0.1.1
5 The definitions are in the "qdarkstyle.qss._styles.scss" module
7 WARNING! All changes made in this file will be lost!
9 --------------------------------------------------------------------------- */
10 /* QDarkStyleSheet -----------------------------------------------------------
12 This is the main style sheet, the palette has nine colors.
14 It is based on three selecting colors, three greyish (background) colors
15 plus three whitish (foreground) colors. Each set of widgets of the same
16 type have a header like this:
22 And each widget is separated with a header like this:
26 This makes more easy to find and change some css field. The basic
27 configuration is described bellow.
29 BACKGROUND -----------
32 Normal (border, disabled, pressed, checked, toolbars, menus)
35 FOREGROUND -----------
41 SELECTION ------------
43 Light (selection/hover/active)
45 Dark (selected disabled)
47 If a stranger configuration is required because of a bugfix or anything
48 else, keep the comment on the line above so nobody changes it, including the
56 - https://doc.qt.io/qt-5/stylesheet.html
57 - https://doc.qt.io/qt-5/stylesheet-reference.html
58 - https://doc.qt.io/qt-5/stylesheet-examples.html
60 --------------------------------------------------------------------------- */
61 /* QWidget ----------------------------------------------------------------
63 --------------------------------------------------------------------------- */
65 background-color: #19232D;
66 border: 0px solid #32414B;
69 selection-background-color: #1464A0;
70 selection-color: #F0F0F0;
74 background-color: #19232D;
76 selection-background-color: #14506E;
77 selection-color: #787878;
80 QWidget::item:selected {
81 background-color: #1464A0;
85 background-color: #148CD2;
89 /* QMainWindow ------------------------------------------------------------
91 This adjusts the splitter in the dock widget, not qsplitter
92 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow
94 --------------------------------------------------------------------------- */
95 QMainWindow::separator {
96 background-color: #32414B;
97 border: 0px solid #19232D;
102 QMainWindow::separator:hover {
103 background-color: #505F69;
104 border: 0px solid #148CD2;
107 QMainWindow::separator:horizontal {
111 image: url(":/qss_icons/rc/toolbar_separator_vertical.png");
114 QMainWindow::separator:vertical {
118 image: url(":/qss_icons/rc/toolbar_separator_horizontal.png");
121 /* QToolTip ---------------------------------------------------------------
123 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip
125 --------------------------------------------------------------------------- */
127 background-color: #148CD2;
128 border: 1px solid #19232D;
130 /* Remove padding, for fix combo box tooltip */
132 /* Remove opacity, fix #174 - may need to use RGBA */
135 /* QStatusBar -------------------------------------------------------------
137 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar
139 --------------------------------------------------------------------------- */
141 border: 1px solid #32414B;
142 /* Fixes Spyder #9120, #9121 */
144 /* Fixes #205, white vertical borders separating items */
151 QStatusBar QToolTip {
152 background-color: #148CD2;
153 border: 1px solid #19232D;
155 /* Remove padding, for fix combo box tooltip */
157 /* Reducing transparency to read better */
162 /* Fixes Spyder #9120, #9121 */
163 background: transparent;
166 /* QCheckBox --------------------------------------------------------------
168 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox
170 --------------------------------------------------------------------------- */
172 background-color: #19232D;
184 QCheckBox QWidget:disabled {
185 background-color: #19232D;
189 QCheckBox::indicator {
195 QCheckBox::indicator:unchecked {
196 image: url(":/qss_icons/rc/checkbox_unchecked.png");
199 QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
201 image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
204 QCheckBox::indicator:unchecked:disabled {
205 image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
208 QCheckBox::indicator:checked {
209 image: url(":/qss_icons/rc/checkbox_checked.png");
212 QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:focus, QCheckBox::indicator:checked:pressed {
214 image: url(":/qss_icons/rc/checkbox_checked_focus.png");
217 QCheckBox::indicator:checked:disabled {
218 image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
221 QCheckBox::indicator:indeterminate {
222 image: url(":/qss_icons/rc/checkbox_indeterminate.png");
225 QCheckBox::indicator:indeterminate:disabled {
226 image: url(":/qss_icons/rc/checkbox_indeterminate_disabled.png");
229 QCheckBox::indicator:indeterminate:focus, QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
230 image: url(":/qss_icons/rc/checkbox_indeterminate_focus.png");
233 /* QGroupBox --------------------------------------------------------------
235 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
237 --------------------------------------------------------------------------- */
240 border: 1px solid #32414B;
247 subcontrol-origin: margin;
248 subcontrol-position: top left;
253 padding-bottom: 16px;
256 QGroupBox::indicator {
262 QGroupBox::indicator:unchecked {
264 image: url(":/qss_icons/rc/checkbox_unchecked.png");
267 QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
269 image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
272 QGroupBox::indicator:unchecked:disabled {
273 image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
276 QGroupBox::indicator:checked {
278 image: url(":/qss_icons/rc/checkbox_checked.png");
281 QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
283 image: url(":/qss_icons/rc/checkbox_checked_focus.png");
286 QGroupBox::indicator:checked:disabled {
287 image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
290 /* QRadioButton -----------------------------------------------------------
292 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
294 --------------------------------------------------------------------------- */
296 background-color: #19232D;
308 QRadioButton:disabled {
309 background-color: #19232D;
315 QRadioButton QWidget {
316 background-color: #19232D;
324 QRadioButton::indicator {
332 QRadioButton::indicator:unchecked {
333 image: url(":/qss_icons/rc/radio_unchecked.png");
336 QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:focus, QRadioButton::indicator:unchecked:pressed {
339 image: url(":/qss_icons/rc/radio_unchecked_focus.png");
342 QRadioButton::indicator:unchecked:disabled {
343 image: url(":/qss_icons/rc/radio_unchecked_disabled.png");
346 QRadioButton::indicator:checked {
349 image: url(":/qss_icons/rc/radio_checked.png");
352 QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:focus, QRadioButton::indicator:checked:pressed {
355 image: url(":/qss_icons/rc/radio_checked_focus.png");
358 QRadioButton::indicator:checked:disabled {
360 image: url(":/qss_icons/rc/radio_checked_disabled.png");
363 /* QMenuBar ---------------------------------------------------------------
365 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
367 --------------------------------------------------------------------------- */
369 background-color: #32414B;
371 border: 1px solid #19232D;
376 border: 1px solid #148CD2;
380 background: transparent;
384 QMenuBar::item:selected {
386 background: transparent;
387 border: 0px solid #32414B;
390 QMenuBar::item:pressed {
392 border: 0px solid #32414B;
393 background-color: #148CD2;
399 /* QMenu ------------------------------------------------------------------
401 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
403 --------------------------------------------------------------------------- */
405 border: 0px solid #32414B;
412 background-color: #505F69;
422 background-color: #32414B;
423 padding: 4px 24px 4px 24px;
424 /* Reserve space for selection border */
425 border: 1px transparent #32414B;
428 QMenu::item:selected {
436 /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */
437 /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
440 QMenu::indicator:non-exclusive:unchecked {
441 image: url(":/qss_icons/rc/checkbox_unchecked.png");
444 QMenu::indicator:non-exclusive:unchecked:selected {
445 image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
448 QMenu::indicator:non-exclusive:checked {
449 image: url(":/qss_icons/rc/checkbox_checked.png");
452 QMenu::indicator:non-exclusive:checked:selected {
453 image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
456 QMenu::indicator:exclusive:unchecked {
457 image: url(":/qss_icons/rc/radio_unchecked.png");
460 QMenu::indicator:exclusive:unchecked:selected {
461 image: url(":/qss_icons/rc/radio_unchecked_disabled.png");
464 QMenu::indicator:exclusive:checked {
465 image: url(":/qss_icons/rc/radio_checked.png");
468 QMenu::indicator:exclusive:checked:selected {
469 image: url(":/qss_icons/rc/radio_checked_disabled.png");
474 image: url(":/qss_icons/rc/arrow_right.png");
479 /* QAbstractItemView ------------------------------------------------------
481 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
483 --------------------------------------------------------------------------- */
485 alternate-background-color: #19232D;
487 border: 1px solid #32414B;
491 QAbstractItemView QLineEdit {
495 /* QAbstractScrollArea ----------------------------------------------------
497 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
499 --------------------------------------------------------------------------- */
500 QAbstractScrollArea {
501 background-color: #19232D;
502 border: 1px solid #32414B;
511 QAbstractScrollArea:disabled {
515 /* QScrollArea ------------------------------------------------------------
517 --------------------------------------------------------------------------- */
518 QScrollArea QWidget QWidget:disabled {
519 background-color: #19232D;
522 /* QScrollBar -------------------------------------------------------------
524 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
526 --------------------------------------------------------------------------- */
527 QScrollBar:horizontal {
529 margin: 2px 16px 2px 16px;
530 border: 1px solid #32414B;
532 background-color: #19232D;
535 QScrollBar:vertical {
536 background-color: #19232D;
538 margin: 16px 2px 16px 2px;
539 border: 1px solid #32414B;
543 QScrollBar::handle:horizontal {
544 background-color: #787878;
545 border: 1px solid #32414B;
550 QScrollBar::handle:horizontal:hover {
551 background-color: #148CD2;
552 border: 1px solid #148CD2;
557 QScrollBar::handle:horizontal:focus {
558 border: 1px solid #1464A0;
561 QScrollBar::handle:vertical {
562 background-color: #787878;
563 border: 1px solid #32414B;
568 QScrollBar::handle:vertical:hover {
569 background-color: #148CD2;
570 border: 1px solid #148CD2;
575 QScrollBar::handle:vertical:focus {
576 border: 1px solid #1464A0;
579 QScrollBar::add-line:horizontal {
580 margin: 0px 0px 0px 0px;
581 border-image: url(":/qss_icons/rc/arrow_right_disabled.png");
584 subcontrol-position: right;
585 subcontrol-origin: margin;
588 QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on {
589 border-image: url(":/qss_icons/rc/arrow_right.png");
592 subcontrol-position: right;
593 subcontrol-origin: margin;
596 QScrollBar::add-line:vertical {
597 margin: 3px 0px 3px 0px;
598 border-image: url(":/qss_icons/rc/arrow_down_disabled.png");
601 subcontrol-position: bottom;
602 subcontrol-origin: margin;
605 QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on {
606 border-image: url(":/qss_icons/rc/arrow_down.png");
609 subcontrol-position: bottom;
610 subcontrol-origin: margin;
613 QScrollBar::sub-line:horizontal {
614 margin: 0px 3px 0px 3px;
615 border-image: url(":/qss_icons/rc/arrow_left_disabled.png");
618 subcontrol-position: left;
619 subcontrol-origin: margin;
622 QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on {
623 border-image: url(":/qss_icons/rc/arrow_left.png");
626 subcontrol-position: left;
627 subcontrol-origin: margin;
630 QScrollBar::sub-line:vertical {
631 margin: 3px 0px 3px 0px;
632 border-image: url(":/qss_icons/rc/arrow_up_disabled.png");
635 subcontrol-position: top;
636 subcontrol-origin: margin;
639 QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
640 border-image: url(":/qss_icons/rc/arrow_up.png");
643 subcontrol-position: top;
644 subcontrol-origin: margin;
647 QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
651 QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
655 QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
659 QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
663 /* QTextEdit --------------------------------------------------------------
665 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets
667 --------------------------------------------------------------------------- */
669 background-color: #19232D;
672 border: 1px solid #32414B;
676 border: 1px solid #148CD2;
681 border: 1px solid #1464A0;
689 /* QPlainTextEdit ---------------------------------------------------------
691 --------------------------------------------------------------------------- */
693 background-color: #19232D;
696 border: 1px solid #32414B;
699 QPlainTextEdit:hover {
700 border: 1px solid #148CD2;
704 QPlainTextEdit:focus {
705 border: 1px solid #1464A0;
708 QPlainTextEdit:selected {
713 /* QSizeGrip --------------------------------------------------------------
715 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
717 --------------------------------------------------------------------------- */
719 background: transparent;
722 image: url(":/qss_icons/rc/window_grip.png");
725 /* QStackedWidget ---------------------------------------------------------
727 --------------------------------------------------------------------------- */
730 border: 1px solid #32414B;
731 border: 1px solid #19232D;
734 /* QToolBar ---------------------------------------------------------------
736 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar
738 --------------------------------------------------------------------------- */
740 background-color: #32414B;
741 border-bottom: 1px solid #19232D;
747 QToolBar QToolButton {
748 background-color: #32414B;
749 border: 1px solid #32414B;
752 QToolBar QToolButton:hover {
753 border: 1px solid #148CD2;
756 QToolBar QToolButton:checked {
757 border: 1px solid #19232D;
758 background-color: #19232D;
761 QToolBar QToolButton:checked:hover {
762 border: 1px solid #148CD2;
765 QToolBar::handle:horizontal {
767 image: url(":/qss_icons/rc/toolbar_move_horizontal.png");
770 QToolBar::handle:vertical {
772 image: url(":/qss_icons/rc/toolbar_move_vertical.png");
775 QToolBar::separator:horizontal {
777 image: url(":/qss_icons/rc/toolbar_separator_horizontal.png");
780 QToolBar::separator:vertical {
782 image: url(":/qss_icons/rc/toolbar_separator_vertical.png");
785 QToolButton#qt_toolbar_ext_button {
789 image: url(":/qss_icons/rc/arrow_right.png");
792 /* QAbstractSpinBox -------------------------------------------------------
794 --------------------------------------------------------------------------- */
796 background-color: #19232D;
797 border: 1px solid #32414B;
799 /* This fixes 103, 111 */
801 /* This fixes 103, 111 */
806 /* min-width: 5px; removed to fix 109 */
809 QAbstractSpinBox:up-button {
810 background-color: transparent #19232D;
811 subcontrol-origin: border;
812 subcontrol-position: top right;
813 border-left: 1px solid #32414B;
814 border-bottom: 1px solid #32414B;
815 border-top-left-radius: 0;
816 border-bottom-left-radius: 0;
822 QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off {
823 image: url(":/qss_icons/rc/arrow_up_disabled.png");
828 QAbstractSpinBox::up-arrow:hover {
829 image: url(":/qss_icons/rc/arrow_up.png");
832 QAbstractSpinBox:down-button {
833 background-color: transparent #19232D;
834 subcontrol-origin: border;
835 subcontrol-position: bottom right;
836 border-left: 1px solid #32414B;
837 border-top: 1px solid #32414B;
838 border-top-left-radius: 0;
839 border-bottom-left-radius: 0;
845 QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off {
846 image: url(":/qss_icons/rc/arrow_down_disabled.png");
851 QAbstractSpinBox::down-arrow:hover {
852 image: url(":/qss_icons/rc/arrow_down.png");
855 QAbstractSpinBox:hover {
856 border: 1px solid #148CD2;
860 QAbstractSpinBox:focus {
861 border: 1px solid #1464A0;
864 QAbstractSpinBox:selected {
869 /* ------------------------------------------------------------------------ */
870 /* DISPLAYS --------------------------------------------------------------- */
871 /* ------------------------------------------------------------------------ */
872 /* QLabel -----------------------------------------------------------------
874 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
876 --------------------------------------------------------------------------- */
878 background-color: #19232D;
879 border: 0px solid #32414B;
886 background-color: #19232D;
887 border: 0px solid #32414B;
891 /* QTextBrowser -----------------------------------------------------------
893 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
895 --------------------------------------------------------------------------- */
897 background-color: #19232D;
898 border: 1px solid #32414B;
903 QTextBrowser:disabled {
904 background-color: #19232D;
905 border: 1px solid #32414B;
910 QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
911 border: 1px solid #32414B;
914 /* QGraphicsView ----------------------------------------------------------
916 --------------------------------------------------------------------------- */
918 background-color: #19232D;
919 border: 1px solid #32414B;
924 QGraphicsView:disabled {
925 background-color: #19232D;
926 border: 1px solid #32414B;
931 QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed {
932 border: 1px solid #32414B;
935 /* QCalendarWidget --------------------------------------------------------
937 --------------------------------------------------------------------------- */
939 border: 1px solid #32414B;
943 QCalendarWidget:disabled {
944 background-color: #19232D;
948 /* QLCDNumber -------------------------------------------------------------
950 --------------------------------------------------------------------------- */
952 background-color: #19232D;
956 QLCDNumber:disabled {
957 background-color: #19232D;
961 /* QProgressBar -----------------------------------------------------------
963 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
965 --------------------------------------------------------------------------- */
967 background-color: #19232D;
968 border: 1px solid #32414B;
974 QProgressBar:disabled {
975 background-color: #19232D;
976 border: 1px solid #32414B;
982 QProgressBar::chunk {
983 background-color: #1464A0;
988 QProgressBar::chunk:disabled {
989 background-color: #14506E;
994 /* ------------------------------------------------------------------------ */
995 /* BUTTONS ---------------------------------------------------------------- */
996 /* ------------------------------------------------------------------------ */
997 /* QPushButton ------------------------------------------------------------
999 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton
1001 --------------------------------------------------------------------------- */
1003 background-color: #505F69;
1004 border: 1px solid #32414B;
1009 /* Issue #194 - Special case of QPushButton inside dialogs, for better UI */
1013 QPushButton:disabled {
1014 background-color: #32414B;
1015 border: 1px solid #32414B;
1021 QPushButton:checked {
1022 background-color: #32414B;
1023 border: 1px solid #32414B;
1029 QPushButton:checked:disabled {
1030 background-color: #19232D;
1031 border: 1px solid #32414B;
1038 QPushButton:checked:selected {
1039 background: #1464A0;
1043 QPushButton::menu-indicator {
1044 subcontrol-origin: padding;
1045 subcontrol-position: bottom right;
1049 QPushButton:pressed {
1050 background-color: #19232D;
1051 border: 1px solid #19232D;
1054 QPushButton:pressed:hover {
1055 border: 1px solid #148CD2;
1059 border: 1px solid #148CD2;
1063 QPushButton:selected {
1064 background: #1464A0;
1069 border: 1px solid #148CD2;
1074 border: 1px solid #1464A0;
1077 /* QToolButton ------------------------------------------------------------
1079 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton
1081 --------------------------------------------------------------------------- */
1083 background-color: transparent;
1084 border: 1px solid transparent;
1088 /* The subcontrols below are used only in the DelayedPopup mode */
1089 /* The subcontrols below are used only in the MenuButtonPopup mode */
1090 /* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */
1093 QToolButton:checked {
1094 background-color: transparent;
1095 border: 1px solid #1464A0;
1098 QToolButton:checked:disabled {
1099 border: 1px solid #14506E;
1102 QToolButton:pressed {
1104 background-color: transparent;
1105 border: 1px solid #1464A0;
1108 QToolButton:disabled {
1113 border: 1px solid #148CD2;
1116 QToolButton[popupMode="0"] {
1117 /* Only for DelayedPopup */
1121 QToolButton[popupMode="1"] {
1122 /* Only for MenuButtonPopup */
1123 padding-right: 20px;
1126 QToolButton[popupMode="1"]::menu-button {
1130 QToolButton[popupMode="1"]::menu-button:hover {
1132 border-left: 1px solid #148CD2;
1136 QToolButton[popupMode="2"] {
1137 /* Only for InstantPopup */
1141 QToolButton::menu-button {
1144 border: 1px solid #32414B;
1149 QToolButton::menu-button:hover {
1150 border: 1px solid #148CD2;
1153 QToolButton::menu-button:checked:hover {
1154 border: 1px solid #148CD2;
1157 QToolButton::menu-indicator {
1158 image: url(":/qss_icons/rc/arrow_down.png");
1162 /* Exclude a shift for better image */
1164 /* Shift it a bit */
1167 QToolButton::menu-arrow {
1168 image: url(":/qss_icons/rc/arrow_down.png");
1173 QToolButton::menu-arrow:hover {
1174 image: url(":/qss_icons/rc/arrow_down_focus.png");
1177 /* QCommandLinkButton -----------------------------------------------------
1179 --------------------------------------------------------------------------- */
1180 QCommandLinkButton {
1181 background-color: transparent;
1182 border: 1px solid #32414B;
1189 QCommandLinkButton:disabled {
1190 background-color: transparent;
1194 /* ------------------------------------------------------------------------ */
1195 /* INPUTS - NO FIELDS ----------------------------------------------------- */
1196 /* ------------------------------------------------------------------------ */
1197 /* QComboBox --------------------------------------------------------------
1199 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
1201 --------------------------------------------------------------------------- */
1203 border: 1px solid #32414B;
1205 selection-background-color: #1464A0;
1207 padding-right: 36px;
1208 /* 4 + 16*2 See scrollbar size */
1209 /* Fixes #103, #111 */
1211 /* padding-top: 2px; removed to fix #132 */
1212 /* padding-bottom: 2px; removed to fix #132 */
1213 /* min-width: 75px; removed to fix #109 */
1214 /* Needed to remove indicator - fix #132 */
1217 QComboBox QAbstractItemView {
1218 border: 1px solid #32414B;
1220 background-color: #19232D;
1221 selection-background-color: #1464A0;
1224 QComboBox QAbstractItemView:hover {
1225 background-color: #19232D;
1229 QComboBox QAbstractItemView:selected {
1230 background: #1464A0;
1234 QComboBox QAbstractItemView:alternate {
1235 background: #19232D;
1238 QComboBox:disabled {
1239 background-color: #19232D;
1244 border: 1px solid #148CD2;
1248 border: 1px solid #1464A0;
1252 selection-background-color: #1464A0;
1255 QComboBox::indicator {
1258 background-color: transparent;
1259 selection-background-color: transparent;
1261 selection-color: transparent;
1262 /* Needed to remove indicator - fix #132 */
1265 QComboBox::indicator:alternate {
1266 background: #19232D;
1269 QComboBox::item:alternate {
1270 background: #19232D;
1273 QComboBox::item:checked {
1277 QComboBox::item:selected {
1278 border: 0px solid transparent;
1281 QComboBox::drop-down {
1282 subcontrol-origin: padding;
1283 subcontrol-position: top right;
1285 border-left: 1px solid #32414B;
1288 QComboBox::down-arrow {
1289 image: url(":/qss_icons/rc/arrow_down_disabled.png");
1294 QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus {
1295 image: url(":/qss_icons/rc/arrow_down.png");
1298 /* QSlider ----------------------------------------------------------------
1300 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
1302 --------------------------------------------------------------------------- */
1304 background: #19232D;
1311 QSlider::groove:horizontal {
1312 background: #32414B;
1313 border: 1px solid #32414B;
1319 QSlider::groove:vertical {
1320 background: #32414B;
1321 border: 1px solid #32414B;
1327 QSlider::add-page:vertical {
1328 background: #1464A0;
1329 border: 1px solid #32414B;
1335 QSlider::add-page:vertical :disabled {
1336 background: #14506E;
1339 QSlider::sub-page:horizontal {
1340 background: #1464A0;
1341 border: 1px solid #32414B;
1347 QSlider::sub-page:horizontal:disabled {
1348 background: #14506E;
1351 QSlider::handle:horizontal {
1352 background: #787878;
1353 border: 1px solid #32414B;
1360 QSlider::handle:horizontal:hover {
1361 background: #148CD2;
1362 border: 1px solid #148CD2;
1365 QSlider::handle:horizontal:focus {
1366 border: 1px solid #1464A0;
1369 QSlider::handle:vertical {
1370 background: #787878;
1371 border: 1px solid #32414B;
1378 QSlider::handle:vertical:hover {
1379 background: #148CD2;
1380 border: 1px solid #148CD2;
1383 QSlider::handle:vertical:focus {
1384 border: 1px solid #1464A0;
1387 /* QLineEdit --------------------------------------------------------------
1389 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
1391 --------------------------------------------------------------------------- */
1393 background-color: #19232D;
1395 /* This QLineEdit fix 103, 111 */
1396 padding-bottom: 2px;
1397 /* This QLineEdit fix 103, 111 */
1400 border-style: solid;
1401 border: 1px solid #32414B;
1406 QLineEdit:disabled {
1407 background-color: #19232D;
1412 border: 1px solid #148CD2;
1417 border: 1px solid #1464A0;
1420 QLineEdit:selected {
1421 background-color: #1464A0;
1425 /* QTabWiget --------------------------------------------------------------
1427 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
1429 --------------------------------------------------------------------------- */
1432 selection-background-color: #32414B;
1435 QTabWidget QWidget {
1441 border: 1px solid #32414B;
1444 /* Fixes double border inside pane with pyqt5 */
1448 QTabWidget::pane:selected {
1449 background-color: #32414B;
1450 border: 1px solid #1464A0;
1453 /* QTabBar ----------------------------------------------------------------
1455 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
1457 --------------------------------------------------------------------------- */
1459 qproperty-drawBase: 0;
1464 /* left: 5px; move to the right by 5px - removed for fix */
1467 QTabBar::close-button {
1471 image: url(":/qss_icons/rc/window_close.png");
1474 QTabBar::close-button:hover {
1475 image: url(":/qss_icons/rc/window_close_focus.png");
1478 QTabBar::close-button:pressed {
1479 image: url(":/qss_icons/rc/window_close_pressed.png");
1482 /* QTabBar::tab - selected ------------------------------------------------
1484 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
1486 --------------------------------------------------------------------------- */
1488 /* !selected and disabled ----------------------------------------- */
1489 /* selected ------------------------------------------------------- */
1492 QTabBar::tab:top:selected:disabled {
1493 border-bottom: 3px solid #14506E;
1495 background-color: #32414B;
1498 QTabBar::tab:bottom:selected:disabled {
1499 border-top: 3px solid #14506E;
1501 background-color: #32414B;
1504 QTabBar::tab:left:selected:disabled {
1505 border-right: 3px solid #14506E;
1507 background-color: #32414B;
1510 QTabBar::tab:right:selected:disabled {
1511 border-left: 3px solid #14506E;
1513 background-color: #32414B;
1516 QTabBar::tab:top:!selected:disabled {
1517 border-bottom: 3px solid #19232D;
1519 background-color: #19232D;
1522 QTabBar::tab:bottom:!selected:disabled {
1523 border-top: 3px solid #19232D;
1525 background-color: #19232D;
1528 QTabBar::tab:left:!selected:disabled {
1529 border-right: 3px solid #19232D;
1531 background-color: #19232D;
1534 QTabBar::tab:right:!selected:disabled {
1535 border-left: 3px solid #19232D;
1537 background-color: #19232D;
1540 QTabBar::tab:top:!selected {
1541 border-bottom: 2px solid #19232D;
1545 QTabBar::tab:bottom:!selected {
1546 border-top: 2px solid #19232D;
1550 QTabBar::tab:left:!selected {
1551 border-left: 2px solid #19232D;
1555 QTabBar::tab:right:!selected {
1556 border-right: 2px solid #19232D;
1561 background-color: #32414B;
1567 padding-bottom: 2px;
1569 border-bottom: 3px solid #32414B;
1570 border-top-left-radius: 3px;
1571 border-top-right-radius: 3px;
1574 QTabBar::tab:top:selected {
1575 background-color: #505F69;
1577 border-bottom: 3px solid #1464A0;
1578 border-top-left-radius: 3px;
1579 border-top-right-radius: 3px;
1582 QTabBar::tab:top:!selected:hover {
1583 border: 1px solid #148CD2;
1584 border-bottom: 3px solid #148CD2;
1585 /* Fixes spyder-ide/spyder#9766 */
1590 QTabBar::tab:bottom {
1592 border-top: 3px solid #32414B;
1593 background-color: #32414B;
1598 padding-bottom: 2px;
1599 border-bottom-left-radius: 3px;
1600 border-bottom-right-radius: 3px;
1604 QTabBar::tab:bottom:selected {
1606 background-color: #505F69;
1607 border-top: 3px solid #1464A0;
1608 border-bottom-left-radius: 3px;
1609 border-bottom-right-radius: 3px;
1612 QTabBar::tab:bottom:!selected:hover {
1613 border: 1px solid #148CD2;
1614 border-top: 3px solid #148CD2;
1615 /* Fixes spyder-ide/spyder#9766 */
1622 background-color: #32414B;
1627 padding-bottom: 4px;
1628 border-top-left-radius: 3px;
1629 border-bottom-left-radius: 3px;
1633 QTabBar::tab:left:selected {
1635 background-color: #505F69;
1636 border-right: 3px solid #1464A0;
1639 QTabBar::tab:left:!selected:hover {
1640 border: 1px solid #148CD2;
1641 border-right: 3px solid #148CD2;
1645 QTabBar::tab:right {
1647 background-color: #32414B;
1652 padding-bottom: 4px;
1653 border-top-right-radius: 3px;
1654 border-bottom-right-radius: 3px;
1658 QTabBar::tab:right:selected {
1660 background-color: #505F69;
1661 border-left: 3px solid #1464A0;
1664 QTabBar::tab:right:!selected:hover {
1665 border: 1px solid #148CD2;
1666 border-left: 3px solid #148CD2;
1670 QTabBar QToolButton {
1672 background-color: #32414B;
1677 QTabBar QToolButton:pressed {
1678 background-color: #32414B;
1681 QTabBar QToolButton:pressed:hover {
1682 border: 1px solid #148CD2;
1685 QTabBar QToolButton::left-arrow:enabled {
1686 image: url(":/qss_icons/rc/arrow_left.png");
1689 QTabBar QToolButton::left-arrow:disabled {
1690 image: url(":/qss_icons/rc/arrow_left_disabled.png");
1693 QTabBar QToolButton::right-arrow:enabled {
1694 image: url(":/qss_icons/rc/arrow_right.png");
1697 QTabBar QToolButton::right-arrow:disabled {
1698 image: url(":/qss_icons/rc/arrow_right_disabled.png");
1701 /* QDockWiget -------------------------------------------------------------
1703 --------------------------------------------------------------------------- */
1705 outline: 1px solid #32414B;
1706 background-color: #19232D;
1707 border: 1px solid #32414B;
1709 titlebar-close-icon: url(":/qss_icons/rc/window_close.png");
1710 titlebar-normal-icon: url(":/qss_icons/rc/window_undock.png");
1713 QDockWidget::title {
1714 /* Better size for title bar */
1718 background-color: #32414B;
1721 QDockWidget::close-button {
1722 background-color: #32414B;
1727 QDockWidget::close-button:hover {
1728 image: url(":/qss_icons/rc/window_close_focus.png");
1731 QDockWidget::close-button:pressed {
1732 image: url(":/qss_icons/rc/window_close_pressed.png");
1735 QDockWidget::float-button {
1736 background-color: #32414B;
1741 QDockWidget::float-button:hover {
1742 image: url(":/qss_icons/rc/window_undock_focus.png");
1745 QDockWidget::float-button:pressed {
1746 image: url(":/qss_icons/rc/window_undock_pressed.png");
1749 /* QTreeView QListView QTableView -----------------------------------------
1751 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview
1752 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview
1753 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview
1755 --------------------------------------------------------------------------- */
1756 QTreeView:branch:selected, QTreeView:branch:hover {
1757 background: url(":/qss_icons/rc/transparent.png");
1760 QTreeView:branch:has-siblings:!adjoins-item {
1761 border-image: url(":/qss_icons/rc/branch_line.png") 0;
1764 QTreeView:branch:has-siblings:adjoins-item {
1765 border-image: url(":/qss_icons/rc/branch_more.png") 0;
1768 QTreeView:branch:!has-children:!has-siblings:adjoins-item {
1769 border-image: url(":/qss_icons/rc/branch_end.png") 0;
1772 QTreeView:branch:has-children:!has-siblings:closed, QTreeView:branch:closed:has-children:has-siblings {
1774 image: url(":/qss_icons/rc/branch_closed.png");
1777 QTreeView:branch:open:has-children:!has-siblings, QTreeView:branch:open:has-children:has-siblings {
1779 image: url(":/qss_icons/rc/branch_open.png");
1782 QTreeView:branch:has-children:!has-siblings:closed:hover, QTreeView:branch:closed:has-children:has-siblings:hover {
1783 image: url(":/qss_icons/rc/branch_closed_focus.png");
1786 QTreeView:branch:open:has-children:!has-siblings:hover, QTreeView:branch:open:has-children:has-siblings:hover {
1787 image: url(":/qss_icons/rc/branch_open_focus.png");
1790 QTreeView::indicator:checked,
1791 QListView::indicator:checked {
1792 image: url(":/qss_icons/rc/checkbox_checked.png");
1795 QTreeView::indicator:checked:hover, QTreeView::indicator:checked:focus, QTreeView::indicator:checked:pressed,
1796 QListView::indicator:checked:hover,
1797 QListView::indicator:checked:focus,
1798 QListView::indicator:checked:pressed {
1799 image: url(":/qss_icons/rc/checkbox_checked_focus.png");
1802 QTreeView::indicator:unchecked,
1803 QListView::indicator:unchecked {
1804 image: url(":/qss_icons/rc/checkbox_unchecked.png");
1807 QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:focus, QTreeView::indicator:unchecked:pressed,
1808 QListView::indicator:unchecked:hover,
1809 QListView::indicator:unchecked:focus,
1810 QListView::indicator:unchecked:pressed {
1811 image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
1814 QTreeView::indicator:indeterminate,
1815 QListView::indicator:indeterminate {
1816 image: url(":/qss_icons/rc/checkbox_indeterminate.png");
1819 QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:focus, QTreeView::indicator:indeterminate:pressed,
1820 QListView::indicator:indeterminate:hover,
1821 QListView::indicator:indeterminate:focus,
1822 QListView::indicator:indeterminate:pressed {
1823 image: url(":/qss_icons/rc/checkbox_indeterminate_focus.png");
1830 background-color: #19232D;
1831 border: 1px solid #32414B;
1833 gridline-color: #32414B;
1839 QTableView:disabled,
1840 QColumnView:disabled {
1841 background-color: #19232D;
1847 QTableView:selected,
1848 QColumnView:selected {
1849 background-color: #1464A0;
1857 background-color: #19232D;
1858 border: 1px solid #148CD2;
1861 QTreeView::item:pressed,
1862 QListView::item:pressed,
1863 QTableView::item:pressed,
1864 QColumnView::item:pressed {
1865 background-color: #1464A0;
1868 QTreeView::item:selected:hover,
1869 QListView::item:selected:hover,
1870 QTableView::item:selected:hover,
1871 QColumnView::item:selected:hover {
1872 background: #1464A0;
1876 QTreeView::item:selected:active,
1877 QListView::item:selected:active,
1878 QTableView::item:selected:active,
1879 QColumnView::item:selected:active {
1880 background-color: #1464A0;
1883 QTreeView::item:!selected:hover,
1884 QListView::item:!selected:hover,
1885 QTableView::item:!selected:hover,
1886 QColumnView::item:!selected:hover {
1889 background-color: #32414B;
1892 QTableCornerButton::section {
1893 background-color: #19232D;
1894 border: 1px transparent #32414B;
1898 /* QHeaderView ------------------------------------------------------------
1900 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
1902 --------------------------------------------------------------------------- */
1904 background-color: #32414B;
1905 border: 0px transparent #32414B;
1911 QHeaderView:disabled {
1912 background-color: #32414B;
1913 border: 1px transparent #32414B;
1917 QHeaderView::section {
1918 background-color: #32414B;
1925 QHeaderView::section:checked {
1927 background-color: #1464A0;
1930 QHeaderView::section:checked:disabled {
1932 background-color: #14506E;
1935 QHeaderView::section::horizontal {
1938 border-left: 1px solid #19232D;
1941 QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
1942 border-left: 1px solid #32414B;
1945 QHeaderView::section::horizontal:disabled {
1949 QHeaderView::section::vertical {
1952 border-top: 1px solid #19232D;
1955 QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
1956 border-top: 1px solid #32414B;
1959 QHeaderView::section::vertical:disabled {
1963 QHeaderView::down-arrow {
1964 /* Those settings (border/width/height/background-color) solve bug */
1965 /* transparent arrow background and size */
1966 background-color: #32414B;
1972 image: url(":/qss_icons/rc/arrow_down.png");
1975 QHeaderView::up-arrow {
1976 background-color: #32414B;
1982 image: url(":/qss_icons/rc/arrow_up.png");
1985 /* QToolBox --------------------------------------------------------------
1987 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbox
1989 --------------------------------------------------------------------------- */
1993 border: 1px solid #32414B;
1998 border: 2px solid #1464A0;
2002 background-color: #19232D;
2003 border: 1px solid #32414B;
2005 border-top-left-radius: 4px;
2006 border-top-right-radius: 4px;
2009 QToolBox::tab:disabled {
2013 QToolBox::tab:selected {
2014 background-color: #505F69;
2015 border-bottom: 2px solid #1464A0;
2018 QToolBox::tab:selected:disabled {
2019 background-color: #32414B;
2020 border-bottom: 2px solid #14506E;
2023 QToolBox::tab:!selected {
2024 background-color: #32414B;
2025 border-bottom: 2px solid #32414B;
2028 QToolBox::tab:!selected:disabled {
2029 background-color: #19232D;
2032 QToolBox::tab:hover {
2033 border-color: #148CD2;
2034 border-bottom: 2px solid #148CD2;
2037 QToolBox QScrollArea QWidget QWidget {
2040 background-color: #19232D;
2043 /* QFrame -----------------------------------------------------------------
2045 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
2046 https://doc.qt.io/qt-5/qframe.html#-prop
2047 https://doc.qt.io/qt-5/qframe.html#details
2048 https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color
2050 --------------------------------------------------------------------------- */
2051 /* (dot) .QFrame fix #141, #126, #123 */
2054 border: 1px solid #32414B;
2060 .QFrame[frameShape="0"] {
2062 border: 1px transparent #32414B;
2065 .QFrame[frameShape="4"] {
2068 background-color: #32414B;
2071 .QFrame[frameShape="5"] {
2074 background-color: #32414B;
2077 /* QSplitter --------------------------------------------------------------
2079 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
2081 --------------------------------------------------------------------------- */
2083 background-color: #32414B;
2090 background-color: #32414B;
2091 border: 0px solid #19232D;
2097 QSplitter::handle:hover {
2098 background-color: #787878;
2101 QSplitter::handle:horizontal {
2103 image: url(":/qss_icons/rc/line_vertical.png");
2106 QSplitter::handle:vertical {
2108 image: url(":/qss_icons/rc/line_horizontal.png");
2111 /* QDateEdit, QDateTimeEdit -----------------------------------------------
2113 --------------------------------------------------------------------------- */
2114 QDateEdit, QDateTimeEdit {
2115 selection-background-color: #1464A0;
2116 border-style: solid;
2117 border: 1px solid #32414B;
2119 /* This fixes 103, 111 */
2121 /* This fixes 103, 111 */
2122 padding-bottom: 2px;
2128 QDateEdit:on, QDateTimeEdit:on {
2129 selection-background-color: #1464A0;
2132 QDateEdit::drop-down, QDateTimeEdit::drop-down {
2133 subcontrol-origin: padding;
2134 subcontrol-position: top right;
2136 border-left: 1px solid #32414B;
2139 QDateEdit::down-arrow, QDateTimeEdit::down-arrow {
2140 image: url(":/qss_icons/rc/arrow_down_disabled.png");
2145 QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus, QDateTimeEdit::down-arrow:on, QDateTimeEdit::down-arrow:hover, QDateTimeEdit::down-arrow:focus {
2146 image: url(":/qss_icons/rc/arrow_down.png");
2149 QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
2150 background-color: #19232D;
2152 border: 1px solid #32414B;
2153 selection-background-color: #1464A0;
2156 /* QAbstractView ----------------------------------------------------------
2158 --------------------------------------------------------------------------- */
2159 QAbstractView:hover {
2160 border: 1px solid #148CD2;
2164 QAbstractView:selected {
2165 background: #1464A0;
2169 /* PlotWidget -------------------------------------------------------------
2171 --------------------------------------------------------------------------- */
2173 /* Fix cut labels in plots #134 */