From 67550cd1aa7872ad1a03ac73fbec0d3775b75445 Mon Sep 17 00:00:00 2001 From: Haas Date: Thu, 8 Jun 2023 20:55:56 +0200 Subject: [PATCH] removed trailing white sapces. --- src/Gui/Stylesheets/Dark-blue.qss | 890 +++++++++---------- src/Gui/Stylesheets/Dark-green.qss | 30 +- src/Gui/Stylesheets/Dark-modern-blue.qss | 22 +- src/Gui/Stylesheets/Dark-modern-green.qss | 24 +- src/Gui/Stylesheets/Dark-modern-orange.qss | 22 +- src/Gui/Stylesheets/Dark-modern-pink.qss | 22 +- src/Gui/Stylesheets/Dark-orange.qss | 30 +- src/Gui/Stylesheets/Dark-pink.qss | 32 +- src/Gui/Stylesheets/Darker-blue.qss | 888 +++++++++---------- src/Gui/Stylesheets/Darker-green.qss | 30 +- src/Gui/Stylesheets/Darker-orange.qss | 30 +- src/Gui/Stylesheets/Darker-pink.qss | 30 +- src/Gui/Stylesheets/Light-blue.qss | 906 ++++++++++---------- src/Gui/Stylesheets/Light-green.qss | 36 +- src/Gui/Stylesheets/Light-modern-blue.qss | 38 +- src/Gui/Stylesheets/Light-modern-green.qss | 38 +- src/Gui/Stylesheets/Light-modern-orange.qss | 36 +- src/Gui/Stylesheets/Light-modern-pink.qss | 38 +- src/Gui/Stylesheets/Light-orange.qss | 38 +- src/Gui/Stylesheets/Light-pink.qss | 36 +- 20 files changed, 1608 insertions(+), 1608 deletions(-) diff --git a/src/Gui/Stylesheets/Dark-blue.qss b/src/Gui/Stylesheets/Dark-blue.qss index 5689aad051..f1314d8c88 100644 --- a/src/Gui/Stylesheets/Dark-blue.qss +++ b/src/Gui/Stylesheets/Dark-blue.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #4882ff #3f7cff @@ -43,13 +43,13 @@ Resetting everything helps to unify styles across different operating systems border-image: none; outline: 0; } - + /* specific reset for elements inside QToolBar */ QToolBar * { margin: 0px; padding: 0px; } - + /*hacks */ Gui--PropertyEditor--PropertyEditor QLineEdit:read-only, Gui--PropertyEditor--PropertyEditor QLineEdit:disabled, @@ -60,7 +60,7 @@ Resetting everything helps to unify styles across different operating systems background-color: transparent; selection-color: transparent; selection-background-color: transparent; - + } Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel, Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled { @@ -71,7 +71,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + Gui--PropertyEditor--PropertyEditor QSpinBox, Gui--PropertyEditor--PropertyEditor QDoubleSpinBox, Gui--PropertyEditor--PropertyEditor QAbstractSpinBox, @@ -81,9 +81,9 @@ Resetting everything helps to unify styles across different operating systems margin-right: 0px; padding-top: 0px; padding-bottom: 0px; - + } - + /*================================================================================================== Main window ==================================================================================================*/ @@ -93,7 +93,7 @@ Resetting everything helps to unify styles across different operating systems QToolBar { background-color: #7F7F7F; /* main background color */ } - + QMdiArea { background-image: url(qss:images_dark-light/background_freecad_dark.svg); background-position: center center; @@ -101,12 +101,12 @@ Resetting everything helps to unify styles across different operating systems } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { - /*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); + /*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QWidget { background-color: #7F7F7F; @@ -116,28 +116,28 @@ Resetting everything helps to unify styles across different operating systems selection-background-color: #4882ff; selection-color: White; } - + QWidget:disabled { background-color: transparent; color: #c2c7cb; selection-background-color: #4882ff; selection-color: #c2c7cb; } - + QWidget::item:selected { background-color: #4882ff; } - + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #4882ff; }*/ - + /* QMainWindow ------------------------------------------------------------ - + This adjusts the splitter in the dock widget, not qsplitter https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow - + --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #3c3c3c;*/ @@ -145,37 +145,37 @@ Resetting everything helps to unify styles across different operating systems spacing: 0px; padding: 1px; } - + QMainWindow::separator:vertical:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #4882ff, stop:0.8 transparent); /*background-color: #4882ff;*/ image: url(qss:images_dark-light/splitter_vertical_light.svg); } - + QMainWindow::separator:horizontal:hover { background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #4882ff, stop:0.8 transparent); /*background-color: #4882ff;*/ image: url(qss:images_dark-light/splitter_horizontal_light.svg); } - + QMainWindow::separator:horizontal { width: 4px; margin-top: 0.1px; margin-bottom: 0.1px; /* image: url(qss:images_dark-light/splitter_horizontal_dark.svg);*/ } - + QMainWindow::separator:vertical { height: 4px; margin-left: 0.1px; margin-right: 0.1px; /* image: url(qss:images_dark-light/splitter_vertical_dark.svg);*/ } - + /* QToolTip --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip - + --------------------------------------------------------------------------- */ QToolTip { background-color: #505050; @@ -186,11 +186,11 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; /* Remove opacity, fix #174 - may need to use RGBA */ } - + /* QStatusBar ------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar - + --------------------------------------------------------------------------- */ QStatusBar { border: 0px solid #3c3c3c; @@ -198,11 +198,11 @@ Resetting everything helps to unify styles across different operating systems background: #7F7F7F; /* Fixes #205, white vertical borders separating items */ } - + QStatusBar::item { border: none; } - + QStatusBar QToolTip { background-color: #7F7F7F; border: 1px solid #696968; @@ -212,16 +212,16 @@ Resetting everything helps to unify styles across different operating systems /* Reducing transparency to read better */ opacity: 230; } - + QStatusBar QLabel { /* Fixes Spyder #9120, #9121 */ background: transparent; } - + /* QCheckBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox - + --------------------------------------------------------------------------- */ QCheckBox { color: white; @@ -230,73 +230,73 @@ Resetting everything helps to unify styles across different operating systems border: 1px solid transparent; background-color: transparent; } - + QCheckBox:focus { border: 1px solid #3f7cff; } - + QCheckBox QWidget:disabled { background-color: transparent; color: #c2c7cb; } - + QCheckBox::indicator { color: white; background-color: #505050; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QCheckBox::indicator:unchecked { background-color: #505050; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed { background-color: #4882ff; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QCheckBox::indicator:unchecked:disabled { background-color: #7F7F7F; image:url(qss:images_dark-light/checkbox_unchecked_disabled.svg); } - + QCheckBox::indicator:checked { background-color: #505050; /*border: 1px solid #696968; /* QRadioButton has the same color */ image:url(qss:images_dark-light/checkbox_light.svg); } - - QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { + + QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #4882ff; } - + QCheckBox::indicator:checked:disabled { background-color: #7F7F7F; image: url(qss:images_dark-light/check_light.svg); } - + QCheckBox::indicator:indeterminate { background-color: #505050; border: 1px solid #696968; image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QCheckBox::indicator:indeterminate:disabled { background-color: #7F7F7F; image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed { background-color: #4882ff; /* QRadioButton has the same color */ } - + /* QGroupBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox - + --------------------------------------------------------------------------- */ QGroupBox { font-weight: bold; @@ -306,7 +306,7 @@ Resetting everything helps to unify styles across different operating systems margin-top: 10px; margin-bottom: 4px; } - + QGroupBox::title { subcontrol-origin: margin; subcontrol-position: top left; @@ -315,7 +315,7 @@ Resetting everything helps to unify styles across different operating systems padding-right: 4px; padding-top: 6px; } - + QGroupBox::indicator { color: white; background-color: #3c3c3c; @@ -324,39 +324,39 @@ Resetting everything helps to unify styles across different operating systems height: 12px; border-radius:1px; } - + QGroupBox::indicator:unchecked { background-color: #696968; border: 1px solid #696968; image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed { background-color: #4882ff; } - + QGroupBox::indicator:unchecked:disabled { background-color: #505050; border: 1px solid #696968; } - + QGroupBox::indicator:checked { border: none; image:url(qss:images_dark-light/checkbox_light.svg); } - + QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed { background-color: #4882ff; } - + QGroupBox::indicator:checked:disabled { background-color: #4882ff; } - + /* QRadioButton ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton - + --------------------------------------------------------------------------- */ QRadioButton { background-color: transparent; @@ -367,16 +367,16 @@ Resetting everything helps to unify styles across different operating systems padding-bottom: 4px; outline: none; } - + QRadioButton:focus { border: 1px solid #3f7cff; } - + QRadioButton:disabled { background-color: #696968; color: #353535; } - + QRadioButton QWidget { background-color: transparent; color: White; @@ -385,7 +385,7 @@ Resetting everything helps to unify styles across different operating systems outline: none; border: none; } - + QRadioButton::indicator { background-color: #3c3c3c; border: 1px solid #696968; @@ -394,43 +394,43 @@ Resetting everything helps to unify styles across different operating systems height: 11px; width: 11px; } - + QRadioButton::indicator:unchecked { /*image:url(qss:images_dark-light/radiobutton_light.svg);*/ } - + QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed { background-color: #4882ff; border: 1px solid #4882ff; border-radius: 6px; } - + QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ border: 1px solid #696968; } - + QRadioButton::indicator:checked { image:url(qss:images_dark-light/radiobutton_light.svg); } - + QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed { background-color: #4882ff; border: 1px solid #4882ff; border-radius: 6px; image:url(qss:images_dark-light/radiobutton_light.svg); } - + QRadioButton::indicator:checked:disabled { outline: none; background-color: #696968; image:url(qss:images_dark-light/radiobutton_dark.svg); } - + /* QMenuBar --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar - + --------------------------------------------------------------------------- */ QMenuBar { background-color: #505050; @@ -439,11 +439,11 @@ Resetting everything helps to unify styles across different operating systems color: White; selection-background-color: #4882ff; } - + QMenuBar:focus { border: 1px solid #3f7cff; } - + QMenuBar::item { background: transparent; /*padding-left:5px; @@ -451,13 +451,13 @@ Resetting everything helps to unify styles across different operating systems padding-bottom: 1px; padding-top: 1px;*/ } - + QMenuBar::item:selected { background: transparent; border: 0px solid #696968; background-color: #4882ff; } - + QMenuBar::item:pressed { /*padding: 2px; padding-left: 10px; @@ -468,11 +468,11 @@ Resetting everything helps to unify styles across different operating systems /*margin-bottom: 0px; padding-bottom: 0px;*/ } - + /* QMenu ------------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu - + --------------------------------------------------------------------------- */ QMenu { border-bottom: 2px rgba(0,0,0,140); @@ -482,36 +482,36 @@ Resetting everything helps to unify styles across different operating systems background-color: #505050; selection-background-color: #4882ff; } - + QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; } - + QMenu::item { background-color: transparent; padding: 2px 2px; /* make room for icon at left */ /* Reserve space for selection border */ border: 0px transparent #696968; } - + QMenu::item:selected { color: White; background-color: #4882ff; } - + QMenu::item:pressed { background-color: #4882ff; } - + QMenu::icon { margin-left: 5px; width: 14px; height: 14px; } - + QMenu::indicator { margin-left: 2px; margin-right: 2px; @@ -521,7 +521,7 @@ Resetting everything helps to unify styles across different operating systems /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ } - + QMenu::icon:checked { /* appearance of a 'checked' icon */ background: #3f7cff; margin-left: -5px; @@ -532,74 +532,74 @@ Resetting everything helps to unify styles across different operating systems QMenu::indicator:non-exclusive:unchecked { image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; background: #4882ff; } - + QMenu::indicator:non-exclusive:unchecked:disabled { image: url(qss:images_dark-light/checkbox_unchecked_disabled.svg); } - + QMenu::indicator:non-exclusive:checked { image:url(qss:images_dark-light/checkbox_light.svg); } - + QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed { border: none; background: #4882ff; } - + QMenu::indicator:non-exclusive:checked:disabled { image:url(qss:images_dark-light/checkbox_checked_disabled.svg); } - + QMenu::indicator:non-exclusive:indeterminate { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QMenu::indicator:non-exclusive:indeterminate:disabled { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QMenu::indicator:non-exclusive:indeterminate:focus, QMenu::indicator:non-exclusive:indeterminate:hover, QMenu::indicator:non-exclusive:indeterminate:pressed { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QMenu::indicator:exclusive:unchecked { image: url(qss:images_dark-light/transparent.svg); } - + QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed { border: none; outline: none; background: #4882ff; image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:exclusive:unchecked:disabled { image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:exclusive:checked { border: none; outline: none; image: url(qss:images_dark-light/radiobutton_light.svg); } - + QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed { border: none; outline: none; background: #4882ff; image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:exclusive:checked:disabled { outline: none; image: url(qss:images_dark-light/radiobutton_light.svg); } - + QMenu::right-arrow { margin: 5px; padding-left: 12px; @@ -608,11 +608,11 @@ Resetting everything helps to unify styles across different operating systems width: 12px; background-color: transparent; } - + /* QAbstractItemView ------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox - + --------------------------------------------------------------------------- */ QAbstractItemView { alternate-background-color: #5b5b5b; @@ -620,15 +620,15 @@ Resetting everything helps to unify styles across different operating systems border: 1px solid #696968; border-radius: 2px; } - + QAbstractItemView QLineEdit { padding: 2px; } - + /* QAbstractScrollArea ---------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea - + --------------------------------------------------------------------------- */ QAbstractScrollArea { background-color: transparent; @@ -639,23 +639,23 @@ Resetting everything helps to unify styles across different operating systems /* remove min-height to fix #244 */ color: White; } - + QAbstractScrollArea:disabled { color: #353535; } - + /* QScrollArea ------------------------------------------------------------ - - --------------------------------------------------------------------------- + + --------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #7F7F7F; } - + /* QScrollBar ------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar - + --------------------------------------------------------------------------- */ QScrollBar:horizontal { height: 16px; @@ -664,7 +664,7 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; background-color: #7F7F7F; } - + QScrollBar:vertical { background-color: #7F7F7F; width: 16px; @@ -672,43 +672,43 @@ Resetting everything helps to unify styles across different operating systems border: 0px solid #696968; border-radius: 1.9px; } - + QScrollBar::handle:horizontal { background-color: #696969; border: 1px solid #7F7F7F; border-radius: 4px; min-width: 8px; } - + QScrollBar::handle:horizontal:hover { background-color: #4882ff; border: #696968; border-radius: 4px; min-width: 8px; } - + QScrollBar::handle:horizontal:focus { border: 1px solid #3f7cff; } - + QScrollBar::handle:vertical { background-color: #696969; border: 1px solid #696968; min-height: 8px; border-radius: 4px; } - + QScrollBar::handle:vertical:hover { background-color: #4882ff; border: #696968; border-radius: 4px; min-height: 8px; } - + QScrollBar::handle:vertical:focus { border: 1px solid #3f7cff; } - + QScrollBar::add-line:horizontal { border-image: url(qss:images_dark-light/right_arrow_light.svg); height: 9px; @@ -716,7 +716,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: right; subcontrol-origin: margin; } - + QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on { border-image: url(qss:images_dark-light/right_arrow_lighter.svg); height: 9px; @@ -724,7 +724,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: right; subcontrol-origin: margin; } - + QScrollBar::add-line:vertical { border-image: url(qss:images_dark-light/down_arrow_light.svg); height: 5px; @@ -732,7 +732,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: bottom; subcontrol-origin: margin; } - + QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on { border-image: url(qss:images_dark-light/down_arrow_lighter.svg); height: 5px; @@ -740,7 +740,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: bottom; subcontrol-origin: margin; } - + QScrollBar::sub-line:horizontal { margin: 0px 0px 0px 0px; border-image: url(qss:images_dark-light/left_arrow_light.svg); @@ -749,7 +749,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: left; subcontrol-origin: margin; } - + QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on { border-image: url(qss:images_dark-light/left_arrow_lighter.svg); height: 9px; @@ -757,7 +757,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: left; subcontrol-origin: margin; } - + QScrollBar::sub-line:vertical { margin: 0px 0px 0px 0px; border-image: url(qss:images_dark-light/up_arrow_light.svg); @@ -766,7 +766,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: top; subcontrol-origin: margin; } - + QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on { background-color: #4882ff; border-image: url(qss:images_dark-light/up_arrow_lighter.svg); @@ -775,28 +775,28 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: top; subcontrol-origin: margin; } - + QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal { background: none; } - + QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical { background: none; } - + QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { background: none; } - + QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: none; } - + /* QTextEdit -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets - - + + report view --------------------------------------------------------------------------- */ QTextEdit { @@ -805,16 +805,16 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; border: 0px solid #696968; } - + QTextEdit:focus { border: 1px solid #3f7cff; } - + QTextEdit:selected { background: #346792; color: white; } - + /* QPlainTextEdit --------------------------------------------------------- Python --------------------------------------------------------------------------- */ @@ -824,20 +824,20 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; border: 0px solid #696968; } - + QPlainTextEdit:focus { border: 1px solid #3f7cff; } - + QPlainTextEdit:selected { background: #4882ff; color: White; } - + /* QSizeGrip -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip - + --------------------------------------------------------------------------- */ QSizeGrip { background: transparent; @@ -845,19 +845,19 @@ Resetting everything helps to unify styles across different operating systems height: 12px; image:url(qss:images_dark-light/sizegrip_light.svg); } - + /* QStackedWidget --------------------------------------------------------- - + --------------------------------------------------------------------------- */ QStackedWidget { padding: 0px; border: 0px solid #696968; } - + /* QToolBar --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar - + --------------------------------------------------------------------------- */ QToolBar { background-color: #7F7F7F; @@ -866,12 +866,12 @@ Resetting everything helps to unify styles across different operating systems font-weight: bold; spacing: 1px; } - + QToolBar:disabled { /* Fixes #272 */ background-color: #7F7F7F; } - + QToolBar::handle:horizontal { width: 8px; margin: 3px 3px; @@ -879,7 +879,7 @@ Resetting everything helps to unify styles across different operating systems background-repeat: repeat-y; background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg); } - + QToolBar::handle:vertical { height: 8px; margin: 3px 3px; @@ -887,19 +887,19 @@ Resetting everything helps to unify styles across different operating systems background-repeat: repeat-x; background-image: url(qss:images_dark-light/Vmovetoolbar_light.svg); } - + QToolBar::separator:horizontal { width: 2px; margin: 4px 4px; background-color: transparent; } - + QToolBar::separator:vertical { height: 2px; margin: 4px 4px; background-color: transparent; } - + /*The "show more" button (it can also be stylable with "QToolBarExtension" icon is not working Qproperty works but breaks when you move the toolbar see also */ QToolButton#qt_toolbar_ext_button { margin: 0px; @@ -909,21 +909,21 @@ Resetting everything helps to unify styles across different operating systems background-repeat: none; background-position: center center; } - + QToolButton#qt_toolbar_ext_button:hover { /*background-image: url(qss:images_dark-light/more_light.svg);*/ background-color: #4882ff; } - + QToolButton#qt_toolbar_ext_button:on { /*background-image: url(qss:images_dark-light/more_light.svg);*/ border-color: #696968; background-color: #4882ff; } - - + + /* QAbstractSpinBox ------------------------------------------------------- - + --------------------------------------------------------------------------- */ QAbstractSpinBox, QSpinBox { @@ -940,7 +940,7 @@ Resetting everything helps to unify styles across different operating systems min-height: 1.7em; /* min-width: 5px; removed to fix 109 */ } - + QAbstractSpinBox:up-button { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #676767, stop:1 #505051); subcontrol-origin: border; @@ -952,17 +952,17 @@ Resetting everything helps to unify styles across different operating systems /*width: 12px; /*margin-bottom: -1px;*/ } - + QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off { image: url(qss:images_dark-light/up_arrow_disabled_light.svg); /* height: 8px; width: 8px;*/ } - + QAbstractSpinBox::up-arrow:hover { image: url(qss:images_dark-light/up_arrow_lighter.svg); } - + QAbstractSpinBox:down-button { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #676767, stop:1 #505051); subcontrol-origin: border; @@ -974,38 +974,38 @@ Resetting everything helps to unify styles across different operating systems /*width: 12px; /*margin-top: -1px;*/ } - + QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off { image: url(qss:images_dark-light/down_arrow_disabled_light.svg); /*height: 8px; width: 8px;*/ } - + QAbstractSpinBox::down-arrow:hover { image: url(qss:images_dark-light/down_arrow_lighter.svg); } - + QAbstractSpinBox:hover { /*border: 1px solid #4882ff; color: White;*/ } - + QAbstractSpinBox:focus { border: 1px solid #3f7cff; } - + QAbstractSpinBox:selected { background: #3f7cff; /*color: White;*/ } - + /* ------------------------------------------------------------------------ */ /* DISPLAYS --------------------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QLabel ----------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe - + --------------------------------------------------------------------------- */ QLabel { background-color: transparent; @@ -1014,22 +1014,22 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; color: White; } - + QLabel:disabled { background-color: transparent; border: 0px solid #696968; color: #c2c7cb; } - + QLabel[haslink="true"] { color: orange; } - - + + /* QTextBrowser ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea - + --------------------------------------------------------------------------- */ QTextBrowser { background-color: #505050; @@ -1037,20 +1037,20 @@ Resetting everything helps to unify styles across different operating systems color: White; border-radius: 1.9px; } - + QTextBrowser:disabled { background-color: #7F7F7F; border: 1px solid #696968; color: #c2c7cb; border-radius: 1.9px; } - + QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed { border: 1px solid #4882ff; } - + /* QGraphicsView ---------------------------------------------------------- - + --------------------------------------------------------------------------- */ QGraphicsView { background-color: transparent; @@ -1058,48 +1058,48 @@ Resetting everything helps to unify styles across different operating systems color: White; border-radius: 0px; } - + QGraphicsView:disabled { background-color: #505050; border: 0px solid #696968; color: #c2c7cb; border-radius: 0px; } - + QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed { border: 0px solid #ff00f7; } - + /* QCalendarWidget -------------------------------------------------------- - + --------------------------------------------------------------------------- */ QCalendarWidget { border: 1px solid #696968; border-radius: 1.9px; } - + QCalendarWidget:disabled { background-color: #353535; color: #c2c7cb; } - + /* QLCDNumber ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QLCDNumber { background-color: #1aff00; color: White; } - + QLCDNumber:disabled { background-color: #7F7F7F; color: #c2c7cb; } - + /* QProgressBar ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar - + --------------------------------------------------------------------------- */ QProgressBar { background-color: #c2c7cb; @@ -1108,7 +1108,7 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; text-align: center; } - + QProgressBar:disabled { background-color: #505050; border: 1px solid #696968; @@ -1116,26 +1116,26 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; text-align: center; } - + QProgressBar::chunk { background-color: #4882ff; color: #7F7F7F; border-radius: 1.9px; } - + QProgressBar::chunk:disabled { background-color: #505050; color: #696968; border-radius: 1.9px; } - + /* ------------------------------------------------------------------------ */ /* BUTTONS ---------------------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QPushButton ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton - + --------------------------------------------------------------------------- */ QPushButton { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #676767, stop:1 #505051); @@ -1145,57 +1145,57 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; padding: 2px; } - + QPushButton:disabled { background-color: #7F7F7F; color: #c2c7cb; } - + QPushButton:checked { background-color: #4882ff; outline: none; } - + QPushButton:checked:disabled { background-color: #4882ff; color: #3c3c3c; outline: none; } - + QPushButton:checked:selected { background: #4882ff; } - + QPushButton:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4882ff, stop:1 #3f7cff); color: White; } - + QPushButton:pressed { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #3f7cff, stop:1 #4882ff); } - + QPushButton:selected { background: #3f7cff; color: White; } - + QPushButton::menu-indicator { subcontrol-origin: padding; subcontrol-position: bottom right; bottom: 4px; } - + QDialogButtonBox QPushButton { /* Issue # 194 # 248 - Special case of QPushButton inside dialogs, for better UI */ min-width: 80px; } - + /* QToolButton ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton - + --------------------------------------------------------------------------- */ QToolButton { background-color: transparent; @@ -1208,21 +1208,21 @@ Resetting everything helps to unify styles across different operating systems /* The subcontrols below are used only in the MenuButtonPopup mode */ /* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */ } - + QToolButton:disabled { background-color: rgba(0, 0, 0, 0.065); color: #c2c7cb; border-radius: 1px; padding: 0px; } - + QToolButton:checked { background-color: #4882ff; border-radius: 1.9px; padding: 0px; outline: none; } - + QToolButton:checked:disabled { background-color: #b65555; color: #c2c7cb; @@ -1230,40 +1230,40 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; outline: none; } - + QToolButton:checked:hover { background-color: #4882ff; color: White; } - + QToolButton:checked:pressed { background-color: #4882ff; } - + QToolButton:checked:selected { background: #3f7cff; color: White; } - + QToolButton:hover { background-color: #4882ff; color: White; } - + QToolButton:pressed { background-color: #3f7cff; } - + QToolButton:selected { background: #4882ff; color: White; } - + QToolButton[popupMode="0"] { /* Only for DelayedPopup */ padding-right: 20px; } - + QToolButton[popupMode="1"] { /* Only for MenuButtonPopup */ padding-right: 20px; @@ -1271,7 +1271,7 @@ Resetting everything helps to unify styles across different operating systems QToolButton[popupMode="0"]::menu-button { border: none; } - + QToolButton[popupMode="0"]::menu-button:hover { border: none; border-left: 2px solid #fe0000; @@ -1280,18 +1280,18 @@ Resetting everything helps to unify styles across different operating systems QToolButton[popupMode="1"]::menu-button { border: none; } - + QToolButton[popupMode="1"]::menu-button:hover { border: none; border-left: 2px solid #e5ff00; border-radius: 0px; } - + QToolButton[popupMode="2"] { /* Only for InstantPopup */ padding-right: 20px; } - + QToolButton::menu-button { border-bottom: 0px solid #ffffff; border-radius: 2px; @@ -1301,22 +1301,22 @@ Resetting everything helps to unify styles across different operating systems border-radius: 2px; border: 0px #000000; } - + QToolButton::menu-button:hover { /* background: rgba(0, 0, 0, 0.5);*/ - + } - + QToolButton::menu-button:checked:hover { /* background: rgba(0, 0, 0, 0.5);*/ } - + QToolButton::menu-indicator { /* Exclude a shift for better image */ subcontrol-position: right bottom; /* Shift it a bit */ } - + QToolButton::menu-arrow { image: url(qss:images_dark-light/more_arrow_light.svg); width: 1.5ex; @@ -1333,9 +1333,9 @@ Resetting everything helps to unify styles across different operating systems background-color: rgba(0, 0, 0, 0.498); border: 1px solid rgba(0, 0, 0, 0.498); } - + /* QCommandLinkButton ----------------------------------------------------- - + --------------------------------------------------------------------------- */ QCommandLinkButton { background-color: transparent; @@ -1345,19 +1345,19 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QCommandLinkButton:disabled { background-color: transparent; color: #c2c7cb; } - + /* ------------------------------------------------------------------------ */ /* INPUTS - NO FIELDS ----------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QComboBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox - + --------------------------------------------------------------------------- */ QComboBox { border: 1px solid transparent; @@ -1384,39 +1384,39 @@ Resetting everything helps to unify styles across different operating systems background-color: #505050; selection-background-color: #4882ff; } - + QComboBox QAbstractItemView:hover { background-color:#505050; color: White; } - + QComboBox QAbstractItemView:selected { background: #4882ff; color: White; } - + QComboBox QAbstractItemView:alternate { background: #3c3c3c; } - + QComboBox:disabled { background-color: #7F7F7F; color: #353535; } - + QComboBox:hover { /*background-color: #4882ff;*/ border: 1px solid #4882ff; } - + QComboBox:focus { border: 1px solid #3f7cff; } - + QComboBox:on { selection-background-color: #3f7cff; } - + QComboBox::indicator { border: none; border-radius: 0px; @@ -1426,27 +1426,27 @@ Resetting everything helps to unify styles across different operating systems selection-color: #4882ff; /* Needed to remove indicator - fix #132 */ } - + QComboBox::indicator:alternate { background: #696968; } - + QComboBox::item { /* Remove to fix #282, #285 and MR #288*/ /*&:checked { font-weight: bold; } - + &:selected { border: 0px solid transparent; } */ } - + QComboBox::item:alternate { background: #3c3c3c; } - + QComboBox::drop-down { subcontrol-origin: padding; background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #676767, stop:1 #505051); @@ -1457,18 +1457,18 @@ Resetting everything helps to unify styles across different operating systems QComboBox::drop-down:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4882ff, stop:1 #3f7cff); } - + QComboBox::down-arrow { image: url(qss:images_dark-light/down_arrow_disabled_light.svg); height: 10px; width: 10px; } - + QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus { image: url(qss:images_dark-light/down_arrow_lighter.svg); } - - + + /*================================================================================================== Tasks panel (custom FreeCAD class) ==================================================================================================*/ @@ -1476,20 +1476,20 @@ Resetting everything helps to unify styles across different operating systems qproperty-groupTextColor: white; qproperty-groupBackground: #3c3c3c; border: 0px solid #696968; - + } - + /* Action group */ QFrame[class="panel"] { background-color: transparent; /* temporal (transparent background) */ - + } - + QSint--ActionGroup { padding: 0px; /* if not reset, it might create problems with QPushButtons and other elements */ margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */ } - + /* Separator line */ QSint--ActionGroup QFrame[height="1"], QSint--ActionGroup QFrame[height="2"], @@ -1499,7 +1499,7 @@ Resetting everything helps to unify styles across different operating systems QSint--ActionGroup QFrame[width="3"] { border-color: rgba(0,0,0,60); } - + /* Panel header */ QSint--ActionGroup QFrame[class="header"] { border-top: 1px solid #696968; @@ -1513,11 +1513,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + QSint--ActionGroup QFrame[class="header"]:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4882ff, stop:1 #3f7cff); } - + QSint--ActionGroup QToolButton[class="header"] { color: white; /* Task Panel Header text color */ text-align: left; @@ -1526,7 +1526,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel { background-color: transparent; background-image: url(qss:images_dark-light/down_arrow_light.svg); @@ -1535,12 +1535,12 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel:hover { background-color: transparent; background-image: url(qss:images_dark-light/down_arrow_lighter.svg); } - + QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"] { background-color: transparent; background-image: url(qss:images_dark-light/up_arrow_light.svg); @@ -1549,12 +1549,12 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"]:hover { background-color: transparent; background-image: url(qss:images_dark-light/up_arrow_lighter.svg); } - + QSint--ActionGroup QFrame[class="content"] { background-color: transparent; /* Task Panel background color */ margin: 0px; @@ -1567,43 +1567,43 @@ Resetting everything helps to unify styles across different operating systems border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } - + QSint--ActionGroup QFrame[class="content"] > QWidget { background-color: #7F7F7F; /* Task Panel background color */ } - + /* Fixs for tabs inside Task Panel */ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected { border-bottom-color: #4882ff; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected { border-top-color: #4882ff; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected { border-right-color: #4882ff; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected { border-left-color: #4882ff; /* same as Task Panel background color */ } - + /* Fix for buttons with icons that showed cropped (still not happy with result) */ QSint--ActionGroup QFrame[class="content"] > QWidget > QPushButton { padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } - - /* Fix for lists inside task panels */ /* sketcher constraints list */ + + /* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { color: white; background-color: #505050; } - - + + /* found inside Part Design Workbench and "make a draft on a face" Task panel options */ QSint--ActionGroup QFrame[class="content"] QToolButton { color: white; @@ -1615,7 +1615,7 @@ Resetting everything helps to unify styles across different operating systems min-height: 16px; /* same as QTabBar QPushButton min-width */ border-radius: 1px; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:hover{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4882ff, stop:1 #3f7cff); @@ -1623,31 +1623,31 @@ Resetting everything helps to unify styles across different operating systems QSint--ActionGroup QFrame[class="content"] QToolButton:focus { border: 1px solid #3f7cff; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:disabled, QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked { color: #696969; background-color: #505050; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:pressed { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4882ff, stop:1 #3f7cff); } - + /* QSlider ---------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider - + --------------------------------------------------------------------------- */ QSlider:disabled { background: #7F7F7F; } - + QSlider:focus { border: 1px solid #3f7cff; } - + QSlider::groove:horizontal { background: #7F7F7F; border: 1px solid #696968; @@ -1655,7 +1655,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::groove:vertical { background: #4882ff; border: 1px solid #696968; @@ -1663,7 +1663,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::add-page:vertical { background: #4882ff; border: 1px solid #696968; @@ -1671,11 +1671,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::add-page:vertical :disabled { background: #696968; } - + QSlider::sub-page:horizontal { background: #4882ff; border: 1px solid #0073ff; @@ -1683,11 +1683,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::sub-page:horizontal:disabled { background: #4882ff; } - + QSlider::handle:horizontal { background: #353535; border: 1px solid #7F7F7F; @@ -1696,16 +1696,16 @@ Resetting everything helps to unify styles across different operating systems margin: -8px 0px; border-radius: 1.9px; } - + QSlider::handle:horizontal:hover { background: #4882ff; border: 1px solid #4882ff; } - + QSlider::handle:horizontal:focus { border: 1px solid #3f7cff; } - + QSlider::handle:vertical { background: #c2c7cb; border: 1px solid #696968; @@ -1714,20 +1714,20 @@ Resetting everything helps to unify styles across different operating systems margin: 0 -8px; border-radius: 1.9px; } - + QSlider::handle:vertical:hover { background: #4882ff; border: 2px solid #4882ff; } - + QSlider::handle:vertical:focus { border: 1px solid #3f7cff; } - + /* QLineEdit -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit - + --------------------------------------------------------------------------- */ QLineEdit { background-color: #505050; @@ -1742,133 +1742,133 @@ Resetting everything helps to unify styles across different operating systems border-radius: 2px; color: White; } - + QLineEdit:disabled { background-color: #7F7F7F; color: #c2c7cb; } - + QLineEdit:hover { border: 1px solid #4882ff; color: White; } - + QLineEdit:focus { border: 2px solid #3f7cff; } - + QLineEdit:selected { background-color: #4882ff; color: white; } - + /* QTabWiget -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar - + --------------------------------------------------------------------------- */ QTabWidget { padding: 2px; selection-background-color: #4882ff; } - + QTabWidget QWidget { /* Fixes #189 */ border-radius: 1.9px; } - + QTabWidget::pane { margin: 0px; /* Fixes double border inside pane with pyqt5 */ padding: 0px; } - + QTabWidget::pane:selected { background-color: #4882ff; border: 1px solid #346792; } /* QTabBar ---------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar - + --------------------------------------------------------------------------- */ QTabBar, QDockWidget QTabBar { qproperty-drawBase: 0; /* left: 5px; move to the right by 5px - removed for fix */ } - + QTabBar::close-button, QDockWidget QTabBar::close-button { border: 0; margin: 0; padding: 1px; image: url(qss:images_dark-light/close_light.svg); } - + QTabBar::close-button:hover, QDockWidget QTabBar::close-button:hover { image: url(qss:images_dark-light/close_red.svg); /*background-color: rgba(255, 0, 0, 0.3);*/ } - + QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed { image: url(qss:images_dark-light/close_.svg); } - + QTabBar::tab, QDockWidget QTabBar::tab { /* !selected and disabled ----------------------------------------- */ /* selected ------------------------------------------------------- */ padding: 4px; } - + QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled { color: #f5f5f5; } - + QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled { color: #f5f5f5; } - + QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled { color: #f5f5f5; } - + QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled { color: #f5f5f5; } - + QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled { color: #f5f5f5; } - + QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled { color: #f5f5f5; } - + QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled { color: #f5f5f5; } - + QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled { color: #f5f5f5; } - + QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected { color: #f5f5f5; } - + QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected { color: #f5f5f5; } - + QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected { color: #f5f5f5; } - + QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected { color: #f5f5f5; } - + QTabBar::tab:top, QDockWidget QTabBar::tab:top { color: #f5f5f5; margin-left: 0px; @@ -1880,15 +1880,15 @@ Resetting everything helps to unify styles across different operating systems border-bottom: 1px solid #696969; /* same as tab content background color */ border-radius: 0px; } - + QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #4882ff; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } - + QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { /*border: 1px solid #4882ff;*/ border: 0px solid #4882ff; @@ -1897,7 +1897,7 @@ Resetting everything helps to unify styles across different operating systems padding-left: 3px; padding-right: 3px; } - + QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom { color: #f5f5f5; margin-left: 0px; @@ -1909,16 +1909,16 @@ Resetting everything helps to unify styles across different operating systems border-top: 1px solid #696969; /* same as tab content background color */ border-radius: 0px; } - + QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #4882ff; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; - + border-left: 1px solid #696969; + border-right: 1px solid #696969; + } - + QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover { /*border: 1px solid #4882ff;*/ border: 0px solid #4882ff; @@ -1927,7 +1927,7 @@ Resetting everything helps to unify styles across different operating systems padding-left: 3px; padding-right: 3px; } - + QTabBar::tab:left, QDockWidget QTabBar::tab:left { background-color: #7F7F7F; margin-top: 2px; @@ -1938,12 +1938,12 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; min-height: 5px; } - + QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected { background-color: #7F7F7F; border: 0px solid #3f7cff; } - + QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover { border: 0px solid #4882ff; background-color: #4882ff; @@ -1951,7 +1951,7 @@ Resetting everything helps to unify styles across different operating systems margin-right: 0px; padding-right: -1px; } - + QTabBar::tab:right, QDockWidget QTabBar::tab:right { background-color: #7F7F7F; margin-top: 2px; @@ -1962,12 +1962,12 @@ Resetting everything helps to unify styles across different operating systems min-height: 5px; border: 10px; } - + QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected { background-color: #7F7F7F; border: 0px solid #3f7cff; } - + QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover { border: 0px solid #4882ff; background-color: #4882ff; @@ -1975,42 +1975,42 @@ Resetting everything helps to unify styles across different operating systems margin-left: 0px; padding-left: 0px; } - + QTabBar QToolButton, QDockWidget QTabBar QToolButton { /* Fixes #136 */ background-color: #7F7F7F; height: 12px; width: 12px; } - + QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed { border: 0px solid #4882ff; background-color: #4882ff; } - + QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover { border: 0px solid #4882ff; background-color: #4882ff; } - + QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled { image: url(qss:images_dark-light/left_arrow_lighter.svg); } - + QTabBar QToolButton::left-arrow:disabled, QDockWidget QTabBar QToolButton::left-arrow:disabled { image: url(qss:images_dark-light/left_arrow_disabled_light.svg); } - + QTabBar QToolButton::right-arrow:enabled, QDockWidget QTabBar QToolButton::right-arrow:enabled { image: url(qss:images_dark-light/right_arrow_lighter.svg); } - + QTabBar QToolButton::right-arrow:disabled, QDockWidget QTabBar QToolButton::right-arrow:disabled { image: url(qss:images_dark-light/right_arrow_disabled_light.svg); } - + /* QDockWiget ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QDockWidget { background-color: #7F7F7F; @@ -2019,7 +2019,7 @@ Resetting everything helps to unify styles across different operating systems titlebar-close-icon: url(qss:images_dark-light/transparent.svg); titlebar-normal-icon: url(qss:images_dark-light/transparent.svg); } - + QDockWidget::title { /* Better size for title bar */ padding: 3px; @@ -2029,7 +2029,7 @@ Resetting everything helps to unify styles across different operating systems text-align: center; font-weight: bold; } - + QDockWidget::close-button { icon-size: 10px; border: none; @@ -2040,15 +2040,15 @@ Resetting everything helps to unify styles across different operating systems padding: 0; image: url(qss:images_dark-light/close_light.svg); } - - QDockWidget::close-button:hover { + + QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } - + QDockWidget::close-button:pressed { image: url(qss:images_dark-light/close_light.svg); } - + QDockWidget::float-button { icon-size: 12px; border: none; @@ -2059,62 +2059,62 @@ Resetting everything helps to unify styles across different operating systems padding: 0; image: url(qss:images_dark-light/undock_light.svg); } - + QDockWidget::float-button:hover { /*background-color: #4882ff;*/ image: url(qss:images_dark-light/undock_blue.svg); } - + QDockWidget::float-button:pressed { image: url(qss:images_dark-light/undock_light.svg); } - + /* QTreeView QListView QTableView ----------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview - + --------------------------------------------------------------------------- */ QTreeView::branch { background: transparent; } - + QTreeView::branch:has-siblings:!adjoins-item { border-image: url(qss:images_dark-light/branch_vline_light.svg) 0; } - + QTreeView::branch:has-siblings:adjoins-item { border-image: url(qss:images_dark-light/branch_more_light.svg) 0; } - + QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(qss:images_dark-light/branch_end_light.svg) 0; } - + QTreeView::branch:closed:has-children:has-siblings { border-image: url(qss:images_dark-light/branch_more_closed_light.svg) 0; } - + QTreeView::branch:has-children:!has-siblings:closed { border-image: url(qss:images_dark-light/branch_end_closed_light.svg) 0; } - + QTreeView::branch:open:has-children:has-siblings { border-image: url(qss:images_dark-light/branch_more_open_light.svg) 0; } - + QTreeView::branch:open:has-children:!has-siblings { border-image: url(qss:images_dark-light/branch_end_open_light.svg) 0; } - + QTreeView::indicator:checked, QListView::indicator:checked, QTableView::indicator:checked, QColumnView::indicator:checked { image: url(qss:images_dark-light/checkbox_light.svg); } - + QTreeView::indicator:checked:hover, QTreeView::indicator:checked:focus, QTreeView::indicator:checked:pressed, QListView::indicator:checked:hover, QListView::indicator:checked:focus, @@ -2127,14 +2127,14 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:checked:pressed { image: url(qss:images_dark-light/checkbox_light_hover.svg); } - + QTreeView::indicator:unchecked, QListView::indicator:unchecked, QTableView::indicator:unchecked, QColumnView::indicator:unchecked { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:focus, QTreeView::indicator:unchecked:pressed, QListView::indicator:unchecked:hover, QListView::indicator:unchecked:focus, @@ -2147,14 +2147,14 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:unchecked:pressed { image: url(qss:images_dark-light/checkbox_unchecked_hover_light.svg); } - + QTreeView::indicator:indeterminate, QListView::indicator:indeterminate, QTableView::indicator:indeterminate, QColumnView::indicator:indeterminate { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:focus, QTreeView::indicator:indeterminate:pressed, QListView::indicator:indeterminate:hover, QListView::indicator:indeterminate:focus, @@ -2167,7 +2167,7 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:indeterminate:pressed { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QTreeView, QListView, QTableView, @@ -2178,7 +2178,7 @@ Resetting everything helps to unify styles across different operating systems gridline-color: #696968; border-radius: 0px; } - + QTableView, QListView { background-color: rgba(0, 0, 0, 0.232); /* background of a lot of stuff including spreadsheets.*/ @@ -2192,7 +2192,7 @@ QListView { background-color: #505050; color: #c2c7cb; } - + QTreeView:selected, QListView:selected, QTableView:selected, @@ -2200,28 +2200,28 @@ QListView { background-color: #4882ff; color: White; } - + QTreeView:focus, QListView:focus, QTableView:focus, QColumnView:focus { border: 1px solid #3f7cff; } - + QTreeView::item:pressed, QListView::item:pressed, QTableView::item:pressed, QColumnView::item:pressed { background-color: #4882ff; } - + QTreeView::item:selected:active, QListView::item:selected:active, QTableView::item:selected:active, QColumnView::item:selected:active { background-color: #4882ff; } - + QTreeView::item:selected:!active, QListView::item:selected:!active, QTableView::item:selected:!active, @@ -2229,7 +2229,7 @@ QListView { color: White; background-color: #353535; } - + QTreeView::item:!selected:hover, QListView::item:!selected:hover, QTableView::item:!selected:hover, @@ -2238,13 +2238,13 @@ QListView { color: White; background-color: #4882ff; } - + QTableCornerButton::section { background-color: #7F7F7F; border: 1px transparent #696968; border-radius: 0px; } - + QTableView::item { color: white; } @@ -2252,22 +2252,22 @@ QListView { /*qproperty-AliasedCellBackgroundColor: #f700ff;*/ /*qproperty-aliasBgColor: #f700ff;*/ } - + /* QHeaderView ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview - + --------------------------------------------------------------------------- */ QHeaderView { background-color: transparent; text-align: center; } - + QHeaderView:disabled { background-color: #7f7f7f; color: rgb(174, 174, 174); } - + QHeaderView::section { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #676767, stop:1 #505051); color: White; @@ -2275,22 +2275,22 @@ QListView { font-size: 13px; font-weight: bold; } - + QHeaderView::section::horizontal { padding-top: 1px; padding-bottom: 1px; padding-left: 5px; padding-right: 0px; } - + QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one { border-left: 0px solid #696968; } - + QHeaderView::section::horizontal:disabled { color: #353535; } - + QHeaderView::section::vertical { padding-top: 1px; padding-bottom: 0; @@ -2298,15 +2298,15 @@ QListView { padding-right: 0px; border-top: 0px solid #696968; } - + QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one { border-top: 2px solid #505051; } - + QHeaderView::section::vertical:disabled { border-top: 2px solid #505051; } - + QHeaderView::down-arrow { /* Those settings (border/width/height/background-color) solve bug */ /* transparent arrow background and size */ @@ -2318,7 +2318,7 @@ QListView { padding-right: 2px; image: url(qss:images_dark-light/down_arrow_light.svg); } - + QHeaderView::up-arrow { background-color: transparent; border: none; @@ -2328,12 +2328,12 @@ QListView { padding-right: 2px; image: url(qss:images_dark-light/up_arrow_light.svg); } - + /* QToolBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbox used in PATH - + --------------------------------------------------------------------------- */ QToolBox { padding: 0px; @@ -2341,12 +2341,12 @@ QListView { border-radius: 4px; background-color: transparent; } - + QToolBox:selected { padding: 0px; - border: 0px solid #4882ff; + border: 0px solid #4882ff; } - + QToolBox::tab { background-color: transparent; border: 0px solid #696969; @@ -2355,49 +2355,49 @@ QListView { background-repeat: none; background-position: center left; } - + QToolBox::tab:disabled { color: #696969; } - + QToolBox::tab:selected { background-color: #696969; background-image: url(qss:images_dark-light/transparent.svg); padding-right: 5px; background-repeat: none; } - + QToolBox::tab:selected:disabled { background-color: #696969; border-bottom: 0px solid #cccccc; color: white; } - + QToolBox::tab:!selected { - + } - + QToolBox::tab:!selected:disabled { background-color: #7F7F7F; } - + QToolBox::tab:hover { background-color: #4882ff; } - + QToolBox QScrollArea QWidget QWidget { padding: 0px; border: 0px; background-color: transparent; } - + /* QFrame ----------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe https://doc.qt.io/qt-5/qframe.html#-prop https://doc.qt.io/qt-5/qframe.html#details https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color - + --------------------------------------------------------------------------- */ /* (dot) .QFrame fix #141, #126, #123 */ .QFrame { @@ -2408,28 +2408,28 @@ QListView { /* HLine */ /* HLine */ } - + .QFrame[frameShape="0"] { border-radius: 1.9px; border: 1px solid #696968; } - + .QFrame[frameShape="4"] { max-height: 1px; border: none; background-color: #696968; } - + .QFrame[frameShape="5"] { max-width: 1px; border: none; background-color: #7F7F7F; } - + /* QSplitter -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter - + --------------------------------------------------------------------------- */ QSplitter { background-color: #3c3c3c; @@ -2437,12 +2437,12 @@ QListView { padding: 1px; margin: 1px; } - + QSplitter::handle { margin: 0px 0px; padding: 0px; } - + QSplitter::handle:horizontal { background-image: url(qss:images_dark-light/splitter_vertical_dark.svg); background-position: center center; @@ -2450,7 +2450,7 @@ QListView { margin: 2px 2px 2px 2px; width: 1px; } - + QSplitter::handle:vertical { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; @@ -2458,16 +2458,16 @@ QListView { margin: 2px 2px 2px 2px; height: 1px; } - + QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_light.svg); background-position: center center; background-repeat: none; background-color: #4882ff; } - + /* QDateEdit, QDateTimeEdit ----------------------------------------------- - + --------------------------------------------------------------------------- */ QDateEdit, QDateTimeEdit { selection-background-color: #4882ff; @@ -2482,50 +2482,50 @@ QListView { padding-right: 4px; min-width: 10px; } - + QDateEdit:on, QDateTimeEdit:on { selection-background-color: #4882ff; } - + QDateEdit::drop-down, QDateTimeEdit::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 12px; border-left: 1px solid #696968; } - + QDateEdit::down-arrow, QDateTimeEdit::down-arrow { image: url(qss:images_dark-light/down_arrow_disabled_light.svg); height: 8px; width: 8px; } - + QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus, QDateTimeEdit::down-arrow:on, QDateTimeEdit::down-arrow:hover, QDateTimeEdit::down-arrow:focus { image: url(qss:images_dark-light/down_arrow_lighter.svg); } - + QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView { background-color: #7F7F7F; border-radius: 2px; border: 1px solid #696968; selection-background-color: #4882ff; } - + /* QAbstractView ---------------------------------------------------------- - + --------------------------------------------------------------------------- */ QAbstractView:hover { border: 1px solid #4882ff; color: White; } - + QAbstractView:selected { background: #4882ff; color: White; } - + /* PlotWidget ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ PlotWidget { /* Fix cut labels in plots #134 */ diff --git a/src/Gui/Stylesheets/Dark-green.qss b/src/Gui/Stylesheets/Dark-green.qss index 53d16d14f8..b7587ea296 100644 --- a/src/Gui/Stylesheets/Dark-green.qss +++ b/src/Gui/Stylesheets/Dark-green.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #a1bd00 #819700 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #505050; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #a1bd00; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #7F7F7F; @@ -1595,7 +1595,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1885,8 +1885,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #a1bd00; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1914,8 +1914,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #a1bd00; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } @@ -2041,7 +2041,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2344,7 +2344,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #a1bd00; + border: 0px solid #a1bd00; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Dark-modern-blue.qss b/src/Gui/Stylesheets/Dark-modern-blue.qss index 70ac5d82a9..785362366b 100644 --- a/src/Gui/Stylesheets/Dark-modern-blue.qss +++ b/src/Gui/Stylesheets/Dark-modern-blue.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #557bb6 #560062 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #557BB6; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #2b2b2b; @@ -1604,7 +1604,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2077,7 +2077,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2388,7 +2388,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #557bb6; + border: 0px solid #557bb6; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Dark-modern-green.qss b/src/Gui/Stylesheets/Dark-modern-green.qss index 60a40287cf..af038f50d1 100644 --- a/src/Gui/Stylesheets/Dark-modern-green.qss +++ b/src/Gui/Stylesheets/Dark-modern-green.qss @@ -1,11 +1,11 @@ /* ABOUT ============================================================================================================ -Revised stylesheet based on the orignal from Pablo Gil Fernández made by MisterMaker +Revised stylesheet based on the original from Pablo Gil Fernández made by MisterMaker KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #74b655 #560062 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #74b655; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #2b2b2b; @@ -1604,7 +1604,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2077,7 +2077,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2388,7 +2388,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #74b655; + border: 0px solid #74b655; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Dark-modern-orange.qss b/src/Gui/Stylesheets/Dark-modern-orange.qss index 06f3537b72..1e5a4f66eb 100644 --- a/src/Gui/Stylesheets/Dark-modern-orange.qss +++ b/src/Gui/Stylesheets/Dark-modern-orange.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #cb9437 #560062 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #cb9437; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #2b2b2b; @@ -1604,7 +1604,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2077,7 +2077,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2388,7 +2388,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #cb9437; + border: 0px solid #cb9437; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Dark-modern-pink.qss b/src/Gui/Stylesheets/Dark-modern-pink.qss index 5baa7fb281..01c01b93b7 100644 --- a/src/Gui/Stylesheets/Dark-modern-pink.qss +++ b/src/Gui/Stylesheets/Dark-modern-pink.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #c849cd #560062 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #c849cd; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #2b2b2b; @@ -1604,7 +1604,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2077,7 +2077,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2388,7 +2388,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #c849cd; + border: 0px solid #c849cd; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Dark-orange.qss b/src/Gui/Stylesheets/Dark-orange.qss index 1481107f56..c7651b887e 100644 --- a/src/Gui/Stylesheets/Dark-orange.qss +++ b/src/Gui/Stylesheets/Dark-orange.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #b28416 #996b00 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #505050; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #b28416; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #7F7F7F; @@ -1595,7 +1595,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1885,8 +1885,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #b28416; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1914,8 +1914,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #b28416; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } @@ -2041,7 +2041,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2344,7 +2344,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #b28416; + border: 0px solid #b28416; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Dark-pink.qss b/src/Gui/Stylesheets/Dark-pink.qss index a11e6b725e..676ae2d5e3 100644 --- a/src/Gui/Stylesheets/Dark-pink.qss +++ b/src/Gui/Stylesheets/Dark-pink.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,10 +15,10 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #bc1cc8 - #920077 + #920077 See Qt documentation: @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #505050; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #bc1cc8; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #7F7F7F; @@ -1595,7 +1595,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1885,8 +1885,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #bc1cc8; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1914,8 +1914,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #bc1cc8; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } @@ -2041,7 +2041,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2344,7 +2344,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #bc1cc8; + border: 0px solid #bc1cc8; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Darker-blue.qss b/src/Gui/Stylesheets/Darker-blue.qss index 5b7fbc478a..a7f141a973 100644 --- a/src/Gui/Stylesheets/Darker-blue.qss +++ b/src/Gui/Stylesheets/Darker-blue.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #2053c0 #1b3774 @@ -43,13 +43,13 @@ Resetting everything helps to unify styles across different operating systems border-image: none; outline: 0; } - + /* specific reset for elements inside QToolBar */ QToolBar * { margin: 0px; padding: 0px; } - + /*hacks */ Gui--PropertyEditor--PropertyEditor QLineEdit:read-only, Gui--PropertyEditor--PropertyEditor QLineEdit:disabled, @@ -60,7 +60,7 @@ Resetting everything helps to unify styles across different operating systems background-color: transparent; selection-color: transparent; selection-background-color: transparent; - + } Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel, Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled { @@ -71,7 +71,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + Gui--PropertyEditor--PropertyEditor QSpinBox, Gui--PropertyEditor--PropertyEditor QDoubleSpinBox, Gui--PropertyEditor--PropertyEditor QAbstractSpinBox, @@ -81,9 +81,9 @@ Resetting everything helps to unify styles across different operating systems margin-right: 0px; padding-top: 0px; padding-bottom: 0px; - + } - + /*================================================================================================== Main window ==================================================================================================*/ @@ -93,7 +93,7 @@ Resetting everything helps to unify styles across different operating systems QToolBar { background-color: #444444; /* main background color */ } - + QMdiArea { background-image: url(qss:images_dark-light/background_freecad_dark.svg); background-position: center center; @@ -101,12 +101,12 @@ Resetting everything helps to unify styles across different operating systems } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { - /*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); + /*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QWidget { background-color: #444444; @@ -116,28 +116,28 @@ Resetting everything helps to unify styles across different operating systems selection-background-color: #2053c0; selection-color: White; } - + QWidget:disabled { background-color: transparent; color: #c2c7cb; selection-background-color: #2053c0; selection-color: #c2c7cb; } - + QWidget::item:selected { background-color: #2053c0; } - + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #2053c0; }*/ - + /* QMainWindow ------------------------------------------------------------ - + This adjusts the splitter in the dock widget, not qsplitter https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow - + --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #3c3c3c;*/ @@ -145,37 +145,37 @@ Resetting everything helps to unify styles across different operating systems spacing: 0px; padding: 1px; } - + QMainWindow::separator:vertical:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #2053c0, stop:0.8 transparent); /*background-color: #2053c0;*/ image: url(qss:images_dark-light/splitter_vertical_light.svg); } - + QMainWindow::separator:horizontal:hover { background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #2053c0, stop:0.8 transparent); /*background-color: #2053c0;*/ image: url(qss:images_dark-light/splitter_horizontal_light.svg); } - + QMainWindow::separator:horizontal { width: 4px; margin-top: 0.1px; margin-bottom: 0.1px; /* image: url(qss:images_dark-light/splitter_horizontal_dark.svg);*/ } - + QMainWindow::separator:vertical { height: 4px; margin-left: 0.1px; margin-right: 0.1px; /* image: url(qss:images_dark-light/splitter_vertical_dark.svg);*/ } - + /* QToolTip --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip - + --------------------------------------------------------------------------- */ QToolTip { background-color: #1c1b22; @@ -186,11 +186,11 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; /* Remove opacity, fix #174 - may need to use RGBA */ } - + /* QStatusBar ------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar - + --------------------------------------------------------------------------- */ QStatusBar { border: 0px solid #3c3c3c; @@ -198,11 +198,11 @@ Resetting everything helps to unify styles across different operating systems background: #444444; /* Fixes #205, white vertical borders separating items */ } - + QStatusBar::item { border: none; } - + QStatusBar QToolTip { background-color: #444444; border: 1px solid #696968; @@ -212,16 +212,16 @@ Resetting everything helps to unify styles across different operating systems /* Reducing transparency to read better */ opacity: 230; } - + QStatusBar QLabel { /* Fixes Spyder #9120, #9121 */ background: transparent; } - + /* QCheckBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox - + --------------------------------------------------------------------------- */ QCheckBox { color: white; @@ -230,73 +230,73 @@ Resetting everything helps to unify styles across different operating systems border: 1px solid transparent; background-color: transparent; } - + QCheckBox:focus { border: 1px solid #1b3774; } - + QCheckBox QWidget:disabled { background-color: transparent; color: #c2c7cb; } - + QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QCheckBox::indicator:unchecked { background-color: #1c1b22; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed { background-color: #2053c0; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QCheckBox::indicator:unchecked:disabled { background-color: #444444; image:url(qss:images_dark-light/checkbox_unchecked_disabled.svg); } - + QCheckBox::indicator:checked { background-color: #1c1b22; /*border: 1px solid #696968; /* QRadioButton has the same color */ image:url(qss:images_dark-light/checkbox_light.svg); } - - QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { + + QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #2053c0; } - + QCheckBox::indicator:checked:disabled { background-color: #444444; image: url(qss:images_dark-light/check_light.svg); } - + QCheckBox::indicator:indeterminate { background-color: #1c1b22; border: 1px solid #696968; image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QCheckBox::indicator:indeterminate:disabled { background-color: #444444; image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed { background-color: #2053c0; /* QRadioButton has the same color */ } - + /* QGroupBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox - + --------------------------------------------------------------------------- */ QGroupBox { font-weight: bold; @@ -306,7 +306,7 @@ Resetting everything helps to unify styles across different operating systems margin-top: 10px; margin-bottom: 4px; } - + QGroupBox::title { subcontrol-origin: margin; subcontrol-position: top left; @@ -315,7 +315,7 @@ Resetting everything helps to unify styles across different operating systems padding-right: 4px; padding-top: 6px; } - + QGroupBox::indicator { color: white; background-color: #3c3c3c; @@ -324,39 +324,39 @@ Resetting everything helps to unify styles across different operating systems height: 12px; border-radius:1px; } - + QGroupBox::indicator:unchecked { background-color: #696968; border: 1px solid #696968; image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed { background-color: #2053c0; } - + QGroupBox::indicator:unchecked:disabled { background-color: #1c1b22; border: 1px solid #696968; } - + QGroupBox::indicator:checked { border: none; image:url(qss:images_dark-light/checkbox_light.svg); } - + QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed { background-color: #2053c0; } - + QGroupBox::indicator:checked:disabled { background-color: #2053c0; } - + /* QRadioButton ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton - + --------------------------------------------------------------------------- */ QRadioButton { background-color: transparent; @@ -367,16 +367,16 @@ Resetting everything helps to unify styles across different operating systems padding-bottom: 4px; outline: none; } - + QRadioButton:focus { border: 1px solid #1b3774; } - + QRadioButton:disabled { background-color: #696968; color: #353535; } - + QRadioButton QWidget { background-color: transparent; color: White; @@ -385,7 +385,7 @@ Resetting everything helps to unify styles across different operating systems outline: none; border: none; } - + QRadioButton::indicator { background-color: #3c3c3c; border: 1px solid #696968; @@ -394,43 +394,43 @@ Resetting everything helps to unify styles across different operating systems height: 11px; width: 11px; } - + QRadioButton::indicator:unchecked { /*image:url(qss:images_dark-light/radiobutton_light.svg);*/ } - + QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed { background-color: #2053c0; border: 1px solid #2053c0; border-radius: 6px; } - + QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ border: 1px solid #696968; } - + QRadioButton::indicator:checked { image:url(qss:images_dark-light/radiobutton_light.svg); } - + QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed { background-color: #2053c0; border: 1px solid #2053c0; border-radius: 6px; image:url(qss:images_dark-light/radiobutton_light.svg); } - + QRadioButton::indicator:checked:disabled { outline: none; background-color: #696968; image:url(qss:images_dark-light/radiobutton_dark.svg); } - + /* QMenuBar --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar - + --------------------------------------------------------------------------- */ QMenuBar { background-color: #161616; @@ -439,11 +439,11 @@ Resetting everything helps to unify styles across different operating systems color: White; selection-background-color: #2053c0; } - + QMenuBar:focus { border: 1px solid #1b3774; } - + QMenuBar::item { background: transparent; /*padding-left:5px; @@ -451,13 +451,13 @@ Resetting everything helps to unify styles across different operating systems padding-bottom: 1px; padding-top: 1px;*/ } - + QMenuBar::item:selected { background: transparent; border: 0px solid #696968; background-color: #2053c0; } - + QMenuBar::item:pressed { /*padding: 2px; padding-left: 10px; @@ -468,11 +468,11 @@ Resetting everything helps to unify styles across different operating systems /*margin-bottom: 0px; padding-bottom: 0px;*/ } - + /* QMenu ------------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu - + --------------------------------------------------------------------------- */ QMenu { border-bottom: 2px rgba(0,0,0,140); @@ -482,36 +482,36 @@ Resetting everything helps to unify styles across different operating systems background-color: #161616; selection-background-color: #2053c0; } - + QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; } - + QMenu::item { background-color: transparent; padding: 2px 2px; /* make room for icon at left */ /* Reserve space for selection border */ border: 0px transparent #696968; } - + QMenu::item:selected { color: White; background-color: #2053c0; } - + QMenu::item:pressed { background-color: #2053c0; } - + QMenu::icon { margin-left: 5px; width: 14px; height: 14px; } - + QMenu::indicator { margin-left: 2px; margin-right: 2px; @@ -521,7 +521,7 @@ Resetting everything helps to unify styles across different operating systems /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ } - + QMenu::icon:checked { /* appearance of a 'checked' icon */ background: #1b3774; margin-left: -5px; @@ -532,74 +532,74 @@ Resetting everything helps to unify styles across different operating systems QMenu::indicator:non-exclusive:unchecked { image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; background: #2053c0; } - + QMenu::indicator:non-exclusive:unchecked:disabled { image: url(qss:images_dark-light/checkbox_unchecked_disabled.svg); } - + QMenu::indicator:non-exclusive:checked { image:url(qss:images_dark-light/checkbox_light.svg); } - + QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed { border: none; background: #2053c0; } - + QMenu::indicator:non-exclusive:checked:disabled { image:url(qss:images_dark-light/checkbox_checked_disabled.svg); } - + QMenu::indicator:non-exclusive:indeterminate { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QMenu::indicator:non-exclusive:indeterminate:disabled { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QMenu::indicator:non-exclusive:indeterminate:focus, QMenu::indicator:non-exclusive:indeterminate:hover, QMenu::indicator:non-exclusive:indeterminate:pressed { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QMenu::indicator:exclusive:unchecked { image: url(qss:images_dark-light/transparent.svg); } - + QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed { border: none; outline: none; background: #2053c0; image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:exclusive:unchecked:disabled { image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:exclusive:checked { border: none; outline: none; image: url(qss:images_dark-light/radiobutton_light.svg); } - + QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed { border: none; outline: none; background: #2053c0; image: url(qss:images_dark-light/checkbox_unchecked_light.svg); } - + QMenu::indicator:exclusive:checked:disabled { outline: none; image: url(qss:images_dark-light/radiobutton_light.svg); } - + QMenu::right-arrow { margin: 5px; padding-left: 12px; @@ -608,11 +608,11 @@ Resetting everything helps to unify styles across different operating systems width: 12px; background-color: transparent; } - + /* QAbstractItemView ------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox - + --------------------------------------------------------------------------- */ QAbstractItemView { alternate-background-color: #5b5b5b; @@ -620,15 +620,15 @@ Resetting everything helps to unify styles across different operating systems border: 1px solid #696968; border-radius: 2px; } - + QAbstractItemView QLineEdit { padding: 2px; } - + /* QAbstractScrollArea ---------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea - + --------------------------------------------------------------------------- */ QAbstractScrollArea { background-color: transparent; @@ -639,23 +639,23 @@ Resetting everything helps to unify styles across different operating systems /* remove min-height to fix #244 */ color: White; } - + QAbstractScrollArea:disabled { color: #353535; } - + /* QScrollArea ------------------------------------------------------------ - - --------------------------------------------------------------------------- + + --------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #444444; } - + /* QScrollBar ------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar - + --------------------------------------------------------------------------- */ QScrollBar:horizontal { height: 16px; @@ -664,7 +664,7 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; background-color: #444444; } - + QScrollBar:vertical { background-color: #444444; width: 16px; @@ -672,43 +672,43 @@ Resetting everything helps to unify styles across different operating systems border: 0px solid #696968; border-radius: 4px; } - + QScrollBar::handle:horizontal { background-color: #696969; border: 1px solid #444444; border-radius: 4px; min-width: 8px; } - + QScrollBar::handle:horizontal:hover { background-color: #2053c0; border: #696968; border-radius: 4px; min-width: 8px; } - + QScrollBar::handle:horizontal:focus { border: 1px solid #1b3774; } - + QScrollBar::handle:vertical { background-color: #696969; border: 1px solid #696968; min-height: 8px; border-radius: 4px; } - + QScrollBar::handle:vertical:hover { background-color: #2053c0; border: #696968; border-radius: 4px; min-height: 8px; } - + QScrollBar::handle:vertical:focus { border: 1px solid #1b3774; } - + QScrollBar::add-line:horizontal { border-image: url(qss:images_dark-light/right_arrow_light.svg); height: 9px; @@ -716,7 +716,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: right; subcontrol-origin: margin; } - + QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on { border-image: url(qss:images_dark-light/right_arrow_lighter.svg); height: 9px; @@ -724,7 +724,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: right; subcontrol-origin: margin; } - + QScrollBar::add-line:vertical { border-image: url(qss:images_dark-light/down_arrow_light.svg); height: 5px; @@ -732,7 +732,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: bottom; subcontrol-origin: margin; } - + QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on { border-image: url(qss:images_dark-light/down_arrow_lighter.svg); height: 5px; @@ -740,7 +740,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: bottom; subcontrol-origin: margin; } - + QScrollBar::sub-line:horizontal { margin: 0px 0px 0px 0px; border-image: url(qss:images_dark-light/left_arrow_light.svg); @@ -749,7 +749,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: left; subcontrol-origin: margin; } - + QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on { border-image: url(qss:images_dark-light/left_arrow_lighter.svg); height: 9px; @@ -757,7 +757,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: left; subcontrol-origin: margin; } - + QScrollBar::sub-line:vertical { margin: 0px 0px 0px 0px; border-image: url(qss:images_dark-light/up_arrow_light.svg); @@ -766,7 +766,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: top; subcontrol-origin: margin; } - + QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on { border-image: url(qss:images_dark-light/up_arrow_lighter.svg); height: 5px; @@ -774,28 +774,28 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: top; subcontrol-origin: margin; } - + QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal { background: none; } - + QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical { background: none; } - + QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { background: none; } - + QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: none; } - + /* QTextEdit -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets - - + + report view --------------------------------------------------------------------------- */ QTextEdit { @@ -804,16 +804,16 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; border: 0px solid #696968; } - + QTextEdit:focus { border: 1px solid #1b3774; } - + QTextEdit:selected { background: #346792; color: white; } - + /* QPlainTextEdit --------------------------------------------------------- Python --------------------------------------------------------------------------- */ @@ -823,20 +823,20 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; border: 0px solid #696968; } - + QPlainTextEdit:focus { border: 1px solid #1b3774; } - + QPlainTextEdit:selected { background: #2053c0; color: White; } - + /* QSizeGrip -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip - + --------------------------------------------------------------------------- */ QSizeGrip { background: transparent; @@ -844,19 +844,19 @@ Resetting everything helps to unify styles across different operating systems height: 12px; image:url(qss:images_dark-light/sizegrip_light.svg); } - + /* QStackedWidget --------------------------------------------------------- - + --------------------------------------------------------------------------- */ QStackedWidget { padding: 0px; border: 0px solid #696968; } - + /* QToolBar --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar - + --------------------------------------------------------------------------- */ QToolBar { background-color: #444444; @@ -865,12 +865,12 @@ Resetting everything helps to unify styles across different operating systems font-weight: bold; spacing: 1px; } - + QToolBar:disabled { /* Fixes #272 */ background-color: #444444; } - + QToolBar::handle:horizontal { width: 8px; margin: 3px 3px; @@ -878,7 +878,7 @@ Resetting everything helps to unify styles across different operating systems background-repeat: repeat-y; background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg); } - + QToolBar::handle:vertical { height: 8px; margin: 3px 3px; @@ -886,19 +886,19 @@ Resetting everything helps to unify styles across different operating systems background-repeat: repeat-x; background-image: url(qss:images_dark-light/Vmovetoolbar_light.svg); } - + QToolBar::separator:horizontal { width: 2px; margin: 4px 4px; background-color: transparent; } - + QToolBar::separator:vertical { height: 2px; margin: 4px 4px; background-color: transparent; } - + /*The "show more" button (it can also be stylable with "QToolBarExtension" icon is not working Qproperty works but breaks when you move the toolbar see also */ QToolButton#qt_toolbar_ext_button { margin: 0px; @@ -908,21 +908,21 @@ Resetting everything helps to unify styles across different operating systems background-repeat: none; background-position: center center; } - + QToolButton#qt_toolbar_ext_button:hover { /*background-image: url(qss:images_dark-light/more_light.svg);*/ background-color: #2053c0; } - + QToolButton#qt_toolbar_ext_button:on { /*background-image: url(qss:images_dark-light/more_light.svg);*/ border-color: #696968; background-color: #2053c0; } - - + + /* QAbstractSpinBox ------------------------------------------------------- - + --------------------------------------------------------------------------- */ QAbstractSpinBox, QSpinBox { @@ -939,7 +939,7 @@ Resetting everything helps to unify styles across different operating systems min-height: 1.7em; /* min-width: 5px; removed to fix 109 */ } - + QAbstractSpinBox:up-button { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a); subcontrol-origin: border; @@ -951,17 +951,17 @@ Resetting everything helps to unify styles across different operating systems /*width: 12px; /*margin-bottom: -1px;*/ } - + QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off { image: url(qss:images_dark-light/up_arrow_disabled_light.svg); /* height: 8px; width: 8px;*/ } - + QAbstractSpinBox::up-arrow:hover { image: url(qss:images_dark-light/up_arrow_lighter.svg); } - + QAbstractSpinBox:down-button { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a); subcontrol-origin: border; @@ -973,38 +973,38 @@ Resetting everything helps to unify styles across different operating systems /*width: 12px; /*margin-top: -1px;*/ } - + QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off { image: url(qss:images_dark-light/down_arrow_disabled_light.svg); /*height: 8px; width: 8px;*/ } - + QAbstractSpinBox::down-arrow:hover { image: url(qss:images_dark-light/down_arrow_lighter.svg); } - + QAbstractSpinBox:hover { /*border: 1px solid #2053c0; color: White;*/ } - + QAbstractSpinBox:focus { border: 1px solid #1b3774; } - + QAbstractSpinBox:selected { background: #1b3774; /*color: White;*/ } - + /* ------------------------------------------------------------------------ */ /* DISPLAYS --------------------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QLabel ----------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe - + --------------------------------------------------------------------------- */ QLabel { background-color: transparent; @@ -1013,22 +1013,22 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; color: White; } - + QLabel:disabled { background-color: transparent; border: 0px solid #696968; color: #c2c7cb; } - + QLabel[haslink="true"] { color: orange; } - - + + /* QTextBrowser ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea - + --------------------------------------------------------------------------- */ QTextBrowser { background-color: #1c1b22; @@ -1036,20 +1036,20 @@ Resetting everything helps to unify styles across different operating systems color: White; border-radius: 1.9px; } - + QTextBrowser:disabled { background-color: #444444; border: 1px solid #696968; color: #c2c7cb; border-radius: 1.9px; } - + QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed { border: 1px solid #2053c0; } - + /* QGraphicsView ---------------------------------------------------------- - + --------------------------------------------------------------------------- */ QGraphicsView { background-color: transparent; @@ -1057,48 +1057,48 @@ Resetting everything helps to unify styles across different operating systems color: White; border-radius: 0px; } - + QGraphicsView:disabled { background-color: #1c1b22; border: 0px solid #696968; color: #c2c7cb; border-radius: 0px; } - + QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed { border: 0px solid #ff00f7; } - + /* QCalendarWidget -------------------------------------------------------- - + --------------------------------------------------------------------------- */ QCalendarWidget { border: 1px solid #696968; border-radius: 1.9px; } - + QCalendarWidget:disabled { background-color: #353535; color: #c2c7cb; } - + /* QLCDNumber ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QLCDNumber { background-color: #1aff00; color: White; } - + QLCDNumber:disabled { background-color: #444444; color: #c2c7cb; } - + /* QProgressBar ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar - + --------------------------------------------------------------------------- */ QProgressBar { background-color: #c2c7cb; @@ -1107,7 +1107,7 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; text-align: center; } - + QProgressBar:disabled { background-color: #161616; border: 1px solid #696968; @@ -1115,26 +1115,26 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; text-align: center; } - + QProgressBar::chunk { background-color: #2053c0; color: #444444; border-radius: 1.9px; } - + QProgressBar::chunk:disabled { background-color: #161616; color: #696968; border-radius: 1.9px; } - + /* ------------------------------------------------------------------------ */ /* BUTTONS ---------------------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QPushButton ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton - + --------------------------------------------------------------------------- */ QPushButton { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a); @@ -1144,57 +1144,57 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; padding: 2px; } - + QPushButton:disabled { background-color: #444444; color: #c2c7cb; } - + QPushButton:checked { background-color: #2053c0; outline: none; } - + QPushButton:checked:disabled { background-color: #2053c0; color: #3c3c3c; outline: none; } - + QPushButton:checked:selected { background: #2053c0; } - + QPushButton:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #2053c0, stop:1 #1b3774); color: White; } - + QPushButton:pressed { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #1b3774, stop:1 #2053c0); } - + QPushButton:selected { background: #1b3774; color: White; } - + QPushButton::menu-indicator { subcontrol-origin: padding; subcontrol-position: bottom right; bottom: 4px; } - + QDialogButtonBox QPushButton { /* Issue # 194 # 248 - Special case of QPushButton inside dialogs, for better UI */ min-width: 80px; } - + /* QToolButton ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton - + --------------------------------------------------------------------------- */ QToolButton { background-color: transparent; @@ -1207,21 +1207,21 @@ Resetting everything helps to unify styles across different operating systems /* The subcontrols below are used only in the MenuButtonPopup mode */ /* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */ } - + QToolButton:disabled { background-color: rgba(0, 0, 0, 0.065); color: #c2c7cb; border-radius: 1px; padding: 0px; } - + QToolButton:checked { background-color: #2053c0; border-radius: 1.9px; padding: 0px; outline: none; } - + QToolButton:checked:disabled { background-color: #b65555; color: #c2c7cb; @@ -1229,40 +1229,40 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; outline: none; } - + QToolButton:checked:hover { background-color: #2053c0; color: White; } - + QToolButton:checked:pressed { background-color: #2053c0; } - + QToolButton:checked:selected { background: #1b3774; color: White; } - + QToolButton:hover { background-color: #2053c0; color: White; } - + QToolButton:pressed { background-color: #1b3774; } - + QToolButton:selected { background: #2053c0; color: White; } - + QToolButton[popupMode="0"] { /* Only for DelayedPopup */ padding-right: 20px; } - + QToolButton[popupMode="1"] { /* Only for MenuButtonPopup */ padding-right: 20px; @@ -1270,7 +1270,7 @@ Resetting everything helps to unify styles across different operating systems QToolButton[popupMode="0"]::menu-button { border: none; } - + QToolButton[popupMode="0"]::menu-button:hover { border: none; border-left: 2px solid #fe0000; @@ -1279,18 +1279,18 @@ Resetting everything helps to unify styles across different operating systems QToolButton[popupMode="1"]::menu-button { border: none; } - + QToolButton[popupMode="1"]::menu-button:hover { border: none; border-left: 2px solid #e5ff00; border-radius: 0px; } - + QToolButton[popupMode="2"] { /* Only for InstantPopup */ padding-right: 20px; } - + QToolButton::menu-button { border-bottom: 0px solid #ffffff; border-radius: 2px; @@ -1300,22 +1300,22 @@ Resetting everything helps to unify styles across different operating systems border-radius: 2px; border: 0px #000000; } - + QToolButton::menu-button:hover { /* background: rgba(0, 0, 0, 0.5);*/ - + } - + QToolButton::menu-button:checked:hover { /* background: rgba(0, 0, 0, 0.5);*/ } - + QToolButton::menu-indicator { /* Exclude a shift for better image */ subcontrol-position: right bottom; /* Shift it a bit */ } - + QToolButton::menu-arrow { image: url(qss:images_dark-light/more_arrow_light.svg); width: 1.5ex; @@ -1332,9 +1332,9 @@ Resetting everything helps to unify styles across different operating systems background-color: rgba(0, 0, 0, 0.498); border: 1px solid rgba(0, 0, 0, 0.498); } - + /* QCommandLinkButton ----------------------------------------------------- - + --------------------------------------------------------------------------- */ QCommandLinkButton { background-color: transparent; @@ -1344,19 +1344,19 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QCommandLinkButton:disabled { background-color: transparent; color: #c2c7cb; } - + /* ------------------------------------------------------------------------ */ /* INPUTS - NO FIELDS ----------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QComboBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox - + --------------------------------------------------------------------------- */ QComboBox { border: 1px solid transparent; @@ -1383,39 +1383,39 @@ Resetting everything helps to unify styles across different operating systems background-color: #1c1b22; selection-background-color: #2053c0; } - + QComboBox QAbstractItemView:hover { background-color:#1c1b22; color: White; } - + QComboBox QAbstractItemView:selected { background: #2053c0; color: White; } - + QComboBox QAbstractItemView:alternate { background: #3c3c3c; } - + QComboBox:disabled { background-color: #444444; color: #353535; } - + QComboBox:hover { /*background-color: #2053c0;*/ border: 1px solid #2053c0; } - + QComboBox:focus { border: 1px solid #1b3774; } - + QComboBox:on { selection-background-color: #1b3774; } - + QComboBox::indicator { border: none; border-radius: 0px; @@ -1425,27 +1425,27 @@ Resetting everything helps to unify styles across different operating systems selection-color: #2053c0; /* Needed to remove indicator - fix #132 */ } - + QComboBox::indicator:alternate { background: #696968; } - + QComboBox::item { /* Remove to fix #282, #285 and MR #288*/ /*&:checked { font-weight: bold; } - + &:selected { border: 0px solid transparent; } */ } - + QComboBox::item:alternate { background: #3c3c3c; } - + QComboBox::drop-down { subcontrol-origin: padding; background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a); @@ -1456,18 +1456,18 @@ Resetting everything helps to unify styles across different operating systems QComboBox::drop-down:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #2053c0, stop:1 #1b3774); } - + QComboBox::down-arrow { image: url(qss:images_dark-light/down_arrow_disabled_light.svg); height: 10px; width: 10px; } - + QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus { image: url(qss:images_dark-light/down_arrow_lighter.svg); } - - + + /*================================================================================================== Tasks panel (custom FreeCAD class) ==================================================================================================*/ @@ -1475,20 +1475,20 @@ Resetting everything helps to unify styles across different operating systems qproperty-groupTextColor: white; qproperty-groupBackground: #3c3c3c; border: 0px solid #696968; - + } - + /* Action group */ QFrame[class="panel"] { background-color: transparent; /* temporal (transparent background) */ - + } - + QSint--ActionGroup { padding: 0px; /* if not reset, it might create problems with QPushButtons and other elements */ margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */ } - + /* Separator line */ QSint--ActionGroup QFrame[height="1"], QSint--ActionGroup QFrame[height="2"], @@ -1498,7 +1498,7 @@ Resetting everything helps to unify styles across different operating systems QSint--ActionGroup QFrame[width="3"] { border-color: rgba(0,0,0,60); } - + /* Panel header */ QSint--ActionGroup QFrame[class="header"] { border-top: 1px solid #696968; @@ -1512,11 +1512,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + QSint--ActionGroup QFrame[class="header"]:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #2053c0, stop:1 #1b3774); } - + QSint--ActionGroup QToolButton[class="header"] { color: white; /* Task Panel Header text color */ text-align: left; @@ -1525,7 +1525,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel { background-color: transparent; background-image: url(qss:images_dark-light/down_arrow_light.svg); @@ -1534,12 +1534,12 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel:hover { background-color: transparent; background-image: url(qss:images_dark-light/down_arrow_lighter.svg); } - + QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"] { background-color: transparent; background-image: url(qss:images_dark-light/up_arrow_light.svg); @@ -1548,12 +1548,12 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"]:hover { background-color: transparent; background-image: url(qss:images_dark-light/up_arrow_lighter.svg); } - + QSint--ActionGroup QFrame[class="content"] { background-color: transparent; /* Task Panel background color */ margin: 0px; @@ -1566,43 +1566,43 @@ Resetting everything helps to unify styles across different operating systems border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } - + QSint--ActionGroup QFrame[class="content"] > QWidget { background-color: #444444; /* Task Panel background color */ } - + /* Fixs for tabs inside Task Panel */ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected { border-bottom-color: #2053c0; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected { border-top-color: #2053c0; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected { border-right-color: #2053c0; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected { border-left-color: #2053c0; /* same as Task Panel background color */ } - + /* Fix for buttons with icons that showed cropped (still not happy with result) */ QSint--ActionGroup QFrame[class="content"] > QWidget > QPushButton { padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } - - /* Fix for lists inside task panels */ /* sketcher constraints list */ + + /* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { color: white; background-color: #1c1b22; } - - + + /* found inside Part Design Workbench and "make a draft on a face" Task panel options */ QSint--ActionGroup QFrame[class="content"] QToolButton { color: white; @@ -1614,7 +1614,7 @@ Resetting everything helps to unify styles across different operating systems min-height: 16px; /* same as QTabBar QPushButton min-width */ border-radius: 1px; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:hover{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #2053c0, stop:1 #1b3774); @@ -1622,31 +1622,31 @@ Resetting everything helps to unify styles across different operating systems QSint--ActionGroup QFrame[class="content"] QToolButton:focus { border: 1px solid #1b3774; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:disabled, QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked { color: #696969; background-color: #1c1b22; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:pressed { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #2053c0, stop:1 #1b3774); } - + /* QSlider ---------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider - + --------------------------------------------------------------------------- */ QSlider:disabled { background: #444444; } - + QSlider:focus { border: 1px solid #1b3774; } - + QSlider::groove:horizontal { background: #444444; border: 1px solid #696968; @@ -1654,7 +1654,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::groove:vertical { background: #2053c0; border: 1px solid #696968; @@ -1662,7 +1662,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::add-page:vertical { background: #2053c0; border: 1px solid #696968; @@ -1670,11 +1670,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::add-page:vertical :disabled { background: #696968; } - + QSlider::sub-page:horizontal { background: #2053c0; border: 1px solid #0073ff; @@ -1682,11 +1682,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::sub-page:horizontal:disabled { background: #2053c0; } - + QSlider::handle:horizontal { background: #353535; border: 1px solid #444444; @@ -1695,16 +1695,16 @@ Resetting everything helps to unify styles across different operating systems margin: -8px 0px; border-radius: 1.9px; } - + QSlider::handle:horizontal:hover { background: #2053c0; border: 1px solid #2053c0; } - + QSlider::handle:horizontal:focus { border: 1px solid #1b3774; } - + QSlider::handle:vertical { background: #c2c7cb; border: 1px solid #696968; @@ -1713,20 +1713,20 @@ Resetting everything helps to unify styles across different operating systems margin: 0 -8px; border-radius: 1.9px; } - + QSlider::handle:vertical:hover { background: #2053c0; border: 2px solid #2053c0; } - + QSlider::handle:vertical:focus { border: 1px solid #1b3774; } - + /* QLineEdit -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit - + --------------------------------------------------------------------------- */ QLineEdit { background-color: #1c1b22; @@ -1741,133 +1741,133 @@ Resetting everything helps to unify styles across different operating systems border-radius: 2px; color: White; } - + QLineEdit:disabled { background-color: #444444; color: #c2c7cb; } - + QLineEdit:hover { border: 1px solid #2053c0; color: White; } - + QLineEdit:focus { border: 2px solid #1b3774; } - + QLineEdit:selected { background-color: #2053c0; color: white; } - + /* QTabWiget -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar - + --------------------------------------------------------------------------- */ QTabWidget { padding: 2px; selection-background-color: #2053c0; } - + QTabWidget QWidget { /* Fixes #189 */ border-radius: 1.9px; } - + QTabWidget::pane { margin: 0px; /* Fixes double border inside pane with pyqt5 */ padding: 0px; } - + QTabWidget::pane:selected { background-color: #2053c0; border: 1px solid #346792; } /* QTabBar ---------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar - + --------------------------------------------------------------------------- */ QTabBar, QDockWidget QTabBar { qproperty-drawBase: 0; /* left: 5px; move to the right by 5px - removed for fix */ } - + QTabBar::close-button, QDockWidget QTabBar::close-button { border: 0; margin: 0; padding: 1px; image: url(qss:images_dark-light/close_light.svg); } - + QTabBar::close-button:hover, QDockWidget QTabBar::close-button:hover { image: url(qss:images_dark-light/close_red.svg); /*background-color: rgba(255, 0, 0, 0.3);*/ } - + QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed { image: url(qss:images_dark-light/close_.svg); } - + QTabBar::tab, QDockWidget QTabBar::tab { /* !selected and disabled ----------------------------------------- */ /* selected ------------------------------------------------------- */ padding: 4px; } - + QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled { color: #adadad; } - + QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled { color: #adadad; } - + QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled { color: #adadad; } - + QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled { color: #adadad; } - + QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled { color: #adadad; } - + QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled { color: #adadad; } - + QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled { color: #adadad; } - + QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled { color: #adadad; } - + QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected { color: #adadad; } - + QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected { color: #adadad; } - + QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected { color: #adadad; } - + QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected { color: #adadad; } - + QTabBar::tab:top, QDockWidget QTabBar::tab:top { color: #696969; margin-left: 0px; @@ -1879,15 +1879,15 @@ Resetting everything helps to unify styles across different operating systems border-bottom: 1px solid #696969; /* same as tab content background color */ border-radius: 0px; } - + QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #2053c0; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } - + QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { /*border: 1px solid #2053c0;*/ border: 0px solid #2053c0; @@ -1896,7 +1896,7 @@ Resetting everything helps to unify styles across different operating systems padding-left: 3px; padding-right: 3px; } - + QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom { color: #adadad; margin-left: 0px; @@ -1908,16 +1908,16 @@ Resetting everything helps to unify styles across different operating systems border-top: 1px solid #696969; /* same as tab content background color */ border-radius: 0px; } - + QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #2053c0; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; - + border-left: 1px solid #696969; + border-right: 1px solid #696969; + } - + QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover { /*border: 1px solid #2053c0;*/ border: 0px solid #2053c0; @@ -1926,7 +1926,7 @@ Resetting everything helps to unify styles across different operating systems padding-left: 3px; padding-right: 3px; } - + QTabBar::tab:left, QDockWidget QTabBar::tab:left { background-color: #444444; margin-top: 2px; @@ -1938,12 +1938,12 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; min-height: 5px; } - + QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected { background-color: #444444; border: 0px solid #1b3774; } - + QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover { border: 0px solid #2053c0; background-color: #2053c0; @@ -1951,7 +1951,7 @@ Resetting everything helps to unify styles across different operating systems margin-right: 0px; padding-right: -1px; } - + QTabBar::tab:right, QDockWidget QTabBar::tab:right { background-color: #444444; margin-top: 2px; @@ -1962,12 +1962,12 @@ Resetting everything helps to unify styles across different operating systems min-height: 5px; border: 10px; } - + QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected { background-color: #444444; border: 0px solid #1b3774; } - + QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover { border: 0px solid #2053c0; background-color: #2053c0; @@ -1975,42 +1975,42 @@ Resetting everything helps to unify styles across different operating systems margin-left: 0px; padding-left: 0px; } - + QTabBar QToolButton, QDockWidget QTabBar QToolButton { /* Fixes #136 */ background-color: #444444; height: 12px; width: 12px; } - + QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed { border: 0px solid #2053c0; background-color: #2053c0; } - + QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover { border: 0px solid #2053c0; background-color: #2053c0; } - + QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled { image: url(qss:images_dark-light/left_arrow_lighter.svg); } - + QTabBar QToolButton::left-arrow:disabled, QDockWidget QTabBar QToolButton::left-arrow:disabled { image: url(qss:images_dark-light/left_arrow_disabled_light.svg); } - + QTabBar QToolButton::right-arrow:enabled, QDockWidget QTabBar QToolButton::right-arrow:enabled { image: url(qss:images_dark-light/right_arrow_lighter.svg); } - + QTabBar QToolButton::right-arrow:disabled, QDockWidget QTabBar QToolButton::right-arrow:disabled { image: url(qss:images_dark-light/right_arrow_disabled_light.svg); } - + /* QDockWiget ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QDockWidget { background-color: #444444; @@ -2019,7 +2019,7 @@ Resetting everything helps to unify styles across different operating systems titlebar-close-icon: url(qss:images_dark-light/transparent.svg); titlebar-normal-icon: url(qss:images_dark-light/transparent.svg); } - + QDockWidget::title { /* Better size for title bar */ padding: 3px; @@ -2029,7 +2029,7 @@ Resetting everything helps to unify styles across different operating systems text-align: center; font-weight: bold; } - + QDockWidget::close-button { icon-size: 10px; border: none; @@ -2040,15 +2040,15 @@ Resetting everything helps to unify styles across different operating systems padding: 0; image: url(qss:images_dark-light/close_light.svg); } - - QDockWidget::close-button:hover { + + QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } - + QDockWidget::close-button:pressed { image: url(qss:images_dark-light/close_light.svg); } - + QDockWidget::float-button { icon-size: 12px; border: none; @@ -2059,62 +2059,62 @@ Resetting everything helps to unify styles across different operating systems padding: 0; image: url(qss:images_dark-light/undock_light.svg); } - + QDockWidget::float-button:hover { /*background-color: #2053c0;*/ image: url(qss:images_dark-light/undock_blue.svg); } - + QDockWidget::float-button:pressed { image: url(qss:images_dark-light/undock_light.svg); } - + /* QTreeView QListView QTableView ----------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview - + --------------------------------------------------------------------------- */ QTreeView::branch { background: transparent; } - + QTreeView::branch:has-siblings:!adjoins-item { border-image: url(qss:images_dark-light/branch_vline_light.svg) 0; } - + QTreeView::branch:has-siblings:adjoins-item { border-image: url(qss:images_dark-light/branch_more_light.svg) 0; } - + QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(qss:images_dark-light/branch_end_light.svg) 0; } - + QTreeView::branch:closed:has-children:has-siblings { border-image: url(qss:images_dark-light/branch_more_closed_light.svg) 0; } - + QTreeView::branch:has-children:!has-siblings:closed { border-image: url(qss:images_dark-light/branch_end_closed_light.svg) 0; } - + QTreeView::branch:open:has-children:has-siblings { border-image: url(qss:images_dark-light/branch_more_open_light.svg) 0; } - + QTreeView::branch:open:has-children:!has-siblings { border-image: url(qss:images_dark-light/branch_end_open_light.svg) 0; } - + QTreeView::indicator:checked, QListView::indicator:checked, QTableView::indicator:checked, QColumnView::indicator:checked { image: url(qss:images_dark-light/checkbox_light.svg); } - + QTreeView::indicator:checked:hover, QTreeView::indicator:checked:focus, QTreeView::indicator:checked:pressed, QListView::indicator:checked:hover, QListView::indicator:checked:focus, @@ -2127,14 +2127,14 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:checked:pressed { image: url(qss:images_dark-light/checkbox_light_hover.svg); } - + QTreeView::indicator:unchecked, QListView::indicator:unchecked, QTableView::indicator:unchecked, QColumnView::indicator:unchecked { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:focus, QTreeView::indicator:unchecked:pressed, QListView::indicator:unchecked:hover, QListView::indicator:unchecked:focus, @@ -2147,14 +2147,14 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:unchecked:pressed { image: url(qss:images_dark-light/checkbox_unchecked_hover_light.svg); } - + QTreeView::indicator:indeterminate, QListView::indicator:indeterminate, QTableView::indicator:indeterminate, QColumnView::indicator:indeterminate { image: url(qss:images_dark-light/checkbox_indeterminate_light.svg); } - + QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:focus, QTreeView::indicator:indeterminate:pressed, QListView::indicator:indeterminate:hover, QListView::indicator:indeterminate:focus, @@ -2178,7 +2178,7 @@ Resetting everything helps to unify styles across different operating systems gridline-color: #696968; border-radius: 0px; } - + QTableView, QListView { background-color: rgba(0, 0, 0, 0.232); /* background of a lot of stuff including spreadsheets.*/ @@ -2192,7 +2192,7 @@ QListView { background-color: #1c1b22; color: #c2c7cb; } - + QTreeView:selected, QListView:selected, QTableView:selected, @@ -2200,28 +2200,28 @@ QListView { background-color: #2053c0; color: White; } - + QTreeView:focus, QListView:focus, QTableView:focus, QColumnView:focus { border: 1px solid #1b3774; } - + QTreeView::item:pressed, QListView::item:pressed, QTableView::item:pressed, QColumnView::item:pressed { background-color: #2053c0; } - + QTreeView::item:selected:active, QListView::item:selected:active, QTableView::item:selected:active, QColumnView::item:selected:active { background-color: #2053c0; } - + QTreeView::item:selected:!active, QListView::item:selected:!active, QTableView::item:selected:!active, @@ -2229,7 +2229,7 @@ QListView { color: White; background-color: #353535; } - + QTreeView::item:!selected:hover, QListView::item:!selected:hover, QTableView::item:!selected:hover, @@ -2238,13 +2238,13 @@ QListView { color: White; background-color: #2053c0; } - + QTableCornerButton::section { background-color: #444444; border: 1px transparent #696968; border-radius: 0px; } - + QTableView::item { color: white; } @@ -2252,22 +2252,22 @@ QListView { /*qproperty-AliasedCellBackgroundColor: #f700ff;*/ /*qproperty-aliasBgColor: #f700ff;*/ } - + /* QHeaderView ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview - + --------------------------------------------------------------------------- */ QHeaderView { background-color: transparent; text-align: center; } - + QHeaderView:disabled { background-color: #444444; color: rgb(174, 174, 174); } - + QHeaderView::section { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a); color: White; @@ -2275,22 +2275,22 @@ QListView { font-size: 13px; font-weight: bold; } - + QHeaderView::section::horizontal { padding-top: 1px; padding-bottom: 1px; padding-left: 5px; padding-right: 0px; } - + QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one { border-left: 0px solid #696968; } - + QHeaderView::section::horizontal:disabled { color: #353535; } - + QHeaderView::section::vertical { padding-top: 1px; padding-bottom: 0; @@ -2298,15 +2298,15 @@ QListView { padding-right: 0px; border-top: 0px solid #2a2a2a; } - + QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one { border-top: 2px solid #2a2a2a; } - + QHeaderView::section::vertical:disabled { border-top: 2px solid #2a2a2a; } - + QHeaderView::down-arrow { /* Those settings (border/width/height/background-color) solve bug */ /* transparent arrow background and size */ @@ -2318,7 +2318,7 @@ QListView { padding-right: 2px; image: url(qss:images_dark-light/down_arrow_light.svg); } - + QHeaderView::up-arrow { background-color: transparent; border: none; @@ -2328,12 +2328,12 @@ QListView { padding-right: 2px; image: url(qss:images_dark-light/up_arrow_light.svg); } - + /* QToolBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbox used in PATH - + --------------------------------------------------------------------------- */ QToolBox { padding: 0px; @@ -2341,12 +2341,12 @@ QListView { border-radius: 4px; background-color: transparent; } - + QToolBox:selected { padding: 0px; - border: 0px solid #2053c0; + border: 0px solid #2053c0; } - + QToolBox::tab { background-color: transparent; border: 0px solid #696969; @@ -2355,49 +2355,49 @@ QListView { background-repeat: none; background-position: center left; } - + QToolBox::tab:disabled { color: #696969; } - + QToolBox::tab:selected { background-color: #696969; background-image: url(qss:images_dark-light/transparent.svg); padding-right: 5px; background-repeat: none; } - + QToolBox::tab:selected:disabled { background-color: #696969; border-bottom: 0px solid #cccccc; color: white; } - + QToolBox::tab:!selected { - + } - + QToolBox::tab:!selected:disabled { background-color: #444444; } - + QToolBox::tab:hover { background-color: #2053c0; } - + QToolBox QScrollArea QWidget QWidget { padding: 0px; border: 0px; background-color: transparent; } - + /* QFrame ----------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe https://doc.qt.io/qt-5/qframe.html#-prop https://doc.qt.io/qt-5/qframe.html#details https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color - + --------------------------------------------------------------------------- */ /* (dot) .QFrame fix #141, #126, #123 */ .QFrame { @@ -2408,28 +2408,28 @@ QListView { /* HLine */ /* HLine */ } - + .QFrame[frameShape="0"] { border-radius: 1.9px; border: 1px solid #696968; } - + .QFrame[frameShape="4"] { max-height: 1px; border: none; background-color: #696968; } - + .QFrame[frameShape="5"] { max-width: 1px; border: none; background-color: #444444; } - + /* QSplitter -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter - + --------------------------------------------------------------------------- */ QSplitter { background-color: #3c3c3c; @@ -2437,12 +2437,12 @@ QListView { padding: 1px; margin: 1px; } - + QSplitter::handle { margin: 0px 0px; padding: 0px; } - + QSplitter::handle:horizontal { background-image: url(qss:images_dark-light/splitter_vertical_dark.svg); background-position: center center; @@ -2450,7 +2450,7 @@ QListView { margin: 2px 2px 2px 2px; width: 1px; } - + QSplitter::handle:vertical { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; @@ -2458,16 +2458,16 @@ QListView { margin: 2px 2px 2px 2px; height: 1px; } - + QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_light.svg); background-position: center center; background-repeat: none; background-color: #2053c0; } - + /* QDateEdit, QDateTimeEdit ----------------------------------------------- - + --------------------------------------------------------------------------- */ QDateEdit, QDateTimeEdit { selection-background-color: #2053c0; @@ -2482,50 +2482,50 @@ QListView { padding-right: 4px; min-width: 10px; } - + QDateEdit:on, QDateTimeEdit:on { selection-background-color: #2053c0; } - + QDateEdit::drop-down, QDateTimeEdit::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 12px; border-left: 1px solid #696968; } - + QDateEdit::down-arrow, QDateTimeEdit::down-arrow { image: url(qss:images_dark-light/down_arrow_disabled_light.svg); height: 8px; width: 8px; } - + QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus, QDateTimeEdit::down-arrow:on, QDateTimeEdit::down-arrow:hover, QDateTimeEdit::down-arrow:focus { image: url(qss:images_dark-light/down_arrow_lighter.svg); } - + QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView { background-color: #444444; border-radius: 2px; border: 1px solid #696968; selection-background-color: #2053c0; } - + /* QAbstractView ---------------------------------------------------------- - + --------------------------------------------------------------------------- */ QAbstractView:hover { border: 1px solid #2053c0; color: White; } - + QAbstractView:selected { background: #2053c0; color: White; } - + /* PlotWidget ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ PlotWidget { /* Fix cut labels in plots #134 */ diff --git a/src/Gui/Stylesheets/Darker-green.qss b/src/Gui/Stylesheets/Darker-green.qss index 3fd2d84ebd..d643eb300f 100644 --- a/src/Gui/Stylesheets/Darker-green.qss +++ b/src/Gui/Stylesheets/Darker-green.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #74831d #6d8000 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #74831d; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #444444; @@ -1594,7 +1594,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1884,8 +1884,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #74831d; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1913,8 +1913,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #74831d; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } @@ -2041,7 +2041,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2344,7 +2344,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #74831d; + border: 0px solid #74831d; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Darker-orange.qss b/src/Gui/Stylesheets/Darker-orange.qss index e42442e218..b9adb949bb 100644 --- a/src/Gui/Stylesheets/Darker-orange.qss +++ b/src/Gui/Stylesheets/Darker-orange.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #b28416 #996b00 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #b28416; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -647,7 +647,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #444444; @@ -1595,7 +1595,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1885,8 +1885,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #b28416; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1914,8 +1914,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #b28416; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } @@ -2042,7 +2042,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2345,7 +2345,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #b28416; + border: 0px solid #b28416; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Darker-pink.qss b/src/Gui/Stylesheets/Darker-pink.qss index d7cefe984b..1e650ba1b1 100644 --- a/src/Gui/Stylesheets/Darker-pink.qss +++ b/src/Gui/Stylesheets/Darker-pink.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #b216a0 #770069 @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -244,7 +244,7 @@ QCheckBox::indicator { color: white; background-color: #1c1b22; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_light.svg); } @@ -269,7 +269,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_light.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #b216a0; } @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #3c3c3c; margin-left: 30%; margin-right: 30%; @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #444444; @@ -1594,7 +1594,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1884,8 +1884,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: white; border-top: 4px solid #b216a0; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1913,8 +1913,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: white; border-bottom: 4px solid #b216a0; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #696969; - border-right: 1px solid #696969; + border-left: 1px solid #696969; + border-right: 1px solid #696969; } @@ -2041,7 +2041,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_light.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2344,7 +2344,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #b216a0; + border: 0px solid #b216a0; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Light-blue.qss b/src/Gui/Stylesheets/Light-blue.qss index d189603e53..107e1a9ea0 100644 --- a/src/Gui/Stylesheets/Light-blue.qss +++ b/src/Gui/Stylesheets/Light-blue.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,7 +15,7 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #8cb0ff #b0c9ff @@ -43,15 +43,15 @@ Resetting everything helps to unify styles across different operating systems border-image: none; outline: 0; } - + /* specific reset for elements inside QToolBar */ QToolBar * { margin: 0px; padding: 0px; } - + /*hacks */ - + Gui--PropertyEditor--PropertyEditor QLineEdit:read-only, Gui--PropertyEditor--PropertyEditor QLineEdit:disabled, Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:read-only, @@ -61,7 +61,7 @@ Resetting everything helps to unify styles across different operating systems background-color: transparent; selection-color: transparent; selection-background-color: transparent; - + } Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel, Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled { @@ -72,7 +72,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + Gui--PropertyEditor--PropertyEditor QSpinBox, Gui--PropertyEditor--PropertyEditor QDoubleSpinBox, Gui--PropertyEditor--PropertyEditor QAbstractSpinBox, @@ -82,9 +82,9 @@ Resetting everything helps to unify styles across different operating systems margin-right: 0px; padding-top: 0px; padding-bottom: 0px; - + } - + /*================================================================================================== Main window ==================================================================================================*/ @@ -94,7 +94,7 @@ Resetting everything helps to unify styles across different operating systems QToolBar { background-color: #F6F6F6; /* main background color */ } - + QMdiArea { background-image: url(qss:images_dark-light/background_freecad.svg); background-position: center center; @@ -102,12 +102,12 @@ Resetting everything helps to unify styles across different operating systems } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { - /*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); + /*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); } /*===== /* QWidget ---------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QWidget { background-color: #F6F6F6; @@ -117,29 +117,29 @@ Resetting everything helps to unify styles across different operating systems selection-background-color: #8cb0ff; selection-color: black; } - + QWidget:disabled { background-color: transparent; color: #A3A3A3; selection-background-color: #8cb0ff; selection-color: #A3A3A3; } - + QWidget::item:selected { background-color: #8cb0ff ; } - + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #8cb0ff; }*/ - + /* QMainWindow ------------------------------------------------------------ - + This adjusts the splitter in the dock widget, not qsplitter https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow - + --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #f6f6f6;*/ @@ -147,37 +147,37 @@ Resetting everything helps to unify styles across different operating systems spacing: 0px; padding: 1px; } - + QMainWindow::separator:vertical:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #8cb0ff, stop:0.8 transparent); /*background-color: #8cb0ff;*/ image: url(qss:images_dark-light/splitter_vertical_dark.svg); } - + QMainWindow::separator:horizontal:hover { background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #8cb0ff, stop:0.8 transparent); /*background-color: #8cb0ff;*/ image: url(qss:images_dark-light/splitter_horizontal_dark.svg); } - + QMainWindow::separator:horizontal { width: 4px; margin-top: 0.1px; margin-bottom: 0.1px; /* image: url(qss:images_dark-light/splitter_horizontal_light.svg);*/ } - + QMainWindow::separator:vertical { height: 4px; margin-left: 0.1px; margin-right: 0.1px; /* image: url(qss:images_dark-light/splitter_vertical_light.svg);*/ } - + /* QToolTip --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip - + --------------------------------------------------------------------------- */ QToolTip { background-color: #ffffff; @@ -188,11 +188,11 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; /* Remove opacity, fix #174 - may need to use RGBA */ } - + /* QStatusBar ------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar - + --------------------------------------------------------------------------- */ QStatusBar { border: 0px solid #C1C1C1; @@ -200,11 +200,11 @@ Resetting everything helps to unify styles across different operating systems background: #F6F6F6; /* Fixes #205, black vertical borders separating items */ } - + QStatusBar::item { border: none; } - + QStatusBar QToolTip { background-color: #F6F6F6; border: 1px solid #C1C1C1; @@ -214,16 +214,16 @@ Resetting everything helps to unify styles across different operating systems /* Reducing transparency to read better */ opacity: 230; } - + QStatusBar QLabel { /* Fixes Spyder #9120, #9121 */ background: transparent; } - + /* QCheckBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox - + --------------------------------------------------------------------------- */ QCheckBox { color: black; @@ -232,73 +232,73 @@ Resetting everything helps to unify styles across different operating systems border: 1px solid transparent; background-color: transparent; } - + QCheckBox:focus { border: 1px solid #b0c9ff; } - + QCheckBox QWidget:disabled { background-color: transparent; color: #A3A3A3; } - + QCheckBox::indicator { color: black; background-color: #ffffff; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QCheckBox::indicator:unchecked { background-color: #ffffff; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed { background-color: #8cb0ff; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QCheckBox::indicator:unchecked:disabled { background-color: #F6F6F6; image:url(qss:images_dark-light/checkbox_unchecked_disabled.svg); } - + QCheckBox::indicator:checked { background-color: #ffffff; /*border: 1px solid #C1C1C1; /* QRadioButton has the same color */ image:url(qss:images_dark-light/checkbox_dark.svg); } - - QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { + + QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #8cb0ff; } - + QCheckBox::indicator:checked:disabled { background-color: #F6F6F6; image: url(qss:images_dark-light/check_dark.svg); } - + QCheckBox::indicator:indeterminate { background-color: #ffffff; border: 1px solid #C1C1C1; image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QCheckBox::indicator:indeterminate:disabled { background-color: #F6F6F6; image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed { background-color: #8cb0ff; /* QRadioButton has the same color */ } - + /* QGroupBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox - + --------------------------------------------------------------------------- */ QGroupBox { font-weight: bold; @@ -308,7 +308,7 @@ Resetting everything helps to unify styles across different operating systems margin-top: 10px; margin-bottom: 4px; } - + QGroupBox::title { subcontrol-origin: margin; subcontrol-position: top left; @@ -317,7 +317,7 @@ Resetting everything helps to unify styles across different operating systems padding-right: 4px; padding-top: 6px; } - + QGroupBox::indicator { color: black; background-color: #f6f6f6; @@ -326,39 +326,39 @@ Resetting everything helps to unify styles across different operating systems height: 12px; border-radius:1px; } - + QGroupBox::indicator:unchecked { background-color: #f6f6f6; border: 1px solid #C1C1C1; image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed { background-color: #8cb0ff; } - + QGroupBox::indicator:unchecked:disabled { background-color: #ffffff; border: 1px solid #C1C1C1; } - + QGroupBox::indicator:checked { border: none; image:url(qss:images_dark-light/checkbox_dark.svg); } - + QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed { background-color: #8cb0ff; } - + QGroupBox::indicator:checked:disabled { background-color: #8cb0ff; } - + /* QRadioButton ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton - + --------------------------------------------------------------------------- */ QRadioButton { background-color: transparent; @@ -369,16 +369,16 @@ Resetting everything helps to unify styles across different operating systems padding-bottom: 4px; outline: none; } - + QRadioButton:focus { border: 1px solid #b0c9ff; } - + QRadioButton:disabled { background-color: #f6f6f6; color: #BABABA; } - + QRadioButton QWidget { background-color: transparent; color: black; @@ -387,7 +387,7 @@ Resetting everything helps to unify styles across different operating systems outline: none; border: none; } - + QRadioButton::indicator { background-color: #f6f6f6; border: 1px solid #C1C1C1; @@ -396,43 +396,43 @@ Resetting everything helps to unify styles across different operating systems height: 11px; width: 11px; } - + QRadioButton::indicator:unchecked { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ } - + QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed { background-color: #8cb0ff; border: 1px solid #8cb0ff; border-radius: 6px; } - + QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_light.svg);*/ border: 1px solid #C1C1C1; } - + QRadioButton::indicator:checked { image:url(qss:images_dark-light/radiobutton_dark.svg); } - + QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed { background-color: #8cb0ff; border: 1px solid #8cb0ff; border-radius: 6px; image:url(qss:images_dark-light/radiobutton_dark.svg); } - + QRadioButton::indicator:checked:disabled { outline: none; background-color: #f6f6f6; image:url(qss:images_dark-light/radiobutton_light.svg); } - + /* QMenuBar --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar - + --------------------------------------------------------------------------- */ QMenuBar { background-color: #ffffff; @@ -441,11 +441,11 @@ Resetting everything helps to unify styles across different operating systems color: black; selection-background-color: #8cb0ff; } - + QMenuBar:focus { border: 1px solid #8cb0ff; } - + QMenuBar::item { background: transparent; /*padding-left:5px; @@ -453,13 +453,13 @@ Resetting everything helps to unify styles across different operating systems padding-bottom: 1px; padding-top: 1px;*/ } - + QMenuBar::item:selected { background: transparent; border: 0px solid #C1C1C1; background-color: #8cb0ff; } - + QMenuBar::item:pressed { /*padding: 2px; padding-left: 10px; @@ -470,11 +470,11 @@ Resetting everything helps to unify styles across different operating systems /*margin-bottom: 0px; padding-bottom: 0px;*/ } - + /* QMenu ------------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu - + --------------------------------------------------------------------------- */ QMenu { border-bottom: 2px rgba(0,0,0,140); @@ -484,36 +484,36 @@ Resetting everything helps to unify styles across different operating systems background-color: #ffffff; selection-background-color: #8cb0ff; } - + QMenu::separator { - height: 2px; + height: 2px; background-color: #f6f6f6; margin-left: 30%; margin-right: 30%; } - + QMenu::item { background-color: transparent; padding: 2px 2px; /* make room for icon at left */ /* Reserve space for selection border */ border: 0px transparent #f6f6f6; } - + QMenu::item:selected { color: black; background-color: #8cb0ff; } - + QMenu::item:pressed { background-color: #8cb0ff; } - + QMenu::icon { margin-left: 5px; width: 14px; height: 14px; } - + QMenu::indicator { margin-left: 2px; margin-right: 2px; @@ -523,7 +523,7 @@ Resetting everything helps to unify styles across different operating systems /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ } - + QMenu::icon:checked { /* appearance of a 'checked' icon */ background: #b0c9ff; margin-left: -5px; @@ -534,74 +534,74 @@ Resetting everything helps to unify styles across different operating systems QMenu::indicator:non-exclusive:unchecked { image: url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; - background: #8cb0ff; + background: #8cb0ff; } - + QMenu::indicator:non-exclusive:unchecked:disabled { image: url(qss:images_dark-light/checkbox_unchecked_disabled.svg); } - + QMenu::indicator:non-exclusive:checked { image:url(qss:images_dark-light/checkbox_dark.svg); } - + QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed { border: none; background: #8cb0ff; } - + QMenu::indicator:non-exclusive:checked:disabled { image:url(qss:images_dark-light/checkbox_checked_disabled.svg); } - + QMenu::indicator:non-exclusive:indeterminate { image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QMenu::indicator:non-exclusive:indeterminate:disabled { image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QMenu::indicator:non-exclusive:indeterminate:focus, QMenu::indicator:non-exclusive:indeterminate:hover, QMenu::indicator:non-exclusive:indeterminate:pressed { image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QMenu::indicator:exclusive:unchecked { image: url(qss:images_dark-light/transparent.svg); } - + QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed { border: none; outline: none; background: #8cb0ff; image: url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QMenu::indicator:exclusive:unchecked:disabled { image: url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QMenu::indicator:exclusive:checked { border: none; outline: none; image: url(qss:images_dark-light/radiobutton_dark.svg); } - + QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed { border: none; outline: none; background: #8cb0ff; image: url(qss:images_dark-light/checkbox_unchecked_dark.svg); } - + QMenu::indicator:exclusive:checked:disabled { outline: none; image: url(qss:images_dark-light/radiobutton_dark.svg); } - + QMenu::right-arrow { margin: 5px; padding-left: 12px; @@ -610,11 +610,11 @@ Resetting everything helps to unify styles across different operating systems width: 12px; background-color: transparent; } - + /* QAbstractItemView ------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox - + --------------------------------------------------------------------------- */ QAbstractItemView { alternate-background-color: #ababab; @@ -622,15 +622,15 @@ Resetting everything helps to unify styles across different operating systems border: 1px solid #C1C1C1; border-radius: 2px; } - + QAbstractItemView QLineEdit { padding: 2px; } - + /* QAbstractScrollArea ---------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea - + --------------------------------------------------------------------------- */ QAbstractScrollArea { background-color: transparent; @@ -641,23 +641,23 @@ Resetting everything helps to unify styles across different operating systems /* remove min-height to fix #244 */ color: black; } - + QAbstractScrollArea:disabled { color: #A3A3A3; } - + /* QScrollArea ------------------------------------------------------------ - - --------------------------------------------------------------------------- + + --------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #F6F6F6; } - + /* QScrollBar ------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar - + --------------------------------------------------------------------------- */ QScrollBar:horizontal { height: 16px; @@ -666,7 +666,7 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; background-color: #F6F6F6; } - + QScrollBar:vertical { background-color: #F6F6F6; width: 16px; @@ -674,43 +674,43 @@ Resetting everything helps to unify styles across different operating systems border: 0px solid #C1C1C1; border-radius: 1.9px; } - + QScrollBar::handle:horizontal { background-color: #A3A3A3; border: 1px solid #C1C1C1; border-radius: 1.9px; min-width: 8px; } - + QScrollBar::handle:horizontal:hover { background-color: #8cb0ff; border: #f6f6f6; border-radius: 1.9px; min-width: 8px; } - + QScrollBar::handle:horizontal:focus { border: 1px solid #b0c9ff; } - + QScrollBar::handle:vertical { background-color: #A3A3A3; border: 1px solid #C1C1C1; min-height: 8px; border-radius: 1.9px; } - + QScrollBar::handle:vertical:hover { background-color: #8cb0ff; border: #f6f6f6; border-radius: 1.9px; min-height: 8px; } - + QScrollBar::handle:vertical:focus { border: 1px solid #b0c9ff; } - + QScrollBar::add-line:horizontal { border-image: url(qss:images_dark-light/right_arrow_dark.svg); height: 9px; @@ -718,7 +718,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: right; subcontrol-origin: margin; } - + QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on { border-image: url(qss:images_dark-light/right_arrow_dark.svg); height: 9px; @@ -726,7 +726,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: right; subcontrol-origin: margin; } - + QScrollBar::add-line:vertical { border-image: url(qss:images_dark-light/down_arrow_dark.svg); height: 5px; @@ -734,7 +734,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: bottom; subcontrol-origin: margin; } - + QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on { border-image: url(qss:images_dark-light/down_arrow_darker.svg); height: 5px; @@ -742,7 +742,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: bottom; subcontrol-origin: margin; } - + QScrollBar::sub-line:horizontal { margin: 0px 0px 0px 0px; border-image: url(qss:images_dark-light/left_arrow_dark.svg); @@ -751,7 +751,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: left; subcontrol-origin: margin; } - + QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on { border-image: url(qss:images_dark-light/left_arrow_darker.svg); height: 9px; @@ -759,7 +759,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: left; subcontrol-origin: margin; } - + QScrollBar::sub-line:vertical { margin: 0px 0px 0px 0px; border-image: url(qss:images_dark-light/up_arrow_dark.svg); @@ -768,7 +768,7 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: top; subcontrol-origin: margin; } - + QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on { border-image: url(qss:images_dark-light/up_arrow_darker.svg); height: 5px; @@ -776,28 +776,28 @@ Resetting everything helps to unify styles across different operating systems subcontrol-position: top; subcontrol-origin: margin; } - + QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal { background: none; } - + QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical { background: none; } - + QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { background: none; } - + QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: none; } - + /* QTextEdit -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets - - + + report view --------------------------------------------------------------------------- */ QTextEdit { @@ -806,16 +806,16 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; border: 0px solid #C1C1C1; } - + QTextEdit:focus { border: 1px solid #b0c9ff; } - + QTextEdit:selected { background: #346792; color: black; } - + /* QPlainTextEdit --------------------------------------------------------- Python --------------------------------------------------------------------------- */ @@ -825,20 +825,20 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; border: 0px solid #C1C1C1; } - + QPlainTextEdit:focus { border: 1px solid #b0c9ff; } - + QPlainTextEdit:selected { background: #8cb0ff; color: black; } - + /* QSizeGrip -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip - + --------------------------------------------------------------------------- */ QSizeGrip { background: transparent; @@ -846,19 +846,19 @@ Resetting everything helps to unify styles across different operating systems height: 12px; image:url(qss:images_dark-light/sizegrip_dark.svg); } - + /* QStackedWidget --------------------------------------------------------- - + --------------------------------------------------------------------------- */ QStackedWidget { padding: 0px; border: 0px solid #C1C1C1; } - + /* QToolBar --------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar - + --------------------------------------------------------------------------- */ QToolBar { background-color: #F6F6F6; @@ -867,12 +867,12 @@ Resetting everything helps to unify styles across different operating systems font-weight: bold; spacing: 1px; } - + QToolBar:disabled { /* Fixes #272 */ background-color: #F6F6F6; } - + QToolBar::handle:horizontal { width: 8px; margin: 3px 3px; @@ -880,7 +880,7 @@ Resetting everything helps to unify styles across different operating systems background-repeat: repeat-y; background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg); } - + QToolBar::handle:vertical { height: 8px; margin: 3px 3px; @@ -888,19 +888,19 @@ Resetting everything helps to unify styles across different operating systems background-repeat: repeat-x; background-image: url(qss:images_dark-light/Vmovetoolbar_dark.svg); } - + QToolBar::separator:horizontal { width: 2px; margin: 4px 4px; background-color: transparent; } - + QToolBar::separator:vertical { height: 2px; margin: 4px 4px; background-color: transparent; } - + /*The "show more" button (it can also be stylable with "QToolBarExtension" icon is not working Qproperty works but breaks when you move the toolbar see also */ QToolButton#qt_toolbar_ext_button { margin: 0px; @@ -910,21 +910,21 @@ Resetting everything helps to unify styles across different operating systems background-repeat: none; background-position: center center; } - + QToolButton#qt_toolbar_ext_button:hover { /*background-image: url(qss:images_dark-light/more_dark.svg);*/ background-color: #8cb0ff; } - + QToolButton#qt_toolbar_ext_button:on { /*background-image: url(qss:images_dark-light/more_dark.svg);*/ border-color: #f6f6f6; background-color: #8cb0ff; } - - + + /* QAbstractSpinBox ------------------------------------------------------- - + --------------------------------------------------------------------------- */ QAbstractSpinBox, QSpinBox { @@ -941,7 +941,7 @@ Resetting everything helps to unify styles across different operating systems min-height: 1.7em; /* min-width: 5px; removed to fix 109 */ } - + QAbstractSpinBox:up-button { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED); subcontrol-origin: border; @@ -953,17 +953,17 @@ Resetting everything helps to unify styles across different operating systems /*width: 12px; /*margin-bottom: -1px;*/ } - + QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off { image: url(qss:images_dark-light/up_arrow_disabled_dark.svg); /* height: 8px; width: 8px;*/ } - + QAbstractSpinBox::up-arrow:hover { image: url(qss:images_dark-light/up_arrow_darker.svg); } - + QAbstractSpinBox:down-button { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED); subcontrol-origin: border; @@ -975,38 +975,38 @@ Resetting everything helps to unify styles across different operating systems /*width: 12px; /*margin-top: -1px;*/ } - + QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off { image: url(qss:images_dark-light/down_arrow_disabled_dark.svg); /*height: 8px; width: 8px;*/ } - + QAbstractSpinBox::down-arrow:hover { image: url(qss:images_dark-light/down_arrow_darker.svg); } - + QAbstractSpinBox:hover { /*border: 1px solid #8cb0ff; color: black;*/ } - + QAbstractSpinBox:focus { border: 1px solid #b0c9ff; } - + QAbstractSpinBox:selected { background: #b0c9ff; /*color: black;*/ } - + /* ------------------------------------------------------------------------ */ /* DISPLAYS --------------------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QLabel ----------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe - + --------------------------------------------------------------------------- */ QLabel { background-color: transparent; @@ -1015,22 +1015,22 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; color: black; } - + QLabel:disabled { background-color: transparent; border: 0px solid #C1C1C1; color: #A3A3A3; } - + QLabel[haslink="true"] { color: orange; } - - + + /* QTextBrowser ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea - + --------------------------------------------------------------------------- */ QTextBrowser { background-color: #ffffff; @@ -1038,20 +1038,20 @@ Resetting everything helps to unify styles across different operating systems color: black; border-radius: 1.9px; } - + QTextBrowser:disabled { background-color: #F6F6F6; border: 1px solid #C1C1C1; color: #A3A3A3; border-radius: 1.9px; } - + QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed { border: 1px solid #8cb0ff; } - + /* QGraphicsView ---------------------------------------------------------- - + --------------------------------------------------------------------------- */ QGraphicsView { background-color: transparent; @@ -1059,48 +1059,48 @@ Resetting everything helps to unify styles across different operating systems color: black; border-radius: 0px; } - + QGraphicsView:disabled { background-color: #ffffff; border: 0px solid #C1C1C1; color: #A3A3A3; border-radius: 0px; } - + QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed { border: 0px solid #ff00f7; } - + /* QCalendarWidget -------------------------------------------------------- - + --------------------------------------------------------------------------- */ QCalendarWidget { border: 1px solid #C1C1C1; border-radius: 1.9px; } - + QCalendarWidget:disabled { background-color: #BABABA; color: #A3A3A3; } - + /* QLCDNumber ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QLCDNumber { background-color: #1aff00; color: black; } - + QLCDNumber:disabled { background-color: #F6F6F6; color: #A3A3A3; } - + /* QProgressBar ----------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar - + --------------------------------------------------------------------------- */ QProgressBar { background-color: #A3A3A3; @@ -1109,7 +1109,7 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; text-align: center; } - + QProgressBar:disabled { background-color: #ffffff; border: 1px solid #C1C1C1; @@ -1117,26 +1117,26 @@ Resetting everything helps to unify styles across different operating systems border-radius: 1.9px; text-align: center; } - + QProgressBar::chunk { background-color: #8cb0ff; color: #F6F6F6; border-radius: 1.9px; } - + QProgressBar::chunk:disabled { background-color: #ffffff; color: #f6f6f6; border-radius: 1.9px; } - + /* ------------------------------------------------------------------------ */ /* BUTTONS ---------------------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QPushButton ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton - + --------------------------------------------------------------------------- */ QPushButton { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED); @@ -1146,57 +1146,57 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; padding: 2px; } - + QPushButton:disabled { background-color: #F6F6F6; color: #A3A3A3; - + } - + QPushButton:checked { background-color: #8cb0ff; outline: none; } - + QPushButton:checked:disabled { background-color: #8cb0ff; color: #f6f6f6; outline: none; } - + QPushButton:checked:selected { background: #8cb0ff; } - + QPushButton:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #8cb0ff, stop:1 #b0c9ff); color: black; } - + QPushButton:pressed { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b0c9ff, stop:1 #8cb0ff); } - + QPushButton:selected { background: #b0c9ff; color: black; } - + QPushButton::menu-indicator { subcontrol-origin: padding; subcontrol-position: bottom right; bottom: 4px; } - + QDialogButtonBox QPushButton { /* Issue # 194 # 248 - Special case of QPushButton inside dialogs, for better UI */ min-width: 80px; } - + /* QToolButton ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton - + --------------------------------------------------------------------------- */ QToolButton { background-color: transparent; @@ -1209,21 +1209,21 @@ Resetting everything helps to unify styles across different operating systems /* The subcontrols below are used only in the MenuButtonPopup mode */ /* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */ } - + QToolButton:disabled { background-color: transparent; color: #A3A3A3; border-radius: 1px; padding: 0px; } - + QToolButton:checked { background-color: #8cb0ff; border-radius: 1.9px; padding: 0px; outline: none; } - + QToolButton:checked:disabled { background-color: #b65555; color: #A3A3A3; @@ -1231,40 +1231,40 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; outline: none; } - + QToolButton:checked:hover { background-color: #8cb0ff; color: black; } - + QToolButton:checked:pressed { background-color: #8cb0ff; } - + QToolButton:checked:selected { background: #b0c9ff; color: black; } - + QToolButton:hover { background-color: #8cb0ff; color: black; } - + QToolButton:pressed { background-color: #b0c9ff; } - + QToolButton:selected { background: #8cb0ff; color: black; } - + QToolButton[popupMode="0"] { /* Only for DelayedPopup */ padding-right: 20px; } - + QToolButton[popupMode="1"] { /* Only for MenuButtonPopup */ padding-right: 20px; @@ -1272,7 +1272,7 @@ Resetting everything helps to unify styles across different operating systems QToolButton[popupMode="0"]::menu-button { border: none; } - + QToolButton[popupMode="0"]::menu-button:hover { border: none; border-left: 2px solid #fe0000; @@ -1281,18 +1281,18 @@ Resetting everything helps to unify styles across different operating systems QToolButton[popupMode="1"]::menu-button { border: none; } - + QToolButton[popupMode="1"]::menu-button:hover { border: none; border-left: 2px solid #e5ff00; border-radius: 0px; } - + QToolButton[popupMode="2"] { /* Only for InstantPopup */ padding-right: 20px; } - + QToolButton::menu-button { border-bottom: 0px solid #b2b2b2; border-radius: 2px; @@ -1302,22 +1302,22 @@ Resetting everything helps to unify styles across different operating systems border-radius: 2px; border: 0px #000000; } - + QToolButton::menu-button:hover { /* background: rgba(0, 0, 0, 0.5);*/ - + } - + QToolButton::menu-button:checked:hover { /* background: rgba(0, 0, 0, 0.5);*/ } - + QToolButton::menu-indicator { /* Exclude a shift for better image */ subcontrol-position: right bottom; /* Shift it a bit */ } - + QToolButton::menu-arrow { image: url(qss:images_dark-light/more_arrow_dark.svg); width: 1.5ex; @@ -1334,9 +1334,9 @@ Resetting everything helps to unify styles across different operating systems background-color: rgba(0, 0, 0, 0.498); border: 1px solid rgba(0, 0, 0, 0.498); } - + /* QCommandLinkButton ----------------------------------------------------- - + --------------------------------------------------------------------------- */ QCommandLinkButton { background-color: transparent; @@ -1346,19 +1346,19 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QCommandLinkButton:disabled { background-color: transparent; color: #A3A3A3; } - + /* ------------------------------------------------------------------------ */ /* INPUTS - NO FIELDS ----------------------------------------------------- */ /* ------------------------------------------------------------------------ */ /* QComboBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox - + --------------------------------------------------------------------------- */ QComboBox { border: 1px solid transparent; @@ -1385,39 +1385,39 @@ Resetting everything helps to unify styles across different operating systems background-color: #ffffff; selection-background-color: #8cb0ff; } - + QComboBox QAbstractItemView:hover { background-color:#ffffff; color: black; } - + QComboBox QAbstractItemView:selected { background: #8cb0ff; color: black; } - + QComboBox QAbstractItemView:alternate { background: #f6f6f6; } - + QComboBox:disabled { background-color: #F6F6F6; color: #BABABA; } - + QComboBox:hover { /*background-color: #8cb0ff;*/ border: 1px solid #8cb0ff; } - + QComboBox:focus { border: 1px solid #b0c9ff; } - + QComboBox:on { selection-background-color: #b0c9ff; } - + QComboBox::indicator { border: none; border-radius: 0px; @@ -1427,27 +1427,27 @@ Resetting everything helps to unify styles across different operating systems selection-color: #8cb0ff; /* Needed to remove indicator - fix #132 */ } - + QComboBox::indicator:alternate { background: #f6f6f6; } - + QComboBox::item { /* Remove to fix #282, #285 and MR #288*/ /*&:checked { font-weight: bold; } - + &:selected { border: 0px solid transparent; } */ } - + QComboBox::item:alternate { background: #f6f6f6; } - + QComboBox::drop-down { subcontrol-origin: padding; background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED); @@ -1458,18 +1458,18 @@ Resetting everything helps to unify styles across different operating systems QComboBox::drop-down:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #8cb0ff, stop:1 #b0c9ff); } - + QComboBox::down-arrow { image: url(qss:images_dark-light/down_arrow_disabled_dark.svg); height: 10px; width: 10px; } - + QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus { image: url(qss:images_dark-light/down_arrow_darker.svg); } - - + + /*================================================================================================== Tasks panel (custom FreeCAD class) ==================================================================================================*/ @@ -1477,20 +1477,20 @@ Resetting everything helps to unify styles across different operating systems qproperty-groupTextColor: black; qproperty-groupBackground: #f6f6f6; border: 0px solid #C1C1C1; - + } - + /* Action group */ QFrame[class="panel"] { background-color: transparent; /* temporal (transparent background) */ - + } - + QSint--ActionGroup { padding: 0px; /* if not reset, it might create problems with QPushButtons and other elements */ margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */ } - + /* Separator line */ QSint--ActionGroup QFrame[height="1"], QSint--ActionGroup QFrame[height="2"], @@ -1500,7 +1500,7 @@ Resetting everything helps to unify styles across different operating systems QSint--ActionGroup QFrame[width="3"] { border-color: rgba(0,0,0,60); } - + /* Panel header */ QSint--ActionGroup QFrame[class="header"] { border-top: 1px solid #C1C1C1; @@ -1514,11 +1514,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + QSint--ActionGroup QFrame[class="header"]:hover { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #8cb0ff, stop:1 #b0c9ff); } - + QSint--ActionGroup QToolButton[class="header"] { color: black; /* Task Panel Header text color */ text-align: left; @@ -1527,7 +1527,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; padding: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel { background-color: transparent; background-image: url(qss:images_dark-light/down_arrow_dark.svg); @@ -1536,12 +1536,12 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel:hover { background-color: transparent; background-image: url(qss:images_dark-light/down_arrow_darker.svg); } - + QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"] { background-color: transparent; background-image: url(qss:images_dark-light/up_arrow_dark.svg); @@ -1550,12 +1550,12 @@ Resetting everything helps to unify styles across different operating systems padding: 0px; margin: 0px; } - + QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"]:hover { background-color: transparent; background-image: url(qss:images_dark-light/up_arrow_darker.svg); } - + QSint--ActionGroup QFrame[class="content"] { background-color: transparent; /* Task Panel background color */ margin: 0px; @@ -1568,43 +1568,43 @@ Resetting everything helps to unify styles across different operating systems border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } - + QSint--ActionGroup QFrame[class="content"] > QWidget { background-color: #F6F6F6; /* Task Panel background color */ } - + /* Fixs for tabs inside Task Panel */ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected { border-bottom-color: #8cb0ff; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected { border-top-color: #8cb0ff; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected { border-right-color: #8cb0ff; /* same as Task Panel background color */ } - + QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected { border-left-color: #8cb0ff; /* same as Task Panel background color */ } - + /* Fix for buttons with icons that showed cropped (still not happy with result) */ QSint--ActionGroup QFrame[class="content"] > QWidget > QPushButton { padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } - - /* Fix for lists inside task panels */ /* sketcher constraints list */ + + /* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { color: black; background-color: #ffffff; } - - + + /* found inside Part Design Workbench and "make a draft on a face" Task panel options */ QSint--ActionGroup QFrame[class="content"] QToolButton { color: black; @@ -1616,40 +1616,40 @@ Resetting everything helps to unify styles across different operating systems min-height: 16px; /* same as QTabBar QPushButton min-width */ border-radius: 1px; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:hover{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #8cb0ff, stop:1 #b0c9ff); - + } QSint--ActionGroup QFrame[class="content"] QToolButton:focus { border: 1px solid #b0c9ff ; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:disabled, QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked { color: #A3A3A3; background-color: #ffffff; } - + QSint--ActionGroup QFrame[class="content"] QToolButton:pressed { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #8cb0ff, stop:1 #b0c9ff); - + } - + /* QSlider ---------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider - + --------------------------------------------------------------------------- */ QSlider:disabled { background: #F6F6F6; } - + QSlider:focus { border: 1px solid #b0c9ff; } - + QSlider::groove:horizontal { background: #F6F6F6; border: 1px solid #C1C1C1; @@ -1657,7 +1657,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::groove:vertical { background: #8cb0ff; border: 1px solid #C1C1C1; @@ -1665,7 +1665,7 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::add-page:vertical { background: #8cb0ff; border: 1px solid #C1C1C1; @@ -1673,11 +1673,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::add-page:vertical :disabled { background: #f6f6f6; } - + QSlider::sub-page:horizontal { background: #8cb0ff; border: 1px solid #C1C1C1; @@ -1685,11 +1685,11 @@ Resetting everything helps to unify styles across different operating systems margin: 0px; border-radius: 1.9px; } - + QSlider::sub-page:horizontal:disabled { background: #8cb0ff; } - + QSlider::handle:horizontal { background: #BABABA; border: 1px solid #C1C1C1; @@ -1698,16 +1698,16 @@ Resetting everything helps to unify styles across different operating systems margin: -8px 0px; border-radius: 1.9px; } - + QSlider::handle:horizontal:hover { background: #8cb0ff; border: 1px solid #8cb0ff; } - + QSlider::handle:horizontal:focus { border: 1px solid #b0c9ff; } - + QSlider::handle:vertical { background: #A3A3A3; border: 1px solid #C1C1C1; @@ -1716,20 +1716,20 @@ Resetting everything helps to unify styles across different operating systems margin: 0 -8px; border-radius: 1.9px; } - + QSlider::handle:vertical:hover { background: #8cb0ff; border: 2px solid #8cb0ff; } - + QSlider::handle:vertical:focus { border: 1px solid #b0c9ff; } - + /* QLineEdit -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit - + --------------------------------------------------------------------------- */ QLineEdit { background-color: #ffffff; @@ -1744,133 +1744,133 @@ Resetting everything helps to unify styles across different operating systems border-radius: 2px; color: black; } - + QLineEdit:disabled { background-color: #F6F6F6; color: #A3A3A3; } - + QLineEdit:hover { border: 1px solid #8cb0ff; color: black; } - + QLineEdit:focus { border: 2px solid #b0c9ff; } - + QLineEdit:selected { background-color: #8cb0ff; color: black; } - + /* QTabWiget -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar - + --------------------------------------------------------------------------- */ QTabWidget { padding: 2px; selection-background-color: #8cb0ff; } - + QTabWidget QWidget { /* Fixes #189 */ border-radius: 1.9px; } - + QTabWidget::pane { margin: 0px; /* Fixes double border inside pane with pyqt5 */ padding: 0px; } - + QTabWidget::pane:selected { background-color: #8cb0ff; border: 1px solid #C1C1C1; } /* QTabBar ---------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar - + --------------------------------------------------------------------------- */ QTabBar, QDockWidget QTabBar { qproperty-drawBase: 0; /* left: 5px; move to the right by 5px - removed for fix */ } - + QTabBar::close-button, QDockWidget QTabBar::close-button { border: 0; margin: 0; padding: 1px; image: url(qss:images_dark-light/close_dark.svg); } - + QTabBar::close-button:hover, QDockWidget QTabBar::close-button:hover { image: url(qss:images_dark-light/close_red.svg); /*background-color: rgba(255, 0, 0, 0.3);*/ } - + QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed { image: url(qss:images_dark-light/close_.svg); } - + QTabBar::tab, QDockWidget QTabBar::tab { /* !selected and disabled ----------------------------------------- */ /* selected ------------------------------------------------------- */ padding: 4px; } - + QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled { color: #797979; } - + QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled { color: #797979; } - + QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled { color: #A0A0A0; } - + QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled { color: #A0A0A0; } - + QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled { color: #A0A0A0; } - + QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled { color: #A0A0A0; - + } - + QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled { color: #A0A0A0; - + } - + QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled { color: #A0A0A0; } - + QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected { color: #A0A0A0; } - + QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected { color: #A0A0A0; } - + QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected { color: #A0A0A0; } - + QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected { color: #A0A0A0; } - + QTabBar::tab:top, QDockWidget QTabBar::tab:top { color: #A0A0A0; margin-left: 0px; @@ -1882,15 +1882,15 @@ Resetting everything helps to unify styles across different operating systems border-bottom: 1px solid #A3A3A3; /* same as tab content background color */ border-radius: 0px; } - + QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: black; border-top: 4px solid #8cb0ff; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } - + QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { /*border: 1px solid #8cb0ff;*/ border: 0px solid #8cb0ff; @@ -1900,7 +1900,7 @@ Resetting everything helps to unify styles across different operating systems padding-right: 3px; color: black; } - + QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom { color: #A0A0A0; margin-left: 0px; @@ -1912,16 +1912,16 @@ Resetting everything helps to unify styles across different operating systems border-top: 1px solid #A3A3A3; /* same as tab content background color */ border-radius: 0px; } - + QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: black; border-bottom: 4px solid #8cb0ff; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; - + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; + } - + QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover { /*border: 1px solid #8cb0ff;*/ border: 0px solid #8cb0ff; @@ -1931,11 +1931,11 @@ Resetting everything helps to unify styles across different operating systems padding-right: 3px; color: black; } - + QTabBar::tab:left, QDockWidget QTabBar::tab:left { background-color: #F6F6F6; margin-top: 2px; - + padding-left: 2px; padding-right: 2px; padding-top: 4px; @@ -1943,12 +1943,12 @@ Resetting everything helps to unify styles across different operating systems border-radius: 4px; min-height: 5px; } - + QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected { background-color: #F6F6F6; border: 0px solid #b0c9ff; } - + QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover { border: 0px solid #8cb0ff; background-color: #8cb0ff; @@ -1957,7 +1957,7 @@ Resetting everything helps to unify styles across different operating systems padding-right: -1px; color: black; } - + QTabBar::tab:right, QDockWidget QTabBar::tab:right { background-color: #F6F6F6; margin-top: 2px; @@ -1968,12 +1968,12 @@ Resetting everything helps to unify styles across different operating systems min-height: 5px; border: 10px; } - + QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected { background-color: #F6F6F6; border: 0px solid #b0c9ff; } - + QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover { border: 0px solid #8cb0ff; background-color: #8cb0ff; @@ -1982,43 +1982,43 @@ Resetting everything helps to unify styles across different operating systems padding-left: 0px; color: black; } - + QTabBar QToolButton, QDockWidget QTabBar QToolButton { /* Fixes #136 */ background-color: #F6F6F6; height: 12px; width: 12px; } - + QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed { border: 0px solid #8cb0ff; background-color: #8cb0ff; } - + QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover { border: 0px solid #8cb0ff; background-color: #8cb0ff; color: black; } - + QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled { image: url(qss:images_dark-light/left_arrow_darker.svg); } - + QTabBar QToolButton::left-arrow:disabled, QDockWidget QTabBar QToolButton::left-arrow:disabled { image: url(qss:images_dark-light/left_arrow_disabled_dark.svg); } - + QTabBar QToolButton::right-arrow:enabled, QDockWidget QTabBar QToolButton::right-arrow:enabled { image: url(qss:images_dark-light/right_arrow_darker.svg); } - + QTabBar QToolButton::right-arrow:disabled, QDockWidget QTabBar QToolButton::right-arrow:disabled { image: url(qss:images_dark-light/right_arrow_disabled_dark.svg); } - + /* QDockWiget ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ QDockWidget { background-color: #F6F6F6; @@ -2027,7 +2027,7 @@ Resetting everything helps to unify styles across different operating systems titlebar-close-icon: url(qss:images_dark-light/transparent.svg); titlebar-normal-icon: url(qss:images_dark-light/transparent.svg); } - + QDockWidget::title { /* Better size for title bar */ padding: 3px; @@ -2037,7 +2037,7 @@ Resetting everything helps to unify styles across different operating systems text-align: center; font-weight: bold; } - + QDockWidget::close-button { icon-size: 10px; border: none; @@ -2048,15 +2048,15 @@ Resetting everything helps to unify styles across different operating systems padding: 0; image: url(qss:images_dark-light/close_dark.svg); } - - QDockWidget::close-button:hover { + + QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } - + QDockWidget::close-button:pressed { image: url(qss:images_dark-light/close_dark.svg); } - + QDockWidget::float-button { icon-size: 12px; border: none; @@ -2067,62 +2067,62 @@ Resetting everything helps to unify styles across different operating systems padding: 0; image: url(qss:images_dark-light/undock_dark.svg); } - + QDockWidget::float-button:hover { /*background-color: #8cb0ff;*/ image: url(qss:images_dark-light/undock_blue.svg); } - + QDockWidget::float-button:pressed { image: url(qss:images_dark-light/undock_dark.svg); } - + /* QTreeView QListView QTableView ----------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview - + --------------------------------------------------------------------------- */ QTreeView::branch { background: transparent; } - + QTreeView::branch:has-siblings:!adjoins-item { border-image: url(qss:images_dark-light/branch_vline_dark.svg) 0; } - + QTreeView::branch:has-siblings:adjoins-item { border-image: url(qss:images_dark-light/branch_more_dark.svg) 0; } - + QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(qss:images_dark-light/branch_end_dark.svg) 0; } - + QTreeView::branch:closed:has-children:has-siblings { border-image: url(qss:images_dark-light/branch_more_closed_dark.svg) 0; } - + QTreeView::branch:has-children:!has-siblings:closed { border-image: url(qss:images_dark-light/branch_end_closed_dark.svg) 0; } - + QTreeView::branch:open:has-children:has-siblings { border-image: url(qss:images_dark-light/branch_more_open_dark.svg) 0; } - + QTreeView::branch:open:has-children:!has-siblings { border-image: url(qss:images_dark-light/branch_end_open_dark.svg) 0; } - + QTreeView::indicator:checked, QListView::indicator:checked, QTableView::indicator:checked, QColumnView::indicator:checked { image: url(qss:images_dark-light/checkbox_dark.svg); } - + QTreeView::indicator:checked:hover, QTreeView::indicator:checked:focus, QTreeView::indicator:checked:pressed, QListView::indicator:checked:hover, QListView::indicator:checked:focus, @@ -2135,14 +2135,14 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:checked:pressed { image: url(qss:images_dark-light/checkbox_light_hover.svg); } - + QTreeView::indicator:unchecked, QListView::indicator:unchecked, QTableView::indicator:unchecked, QColumnView::indicator:unchecked { image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:focus, QTreeView::indicator:unchecked:pressed, QListView::indicator:unchecked:hover, QListView::indicator:unchecked:focus, @@ -2155,14 +2155,14 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:unchecked:pressed { image: url(qss:images_dark-light/checkbox_unchecked_hover_dark.svg); } - + QTreeView::indicator:indeterminate, QListView::indicator:indeterminate, QTableView::indicator:indeterminate, QColumnView::indicator:indeterminate { image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:focus, QTreeView::indicator:indeterminate:pressed, QListView::indicator:indeterminate:hover, QListView::indicator:indeterminate:focus, @@ -2175,7 +2175,7 @@ Resetting everything helps to unify styles across different operating systems QColumnView::indicator:indeterminate:pressed { image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg); } - + QTreeView, QListView, QTableView, @@ -2186,7 +2186,7 @@ Resetting everything helps to unify styles across different operating systems gridline-color: #A3A3A3; border-radius: 0px; } - + QTableView, QListView { background-color: rgba(0, 0, 0, 0.050); /* background of a lot of stuff including spreadsheets.*/ @@ -2200,7 +2200,7 @@ QListView { background-color: #ffffff; color: #A3A3A3; } - + QTreeView:selected, QListView:selected, QTableView:selected, @@ -2208,28 +2208,28 @@ QListView { background-color: #8cb0ff; color: black; } - + QTreeView:focus, QListView:focus, QTableView:focus, QColumnView:focus { border: 1px solid #b0c9ff; } - + QTreeView::item:pressed, QListView::item:pressed, QTableView::item:pressed, QColumnView::item:pressed { background-color: #8cb0ff; } - + QTreeView::item:selected:active, QListView::item:selected:active, QTableView::item:selected:active, QColumnView::item:selected:active { background-color: #8cb0ff; } - + QTreeView::item:selected:!active, QListView::item:selected:!active, QTableView::item:selected:!active, @@ -2237,7 +2237,7 @@ QListView { color: black; background-color: #BABABA; } - + QTreeView::item:!selected:hover, QListView::item:!selected:hover, QTableView::item:!selected:hover, @@ -2246,13 +2246,13 @@ QListView { color: black; background-color: #8cb0ff; } - + QTableCornerButton::section { background-color: #F6F6F6; border: 1px transparent #C1C1C1; border-radius: 0px; } - + QTableView::item { color: black; } @@ -2260,22 +2260,22 @@ QListView { /*qproperty-AliasedCellBackgroundColor: #f700ff;*/ /*qproperty-aliasBgColor: #f700ff;*/ } - + /* QHeaderView ------------------------------------------------------------ - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview - + --------------------------------------------------------------------------- */ QHeaderView { background-color: transparent; text-align: center; } - + QHeaderView:disabled { background-color: #F6F6F6; color: rgb(174, 174, 174); } - + QHeaderView::section { background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED); color: black; @@ -2283,22 +2283,22 @@ QListView { font-size: 13px; font-weight: bold; } - + QHeaderView::section::horizontal { padding-top: 1px; padding-bottom: 1px; padding-left: 5px; padding-right: 0px; } - + QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one { border-left: 0px solid #C1C1C1; } - + QHeaderView::section::horizontal:disabled { color: #BABABA; } - + QHeaderView::section::vertical { padding-top: 1px; padding-bottom: 0; @@ -2306,15 +2306,15 @@ QListView { padding-right: 0px; border-top: 2px solid #C1C1C1; } - + QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one { border-top: 2px solid #C1C1C1; } - + QHeaderView::section::vertical:disabled { border-top: 2px solid #C1C1C1; } - + QHeaderView::down-arrow { /* Those settings (border/width/height/background-color) solve bug */ /* transparent arrow background and size */ @@ -2326,7 +2326,7 @@ QListView { padding-right: 2px; image: url(qss:images_dark-light/down_arrow_dark.svg); } - + QHeaderView::up-arrow { background-color: transparent; border: none; @@ -2336,12 +2336,12 @@ QListView { padding-right: 2px; image: url(qss:images_dark-light/up_arrow_dark.svg); } - + /* QToolBox -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbox used in PATH - + --------------------------------------------------------------------------- */ QToolBox { padding: 0px; @@ -2349,12 +2349,12 @@ QListView { border-radius: 4px; background-color: transparent; } - + QToolBox:selected { padding: 0px; - border: 0px solid #8cb0ff; + border: 0px solid #8cb0ff; } - + QToolBox::tab { background-color: transparent; border: 0px solid #A3A3A3; @@ -2363,49 +2363,49 @@ QListView { background-repeat: none; background-position: center left; } - + QToolBox::tab:disabled { color: #A3A3A3; } - + QToolBox::tab:selected { background-color: #A3A3A3; background-image: url(qss:images_dark-light/transparent.svg); padding-right: 5px; background-repeat: none; } - + QToolBox::tab:selected:disabled { background-color: #A3A3A3; border-bottom: 0px solid #cccccc; color: black; } - + QToolBox::tab:!selected { - + } - + QToolBox::tab:!selected:disabled { background-color: #F6F6F6; } - + QToolBox::tab:hover { background-color: #8cb0ff; } - + QToolBox QScrollArea QWidget QWidget { padding: 0px; border: 0px; background-color: transparent; } - + /* QFrame ----------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe https://doc.qt.io/qt-5/qframe.html#-prop https://doc.qt.io/qt-5/qframe.html#details https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color - + --------------------------------------------------------------------------- */ /* (dot) .QFrame fix #141, #126, #123 */ .QFrame { @@ -2416,28 +2416,28 @@ QListView { /* HLine */ /* HLine */ } - + .QFrame[frameShape="0"] { border-radius: 1.9px; border: 1px solid #C1C1C1; } - + .QFrame[frameShape="4"] { max-height: 1px; border: none; background-color: #f6f6f6; } - + .QFrame[frameShape="5"] { max-width: 1px; border: none; background-color: #F6F6F6; } - + /* QSplitter -------------------------------------------------------------- - + https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter - + --------------------------------------------------------------------------- */ QSplitter { background-color: #f6f6f6; @@ -2445,12 +2445,12 @@ QListView { padding: 1px; margin: 1px; } - + QSplitter::handle { margin: 0px 0px; padding: 0px; } - + QSplitter::handle:horizontal { background-image: url(qss:images_dark-light/splitter_vertical_light.svg); background-position: center center; @@ -2458,7 +2458,7 @@ QListView { margin: 2px 2px 2px 2px; width: 1px; } - + QSplitter::handle:vertical { background-image: url(qss:images_dark-light/splitter_horizontal_light.svg); background-position: center center; @@ -2466,16 +2466,16 @@ QListView { margin: 2px 2px 2px 2px; height: 1px; } - + QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; background-repeat: none; background-color: #8cb0ff; } - + /* QDateEdit, QDateTimeEdit ----------------------------------------------- - + --------------------------------------------------------------------------- */ QDateEdit, QDateTimeEdit { selection-background-color: #8cb0ff; @@ -2490,50 +2490,50 @@ QListView { padding-right: 4px; min-width: 10px; } - + QDateEdit:on, QDateTimeEdit:on { selection-background-color: #8cb0ff; } - + QDateEdit::drop-down, QDateTimeEdit::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 12px; border-left: 1px solid #C1C1C1; } - + QDateEdit::down-arrow, QDateTimeEdit::down-arrow { image: url(qss:images_dark-light/down_arrow_disabled_dark.svg); height: 8px; width: 8px; } - + QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus, QDateTimeEdit::down-arrow:on, QDateTimeEdit::down-arrow:hover, QDateTimeEdit::down-arrow:focus { image: url(qss:images_dark-light/down_arrow_darker.svg); } - + QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView { background-color: #F6F6F6; border-radius: 2px; border: 1px solid #C1C1C1; selection-background-color: #8cb0ff; } - + /* QAbstractView ---------------------------------------------------------- - + --------------------------------------------------------------------------- */ QAbstractView:hover { border: 1px solid #8cb0ff; color: black; } - + QAbstractView:selected { background: #8cb0ff; color: black; } - + /* PlotWidget ------------------------------------------------------------- - + --------------------------------------------------------------------------- */ PlotWidget { /* Fix cut labels in plots #134 */ diff --git a/src/Gui/Stylesheets/Light-green.qss b/src/Gui/Stylesheets/Light-green.qss index a6337605d8..1962d3828c 100644 --- a/src/Gui/Stylesheets/Light-green.qss +++ b/src/Gui/Stylesheets/Light-green.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,10 +15,10 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #B7D300 - #E1FF00 + #E1FF00 See Qt documentation: @@ -102,8 +102,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -246,7 +246,7 @@ QCheckBox::indicator { color: black; background-color: #ffffff; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); } @@ -271,7 +271,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_dark.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #B7D300; } @@ -486,7 +486,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #f6f6f6; margin-left: 30%; margin-right: 30%; @@ -648,7 +648,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #F6F6F6; @@ -1596,7 +1596,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1622,7 +1622,7 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:hover{ } QSint--ActionGroup QFrame[class="content"] QToolButton:focus { - border: 1px solid #E1FF00 + border: 1px solid #E1FF00 ; } @@ -1887,8 +1887,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: black; border-top: 4px solid #B7D300; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1917,8 +1917,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: black; border-bottom: 4px solid #B7D300; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } @@ -1935,7 +1935,7 @@ QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:h QTabBar::tab:left, QDockWidget QTabBar::tab:left { background-color: #F6F6F6; margin-top: 2px; - + padding-left: 2px; padding-right: 2px; padding-top: 4px; @@ -2049,7 +2049,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2352,7 +2352,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #B7D300; + border: 0px solid #B7D300; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Light-modern-blue.qss b/src/Gui/Stylesheets/Light-modern-blue.qss index 112f679213..fbf5db4bfe 100644 --- a/src/Gui/Stylesheets/Light-modern-blue.qss +++ b/src/Gui/Stylesheets/Light-modern-blue.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,12 +15,12 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #8ab6e9 #dc00fa - + See Qt documentation: - https://doc.qt.io/qt-5/stylesheet.html @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -128,7 +128,7 @@ QWidget::item:selected { background-color: #8ab6e9; } - /* Causes issue with colorselector. + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #8ab6e9; }*/ @@ -141,7 +141,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #3c3c3c;*/ - border: 0px solid #696968; + border: 0px solid #696968; spacing: 0px; padding: 1px; } @@ -242,7 +242,7 @@ QCheckBox QWidget:disabled { QCheckBox::indicator { color: black; - background-color: white; + background-color: white; width: 12px; height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); @@ -270,11 +270,11 @@ QCheckBox::indicator:checked { } QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { - background-color: #8ab6e9; + background-color: #8ab6e9; } QCheckBox::indicator:checked:disabled { - background-color: #f5f5f5; + background-color: #f5f5f5; image: url(qss:images_dark-light/checkbox_checked_dark.svg); } @@ -407,7 +407,7 @@ QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:press QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ - border: 1px solid #cccccc; + border: 1px solid #cccccc; } QRadioButton::indicator:checked { @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #cccccc; margin-left: 30%; margin-right: 30%; @@ -535,7 +535,7 @@ QMenu::indicator:non-exclusive:unchecked { QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; - background: #8ab6e9; + background: #8ab6e9; } QMenu::indicator:non-exclusive:unchecked:disabled { @@ -548,7 +548,7 @@ QMenu::indicator:non-exclusive:checked { QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed { border: none; - background: #8ab6e9; + background: #8ab6e9; } QMenu::indicator:non-exclusive:checked:disabled { @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #f6f6f6; @@ -990,7 +990,7 @@ QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSp } QAbstractSpinBox::down-arrow:hover { - /*background-color: #8ab6e9;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); + /*background-color: #8ab6e9;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); } QAbstractSpinBox:hover { @@ -1608,7 +1608,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2081,7 +2081,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2512,7 +2512,7 @@ QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; background-repeat: none; - background-color: #8ab6e9; + background-color: #8ab6e9; } /* QDateEdit, QDateTimeEdit ----------------------------------------------- diff --git a/src/Gui/Stylesheets/Light-modern-green.qss b/src/Gui/Stylesheets/Light-modern-green.qss index b797a29a79..d7966aabdc 100644 --- a/src/Gui/Stylesheets/Light-modern-green.qss +++ b/src/Gui/Stylesheets/Light-modern-green.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,12 +15,12 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #a5e98a #dc00fa - + See Qt documentation: - https://doc.qt.io/qt-5/stylesheet.html @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -128,7 +128,7 @@ QWidget::item:selected { background-color: #a5e98a; } - /* Causes issue with colorselector. + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #a5e98a; }*/ @@ -141,7 +141,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #3c3c3c;*/ - border: 0px solid #696968; + border: 0px solid #696968; spacing: 0px; padding: 1px; } @@ -242,7 +242,7 @@ QCheckBox QWidget:disabled { QCheckBox::indicator { color: black; - background-color: white; + background-color: white; width: 12px; height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); @@ -270,11 +270,11 @@ QCheckBox::indicator:checked { } QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { - background-color: #a5e98a; + background-color: #a5e98a; } QCheckBox::indicator:checked:disabled { - background-color: #f5f5f5; + background-color: #f5f5f5; image: url(qss:images_dark-light/checkbox_checked_dark.svg); } @@ -407,7 +407,7 @@ QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:press QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ - border: 1px solid #cccccc; + border: 1px solid #cccccc; } QRadioButton::indicator:checked { @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #cccccc; margin-left: 30%; margin-right: 30%; @@ -535,7 +535,7 @@ QMenu::indicator:non-exclusive:unchecked { QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; - background: #a5e98a; + background: #a5e98a; } QMenu::indicator:non-exclusive:unchecked:disabled { @@ -548,7 +548,7 @@ QMenu::indicator:non-exclusive:checked { QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed { border: none; - background: #a5e98a; + background: #a5e98a; } QMenu::indicator:non-exclusive:checked:disabled { @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #f6f6f6; @@ -990,7 +990,7 @@ QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSp } QAbstractSpinBox::down-arrow:hover { - /*background-color: #a5e98a;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); + /*background-color: #a5e98a;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); } QAbstractSpinBox:hover { @@ -1608,7 +1608,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2081,7 +2081,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2512,7 +2512,7 @@ QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; background-repeat: none; - background-color: #a5e98a; + background-color: #a5e98a; } /* QDateEdit, QDateTimeEdit ----------------------------------------------- diff --git a/src/Gui/Stylesheets/Light-modern-orange.qss b/src/Gui/Stylesheets/Light-modern-orange.qss index c5f0cde86d..f0f4dfa2c5 100644 --- a/src/Gui/Stylesheets/Light-modern-orange.qss +++ b/src/Gui/Stylesheets/Light-modern-orange.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,12 +15,12 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #e9be8a #dc00fa - + See Qt documentation: - https://doc.qt.io/qt-5/stylesheet.html @@ -101,8 +101,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -128,7 +128,7 @@ QWidget::item:selected { background-color: #e9be8a; } - /* Causes issue with colorselector. + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #e9be8a; }*/ @@ -141,7 +141,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #3c3c3c;*/ - border: 0px solid #696968; + border: 0px solid #696968; spacing: 0px; padding: 1px; } @@ -242,7 +242,7 @@ QCheckBox QWidget:disabled { QCheckBox::indicator { color: black; - background-color: white; + background-color: white; width: 12px; height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); @@ -270,11 +270,11 @@ QCheckBox::indicator:checked { } QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { - background-color: #e9be8a; + background-color: #e9be8a; } QCheckBox::indicator:checked:disabled { - background-color: #f5f5f5; + background-color: #f5f5f5; image: url(qss:images_dark-light/checkbox_checked_dark.svg); } @@ -407,7 +407,7 @@ QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:press QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ - border: 1px solid #cccccc; + border: 1px solid #cccccc; } QRadioButton::indicator:checked { @@ -484,7 +484,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #cccccc; margin-left: 30%; margin-right: 30%; @@ -535,7 +535,7 @@ QMenu::indicator:non-exclusive:unchecked { QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; - background: #e9be8a; + background: #e9be8a; } QMenu::indicator:non-exclusive:unchecked:disabled { @@ -646,7 +646,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #f6f6f6; @@ -990,7 +990,7 @@ QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSp } QAbstractSpinBox::down-arrow:hover { - /*background-color: #e9be8a;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); + /*background-color: #e9be8a;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); } QAbstractSpinBox:hover { @@ -1608,7 +1608,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2081,7 +2081,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2512,7 +2512,7 @@ QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; background-repeat: none; - background-color: #e9be8a; + background-color: #e9be8a; } /* QDateEdit, QDateTimeEdit ----------------------------------------------- diff --git a/src/Gui/Stylesheets/Light-modern-pink.qss b/src/Gui/Stylesheets/Light-modern-pink.qss index 5696e98ced..f08a408e63 100644 --- a/src/Gui/Stylesheets/Light-modern-pink.qss +++ b/src/Gui/Stylesheets/Light-modern-pink.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,13 +15,13 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: #e98ad8 #008efa - + See Qt documentation: - https://doc.qt.io/qt-5/stylesheet.html @@ -102,8 +102,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -129,7 +129,7 @@ QWidget::item:selected { background-color: #e98ad8; } - /* Causes issue with colorselector. + /* Causes issue with colorselector. QWidget::item:hover:!selected { background-color: #e98ad8; }*/ @@ -142,7 +142,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow --------------------------------------------------------------------------- */ QMainWindow::separator { /*background-color: #3c3c3c;*/ - border: 0px solid #696968; + border: 0px solid #696968; spacing: 0px; padding: 1px; } @@ -244,7 +244,7 @@ QCheckBox QWidget:disabled { QCheckBox::indicator { color: black; - background-color: white; + background-color: white; width: 12px; height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); @@ -272,11 +272,11 @@ QCheckBox::indicator:checked { } QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { - background-color: #e98ad8; + background-color: #e98ad8; } QCheckBox::indicator:checked:disabled { - background-color: #f5f5f5; + background-color: #f5f5f5; image: url(qss:images_dark-light/checkbox_checked_dark.svg); } @@ -409,7 +409,7 @@ QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:press QRadioButton::indicator:unchecked:disabled { /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/ - border: 1px solid #cccccc; + border: 1px solid #cccccc; } QRadioButton::indicator:checked { @@ -487,7 +487,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #cccccc; margin-left: 30%; margin-right: 30%; @@ -538,7 +538,7 @@ QMenu::indicator:non-exclusive:unchecked { QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; - background: #e98ad8; + background: #e98ad8; } QMenu::indicator:non-exclusive:unchecked:disabled { @@ -551,7 +551,7 @@ QMenu::indicator:non-exclusive:checked { QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed { border: none; - background: #e98ad8; + background: #e98ad8; } QMenu::indicator:non-exclusive:checked:disabled { @@ -649,7 +649,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #f6f6f6; @@ -997,7 +997,7 @@ QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSp } QAbstractSpinBox::down-arrow:hover { - /*background-color: #e98ad8;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); + /*background-color: #e98ad8;*/ image:url(qss:images_dark-light/down_arrow_darker.svg); } QAbstractSpinBox:hover { @@ -1622,7 +1622,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -2104,7 +2104,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2536,7 +2536,7 @@ QSplitter::handle:hover { background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg); background-position: center center; background-repeat: none; - background-color: #e98ad8; + background-color: #e98ad8; } /* QDateEdit, QDateTimeEdit ----------------------------------------------- diff --git a/src/Gui/Stylesheets/Light-orange.qss b/src/Gui/Stylesheets/Light-orange.qss index 916289bcfa..dabfed06ca 100644 --- a/src/Gui/Stylesheets/Light-orange.qss +++ b/src/Gui/Stylesheets/Light-orange.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,9 +15,9 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: - #ffb916 + #ffb916 #ffe098 @@ -102,8 +102,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -126,7 +126,7 @@ QWidget:disabled { } QWidget::item:selected { - background-color: #ffb916 + background-color: #ffb916 ; } @@ -246,7 +246,7 @@ QCheckBox::indicator { color: black; background-color: #ffffff; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); } @@ -271,7 +271,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_dark.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #ffb916; } @@ -486,7 +486,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #f6f6f6; margin-left: 30%; margin-right: 30%; @@ -537,7 +537,7 @@ QMenu::indicator:non-exclusive:unchecked { QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed { border: none; - background: #ffb916; + background: #ffb916; } QMenu::indicator:non-exclusive:unchecked:disabled { @@ -648,7 +648,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #F6F6F6; @@ -1596,7 +1596,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1887,8 +1887,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: black; border-top: 4px solid #ffb916; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1917,8 +1917,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: black; border-bottom: 4px solid #ffb916; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } @@ -1935,7 +1935,7 @@ QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:h QTabBar::tab:left, QDockWidget QTabBar::tab:left { background-color: #F6F6F6; margin-top: 2px; - + padding-left: 2px; padding-right: 2px; padding-top: 4px; @@ -2049,7 +2049,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2352,7 +2352,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #ffb916; + border: 0px solid #ffb916; } QToolBox::tab { diff --git a/src/Gui/Stylesheets/Light-pink.qss b/src/Gui/Stylesheets/Light-pink.qss index 1181c94506..6a06f75461 100644 --- a/src/Gui/Stylesheets/Light-pink.qss +++ b/src/Gui/Stylesheets/Light-pink.qss @@ -5,7 +5,7 @@ Revised stylesheet based on the original from Pablo Gil Fernández made by Miste KNOWN BUGS and TO DO ============================================================================================================ -Please, follow the link to get updated information: +Please, follow the link to get updated information: https://forum.freecad.org/viewtopic.php?t=78431 INSTALLATION WHEN NECESSARY @@ -15,9 +15,9 @@ INSTALLATION WHEN NECESSARY WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/ LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/ -============================================================================================================ +============================================================================================================ TO MODIFY USE THESE COLORS: - #f892ff + #f892ff #ffbff3 @@ -102,8 +102,8 @@ QMdiArea { } /*navgation src/Mod/Tux/NavigationIndicatorGui.py */ Gui--NavigationIndicatorGui--BlenderNavigationStyle { -/*QAction#a4 {*/ - qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); +/*QAction#a4 {*/ + qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg); } /*===== /* QWidget ---------------------------------------------------------------- @@ -126,7 +126,7 @@ QWidget:disabled { } QWidget::item:selected { - background-color: #f892ff + background-color: #f892ff ; } @@ -246,7 +246,7 @@ QCheckBox::indicator { color: black; background-color: #ffffff; width: 12px; - height: 12px; + height: 12px; image:url(qss:images_dark-light/checkbox_unchecked_dark.svg); } @@ -271,7 +271,7 @@ QCheckBox::indicator:checked { image:url(qss:images_dark-light/checkbox_dark.svg); } -QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { +QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed { background-color: #f892ff; } @@ -486,7 +486,7 @@ QMenu { } QMenu::separator { - height: 2px; + height: 2px; background-color: #f6f6f6; margin-left: 30%; margin-right: 30%; @@ -648,7 +648,7 @@ QAbstractScrollArea:disabled { /* QScrollArea ------------------------------------------------------------ ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- text input field disabled!!!!*/ QScrollArea QWidget:disabled { background-color: #F6F6F6; @@ -1596,7 +1596,7 @@ padding: 2px; /* bigger padding crops text and icons... */ margin: 0px; } -/* Fix for lists inside task panels */ /* sketcher constraints list */ +/* Fix for lists inside task panels */ /* sketcher constraints list */ QSint--ActionGroup QFrame[class="content"] QTreeView, QSint--ActionGroup QFrame[class="content"] QListView, QSint--ActionGroup QFrame[class="content"] QTableView { @@ -1887,8 +1887,8 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected { color: black; border-top: 4px solid #f892ff; /* selection color */ border-bottom: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover { @@ -1917,8 +1917,8 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected { color: black; border-bottom: 4px solid #f892ff; /* selection color */ border-top: 1px solid transparent; /* same as tab content background color */ - border-left: 1px solid #A3A3A3; - border-right: 1px solid #A3A3A3; + border-left: 1px solid #A3A3A3; + border-right: 1px solid #A3A3A3; } @@ -1935,7 +1935,7 @@ QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:h QTabBar::tab:left, QDockWidget QTabBar::tab:left { background-color: #F6F6F6; margin-top: 2px; - + padding-left: 2px; padding-right: 2px; padding-top: 4px; @@ -2049,7 +2049,7 @@ QDockWidget::close-button { image: url(qss:images_dark-light/close_dark.svg); } -QDockWidget::close-button:hover { +QDockWidget::close-button:hover { image: url(qss:images_dark-light/close_red.svg); } @@ -2352,7 +2352,7 @@ QToolBox { QToolBox:selected { padding: 0px; - border: 0px solid #f892ff; + border: 0px solid #f892ff; } QToolBox::tab {