diff --git a/src/Gui/PreferencePacks/Dark modern theme/Dark modern theme.cfg b/src/Gui/PreferencePacks/Dark modern theme/Dark modern theme.cfg
index f9f2891d69..55de24cabd 100644
--- a/src/Gui/PreferencePacks/Dark modern theme/Dark modern theme.cfg
+++ b/src/Gui/PreferencePacks/Dark modern theme/Dark modern theme.cfg
@@ -97,7 +97,7 @@
- Dark-modern-blue.qss
+ Dark-modern.qss
diff --git a/src/Gui/PreferencePacks/Darker theme/Darker theme.cfg b/src/Gui/PreferencePacks/Darker theme/Darker theme.cfg
index b364a33bed..3596d37429 100644
--- a/src/Gui/PreferencePacks/Darker theme/Darker theme.cfg
+++ b/src/Gui/PreferencePacks/Darker theme/Darker theme.cfg
@@ -97,7 +97,7 @@
- Darker-blue.qss
+ Darker.qss
diff --git a/src/Gui/PreferencePacks/Light modern theme/Light modern theme.cfg b/src/Gui/PreferencePacks/Light modern theme/Light modern theme.cfg
index 9e2fd76d1b..13ad2aa8dc 100644
--- a/src/Gui/PreferencePacks/Light modern theme/Light modern theme.cfg
+++ b/src/Gui/PreferencePacks/Light modern theme/Light modern theme.cfg
@@ -62,7 +62,7 @@
- Light-modern-blue.qss
+ Light-modern.qss
diff --git a/src/Gui/PreferencePacks/Light theme/Light theme.cfg b/src/Gui/PreferencePacks/Light theme/Light theme.cfg
index b904a717bf..f66e81207e 100644
--- a/src/Gui/PreferencePacks/Light theme/Light theme.cfg
+++ b/src/Gui/PreferencePacks/Light theme/Light theme.cfg
@@ -62,7 +62,7 @@
- Light-blue.qss
+ Light.qss
diff --git a/src/Gui/Stylesheets/CMakeLists.txt b/src/Gui/Stylesheets/CMakeLists.txt
index 5f3972e0e1..07eed65c12 100644
--- a/src/Gui/Stylesheets/CMakeLists.txt
+++ b/src/Gui/Stylesheets/CMakeLists.txt
@@ -2,24 +2,12 @@
SET(Stylesheets_Files
"Behave-dark.qss"
"Dark.qss"
- "Darker-blue.qss"
- "Darker-green.qss"
- "Darker-orange.qss"
- "Darker-pink.qss"
- "Light-blue.qss"
- "Light-green.qss"
- "Light-orange.qss"
- "Light-pink.qss"
+ "Darker.qss"
+ "Light.qss"
"Dark-contrast.qss"
"ProDark.qss"
- "Dark-modern-green.qss"
- "Dark-modern-orange.qss"
- "Dark-modern-pink.qss"
- "Dark-modern-blue.qss"
- "Light-modern-blue.qss"
- "Light-modern-pink.qss"
- "Light-modern-orange.qss"
- "Light-modern-green.qss"
+ "Dark-modern.qss"
+ "Light-modern.qss"
)
# Find all the image files
diff --git a/src/Gui/Stylesheets/Dark-modern-green.qss b/src/Gui/Stylesheets/Dark-modern-green.qss
deleted file mode 100644
index f9a19c0c68..0000000000
--- a/src/Gui/Stylesheets/Dark-modern-green.qss
+++ /dev/null
@@ -1,2627 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #74b655
- #560062
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #74b655; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #2b2b2b; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad_dark.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #2b2b2b;
- border: 0px solid #696968;
- padding: 0px;
- color: White;
- selection-background-color: #74b655;
- selection-color: White;
-}
-
-QWidget:disabled {
- color: #c2c7cb;
- selection-background-color: #74b655;
- selection-color: #c2c7cb;
-}
-
-QWidget::item:selected {
- background-color: #74b655;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #74b655;
- }*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #74b655, stop:0.8 transparent);
- /*background-color: #74b655;*/
- 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 #74b655, stop:0.8 transparent);
- /*background-color: #74b655;*/
- 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;
- color: White;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #2b2b2b;
- /* Fixes #205, white vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: #2b2b2b;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #560062;
-}
-
-QCheckBox QWidget:disabled {
- color: #c2c7cb;
-}
-
-QCheckBox::indicator {
- color: white;
- background-color: #1c1b22;
- width: 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: #74b655;
- image:url(qss:images_dark-light/checkbox_unchecked_light.svg);
-}
-
-QCheckBox::indicator:unchecked:disabled {
- background-color: #2b2b2b;
- 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 {
- background-color: #74b655;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #2b2b2b;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #2b2b2b;
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #74b655; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #696968;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: white;
- background-color: #3c3c3c;
- border: 1px solid #696968;
- width: 12px;
- 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: #74b655;
-}
-
-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: #74b655;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #74b655;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: White;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #560062;
-}
-
-QRadioButton:disabled {
- background-color: #696968;
- color: #353535;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: White;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #3c3c3c;
- border: 1px solid #696968;
- border-radius: 6px;
- margin-left: 0px;
- 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: #74b655;
- border: 1px solid #74b655;
- 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: #74b655;
- border: 1px solid #74b655;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: White;
- selection-background-color: #74b655;
-}
-
-QMenuBar:focus {
- border: 1px solid #560062;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #696968;
- background-color: #74b655;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #696968;
- background-color: #74b655;
- color: White;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: White;
- margin: 0px;
- background-color: #161616;
- selection-background-color: #74b655;
-}
-
-QMenu::separator {
- 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: #74b655;
-}
-
-QMenu::item:pressed {
- background-color: #74b655;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #560062;
- margin-left: -5px;
- border: 5px solid #560062;
- position: absolute;
- border-radius: 0px;
-}
-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: #74b655;
-}
-
-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: #74b655;
-}
-
-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: #74b655;
- 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: #74b655;
- 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;
- image:url(qss:images_dark-light/right_arrow_lighter.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #5b5b5b;
- color: White;
- 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;
- border: 0px solid #696968;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* remove min-height to fix #244 */
- color: White;
-}
-
-QAbstractScrollArea:disabled {
- color: #353535;
-}
-
-/* QScrollArea ------------------------------------------------------------
-
----------------------------------------------------------------------------
-text input field disabled!!!!*/
-QScrollArea QWidget:disabled {
- background-color: #2b2b2b;
-}
-
-/* QScrollBar -------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
-
---------------------------------------------------------------------------- */
-QScrollBar:horizontal {
- height: 16px;
- margin: 2px 16px 2px 16px;
- border: 0px solid #696968;
- border-radius: 1.9px;
- background-color: #2b2b2b;
-}
-
-QScrollBar:vertical {
- background-color: #2b2b2b;
- width: 16px;
- margin: 16px 2px 16px 2px;
- border: 0px solid #696968;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:horizontal {
- background-color: #696969;
- border: 1px solid #2b2b2b;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:hover {
- background-color: #74b655;
- border: #696968;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #560062;
-}
-
-QScrollBar::handle:vertical {
- background-color: #696969;
- border: 1px solid #696968;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #74b655;
- border: #696968;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #560062;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_light.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_light.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #2b2b2b;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QTextEdit:focus {
- border: 1px solid #560062;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: white;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #3c3c3c;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #560062;
-}
-
-QPlainTextEdit:selected {
- background: #74b655;
- color: White;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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: #2b2b2b;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #2b2b2b;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #696969;
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-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: #74b655;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-border-color: #696968;
-background-color: #74b655;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #1c1b22;
- border: 1px solid transparent;
- color: White;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- min-height: 1.7em;
- /* min-width: 5px; removed to fix 109 */
-}
-
-QAbstractSpinBox:up-button {
- background-color: #696968;
- subcontrol-origin: border;
- subcontrol-position: top right;
- border-left: 1px solid transparent;
- border-bottom: 1px solid #1c1b22;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #74b655;*/
- image: url(qss:images_dark-light/up_arrow_lighter.svg);
-}
-
-QAbstractSpinBox:down-button {
- background-color: #696968;
- subcontrol-origin: border;
- subcontrol-position: bottom right;
- border-left: 1px solid #696968;
- border-top: 1px solid #696968;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #74b655;
- color: White;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #560062;
-}
-
-QAbstractSpinBox:selected {
- background: #560062;
- /*color: White;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #696968;
- padding: 2px;
- 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;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
-}
-
-QTextBrowser:disabled {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: #c2c7cb;
- border-radius: 1.9px;
-}
-
-QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #74b655;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #74b655;
- 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: #2b2b2b;
- color: #c2c7cb;
-}
-
-/* QProgressBar -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
-
---------------------------------------------------------------------------- */
-QProgressBar {
- background-color: #c2c7cb;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #161616;
- border: 1px solid #696968;
- color: #696969;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #74b655;
- color: #2b2b2b;
- 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: #696969;
- color: White;
- border-radius: 2px;
- padding: 2px;
- outline: none;
- border: none;
-}
-
-QPushButton:disabled {
- background-color: #2b2b2b;
- color: #c2c7cb;
- border-radius: 2px;
- padding: 2px;
-}
-
-QPushButton:checked {
- background-color: #74b655;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #74b655;
- color: #3c3c3c;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #74b655;
-}
-
-QPushButton:hover {
- background-color: #74b655;
- color: White;
-}
-
-QPushButton:pressed {
- background-color: #74b655;
-}
-
-QPushButton:selected {
- background: #560062;
- 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;
- color: White;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: transparent;
- border-radius: 1px;
- padding: 0px;
- opacity: 1.0;
-}
-
-QToolButton:checked {
- background-color: #74b655;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #c2c7cb;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #74b655;
- color: White;
-}
-
-QToolButton:checked:pressed {
- background-color: #74b655;
-}
-
-QToolButton:checked:selected {
- background: #560062;
- color: White;
-}
-
-QToolButton:hover {
- background-color: #74b655;
- color: White;
-}
-
-QToolButton:pressed {
- background-color: #560062;
-}
-
-QToolButton:selected {
- background: #74b655;
- color: White;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-QToolButton::menu-arrow:hover {
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- 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;
- background: #1c1b22;
- border-radius: 2px;
- selection-background-color: #74b655;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #1c1b22;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #696968;
- border-radius: 0px;
- background-color: #1c1b22;
- selection-background-color: #74b655;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:Black;
- color: White;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #74b655;
- color: White;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #3c3c3c;
-}
-
-QComboBox:disabled {
- background-color: #2b2b2b;
- color: #353535;
-}
-
-QComboBox:hover {
- /*background-color: #74b655;*/
- border: 1px solid #74b655;
-}
-
-QComboBox:focus {
- border: 1px solid #560062;
-}
-
-QComboBox:on {
- selection-background-color: #560062;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #74b655;
- /* 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: #696969;
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid #696968;
-}
-QComboBox::drop-down:hover {
- background-color: #74b655;
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-background-color: #696969; /* Task Panel Header background color */
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #74b655;
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: white; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_light.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-border-bottom-left-radius: 3px;
-border-bottom-right-radius: 3px;
-}
-
-QSint--ActionGroup QFrame[class="content"] > QWidget {
-background-color: #2b2b2b; /* Task Panel background color */
-}
-
-/* Fixs for tabs inside Task Panel */
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected {
-border-bottom-color: #74b655; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #74b655; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #74b655; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #74b655; /* 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 */
-QSint--ActionGroup QFrame[class="content"] QTreeView,
-QSint--ActionGroup QFrame[class="content"] QListView,
-QSint--ActionGroup QFrame[class="content"] QTableView {
-color: white;
-background-color: black;
-}
-
-
-/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
-QSint--ActionGroup QFrame[class="content"] QToolButton {
- color: white;
- text-align: center;
- background-color: #696969;
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- min-height: 16px; /* same as QTabBar QPushButton min-width */
- border-radius: 1px;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #74b655;
- border: 1px solid #74b655;
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #560062;
-}
-
-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: #74b655;
- border: 1px solid #74b655;
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #2b2b2b;
-}
-
-QSlider:focus {
- /*border: 1px solid #560062;*/
-}
-
-QSlider::groove:horizontal {
- background: #2b2b2b;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #74b655;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #74b655;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #696968;
-}
-
-QSlider::sub-page:horizontal {
- background: #74b655;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #74b655;
-}
-
-QSlider::handle:horizontal {
- background: #696968;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #74b655;
- border: 1px solid #696968;
-}
-
-QSlider::handle:horizontal:focus {
- background: #560062;
- border: 1px solid #560062;
-}
-
-QSlider::handle:vertical {
- background: #696968;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #74b655;
- border: 1px solid #696968;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #560062;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #1c1b22;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 2px;
- color: White;
-}
-
-QLineEdit:disabled {
- background-color: #2b2b2b;
- color: #c2c7cb;
-}
-
-QLineEdit:hover {
- border: 1px solid #74b655;
- color: White;
-}
-
-QLineEdit:focus {
- border: 2px solid #560062;
-}
-
-QLineEdit:selected {
- background-color: #74b655;
- color: white;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #74b655;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- border: 0px solid #8c00ffa1;
- border-radius: 1.9px;
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #74b655;
- border: 1px solid #346792;
-}
-/* QTabBar ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabBar, QDockWidget QTabBar {
- qproperty-drawBase: 0;
- border-radius: 2px;
- margin: 0px;
- padding: 2px;
- border: 0;
- alignment: center;
- /* 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 ------------------------------------------------------- */
-}
-
-QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled {
- border-bottom: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled {
- border-top: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled {
- border-right: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled {
- border-left: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled {
- border-bottom: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled {
- border-top: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled {
- border-right: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled {
- border-left: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
- border-bottom: 2px solid #696969;
- margin-top: 2px;
-}
-
-QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
- border-top: 2px solid #696969;
- margin-bottom: 2px;
-}
-
-QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected {
- border-left: 2px solid #696969;
- margin-right: 2px;
-}
-
-QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected {
- border-right: 2px solid #696969;
- margin-left: 2px;
-}
-
-QTabBar::tab:top, QDockWidget QTabBar::tab:top {
- background-color: #2b2b2b;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- border: 1px solid #696969;
- border-radius: 4px;
-}
-
-QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
- background-color: #696969;
- /*border: 1px solid #560062;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #74b655;*/
- border: 0px solid #74b655;
- background-color: #74b655;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- border: 1px solid #696969;
- background-color: #2b2b2b;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- border-radius: 4px;
- min-width: 5px;
-}
-
-QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
- background-color: #696969;
- /*border: 1px solid #560062;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #74b655;*/
- border: 0px solid #74b655;
- background-color: #74b655;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #2b2b2b;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #2b2b2b;
- border: 0px solid #560062;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #74b655;
- background-color: #74b655;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #2b2b2b;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #2b2b2b;
- border: 0px solid #560062;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #74b655;
- background-color: #74b655;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- padding-left: 0px;
-}
-
-QTabBar QToolButton, QDockWidget QTabBar QToolButton {
- /* Fixes #136 */
- background-color: #2b2b2b;
- height: 12px;
- width: 12px;
-}
-
-QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #74b655;
- background-color: #74b655;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #74b655;
- background-color: #74b655;
-}
-
-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: #2b2b2b;
- border: 1px solid #696968;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: #2b2b2b;
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_light.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_light.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #74b655;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #2b2b2b; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #696968;
- color: White;
- gridline-color: #696968;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(31, 31, 31, 0.85); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #1c1b22;
- color: #c2c7cb;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #74b655;
- color: White;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #560062;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #74b655;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #74b655;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: White;
- background-color: #353535;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: White;
- background-color: #74b655;
-}
-
-QTableCornerButton::section {
- background-color: #2b2b2b;
- border: 1px transparent #696968;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: white;
-}
-QTableView {
- /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
- /*qproperty-aliasBgColor: #f700ff;*/
-}
-
-/* QHeaderView ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
-
---------------------------------------------------------------------------- */
-QHeaderView {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- padding: 0;
- margin: 0;
- border-radius: 0px;
- text-align: center;
-}
-
-QHeaderView:disabled {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: rgb(174, 174, 174);
-}
-
-QHeaderView::section {
- background-color: #3c3c3c;
- color: White;
- border-radius: 0px;
- font-size: 13px;
- font-weight: bold;
- text-align: center;
-}
-
-QHeaderView::section::horizontal {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10px;
- padding-right: 10px;
- border-left: 1px solid #696968;
-}
-
-QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
- border-left: 1px solid #696968;
- padding-left: 15px;
-}
-
-QHeaderView::section::horizontal:disabled {
- color: #353535;
-}
-
-QHeaderView::section::vertical {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 1px;
- padding-right: 1px;
- border-top: 1px solid #696968;
-}
-
-QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
- border-top: 1px solid #696968;
-}
-
-QHeaderView::section::vertical:disabled {
- color: #7a7a7a;
-}
-
-QHeaderView::down-arrow {
- /* Those settings (border/width/height/background-color) solve bug */
- /* transparent arrow background and size */
- background-color: #696969;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_light.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: #696969;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #696969;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #74b655;
-}
-
-QToolBox::tab {
- background-color: #696969;
- border: 0px solid #696969;
- color: white;
- background-image: url(qss:images_dark-light/down_arrow_lighter.svg);
- 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: #2b2b2b;
-}
-
-QToolBox::tab:hover {
- background-color: #74b655;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #696968;
- background-color: #696969;
- /* No frame */
- /* 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: #2b2b2b;
-}
-
-/* QSplitter --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #74b655, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #74b655, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #74b655;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #74b655;
-}
-
-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: #2b2b2b;
- border-radius: 2px;
- border: 1px solid #696968;
- selection-background-color: #74b655;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #74b655;
- color: White;
-}
-
-QAbstractView:selected {
- background: #74b655;
- color: White;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Dark-modern-orange.qss b/src/Gui/Stylesheets/Dark-modern-orange.qss
deleted file mode 100644
index 078003d9ff..0000000000
--- a/src/Gui/Stylesheets/Dark-modern-orange.qss
+++ /dev/null
@@ -1,2627 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #cb9437
- #560062
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #cb9437; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #2b2b2b; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad_dark.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #2b2b2b;
- border: 0px solid #696968;
- padding: 0px;
- color: White;
- selection-background-color: #cb9437;
- selection-color: White;
-}
-
-QWidget:disabled {
- color: #c2c7cb;
- selection-background-color: #cb9437;
- selection-color: #c2c7cb;
-}
-
-QWidget::item:selected {
- background-color: #cb9437;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #cb9437;
- }*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #cb9437, stop:0.8 transparent);
- /*background-color: #cb9437;*/
- 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 #cb9437, stop:0.8 transparent);
- /*background-color: #cb9437;*/
- 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;
- color: White;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #2b2b2b;
- /* Fixes #205, white vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: #2b2b2b;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #560062;
-}
-
-QCheckBox QWidget:disabled {
- color: #c2c7cb;
-}
-
-QCheckBox::indicator {
- color: white;
- background-color: #1c1b22;
- width: 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: #cb9437;
- image:url(qss:images_dark-light/checkbox_unchecked_light.svg);
-}
-
-QCheckBox::indicator:unchecked:disabled {
- background-color: #2b2b2b;
- 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 {
- background-color: #cb9437;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #2b2b2b;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #2b2b2b;
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #cb9437; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #696968;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: white;
- background-color: #3c3c3c;
- border: 1px solid #696968;
- width: 12px;
- 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: #cb9437;
-}
-
-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: #cb9437;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #cb9437;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: White;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #560062;
-}
-
-QRadioButton:disabled {
- background-color: #696968;
- color: #353535;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: White;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #3c3c3c;
- border: 1px solid #696968;
- border-radius: 6px;
- margin-left: 0px;
- 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: #cb9437;
- border: 1px solid #cb9437;
- 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: #cb9437;
- border: 1px solid #cb9437;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: White;
- selection-background-color: #cb9437;
-}
-
-QMenuBar:focus {
- border: 1px solid #560062;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #696968;
- background-color: #cb9437;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #696968;
- background-color: #cb9437;
- color: White;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: White;
- margin: 0px;
- background-color: #161616;
- selection-background-color: #cb9437;
-}
-
-QMenu::separator {
- 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: #cb9437;
-}
-
-QMenu::item:pressed {
- background-color: #cb9437;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #560062;
- margin-left: -5px;
- border: 5px solid #560062;
- position: absolute;
- border-radius: 0px;
-}
-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: #cb9437;
-}
-
-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: #cb9437;
-}
-
-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: #cb9437;
- 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: #cb9437;
- 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;
- image:url(qss:images_dark-light/right_arrow_lighter.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #5b5b5b;
- color: White;
- 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;
- border: 0px solid #696968;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* remove min-height to fix #244 */
- color: White;
-}
-
-QAbstractScrollArea:disabled {
- color: #353535;
-}
-
-/* QScrollArea ------------------------------------------------------------
-
----------------------------------------------------------------------------
-text input field disabled!!!!*/
-QScrollArea QWidget:disabled {
- background-color: #2b2b2b;
-}
-
-/* QScrollBar -------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
-
---------------------------------------------------------------------------- */
-QScrollBar:horizontal {
- height: 16px;
- margin: 2px 16px 2px 16px;
- border: 0px solid #696968;
- border-radius: 1.9px;
- background-color: #2b2b2b;
-}
-
-QScrollBar:vertical {
- background-color: #2b2b2b;
- width: 16px;
- margin: 16px 2px 16px 2px;
- border: 0px solid #696968;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:horizontal {
- background-color: #696969;
- border: 1px solid #2b2b2b;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:hover {
- background-color: #cb9437;
- border: #696968;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #560062;
-}
-
-QScrollBar::handle:vertical {
- background-color: #696969;
- border: 1px solid #696968;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #cb9437;
- border: #696968;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #560062;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_light.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_light.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #2b2b2b;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QTextEdit:focus {
- border: 1px solid #560062;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: white;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #3c3c3c;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #560062;
-}
-
-QPlainTextEdit:selected {
- background: #cb9437;
- color: White;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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: #2b2b2b;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #2b2b2b;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #696969;
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-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: #cb9437;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-border-color: #696968;
-background-color: #cb9437;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #1c1b22;
- border: 1px solid transparent;
- color: White;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- min-height: 1.7em;
- /* min-width: 5px; removed to fix 109 */
-}
-
-QAbstractSpinBox:up-button {
- background-color: #696968;
- subcontrol-origin: border;
- subcontrol-position: top right;
- border-left: 1px solid transparent;
- border-bottom: 1px solid #1c1b22;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #cb9437;*/
- image: url(qss:images_dark-light/up_arrow_lighter.svg);
-}
-
-QAbstractSpinBox:down-button {
- background-color: #696968;
- subcontrol-origin: border;
- subcontrol-position: bottom right;
- border-left: 1px solid #696968;
- border-top: 1px solid #696968;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #cb9437;
- color: White;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #560062;
-}
-
-QAbstractSpinBox:selected {
- background: #560062;
- /*color: White;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #696968;
- padding: 2px;
- 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;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
-}
-
-QTextBrowser:disabled {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: #c2c7cb;
- border-radius: 1.9px;
-}
-
-QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #cb9437;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #cb9437;
- 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: #2b2b2b;
- color: #c2c7cb;
-}
-
-/* QProgressBar -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
-
---------------------------------------------------------------------------- */
-QProgressBar {
- background-color: #c2c7cb;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #161616;
- border: 1px solid #696968;
- color: #696969;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #cb9437;
- color: #2b2b2b;
- 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: #696969;
- color: White;
- border-radius: 2px;
- padding: 2px;
- outline: none;
- border: none;
-}
-
-QPushButton:disabled {
- background-color: #2b2b2b;
- color: #c2c7cb;
- border-radius: 2px;
- padding: 2px;
-}
-
-QPushButton:checked {
- background-color: #cb9437;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #cb9437;
- color: #3c3c3c;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #cb9437;
-}
-
-QPushButton:hover {
- background-color: #cb9437;
- color: White;
-}
-
-QPushButton:pressed {
- background-color: #cb9437;
-}
-
-QPushButton:selected {
- background: #560062;
- 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;
- color: White;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: transparent;
- border-radius: 1px;
- padding: 0px;
- opacity: 1.0;
-}
-
-QToolButton:checked {
- background-color: #cb9437;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #c2c7cb;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #cb9437;
- color: White;
-}
-
-QToolButton:checked:pressed {
- background-color: #cb9437;
-}
-
-QToolButton:checked:selected {
- background: #560062;
- color: White;
-}
-
-QToolButton:hover {
- background-color: #cb9437;
- color: White;
-}
-
-QToolButton:pressed {
- background-color: #560062;
-}
-
-QToolButton:selected {
- background: #cb9437;
- color: White;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-QToolButton::menu-arrow:hover {
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- 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;
- background: #1c1b22;
- border-radius: 2px;
- selection-background-color: #cb9437;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #1c1b22;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #696968;
- border-radius: 0px;
- background-color: #1c1b22;
- selection-background-color: #cb9437;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:Black;
- color: White;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #cb9437;
- color: White;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #3c3c3c;
-}
-
-QComboBox:disabled {
- background-color: #2b2b2b;
- color: #353535;
-}
-
-QComboBox:hover {
- /*background-color: #cb9437;*/
- border: 1px solid #cb9437;
-}
-
-QComboBox:focus {
- border: 1px solid #560062;
-}
-
-QComboBox:on {
- selection-background-color: #560062;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #cb9437;
- /* 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: #696969;
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid #696968;
-}
-QComboBox::drop-down:hover {
- background-color: #cb9437;
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-background-color: #696969; /* Task Panel Header background color */
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #cb9437;
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: white; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_light.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-border-bottom-left-radius: 3px;
-border-bottom-right-radius: 3px;
-}
-
-QSint--ActionGroup QFrame[class="content"] > QWidget {
-background-color: #2b2b2b; /* Task Panel background color */
-}
-
-/* Fixs for tabs inside Task Panel */
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected {
-border-bottom-color: #cb9437; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #cb9437; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #cb9437; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #cb9437; /* 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 */
-QSint--ActionGroup QFrame[class="content"] QTreeView,
-QSint--ActionGroup QFrame[class="content"] QListView,
-QSint--ActionGroup QFrame[class="content"] QTableView {
-color: white;
-background-color: black;
-}
-
-
-/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
-QSint--ActionGroup QFrame[class="content"] QToolButton {
- color: white;
- text-align: center;
- background-color: #696969;
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- min-height: 16px; /* same as QTabBar QPushButton min-width */
- border-radius: 1px;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #cb9437;
- border: 1px solid #cb9437;
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #560062;
-}
-
-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: #cb9437;
- border: 1px solid #cb9437;
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #2b2b2b;
-}
-
-QSlider:focus {
- /*border: 1px solid #560062;*/
-}
-
-QSlider::groove:horizontal {
- background: #2b2b2b;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #cb9437;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #cb9437;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #696968;
-}
-
-QSlider::sub-page:horizontal {
- background: #cb9437;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #cb9437;
-}
-
-QSlider::handle:horizontal {
- background: #696968;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #cb9437;
- border: 1px solid #696968;
-}
-
-QSlider::handle:horizontal:focus {
- background: #560062;
- border: 1px solid #560062;
-}
-
-QSlider::handle:vertical {
- background: #696968;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #cb9437;
- border: 1px solid #696968;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #560062;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #1c1b22;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 2px;
- color: White;
-}
-
-QLineEdit:disabled {
- background-color: #2b2b2b;
- color: #c2c7cb;
-}
-
-QLineEdit:hover {
- border: 1px solid #cb9437;
- color: White;
-}
-
-QLineEdit:focus {
- border: 2px solid #560062;
-}
-
-QLineEdit:selected {
- background-color: #cb9437;
- color: white;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #cb9437;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- border: 0px solid #8c00ffa1;
- border-radius: 1.9px;
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #cb9437;
- border: 1px solid #346792;
-}
-/* QTabBar ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabBar, QDockWidget QTabBar {
- qproperty-drawBase: 0;
- border-radius: 2px;
- margin: 0px;
- padding: 2px;
- border: 0;
- alignment: center;
- /* 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 ------------------------------------------------------- */
-}
-
-QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled {
- border-bottom: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled {
- border-top: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled {
- border-right: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled {
- border-left: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled {
- border-bottom: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled {
- border-top: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled {
- border-right: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled {
- border-left: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
- border-bottom: 2px solid #696969;
- margin-top: 2px;
-}
-
-QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
- border-top: 2px solid #696969;
- margin-bottom: 2px;
-}
-
-QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected {
- border-left: 2px solid #696969;
- margin-right: 2px;
-}
-
-QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected {
- border-right: 2px solid #696969;
- margin-left: 2px;
-}
-
-QTabBar::tab:top, QDockWidget QTabBar::tab:top {
- background-color: #2b2b2b;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- border: 1px solid #696969;
- border-radius: 4px;
-}
-
-QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
- background-color: #696969;
- /*border: 1px solid #560062;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #cb9437;*/
- border: 0px solid #cb9437;
- background-color: #cb9437;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- border: 1px solid #696969;
- background-color: #2b2b2b;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- border-radius: 4px;
- min-width: 5px;
-}
-
-QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
- background-color: #696969;
- /*border: 1px solid #560062;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #cb9437;*/
- border: 0px solid #cb9437;
- background-color: #cb9437;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #2b2b2b;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #2b2b2b;
- border: 0px solid #560062;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #cb9437;
- background-color: #cb9437;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #2b2b2b;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #2b2b2b;
- border: 0px solid #560062;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #cb9437;
- background-color: #cb9437;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- padding-left: 0px;
-}
-
-QTabBar QToolButton, QDockWidget QTabBar QToolButton {
- /* Fixes #136 */
- background-color: #2b2b2b;
- height: 12px;
- width: 12px;
-}
-
-QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #cb9437;
- background-color: #cb9437;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #cb9437;
- background-color: #cb9437;
-}
-
-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: #2b2b2b;
- border: 1px solid #696968;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: #2b2b2b;
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_light.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_light.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #cb9437;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #2b2b2b; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #696968;
- color: White;
- gridline-color: #696968;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(31, 31, 31, 0.85); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #1c1b22;
- color: #c2c7cb;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #cb9437;
- color: White;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #560062;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #cb9437;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #cb9437;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: White;
- background-color: #353535;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: White;
- background-color: #cb9437;
-}
-
-QTableCornerButton::section {
- background-color: #2b2b2b;
- border: 1px transparent #696968;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: white;
-}
-QTableView {
- /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
- /*qproperty-aliasBgColor: #f700ff;*/
-}
-
-/* QHeaderView ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
-
---------------------------------------------------------------------------- */
-QHeaderView {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- padding: 0;
- margin: 0;
- border-radius: 0px;
- text-align: center;
-}
-
-QHeaderView:disabled {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: rgb(174, 174, 174);
-}
-
-QHeaderView::section {
- background-color: #3c3c3c;
- color: White;
- border-radius: 0px;
- font-size: 13px;
- font-weight: bold;
- text-align: center;
-}
-
-QHeaderView::section::horizontal {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10px;
- padding-right: 10px;
- border-left: 1px solid #696968;
-}
-
-QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
- border-left: 1px solid #696968;
- padding-left: 15px;
-}
-
-QHeaderView::section::horizontal:disabled {
- color: #353535;
-}
-
-QHeaderView::section::vertical {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 1px;
- padding-right: 1px;
- border-top: 1px solid #696968;
-}
-
-QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
- border-top: 1px solid #696968;
-}
-
-QHeaderView::section::vertical:disabled {
- color: #7a7a7a;
-}
-
-QHeaderView::down-arrow {
- /* Those settings (border/width/height/background-color) solve bug */
- /* transparent arrow background and size */
- background-color: #696969;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_light.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: #696969;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #696969;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #cb9437;
-}
-
-QToolBox::tab {
- background-color: #696969;
- border: 0px solid #696969;
- color: white;
- background-image: url(qss:images_dark-light/down_arrow_lighter.svg);
- 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: #2b2b2b;
-}
-
-QToolBox::tab:hover {
- background-color: #cb9437;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #696968;
- background-color: #696969;
- /* No frame */
- /* 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: #2b2b2b;
-}
-
-/* QSplitter --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #cb9437, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #cb9437, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #cb9437;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #cb9437;
-}
-
-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: #2b2b2b;
- border-radius: 2px;
- border: 1px solid #696968;
- selection-background-color: #cb9437;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #cb9437;
- color: White;
-}
-
-QAbstractView:selected {
- background: #cb9437;
- color: White;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Dark-modern-pink.qss b/src/Gui/Stylesheets/Dark-modern-pink.qss
deleted file mode 100644
index c5a14106a4..0000000000
--- a/src/Gui/Stylesheets/Dark-modern-pink.qss
+++ /dev/null
@@ -1,2627 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #c849cd
- #560062
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #c849cd; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #2b2b2b; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad_dark.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #2b2b2b;
- border: 0px solid #696968;
- padding: 0px;
- color: White;
- selection-background-color: #c849cd;
- selection-color: White;
-}
-
-QWidget:disabled {
- color: #c2c7cb;
- selection-background-color: #c849cd;
- selection-color: #c2c7cb;
-}
-
-QWidget::item:selected {
- background-color: #c849cd;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #c849cd;
- }*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #c849cd, stop:0.8 transparent);
- /*background-color: #c849cd;*/
- 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 #c849cd, stop:0.8 transparent);
- /*background-color: #c849cd;*/
- 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;
- color: White;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #2b2b2b;
- /* Fixes #205, white vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: #2b2b2b;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #560062;
-}
-
-QCheckBox QWidget:disabled {
- color: #c2c7cb;
-}
-
-QCheckBox::indicator {
- color: white;
- background-color: #1c1b22;
- width: 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: #c849cd;
- image:url(qss:images_dark-light/checkbox_unchecked_light.svg);
-}
-
-QCheckBox::indicator:unchecked:disabled {
- background-color: #2b2b2b;
- 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 {
- background-color: #c849cd;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #2b2b2b;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #2b2b2b;
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #c849cd; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #696968;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: white;
- background-color: #3c3c3c;
- border: 1px solid #696968;
- width: 12px;
- 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: #c849cd;
-}
-
-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: #c849cd;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #c849cd;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: White;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #560062;
-}
-
-QRadioButton:disabled {
- background-color: #696968;
- color: #353535;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: White;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #3c3c3c;
- border: 1px solid #696968;
- border-radius: 6px;
- margin-left: 0px;
- 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: #c849cd;
- border: 1px solid #c849cd;
- 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: #c849cd;
- border: 1px solid #c849cd;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: White;
- selection-background-color: #c849cd;
-}
-
-QMenuBar:focus {
- border: 1px solid #560062;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #696968;
- background-color: #c849cd;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #696968;
- background-color: #c849cd;
- color: White;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: White;
- margin: 0px;
- background-color: #161616;
- selection-background-color: #c849cd;
-}
-
-QMenu::separator {
- 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: #c849cd;
-}
-
-QMenu::item:pressed {
- background-color: #c849cd;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #560062;
- margin-left: -5px;
- border: 5px solid #560062;
- position: absolute;
- border-radius: 0px;
-}
-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: #c849cd;
-}
-
-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: #c849cd;
-}
-
-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: #c849cd;
- 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: #c849cd;
- 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;
- image:url(qss:images_dark-light/right_arrow_lighter.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #5b5b5b;
- color: White;
- 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;
- border: 0px solid #696968;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* remove min-height to fix #244 */
- color: White;
-}
-
-QAbstractScrollArea:disabled {
- color: #353535;
-}
-
-/* QScrollArea ------------------------------------------------------------
-
----------------------------------------------------------------------------
-text input field disabled!!!!*/
-QScrollArea QWidget:disabled {
- background-color: #2b2b2b;
-}
-
-/* QScrollBar -------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
-
---------------------------------------------------------------------------- */
-QScrollBar:horizontal {
- height: 16px;
- margin: 2px 16px 2px 16px;
- border: 0px solid #696968;
- border-radius: 1.9px;
- background-color: #2b2b2b;
-}
-
-QScrollBar:vertical {
- background-color: #2b2b2b;
- width: 16px;
- margin: 16px 2px 16px 2px;
- border: 0px solid #696968;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:horizontal {
- background-color: #696969;
- border: 1px solid #2b2b2b;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:hover {
- background-color: #c849cd;
- border: #696968;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #560062;
-}
-
-QScrollBar::handle:vertical {
- background-color: #696969;
- border: 1px solid #696968;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #c849cd;
- border: #696968;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #560062;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_light.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_light.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #2b2b2b;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QTextEdit:focus {
- border: 1px solid #560062;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: white;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #3c3c3c;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #560062;
-}
-
-QPlainTextEdit:selected {
- background: #c849cd;
- color: White;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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: #2b2b2b;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #2b2b2b;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #696969;
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-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: #c849cd;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-border-color: #696968;
-background-color: #c849cd;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #1c1b22;
- border: 1px solid transparent;
- color: White;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- min-height: 1.7em;
- /* min-width: 5px; removed to fix 109 */
-}
-
-QAbstractSpinBox:up-button {
- background-color: #696968;
- subcontrol-origin: border;
- subcontrol-position: top right;
- border-left: 1px solid transparent;
- border-bottom: 1px solid #1c1b22;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #c849cd;*/
- image: url(qss:images_dark-light/up_arrow_lighter.svg);
-}
-
-QAbstractSpinBox:down-button {
- background-color: #696968;
- subcontrol-origin: border;
- subcontrol-position: bottom right;
- border-left: 1px solid #696968;
- border-top: 1px solid #696968;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #c849cd;
- color: White;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #560062;
-}
-
-QAbstractSpinBox:selected {
- background: #560062;
- /*color: White;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #696968;
- padding: 2px;
- 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;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
-}
-
-QTextBrowser:disabled {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: #c2c7cb;
- border-radius: 1.9px;
-}
-
-QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #c849cd;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #c849cd;
- 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: #2b2b2b;
- color: #c2c7cb;
-}
-
-/* QProgressBar -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
-
---------------------------------------------------------------------------- */
-QProgressBar {
- background-color: #c2c7cb;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #161616;
- border: 1px solid #696968;
- color: #696969;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #c849cd;
- color: #2b2b2b;
- 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: #696969;
- color: White;
- border-radius: 2px;
- padding: 2px;
- outline: none;
- border: none;
-}
-
-QPushButton:disabled {
- background-color: #2b2b2b;
- color: #c2c7cb;
- border-radius: 2px;
- padding: 2px;
-}
-
-QPushButton:checked {
- background-color: #c849cd;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #c849cd;
- color: #3c3c3c;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #c849cd;
-}
-
-QPushButton:hover {
- background-color: #c849cd;
- color: White;
-}
-
-QPushButton:pressed {
- background-color: #c849cd;
-}
-
-QPushButton:selected {
- background: #560062;
- 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;
- color: White;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: transparent;
- border-radius: 1px;
- padding: 0px;
- opacity: 1.0;
-}
-
-QToolButton:checked {
- background-color: #c849cd;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #c2c7cb;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #c849cd;
- color: White;
-}
-
-QToolButton:checked:pressed {
- background-color: #c849cd;
-}
-
-QToolButton:checked:selected {
- background: #560062;
- color: White;
-}
-
-QToolButton:hover {
- background-color: #c849cd;
- color: White;
-}
-
-QToolButton:pressed {
- background-color: #560062;
-}
-
-QToolButton:selected {
- background: #c849cd;
- color: White;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-QToolButton::menu-arrow:hover {
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- 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;
- background: #1c1b22;
- border-radius: 2px;
- selection-background-color: #c849cd;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #1c1b22;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #696968;
- border-radius: 0px;
- background-color: #1c1b22;
- selection-background-color: #c849cd;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:Black;
- color: White;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #c849cd;
- color: White;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #3c3c3c;
-}
-
-QComboBox:disabled {
- background-color: #2b2b2b;
- color: #353535;
-}
-
-QComboBox:hover {
- /*background-color: #c849cd;*/
- border: 1px solid #c849cd;
-}
-
-QComboBox:focus {
- border: 1px solid #560062;
-}
-
-QComboBox:on {
- selection-background-color: #560062;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #c849cd;
- /* 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: #696969;
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid #696968;
-}
-QComboBox::drop-down:hover {
- background-color: #c849cd;
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-background-color: #696969; /* Task Panel Header background color */
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #c849cd;
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: white; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_light.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-border-bottom-left-radius: 3px;
-border-bottom-right-radius: 3px;
-}
-
-QSint--ActionGroup QFrame[class="content"] > QWidget {
-background-color: #2b2b2b; /* Task Panel background color */
-}
-
-/* Fixs for tabs inside Task Panel */
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected {
-border-bottom-color: #c849cd; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #c849cd; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #c849cd; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #c849cd; /* 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 */
-QSint--ActionGroup QFrame[class="content"] QTreeView,
-QSint--ActionGroup QFrame[class="content"] QListView,
-QSint--ActionGroup QFrame[class="content"] QTableView {
-color: white;
-background-color: black;
-}
-
-
-/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
-QSint--ActionGroup QFrame[class="content"] QToolButton {
- color: white;
- text-align: center;
- background-color: #696969;
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- min-height: 16px; /* same as QTabBar QPushButton min-width */
- border-radius: 1px;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #c849cd;
- border: 1px solid #c849cd;
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #560062;
-}
-
-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: #c849cd;
- border: 1px solid #c849cd;
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #2b2b2b;
-}
-
-QSlider:focus {
- /*border: 1px solid #560062;*/
-}
-
-QSlider::groove:horizontal {
- background: #2b2b2b;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #c849cd;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #c849cd;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #696968;
-}
-
-QSlider::sub-page:horizontal {
- background: #c849cd;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #c849cd;
-}
-
-QSlider::handle:horizontal {
- background: #696968;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #c849cd;
- border: 1px solid #696968;
-}
-
-QSlider::handle:horizontal:focus {
- background: #560062;
- border: 1px solid #560062;
-}
-
-QSlider::handle:vertical {
- background: #696968;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #c849cd;
- border: 1px solid #696968;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #560062;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #1c1b22;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 2px;
- color: White;
-}
-
-QLineEdit:disabled {
- background-color: #2b2b2b;
- color: #c2c7cb;
-}
-
-QLineEdit:hover {
- border: 1px solid #c849cd;
- color: White;
-}
-
-QLineEdit:focus {
- border: 2px solid #560062;
-}
-
-QLineEdit:selected {
- background-color: #c849cd;
- color: white;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #c849cd;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- border: 0px solid #8c00ffa1;
- border-radius: 1.9px;
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #c849cd;
- border: 1px solid #346792;
-}
-/* QTabBar ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabBar, QDockWidget QTabBar {
- qproperty-drawBase: 0;
- border-radius: 2px;
- margin: 0px;
- padding: 2px;
- border: 0;
- alignment: center;
- /* 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 ------------------------------------------------------- */
-}
-
-QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled {
- border-bottom: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled {
- border-top: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled {
- border-right: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled {
- border-left: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled {
- border-bottom: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled {
- border-top: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled {
- border-right: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled {
- border-left: 3px solid #696969;
- color: #515151;
- background-color: #696969;
-}
-
-QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
- border-bottom: 2px solid #696969;
- margin-top: 2px;
-}
-
-QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
- border-top: 2px solid #696969;
- margin-bottom: 2px;
-}
-
-QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected {
- border-left: 2px solid #696969;
- margin-right: 2px;
-}
-
-QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected {
- border-right: 2px solid #696969;
- margin-left: 2px;
-}
-
-QTabBar::tab:top, QDockWidget QTabBar::tab:top {
- background-color: #2b2b2b;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- border: 1px solid #696969;
- border-radius: 4px;
-}
-
-QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
- background-color: #696969;
- /*border: 1px solid #560062;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #c849cd;*/
- border: 0px solid #c849cd;
- background-color: #c849cd;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- border: 1px solid #696969;
- background-color: #2b2b2b;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- border-radius: 4px;
- min-width: 5px;
-}
-
-QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
- background-color: #696969;
- /*border: 1px solid #560062;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #c849cd;*/
- border: 0px solid #c849cd;
- background-color: #c849cd;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #2b2b2b;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #2b2b2b;
- border: 0px solid #560062;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #c849cd;
- background-color: #c849cd;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #2b2b2b;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #2b2b2b;
- border: 0px solid #560062;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #c849cd;
- background-color: #c849cd;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- padding-left: 0px;
-}
-
-QTabBar QToolButton, QDockWidget QTabBar QToolButton {
- /* Fixes #136 */
- background-color: #2b2b2b;
- height: 12px;
- width: 12px;
-}
-
-QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #c849cd;
- background-color: #c849cd;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #c849cd;
- background-color: #c849cd;
-}
-
-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: #2b2b2b;
- border: 1px solid #696968;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: #2b2b2b;
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_light.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_light.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #c849cd;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #2b2b2b; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #696968;
- color: White;
- gridline-color: #696968;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(31, 31, 31, 0.85); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #1c1b22;
- color: #c2c7cb;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #c849cd;
- color: White;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #560062;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #c849cd;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #c849cd;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: White;
- background-color: #353535;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: White;
- background-color: #c849cd;
-}
-
-QTableCornerButton::section {
- background-color: #2b2b2b;
- border: 1px transparent #696968;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: white;
-}
-QTableView {
- /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
- /*qproperty-aliasBgColor: #f700ff;*/
-}
-
-/* QHeaderView ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
-
---------------------------------------------------------------------------- */
-QHeaderView {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- padding: 0;
- margin: 0;
- border-radius: 0px;
- text-align: center;
-}
-
-QHeaderView:disabled {
- background-color: #2b2b2b;
- border: 1px solid #696968;
- color: rgb(174, 174, 174);
-}
-
-QHeaderView::section {
- background-color: #3c3c3c;
- color: White;
- border-radius: 0px;
- font-size: 13px;
- font-weight: bold;
- text-align: center;
-}
-
-QHeaderView::section::horizontal {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10px;
- padding-right: 10px;
- border-left: 1px solid #696968;
-}
-
-QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
- border-left: 1px solid #696968;
- padding-left: 15px;
-}
-
-QHeaderView::section::horizontal:disabled {
- color: #353535;
-}
-
-QHeaderView::section::vertical {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 1px;
- padding-right: 1px;
- border-top: 1px solid #696968;
-}
-
-QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
- border-top: 1px solid #696968;
-}
-
-QHeaderView::section::vertical:disabled {
- color: #7a7a7a;
-}
-
-QHeaderView::down-arrow {
- /* Those settings (border/width/height/background-color) solve bug */
- /* transparent arrow background and size */
- background-color: #696969;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_light.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: #696969;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #696969;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #c849cd;
-}
-
-QToolBox::tab {
- background-color: #696969;
- border: 0px solid #696969;
- color: white;
- background-image: url(qss:images_dark-light/down_arrow_lighter.svg);
- 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: #2b2b2b;
-}
-
-QToolBox::tab:hover {
- background-color: #c849cd;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #696968;
- background-color: #696969;
- /* No frame */
- /* 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: #2b2b2b;
-}
-
-/* QSplitter --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #c849cd, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #c849cd, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #c849cd;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #c849cd;
-}
-
-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: #2b2b2b;
- border-radius: 2px;
- border: 1px solid #696968;
- selection-background-color: #c849cd;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #c849cd;
- color: White;
-}
-
-QAbstractView:selected {
- background: #c849cd;
- color: White;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Dark-modern-blue.qss b/src/Gui/Stylesheets/Dark-modern.qss
similarity index 91%
rename from src/Gui/Stylesheets/Dark-modern-blue.qss
rename to src/Gui/Stylesheets/Dark-modern.qss
index 17c2b429af..958465a6fe 100644
--- a/src/Gui/Stylesheets/Dark-modern-blue.qss
+++ b/src/Gui/Stylesheets/Dark-modern.qss
@@ -17,8 +17,8 @@ INSTALLATION WHEN NECESSARY
============================================================================================================
TO MODIFY USE THESE COLORS:
- #557bb6
- #560062
+ @ThemeAccentColor1
+ @ThemeAccentColor2
See Qt documentation:
@@ -86,7 +86,7 @@ Gui--PropertyEditor--PropertyEditor QComboBox {
/* fix for column items background when a link is present */
Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #557bb6; /* same as focused background color */
+ background-color: @ThemeAccentColor1; /* same as focused background color */
}
/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
@@ -124,23 +124,23 @@ QWidget {
border: 0px solid #696968;
padding: 0px;
color: White;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
selection-color: White;
}
QWidget:disabled {
color: #c2c7cb;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
selection-color: #c2c7cb;
}
QWidget::item:selected {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
/* Causes issue with colorselector.
QWidget::item:hover:!selected {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}*/
/* QMainWindow ------------------------------------------------------------
@@ -157,14 +157,14 @@ QMainWindow::separator {
}
QMainWindow::separator:vertical:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #557bb6, stop:0.8 transparent);
- /*background-color: #557bb6;*/
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
+ /*background-color: @ThemeAccentColor1;*/
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 #557bb6, stop:0.8 transparent);
- /*background-color: #557bb6;*/
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/splitter_horizontal_light.svg);
}
@@ -242,7 +242,7 @@ QCheckBox {
}
QCheckBox:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QCheckBox QWidget:disabled {
@@ -263,7 +263,7 @@ QCheckBox::indicator:unchecked {
}
QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #557BB6;
+ background-color: @ThemeAccentColor1;
image:url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -279,7 +279,7 @@ QCheckBox::indicator:checked {
}
QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #557BB6;
+ background-color: @ThemeAccentColor1;
}
QCheckBox::indicator:checked:disabled {
@@ -299,7 +299,7 @@ QCheckBox::indicator:indeterminate:disabled {
}
QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #557BB6; /* QRadioButton has the same color */
+ background-color: @ThemeAccentColor1; /* QRadioButton has the same color */
}
/* QGroupBox --------------------------------------------------------------
@@ -341,7 +341,7 @@ QGroupBox::indicator:unchecked {
}
QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #557BB6;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:unchecked:disabled {
@@ -355,11 +355,11 @@ QGroupBox::indicator:checked {
}
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
- background-color: #557BB6;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:checked:disabled {
- background-color: #557BB6;
+ background-color: @ThemeAccentColor1;
}
/* QRadioButton -----------------------------------------------------------
@@ -378,7 +378,7 @@ QRadioButton {
}
QRadioButton:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QRadioButton:disabled {
@@ -409,8 +409,8 @@ QRadioButton::indicator:unchecked {
}
QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed {
- background-color: #557bb6;
- border: 1px solid #557bb6;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
}
@@ -424,8 +424,8 @@ QRadioButton::indicator:checked {
}
QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #557bb6;
- border: 1px solid #557bb6;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
image:url(qss:images_dark-light/radiobutton_light.svg);
}
@@ -446,11 +446,11 @@ QMenuBar {
/*padding: 1px;
border: 0px solid rgba(0,0,0,140);*/
color: White;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
}
QMenuBar:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QMenuBar::item {
@@ -464,7 +464,7 @@ QMenuBar::item {
QMenuBar::item:selected {
background: transparent;
border: 0px solid #696968;
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QMenuBar::item:pressed {
@@ -472,7 +472,7 @@ QMenuBar::item:pressed {
padding-left: 10px;
padding-right: 10px;*/
border: 0px solid #696968;
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: White;
/*margin-bottom: 0px;
padding-bottom: 0px;*/
@@ -489,7 +489,7 @@ QMenu {
color: White;
margin: 0px;
background-color: #161616;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
}
QMenu::separator {
@@ -508,11 +508,11 @@ QMenu::item {
QMenu::item:selected {
color: White;
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QMenu::item:pressed {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QMenu::icon {
@@ -532,9 +532,9 @@ QMenu::indicator {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
- background: #560062;
+ background: @ThemeAccentColor2;
margin-left: -5px;
- border: 5px solid #560062;
+ border: 5px solid @ThemeAccentColor2;
position: absolute;
border-radius: 0px;
}
@@ -544,7 +544,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: #557BB6;
+ background: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:unchecked:disabled {
@@ -557,7 +557,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: #557BB6;
+ background: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:checked:disabled {
@@ -583,7 +583,7 @@ QMenu::indicator:exclusive:unchecked {
QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed {
border: none;
outline: none;
- background: #557BB6;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -600,7 +600,7 @@ QMenu::indicator:exclusive:checked {
QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed {
border: none;
outline: none;
- background: #557BB6;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -690,14 +690,14 @@ QScrollBar::handle:horizontal {
}
QScrollBar::handle:horizontal:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
border: #696968;
border-radius: 1.9px;
min-width: 8px;
}
QScrollBar::handle:horizontal:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::handle:vertical {
@@ -708,14 +708,14 @@ QScrollBar::handle:vertical {
}
QScrollBar::handle:vertical:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
border: #696968;
border-radius: 1.9px;
min-height: 8px;
}
QScrollBar::handle:vertical:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::add-line:horizontal {
@@ -816,7 +816,7 @@ QTextEdit {
}
QTextEdit:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QTextEdit:selected {
@@ -835,11 +835,11 @@ QPlainTextEdit {
}
QPlainTextEdit:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QPlainTextEdit:selected {
- background: #557bb6;
+ background: @ThemeAccentColor1;
color: White;
}
@@ -921,13 +921,13 @@ background-position: center center;
QToolButton#qt_toolbar_ext_button:hover {
/*background-image: url(qss:images_dark-light/more_light.svg);*/
-background-color: #557bb6;
+background-color: @ThemeAccentColor1;
}
QToolButton#qt_toolbar_ext_button:on {
/*background-image: url(qss:images_dark-light/more_light.svg);*/
border-color: #696968;
-background-color: #557bb6;
+background-color: @ThemeAccentColor1;
}
@@ -970,7 +970,7 @@ QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBo
}
QAbstractSpinBox::up-arrow:hover {
- /*background-color: #557bb6;*/
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/up_arrow_lighter.svg);
}
@@ -998,16 +998,16 @@ QAbstractSpinBox::down-arrow:hover {
}
QAbstractSpinBox:hover {
- /*border: 1px solid #557bb6;
+ /*border: 1px solid @ThemeAccentColor1;
color: White;*/
}
QAbstractSpinBox:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QAbstractSpinBox:selected {
- background: #560062;
+ background: @ThemeAccentColor2;
/*color: White;*/
}
@@ -1058,7 +1058,7 @@ QTextBrowser:disabled {
}
QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #557bb6;
+ border: 1px solid @ThemeAccentColor1;
}
/* QGraphicsView ----------------------------------------------------------
@@ -1066,7 +1066,7 @@ QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pre
--------------------------------------------------------------------------- */
QGraphicsView {
background-color: transparent;
- border: 0px solid #557bb6;
+ border: 0px solid @ThemeAccentColor1;
color: White;
border-radius: 0px;
}
@@ -1130,7 +1130,7 @@ QProgressBar:disabled {
}
QProgressBar::chunk {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: #2b2b2b;
border-radius: 1.9px;
}
@@ -1166,14 +1166,14 @@ QPushButton:disabled {
}
QPushButton:checked {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
border-radius: 2px;
padding: 2px;
outline: none;
}
QPushButton:checked:disabled {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: #3c3c3c;
border-radius: 2px;
padding: 2px;
@@ -1181,20 +1181,20 @@ QPushButton:checked:disabled {
}
QPushButton:checked:selected {
- background: #557bb6;
+ background: @ThemeAccentColor1;
}
QPushButton:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: White;
}
QPushButton:pressed {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QPushButton:selected {
- background: #560062;
+ background: @ThemeAccentColor2;
color: White;
}
@@ -1235,7 +1235,7 @@ QToolButton:disabled {
}
QToolButton:checked {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
border-radius: 1.9px;
padding: 0px;
outline: none;
@@ -1250,30 +1250,30 @@ QToolButton:checked:disabled {
}
QToolButton:checked:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: White;
}
QToolButton:checked:pressed {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QToolButton:checked:selected {
- background: #560062;
+ background: @ThemeAccentColor2;
color: White;
}
QToolButton:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: White;
}
QToolButton:pressed {
- background-color: #560062;
+ background-color: @ThemeAccentColor2;
}
QToolButton:selected {
- background: #557bb6;
+ background: @ThemeAccentColor1;
color: White;
}
@@ -1383,7 +1383,7 @@ QComboBox {
border: 1px solid transparent;
background: #1c1b22;
border-radius: 2px;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
padding-left: 2px;
padding-right: 2px;
/* padding-right = 36; 4 + 16*2 See scrollbar size */
@@ -1402,7 +1402,7 @@ QComboBox QAbstractItemView {
border: 0px solid #696968;
border-radius: 0px;
background-color: #1c1b22;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
}
QComboBox QAbstractItemView:hover {
@@ -1411,7 +1411,7 @@ QComboBox QAbstractItemView:hover {
}
QComboBox QAbstractItemView:selected {
- background: #557bb6;
+ background: @ThemeAccentColor1;
color: White;
}
@@ -1425,16 +1425,16 @@ QComboBox:disabled {
}
QComboBox:hover {
- /*background-color: #557bb6;*/
- border: 1px solid #557bb6;
+ /*background-color: @ThemeAccentColor1;*/
+ border: 1px solid @ThemeAccentColor1;
}
QComboBox:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QComboBox:on {
- selection-background-color: #560062;
+ selection-background-color: @ThemeAccentColor2;
}
QComboBox::indicator {
@@ -1443,7 +1443,7 @@ QComboBox::indicator {
background-color: transparent;
selection-background-color: transparent;
color: transparent;
- selection-color: #557bb6;
+ selection-color: @ThemeAccentColor1;
/* Needed to remove indicator - fix #132 */
}
@@ -1475,7 +1475,7 @@ QComboBox::drop-down {
border-left: 1px solid #696968;
}
QComboBox::drop-down:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QComboBox::down-arrow {
@@ -1535,7 +1535,7 @@ padding: 0px;
}
QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #557BB6;
+background-color: @ThemeAccentColor1;
}
QSint--ActionGroup QToolButton[class="header"] {
@@ -1594,19 +1594,19 @@ background-color: #2b2b2b; /* Task Panel background color */
/* Fixs for tabs inside Task Panel */
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected {
-border-bottom-color: #557bb6; /* same as Task Panel background color */
+border-bottom-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #557bb6; /* same as Task Panel background color */
+border-top-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #557bb6; /* same as Task Panel background color */
+border-right-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #557bb6; /* same as Task Panel background color */
+border-left-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
/* Fix for buttons with icons that showed cropped (still not happy with result) */
@@ -1637,11 +1637,11 @@ QSint--ActionGroup QFrame[class="content"] QToolButton {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #557bb6;
- border: 1px solid #557bb6;
+ background: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
}
QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
@@ -1651,8 +1651,8 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background: #557bb6;
- border: 1px solid #557bb6;
+ background: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
}
/* QSlider ----------------------------------------------------------------
@@ -1665,7 +1665,7 @@ QSlider:disabled {
}
QSlider:focus {
- /*border: 1px solid #560062;*/
+ /*border: 1px solid @ThemeAccentColor2;*/
}
QSlider::groove:horizontal {
@@ -1677,7 +1677,7 @@ QSlider::groove:horizontal {
}
QSlider::groove:vertical {
- background: #557bb6;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
width: 4px;
margin: 0px;
@@ -1685,7 +1685,7 @@ QSlider::groove:vertical {
}
QSlider::add-page:vertical {
- background: #557bb6;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
width: 4px;
margin: 0px;
@@ -1697,7 +1697,7 @@ QSlider::add-page:vertical :disabled {
}
QSlider::sub-page:horizontal {
- background: #557bb6;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
height: 4px;
margin: 0px;
@@ -1705,7 +1705,7 @@ QSlider::sub-page:horizontal {
}
QSlider::sub-page:horizontal:disabled {
- background: #557bb6;
+ background: @ThemeAccentColor1;
}
QSlider::handle:horizontal {
@@ -1718,13 +1718,13 @@ QSlider::handle:horizontal {
}
QSlider::handle:horizontal:hover {
- background: #557bb6;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
}
QSlider::handle:horizontal:focus {
- background: #560062;
- border: 1px solid #560062;
+ background: @ThemeAccentColor2;
+ border: 1px solid @ThemeAccentColor2;
}
QSlider::handle:vertical {
@@ -1737,12 +1737,12 @@ QSlider::handle:vertical {
}
QSlider::handle:vertical:hover {
- background: #557bb6;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
}
QSlider::handle:vertical:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
/* QLineEdit --------------------------------------------------------------
@@ -1770,16 +1770,16 @@ QLineEdit:disabled {
}
QLineEdit:hover {
- border: 1px solid #557bb6;
+ border: 1px solid @ThemeAccentColor1;
color: White;
}
QLineEdit:focus {
- border: 2px solid #560062;
+ border: 2px solid @ThemeAccentColor2;
}
QLineEdit:selected {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: white;
}
@@ -1790,7 +1790,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabb
--------------------------------------------------------------------------- */
QTabWidget {
padding: 2px;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
}
QTabWidget QWidget {
@@ -1807,7 +1807,7 @@ QTabWidget::pane {
}
QTabWidget::pane:selected {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
border: 1px solid #346792;
}
/* QTabBar ----------------------------------------------------------------
@@ -1928,7 +1928,7 @@ QTabBar::tab:top, QDockWidget QTabBar::tab:top {
QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
background-color: #696969;
- /*border: 1px solid #560062;
+ /*border: 1px solid @ThemeAccentColor2;
border-radius: 4px;
margin-left: 4px;
margin-right: 4px;
@@ -1937,9 +1937,9 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
}
QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #557bb6;*/
- border: 0px solid #557bb6;
- background-color: #557bb6;
+ /*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1959,7 +1959,7 @@ QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
background-color: #696969;
- /*border: 1px solid #560062;
+ /*border: 1px solid @ThemeAccentColor2;
border-radius: 4px;
margin-left: 4px;
margin-right: 4px;
@@ -1968,9 +1968,9 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
}
QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #557bb6;*/
- border: 0px solid #557bb6;
- background-color: #557bb6;
+/*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1989,12 +1989,12 @@ QTabBar::tab:left, QDockWidget QTabBar::tab:left {
QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
background-color: #2b2b2b;
- border: 0px solid #560062;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #557bb6;
- background-color: #557bb6;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-right: 0px;
padding-right: -1px;
@@ -2013,12 +2013,12 @@ QTabBar::tab:right, QDockWidget QTabBar::tab:right {
QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
background-color: #2b2b2b;
- border: 0px solid #560062;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #557bb6;
- background-color: #557bb6;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-left: 0px;
padding-left: 0px;
@@ -2032,13 +2032,13 @@ QTabBar QToolButton, QDockWidget QTabBar QToolButton {
}
QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #557bb6;
- background-color: #557bb6;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #557bb6;
- background-color: #557bb6;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled {
@@ -2109,7 +2109,7 @@ QDockWidget::float-button {
}
QDockWidget::float-button:hover {
- /*background-color: #557bb6;*/
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/undock_blue.svg);
}
@@ -2245,7 +2245,7 @@ QTreeView:selected,
QListView:selected,
QTableView:selected,
QColumnView:selected {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
color: White;
}
@@ -2253,21 +2253,21 @@ QTreeView:focus,
QListView:focus,
QTableView:focus,
QColumnView:focus {
- border: 1px solid #560062;
+ border: 1px solid @ThemeAccentColor2;
}
QTreeView::item:pressed,
QListView::item:pressed,
QTableView::item:pressed,
QColumnView::item:pressed {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:active,
QListView::item:selected:active,
QTableView::item:selected:active,
QColumnView::item:selected:active {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:!active,
@@ -2284,7 +2284,7 @@ QTableView::item:!selected:hover,
QColumnView::item:!selected:hover {
outline: 0;
color: White;
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QTableCornerButton::section {
@@ -2400,7 +2400,7 @@ QToolBox {
QToolBox:selected {
padding: 0px;
- border: 0px solid #557bb6;
+ border: 0px solid @ThemeAccentColor1;
}
QToolBox::tab {
@@ -2438,7 +2438,7 @@ QToolBox::tab:!selected:disabled {
}
QToolBox::tab:hover {
- background-color: #557bb6;
+ background-color: @ThemeAccentColor1;
}
QToolBox QScrollArea QWidget QWidget {
@@ -2513,7 +2513,7 @@ QSplitter::handle:vertical {
}
QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #557bb6, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
background-position: center center;
background-repeat: none;
}
@@ -2522,14 +2522,14 @@ QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
background-position: center center;
background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #557bb6, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
}
/* QDateEdit, QDateTimeEdit -----------------------------------------------
--------------------------------------------------------------------------- */
QDateEdit, QDateTimeEdit {
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
border-style: solid;
border: 1px solid #696968;
border-radius: 1.9px;
@@ -2543,7 +2543,7 @@ QDateEdit, QDateTimeEdit {
}
QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
}
QDateEdit::drop-down, QDateTimeEdit::drop-down {
@@ -2567,19 +2567,19 @@ QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
background-color: #2b2b2b;
border-radius: 2px;
border: 1px solid #696968;
- selection-background-color: #557bb6;
+ selection-background-color: @ThemeAccentColor1;
}
/* QAbstractView ----------------------------------------------------------
--------------------------------------------------------------------------- */
QAbstractView:hover {
- border: 1px solid #557bb6;
+ border: 1px solid @ThemeAccentColor1;
color: White;
}
QAbstractView:selected {
- background: #557bb6;
+ background: @ThemeAccentColor1;
color: White;
}
diff --git a/src/Gui/Stylesheets/Darker-blue.qss b/src/Gui/Stylesheets/Darker-blue.qss
deleted file mode 100644
index ea7cc2a6c6..0000000000
--- a/src/Gui/Stylesheets/Darker-blue.qss
+++ /dev/null
@@ -1,2609 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #2053c0;
- #1b3774
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #2053c0; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #444444; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad_dark.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #444444;
- border: 0px solid #696968;
- padding: 0px;
- color: White;
- selection-background-color: #2053c0;
- selection-color: White;
-}
-
-QWidget:disabled {
- 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;*/
- border: 0px solid #696968;
- 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;
- color: White;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #444444;
- /* Fixes #205, white vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #444444;
- border: 1px solid #696968;
- color: #444444;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #1b3774;
-}
-
-QCheckBox QWidget:disabled {
- color: #c2c7cb;
-}
-
-QCheckBox::indicator {
- color: white;
- background-color: #1c1b22;
- width: 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 {
- background-color: #2053c0;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #444444;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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;
- border: 1px solid #696968;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: white;
- background-color: #3c3c3c;
- border: 1px solid #696968;
- width: 12px;
- 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;
- color: White;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- 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;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #3c3c3c;
- border: 1px solid #696968;
- border-radius: 6px;
- margin-left: 0px;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: White;
- selection-background-color: #2053c0;
-}
-
-QMenuBar:focus {
- border: 1px solid #1b3774;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- 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;
- padding-right: 10px;*/
- border: 0px solid #696968;
- background-color: #2053c0;
- color: White;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: White;
- margin: 0px;
- background-color: #161616;
- selection-background-color: #2053c0;
-}
-
-QMenu::separator {
- 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;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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;
- border: 5px solid #1b3774;
- position: absolute;
- border-radius: 0px;
-}
-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;
- image:url(qss:images_dark-light/right_arrow_lighter.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #5b5b5b;
- color: White;
- 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;
- border: 0px solid #696968;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* 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;
- margin: 2px 8px 2px 8px;
- border: 0px solid #696968;
- border-radius: 4px;
- background-color: #444444;
-}
-
-QScrollBar:vertical {
- background-color: #444444;
- width: 16px;
- margin: 8px 2px 8px 2px;
- 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;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_light.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #444444;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QTextEdit:focus {
- border: 1px solid #1b3774;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: white;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #3c3c3c;
- color: White;
- 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;
- width: 12px;
- 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;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #444444;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #696969;
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-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 {
- background-color: #1c1b22;
- border: 1px solid transparent;
- color: White;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- 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;
- subcontrol-position: top right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- subcontrol-position: bottom right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- border: 0px solid #696968;
- padding: 2px;
- 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;
- border: 1px solid #696968;
- 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;
- border: 0px solid #2053c0;
- 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;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #161616;
- border: 1px solid #696968;
- color: #696969;
- 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);
- color: White;
- border: 1px solid #2a2a2a;
- border-bottom-color: #1e1e1e; /* simulates shadow under the button */
- 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;
- color: White;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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;
- border-radius: 1.9px;
- 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;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-QToolButton::menu-arrow:hover {
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- 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;
- background: #1c1b22;
- border-radius: 2px;
- selection-background-color: #2053c0;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #1c1b22;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #696968;
- border-radius: 0px;
- 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;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- 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);
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid transparent;
-}
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-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;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_light.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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 */
-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;
- text-align: center;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- 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);
-
-}
-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;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #2053c0;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #2053c0;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #696968;
-}
-
-QSlider::sub-page:horizontal {
- background: #2053c0;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #2053c0;
-}
-
-QSlider::handle:horizontal {
- background: #353535;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #2053c0;
- border: 1px solid #696968;
-}
-
-QSlider::handle:horizontal:focus {
- background: #1b3774;
- border: 1px solid #1b3774;
-}
-
-QSlider::handle:vertical {
- background: #353535;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #2053c0;
- border: 1px solid #696968;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #1b3774;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #1c1b22;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #696968;
- 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: 0px;
-}
-
-QTabWidget::pane {
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #2053c0;
- border: 1px solid #346792;
-}
-
-QTabWidget::pane:selected {
- background-color: #557bb6;
- border: 1px solid #346792;
-}
-
-QTabWidget::pane:top {
- top: -1px;
- border-top: 1px solid #696969;
-}
-
-QTabWidget::pane:bottom {
- bottom: -1px;
- border-bottom: 1px solid #696969;
-}
-
-QTabWidget::pane:left {
- right: -1px;
- border-right: 1px solid #696969;
-}
-
-QTabWidget::pane:right {
- left: -1px;
- border-left: 1px solid #696969;
-}
-/* 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;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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;
- }
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #2053c0;*/
- border: 0px solid #2053c0;
- background-color: #2053c0;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- color: #adadad;
- margin-left: 0px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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;
-
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #2053c0;*/
- border: 0px solid #2053c0;
- background-color: #2053c0;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #444444;
- margin-top: 2px;
- margin-left:10px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- 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;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #444444;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- 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;
- /* Fixes different behavior #271 */
- 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;
- border: 1px solid #2a2a2a;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_light.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #444444; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #696968;
- color: White;
- gridline-color: #696968;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(31, 31, 31, 0.85); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #1c1b22;
- color: #c2c7cb;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- 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,
-QColumnView::item:selected:!active {
- color: White;
- background-color: #353535;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: White;
- background-color: #2053c0;
-}
-
-QTableCornerButton::section {
- background-color: #444444;
- border: 1px transparent #696968;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: white;
-}
-QTableView {
- /*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;
- border: 1px solid #2a2a2a;
- 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;
- padding-left: 1px;
- 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 */
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_light.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #696969;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #2053c0;
-}
-
-QToolBox::tab {
- background-color: transparent;
- border: 0px solid #696969;
- color: white;
- background-image: url(qss:images_dark-light/down_arrow_lighter.svg);
- 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 {
- border-radius: 0px;
- border: 0px solid #696968;
- background-color: #696969;
- /* No frame */
- /* 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
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #2053c0, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #2053c0, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #2053c0;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- 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 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Darker-green.qss b/src/Gui/Stylesheets/Darker-green.qss
deleted file mode 100644
index ecc50e84a5..0000000000
--- a/src/Gui/Stylesheets/Darker-green.qss
+++ /dev/null
@@ -1,2583 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #74831d
- #6d8000
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #74831d; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #444444; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad_dark.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #444444;
- border: 0px solid #696968;
- padding: 0px;
- color: White;
- selection-background-color: #74831d;
- selection-color: White;
-}
-
-QWidget:disabled {
- color: #c2c7cb;
- selection-background-color: #74831d;
- selection-color: #c2c7cb;
-}
-
-QWidget::item:selected {
- background-color: #74831d;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #74831d;
- }*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #74831d, stop:0.8 transparent);
- /*background-color: #74831d;*/
- 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 #74831d, stop:0.8 transparent);
- /*background-color: #74831d;*/
- 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;
- color: White;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #444444;
- /* Fixes #205, white vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #444444;
- border: 1px solid #696968;
- color: #444444;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #6d8000;
-}
-
-QCheckBox QWidget:disabled {
- color: #c2c7cb;
-}
-
-QCheckBox::indicator {
- color: white;
- background-color: #1c1b22;
- width: 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: #74831d;
- 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 {
- background-color: #74831d;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #444444;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #74831d; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #696968;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: white;
- background-color: #3c3c3c;
- border: 1px solid #696968;
- width: 12px;
- 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: #74831d;
-}
-
-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: #74831d;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #74831d;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: White;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #6d8000;
-}
-
-QRadioButton:disabled {
- background-color: #696968;
- color: #353535;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: White;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #3c3c3c;
- border: 1px solid #696968;
- border-radius: 6px;
- margin-left: 0px;
- 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: #74831d;
- border: 1px solid #74831d;
- 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: #74831d;
- border: 1px solid #74831d;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: White;
- selection-background-color: #74831d;
-}
-
-QMenuBar:focus {
- border: 1px solid #6d8000;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #696968;
- background-color: #74831d;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #696968;
- background-color: #74831d;
- color: White;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: White;
- margin: 0px;
- background-color: #161616;
- selection-background-color: #74831d;
-}
-
-QMenu::separator {
- 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: #74831d;
-}
-
-QMenu::item:pressed {
- background-color: #74831d;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #6d8000;
- margin-left: -5px;
- border: 5px solid #6d8000;
- position: absolute;
- border-radius: 0px;
-}
-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: #74831d;
-}
-
-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: #74831d;
-}
-
-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: #74831d;
- 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: #74831d;
- 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;
- image:url(qss:images_dark-light/right_arrow_lighter.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #5b5b5b;
- color: White;
- 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;
- border: 0px solid #696968;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* 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;
- margin: 2px 8px 2px 8px;
- border: 0px solid #696968;
- border-radius: 4px;
- background-color: #444444;
-}
-
-QScrollBar:vertical {
- background-color: #444444;
- width: 16px;
- margin: 8px 2px 8px 2px;
- 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: #74831d;
- border: #696968;
- border-radius: 4px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #6d8000;
-}
-
-QScrollBar::handle:vertical {
- background-color: #696969;
- border: 1px solid #696968;
- min-height: 8px;
- border-radius: 4px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #74831d;
- border: #696968;
- border-radius: 4px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #6d8000;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_light.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_light.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #444444;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QTextEdit:focus {
- border: 1px solid #6d8000;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: white;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #3c3c3c;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #6d8000;
-}
-
-QPlainTextEdit:selected {
- background: #74831d;
- color: White;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #444444;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #696969;
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-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: #74831d;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-border-color: #696968;
-background-color: #74831d;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #1c1b22;
- border: 1px solid transparent;
- color: White;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- 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;
- subcontrol-position: top right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- subcontrol-position: bottom right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #74831d;
- color: White;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #6d8000;
-}
-
-QAbstractSpinBox:selected {
- background: #6d8000;
- /*color: White;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #696968;
- padding: 2px;
- 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;
- border: 1px solid #696968;
- 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 #74831d;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #74831d;
- 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;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #161616;
- border: 1px solid #696968;
- color: #696969;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #74831d;
- 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);
- color: White;
- border: 1px solid #2a2a2a;
- border-bottom-color: #1e1e1e; /* simulates shadow under the button */
- border-radius: 4px;
- padding: 2px;
-}
-
-QPushButton:disabled {
- background-color: #444444;
- color: #c2c7cb;
-
-}
-
-QPushButton:checked {
- background-color: #74831d;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #74831d;
- color: #3c3c3c;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #74831d;
-}
-
-QPushButton:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #74831d, stop:1 #6d8000);
- color: White;
-}
-
-QPushButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #6d8000, stop:1 #74831d);
-}
-
-QPushButton:selected {
- background: #6d8000;
- 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;
- color: White;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #74831d;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #c2c7cb;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #74831d;
- color: White;
-}
-
-QToolButton:checked:pressed {
- background-color: #74831d;
-}
-
-QToolButton:checked:selected {
- background: #6d8000;
- color: White;
-}
-
-QToolButton:hover {
- background-color: #74831d;
- color: White;
-}
-
-QToolButton:pressed {
- background-color: #6d8000;
-}
-
-QToolButton:selected {
- background: #74831d;
- color: White;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-QToolButton::menu-arrow:hover {
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- 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;
- background: #1c1b22;
- border-radius: 2px;
- selection-background-color: #74831d;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #1c1b22;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #696968;
- border-radius: 0px;
- background-color: #1c1b22;
- selection-background-color: #74831d;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:#1c1b22;
- color: White;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #74831d;
- color: White;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #3c3c3c;
-}
-
-QComboBox:disabled {
- background-color: #444444;
- color: #353535;
-}
-
-QComboBox:hover {
- /*background-color: #74831d;*/
- border: 1px solid #74831d;
-}
-
-QComboBox:focus {
- border: 1px solid #6d8000;
-}
-
-QComboBox:on {
- selection-background-color: #6d8000;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #74831d;
- /* 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);
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid transparent;
-}
-QComboBox::drop-down:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #74831d, stop:1 #6d8000);
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #74831d, stop:1 #6d8000);
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: white; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_light.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #74831d; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #74831d; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #74831d; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #74831d; /* 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 */
-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;
- text-align: center;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- 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 #74831d, stop:1 #6d8000);
-
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #6d8000;
-}
-
-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 #74831d, stop:1 #6d8000);
-
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #444444;
-}
-
-QSlider:focus {
- /*border: 1px solid #6d8000;*/
-}
-
-QSlider::groove:horizontal {
- background: #444444;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #74831d;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #74831d;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #696968;
-}
-
-QSlider::sub-page:horizontal {
- background: #74831d;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #74831d;
-}
-
-QSlider::handle:horizontal {
- background: #353535;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #74831d;
- border: 1px solid #696968;
-}
-
-QSlider::handle:horizontal:focus {
- background: #6d8000;
- border: 1px solid #6d8000;
-}
-
-QSlider::handle:vertical {
- background: #353535;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #74831d;
- border: 1px solid #696968;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #6d8000;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #1c1b22;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 2px;
- color: White;
-}
-
-QLineEdit:disabled {
- background-color: #444444;
- color: #c2c7cb;
-}
-
-QLineEdit:hover {
- border: 1px solid #74831d;
- color: White;
-}
-
-QLineEdit:focus {
- border: 2px solid #6d8000;
-}
-
-QLineEdit:selected {
- background-color: #74831d;
- color: white;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #74831d;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #74831d;
- 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;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #74831d; /* selection color */
- border-bottom: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #696969;
- border-right: 1px solid #696969;
- }
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #74831d;*/
- border: 0px solid #74831d;
- background-color: #74831d;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- color: #adadad;
- margin-left: 0px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #74831d; /* selection color */
- border-top: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #696969;
- border-right: 1px solid #696969;
-
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #74831d;*/
- border: 0px solid #74831d;
- background-color: #74831d;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #444444;
- margin-top: 2px;
- margin-left:10px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #444444;
- border: 0px solid #6d8000;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #74831d;
- background-color: #74831d;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #444444;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #444444;
- border: 0px solid #6d8000;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #74831d;
- background-color: #74831d;
- /* Fixes different behavior #271 */
- 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 #74831d;
- background-color: #74831d;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #74831d;
- background-color: #74831d;
-}
-
-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;
- border: 1px solid #2a2a2a;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_light.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_light.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #74831d;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #444444; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #696968;
- color: White;
- gridline-color: #696968;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(31, 31, 31, 0.85); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #1c1b22;
- color: #c2c7cb;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #74831d;
- color: White;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #6d8000;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #74831d;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #74831d;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: White;
- background-color: #353535;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: White;
- background-color: #74831d;
-}
-
-QTableCornerButton::section {
- background-color: #444444;
- border: 1px transparent #696968;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: white;
-}
-QTableView {
- /*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;
- border: 1px solid #2a2a2a;
- 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;
- padding-left: 1px;
- 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 */
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_light.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #696969;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #74831d;
-}
-
-QToolBox::tab {
- background-color: transparent;
- border: 0px solid #696969;
- color: white;
- background-image: url(qss:images_dark-light/down_arrow_lighter.svg);
- 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: #74831d;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #696968;
- background-color: #696969;
- /* No frame */
- /* 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
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #74831d, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #74831d, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #74831d;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #74831d;
-}
-
-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: #74831d;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #74831d;
- color: White;
-}
-
-QAbstractView:selected {
- background: #74831d;
- color: White;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Darker-orange.qss b/src/Gui/Stylesheets/Darker-orange.qss
deleted file mode 100644
index de04a185a7..0000000000
--- a/src/Gui/Stylesheets/Darker-orange.qss
+++ /dev/null
@@ -1,2609 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #b28416
- #996b00
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #b28416; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #444444; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad_dark.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_light.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #444444;
- border: 0px solid #696968;
- padding: 0px;
- color: White;
- selection-background-color: #b28416;
- selection-color: White;
-}
-
-QWidget:disabled {
- color: #c2c7cb;
- selection-background-color: #b28416;
- selection-color: #c2c7cb;
-}
-
-QWidget::item:selected {
- background-color: #b28416;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #b28416;
- }*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #b28416, stop:0.8 transparent);
- /*background-color: #b28416;*/
- 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 #b28416, stop:0.8 transparent);
- /*background-color: #b28416;*/
- 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;
- color: White;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #444444;
- /* Fixes #205, white vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #444444;
- border: 1px solid #696968;
- color: #444444;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #996b00;
-}
-
-QCheckBox QWidget:disabled {
- color: #c2c7cb;
-}
-
-QCheckBox::indicator {
- color: white;
- background-color: #1c1b22;
- width: 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: #b28416;
- 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 {
- background-color: #b28416;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #444444;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #b28416; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #696968;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: white;
- background-color: #3c3c3c;
- border: 1px solid #696968;
- width: 12px;
- 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: #b28416;
-}
-
-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: #b28416;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #b28416;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: White;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #996b00;
-}
-
-QRadioButton:disabled {
- background-color: #696968;
- color: #353535;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: White;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #3c3c3c;
- border: 1px solid #696968;
- border-radius: 6px;
- margin-left: 0px;
- 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: #b28416;
- border: 1px solid #b28416;
- 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: #b28416;
- border: 1px solid #b28416;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: White;
- selection-background-color: #b28416;
-}
-
-QMenuBar:focus {
- border: 1px solid #996b00;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #696968;
- background-color: #b28416;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #696968;
- background-color: #b28416;
- color: White;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: White;
- margin: 0px;
- background-color: #161616;
- selection-background-color: #b28416;
-}
-
-QMenu::separator {
- 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: #b28416;
-}
-
-QMenu::item:pressed {
- background-color: #b28416;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #996b00;
- margin-left: -5px;
- border: 5px solid #996b00;
- position: absolute;
- border-radius: 0px;
-}
-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: #b28416;
-}
-
-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: #b28416;
- image:url(qss:images_dark-light/checkbox_light.svg);
-}
-
-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: #b28416;
- 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: #b28416;
- 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;
- image:url(qss:images_dark-light/right_arrow_lighter.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #5b5b5b;
- color: White;
- 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;
- border: 0px solid #696968;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* 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;
- margin: 2px 8px 2px 8px;
- border: 0px solid #696968;
- border-radius: 4px;
- background-color: #444444;
-}
-
-QScrollBar:vertical {
- background-color: #444444;
- width: 16px;
- margin: 8px 2px 8px 2px;
- 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: #b28416;
- border: #696968;
- border-radius: 4px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #996b00;
-}
-
-QScrollBar::handle:vertical {
- background-color: #696969;
- border: 1px solid #696968;
- min-height: 8px;
- border-radius: 4px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #b28416;
- border: #696968;
- border-radius: 4px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #996b00;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_light.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_light.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #444444;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QTextEdit:focus {
- border: 1px solid #996b00;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: white;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #3c3c3c;
- color: White;
- border-radius: 1.9px;
- border: 0px solid #696968;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #996b00;
-}
-
-QPlainTextEdit:selected {
- background: #b28416;
- color: White;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #444444;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_light.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #696969;
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-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: #b28416;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_light.svg);*/
-border-color: #696968;
-background-color: #b28416;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #1c1b22;
- border: 1px solid transparent;
- color: White;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- 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;
- subcontrol-position: top right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- subcontrol-position: bottom right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #b28416;
- color: White;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #996b00;
-}
-
-QAbstractSpinBox:selected {
- background: #996b00;
- /*color: White;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #696968;
- padding: 2px;
- 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;
- border: 1px solid #696968;
- 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 #b28416;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #b28416;
- 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;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #161616;
- border: 1px solid #696968;
- color: #696969;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #b28416;
- 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);
- color: White;
- border: 1px solid #2a2a2a;
- border-bottom-color: #1e1e1e; /* simulates shadow under the button */
- border-radius: 4px;
- padding: 2px;
-}
-
-QPushButton:disabled {
- background-color: #444444;
- color: #c2c7cb;
-
-}
-
-QPushButton:checked {
- background-color: #b28416;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #b28416;
- color: #3c3c3c;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #b28416;
-}
-
-QPushButton:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b28416, stop:1 #996b00);
- color: White;
-}
-
-QPushButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #996b00, stop:1 #b28416);
-}
-
-QPushButton:selected {
- background: #996b00;
- 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;
- color: White;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #b28416;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #c2c7cb;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #b28416;
- color: White;
-}
-
-QToolButton:checked:pressed {
- background-color: #b28416;
-}
-
-QToolButton:checked:selected {
- background: #996b00;
- color: White;
-}
-
-QToolButton:hover {
- background-color: #b28416;
- color: White;
-}
-
-QToolButton:pressed {
- background-color: #996b00;
-}
-
-QToolButton:selected {
- background: #b28416;
- color: White;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-QToolButton::menu-arrow:hover {
- image: url(qss:images_dark-light/more_arrow_light.svg);
- width: 1.7ex;
- height: 1.7ex;
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #696968;
- color: White;
- border-radius: 1.9px;
- 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;
- background: #1c1b22;
- border-radius: 2px;
- selection-background-color: #b28416;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #1c1b22;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #696968;
- border-radius: 0px;
- background-color: #1c1b22;
- selection-background-color: #b28416;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:#1c1b22;
- color: White;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #b28416;
- color: White;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #3c3c3c;
-}
-
-QComboBox:disabled {
- background-color: #444444;
- color: #353535;
-}
-
-QComboBox:hover {
- /*background-color: #b28416;*/
- border: 1px solid #b28416;
-}
-
-QComboBox:focus {
- border: 1px solid #996b00;
-}
-
-QComboBox:on {
- selection-background-color: #996b00;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #b28416;
- /* 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);
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid transparent;
-}
-QComboBox::drop-down:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b28416, stop:1 #996b00);
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b28416, stop:1 #996b00);
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: white; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_light.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #696968;
-border-left: 1px solid #696968;
-border-right: 1px solid #696968;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #b28416; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #b28416; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #b28416; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #b28416; /* 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 */
-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;
- text-align: center;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- 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 #b28416, stop:1 #996b00);
-
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #996b00;
-}
-
-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 #b28416, stop:1 #996b00);
-
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #444444;
-}
-
-QSlider:focus {
- /*border: 1px solid #996b00;*/
-}
-
-QSlider::groove:horizontal {
- background: #444444;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #b28416;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #b28416;
- border: 1px solid #696968;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #696968;
-}
-
-QSlider::sub-page:horizontal {
- background: #b28416;
- border: 1px solid #696968;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #b28416;
-}
-
-QSlider::handle:horizontal {
- background: #353535;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #b28416;
- border: 1px solid #696968;
-}
-
-QSlider::handle:horizontal:focus {
- background: #996b00;
- border: 1px solid #996b00;
-}
-
-QSlider::handle:vertical {
- background: #353535;
- border: 1px solid #696968;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #b28416;
- border: 1px solid #696968;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #996b00;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #1c1b22;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 2px;
- color: White;
-}
-
-QLineEdit:disabled {
- background-color: #444444;
- color: #c2c7cb;
-}
-
-QLineEdit:hover {
- border: 1px solid #b28416;
- color: White;
-}
-
-QLineEdit:focus {
- border: 2px solid #996b00;
-}
-
-QLineEdit:selected {
- background-color: #b28416;
- color: white;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #b28416;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #b28416;
- border: 1px solid #346792;
-}
-
-QTabWidget::pane:selected {
- background-color: #557bb6;
- border: 1px solid #346792;
-}
-
-QTabWidget::pane:top {
- top: -1px;
- border-top: 1px solid #696969;
-}
-
-QTabWidget::pane:bottom {
- bottom: -1px;
- border-bottom: 1px solid #696969;
-}
-
-QTabWidget::pane:left {
- right: -1px;
- border-right: 1px solid #696969;
-}
-
-QTabWidget::pane:right {
- left: -1px;
- border-left: 1px solid #696969;
-}
-/* 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;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #b28416; /* selection color */
- border-bottom: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #696969;
- border-right: 1px solid #696969;
- }
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #b28416;*/
- border: 0px solid #b28416;
- background-color: #b28416;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- color: #adadad;
- margin-left: 0px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #b28416; /* selection color */
- border-top: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #696969;
- border-right: 1px solid #696969;
-
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #b28416;*/
- border: 0px solid #b28416;
- background-color: #b28416;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #444444;
- margin-top: 2px;
- margin-left:10px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #444444;
- border: 0px solid #996b00;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #b28416;
- background-color: #b28416;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #444444;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #444444;
- border: 0px solid #996b00;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #b28416;
- background-color: #b28416;
- /* Fixes different behavior #271 */
- 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 #b28416;
- background-color: #b28416;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #b28416;
- background-color: #b28416;
-}
-
-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;
- border: 1px solid #2a2a2a;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #333333, stop:1 #2a2a2a);
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_light.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_light.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #b28416;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_light.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #444444; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #696968;
- color: White;
- gridline-color: #696968;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(31, 31, 31, 0.85); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #1c1b22;
- color: #c2c7cb;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #b28416;
- color: White;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #996b00;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #b28416;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #b28416;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: White;
- background-color: #353535;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: White;
- background-color: #b28416;
-}
-
-QTableCornerButton::section {
- background-color: #444444;
- border: 1px transparent #696968;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: white;
-}
-QTableView {
- /*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;
- border: 1px solid #2a2a2a;
- 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;
- padding-left: 1px;
- 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 */
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_light.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #696969;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #b28416;
-}
-
-QToolBox::tab {
- background-color: transparent;
- border: 0px solid #696969;
- color: white;
- background-image: url(qss:images_dark-light/down_arrow_lighter.svg);
- 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: #b28416;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #696968;
- background-color: #696969;
- /* No frame */
- /* 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
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #b28416, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #b28416, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #b28416;
- border-style: solid;
- border: 1px solid #696968;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #b28416;
-}
-
-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: #b28416;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #b28416;
- color: White;
-}
-
-QAbstractView:selected {
- background: #b28416;
- color: White;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Darker-pink.qss b/src/Gui/Stylesheets/Darker.qss
similarity index 91%
rename from src/Gui/Stylesheets/Darker-pink.qss
rename to src/Gui/Stylesheets/Darker.qss
index dfc091f777..c2a4907471 100644
--- a/src/Gui/Stylesheets/Darker-pink.qss
+++ b/src/Gui/Stylesheets/Darker.qss
@@ -17,8 +17,8 @@ INSTALLATION WHEN NECESSARY
============================================================================================================
TO MODIFY USE THESE COLORS:
- #b216a0
- #770069
+ @ThemeAccentColor1
+ @ThemeAccentColor2
See Qt documentation:
@@ -51,7 +51,8 @@ QToolBar * {
}
/*hacks */
- Gui--PropertyEditor--PropertyEditor QLineEdit:read-only,
+
+Gui--PropertyEditor--PropertyEditor QLineEdit:read-only,
Gui--PropertyEditor--PropertyEditor QLineEdit:disabled,
Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:read-only,
Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
@@ -86,7 +87,7 @@ Gui--PropertyEditor--PropertyEditor QComboBox {
/* fix for column items background when a link is present */
Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #b216a0; /* same as focused background color */
+ background-color: @ThemeAccentColor1; /* same as focused background color */
}
/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
@@ -124,23 +125,23 @@ QWidget {
border: 0px solid #696968;
padding: 0px;
color: White;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
selection-color: White;
}
QWidget:disabled {
color: #c2c7cb;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
selection-color: #c2c7cb;
}
QWidget::item:selected {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
/* Causes issue with colorselector.
QWidget::item:hover:!selected {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}*/
/* QMainWindow ------------------------------------------------------------
@@ -157,14 +158,14 @@ QMainWindow::separator {
}
QMainWindow::separator:vertical:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #b216a0, stop:0.8 transparent);
- /*background-color: #b216a0;*/
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
+ /*background-color: @ThemeAccentColor1;*/
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 #b216a0, stop:0.8 transparent);
- /*background-color: #b216a0;*/
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/splitter_horizontal_light.svg);
}
@@ -172,14 +173,14 @@ QMainWindow::separator:horizontal {
width: 4px;
margin-top: 0.1px;
margin-bottom: 0.1px;
- /* image: url(qss:images_dark-light/splitter_horizontal_dark.svg);*/
+ /* 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);*/
+ /* image: url(qss:images_dark-light/splitter_vertical_dark.svg);*/
}
/* QToolTip ---------------------------------------------------------------
@@ -242,7 +243,7 @@ QCheckBox {
}
QCheckBox:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QCheckBox QWidget:disabled {
@@ -263,7 +264,7 @@ QCheckBox::indicator:unchecked {
}
QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
image:url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -279,7 +280,7 @@ QCheckBox::indicator:checked {
}
QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QCheckBox::indicator:checked:disabled {
@@ -299,7 +300,7 @@ QCheckBox::indicator:indeterminate:disabled {
}
QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #b216a0; /* QRadioButton has the same color */
+ background-color: @ThemeAccentColor1; /* QRadioButton has the same color */
}
/* QGroupBox --------------------------------------------------------------
@@ -341,7 +342,7 @@ QGroupBox::indicator:unchecked {
}
QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:unchecked:disabled {
@@ -355,11 +356,11 @@ QGroupBox::indicator:checked {
}
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:checked:disabled {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
/* QRadioButton -----------------------------------------------------------
@@ -378,7 +379,7 @@ QRadioButton {
}
QRadioButton:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QRadioButton:disabled {
@@ -409,8 +410,8 @@ QRadioButton::indicator:unchecked {
}
QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed {
- background-color: #b216a0;
- border: 1px solid #b216a0;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
}
@@ -424,8 +425,8 @@ QRadioButton::indicator:checked {
}
QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #b216a0;
- border: 1px solid #b216a0;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
image:url(qss:images_dark-light/radiobutton_light.svg);
}
@@ -446,16 +447,16 @@ QMenuBar {
/*padding: 1px;
border: 0px solid rgba(0,0,0,140);*/
color: White;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
}
QMenuBar:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QMenuBar::item {
background: transparent;
- /*padding-left:5px;
+ /*padding-left:5px;
padding-right: 5px;
padding-bottom: 1px;
padding-top: 1px;*/
@@ -464,7 +465,7 @@ QMenuBar::item {
QMenuBar::item:selected {
background: transparent;
border: 0px solid #696968;
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QMenuBar::item:pressed {
@@ -472,9 +473,9 @@ QMenuBar::item:pressed {
padding-left: 10px;
padding-right: 10px;*/
border: 0px solid #696968;
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: White;
- /*margin-bottom: 0px;
+ /*margin-bottom: 0px;
padding-bottom: 0px;*/
}
@@ -489,7 +490,7 @@ QMenu {
color: White;
margin: 0px;
background-color: #161616;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
}
QMenu::separator {
@@ -508,11 +509,11 @@ QMenu::item {
QMenu::item:selected {
color: White;
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QMenu::item:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QMenu::icon {
@@ -532,9 +533,9 @@ QMenu::indicator {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
- background: #770069;
+ background: @ThemeAccentColor2;
margin-left: -5px;
- border: 5px solid #770069;
+ border: 5px solid @ThemeAccentColor2;
position: absolute;
border-radius: 0px;
}
@@ -544,7 +545,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: #b216a0;
+ background: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:unchecked:disabled {
@@ -557,11 +558,11 @@ 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: #b216a0;
+ background: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:checked:disabled {
- image:url(qss:images_dark-light/checkbox_checked_disabled.svg);
+image:url(qss:images_dark-light/checkbox_checked_disabled.svg);
}
QMenu::indicator:non-exclusive:indeterminate {
@@ -583,7 +584,7 @@ QMenu::indicator:exclusive:unchecked {
QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed {
border: none;
outline: none;
- background: #b216a0;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -600,7 +601,7 @@ QMenu::indicator:exclusive:checked {
QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed {
border: none;
outline: none;
- background: #b216a0;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -690,14 +691,14 @@ QScrollBar::handle:horizontal {
}
QScrollBar::handle:horizontal:hover {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
border: #696968;
border-radius: 4px;
min-width: 8px;
}
QScrollBar::handle:horizontal:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::handle:vertical {
@@ -708,14 +709,14 @@ QScrollBar::handle:vertical {
}
QScrollBar::handle:vertical:hover {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
border: #696968;
border-radius: 4px;
min-height: 8px;
}
QScrollBar::handle:vertical:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::add-line:horizontal {
@@ -815,7 +816,7 @@ QTextEdit {
}
QTextEdit:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QTextEdit:selected {
@@ -834,11 +835,11 @@ QPlainTextEdit {
}
QPlainTextEdit:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QPlainTextEdit:selected {
- background: #b216a0;
+ background: @ThemeAccentColor1;
color: White;
}
@@ -920,13 +921,13 @@ background-position: center center;
QToolButton#qt_toolbar_ext_button:hover {
/*background-image: url(qss:images_dark-light/more_light.svg);*/
-background-color: #b216a0;
+background-color: @ThemeAccentColor1;
}
QToolButton#qt_toolbar_ext_button:on {
/*background-image: url(qss:images_dark-light/more_light.svg);*/
border-color: #696968;
-background-color: #b216a0;
+background-color: @ThemeAccentColor1;
}
@@ -939,7 +940,7 @@ QSpinBox {
border: 1px solid transparent;
color: White;
/* This fixes 103, 111 */
- /* padding-top: 0px;
+ /* padding-top: 0px;
/* This fixes 103, 111 */
/*padding-bottom: 0px;
/*padding-left: 4px;
@@ -963,7 +964,7 @@ QAbstractSpinBox:up-button {
QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off {
image: url(qss:images_dark-light/up_arrow_disabled_light.svg);
- /* height: 8px;
+ /* height: 8px;
width: 8px;*/
}
@@ -994,16 +995,16 @@ QAbstractSpinBox::down-arrow:hover {
}
QAbstractSpinBox:hover {
- /*border: 1px solid #b216a0;
+ /*border: 1px solid @ThemeAccentColor1;
color: White;*/
}
QAbstractSpinBox:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QAbstractSpinBox:selected {
- background: #770069;
+ background: @ThemeAccentColor2;
/*color: White;*/
}
@@ -1054,7 +1055,7 @@ QTextBrowser:disabled {
}
QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #b216a0;
+ border: 1px solid @ThemeAccentColor1;
}
/* QGraphicsView ----------------------------------------------------------
@@ -1062,7 +1063,7 @@ QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pre
--------------------------------------------------------------------------- */
QGraphicsView {
background-color: transparent;
- border: 0px solid #b216a0;
+ border: 0px solid @ThemeAccentColor1;
color: White;
border-radius: 0px;
}
@@ -1126,7 +1127,7 @@ QProgressBar:disabled {
}
QProgressBar::chunk {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: #444444;
border-radius: 1.9px;
}
@@ -1161,31 +1162,31 @@ QPushButton:disabled {
}
QPushButton:checked {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
outline: none;
}
QPushButton:checked:disabled {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: #3c3c3c;
outline: none;
}
QPushButton:checked:selected {
- background: #b216a0;
+ background: @ThemeAccentColor1;
}
QPushButton:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b216a0, stop:1 #770069);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
color: White;
}
QPushButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #770069, stop:1 #b216a0);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor2, stop:1 @ThemeAccentColor1);
}
QPushButton:selected {
- background: #770069;
+ background: @ThemeAccentColor2;
color: White;
}
@@ -1225,7 +1226,7 @@ QToolButton:disabled {
}
QToolButton:checked {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
border-radius: 1.9px;
padding: 0px;
outline: none;
@@ -1240,30 +1241,30 @@ QToolButton:checked:disabled {
}
QToolButton:checked:hover {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: White;
}
QToolButton:checked:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QToolButton:checked:selected {
- background: #770069;
+ background: @ThemeAccentColor2;
color: White;
}
QToolButton:hover {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: White;
}
QToolButton:pressed {
- background-color: #770069;
+ background-color: @ThemeAccentColor2;
}
QToolButton:selected {
- background: #b216a0;
+ background: @ThemeAccentColor1;
color: White;
}
@@ -1311,12 +1312,12 @@ QToolButton::menu-button {
}
QToolButton::menu-button:hover {
- /* background: rgba(0, 0, 0, 0.5);*/
+ /* background: rgba(0, 0, 0, 0.5);*/
}
QToolButton::menu-button:checked:hover {
- /* background: rgba(0, 0, 0, 0.5);*/
+ /* background: rgba(0, 0, 0, 0.5);*/
}
QToolButton::menu-indicator {
@@ -1373,7 +1374,7 @@ QComboBox {
border: 1px solid transparent;
background: #1c1b22;
border-radius: 2px;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
padding-left: 2px;
padding-right: 2px;
/* padding-right = 36; 4 + 16*2 See scrollbar size */
@@ -1392,7 +1393,7 @@ QComboBox QAbstractItemView {
border: 0px solid #696968;
border-radius: 0px;
background-color: #1c1b22;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
}
QComboBox QAbstractItemView:hover {
@@ -1401,7 +1402,7 @@ QComboBox QAbstractItemView:hover {
}
QComboBox QAbstractItemView:selected {
- background: #b216a0;
+ background: @ThemeAccentColor1;
color: White;
}
@@ -1415,16 +1416,16 @@ QComboBox:disabled {
}
QComboBox:hover {
- /*background-color: #b216a0;*/
- border: 1px solid #b216a0;
+ /*background-color: @ThemeAccentColor1;*/
+ border: 1px solid @ThemeAccentColor1;
}
QComboBox:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QComboBox:on {
- selection-background-color: #770069;
+ selection-background-color: @ThemeAccentColor2;
}
QComboBox::indicator {
@@ -1433,7 +1434,7 @@ QComboBox::indicator {
background-color: transparent;
selection-background-color: transparent;
color: transparent;
- selection-color: #b216a0;
+ selection-color: @ThemeAccentColor1;
/* Needed to remove indicator - fix #132 */
}
@@ -1465,7 +1466,7 @@ QComboBox::drop-down {
border-left: 1px solid transparent;
}
QComboBox::drop-down:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b216a0, stop:1 #770069);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
QComboBox::down-arrow {
@@ -1525,7 +1526,7 @@ padding: 0px;
}
QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b216a0, stop:1 #770069);
+background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
QSint--ActionGroup QToolButton[class="header"] {
@@ -1584,19 +1585,19 @@ 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: #b216a0; /* same as Task Panel background color */
+border-bottom-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #b216a0; /* same as Task Panel background color */
+border-top-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #b216a0; /* same as Task Panel background color */
+border-right-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #b216a0; /* same as Task Panel background color */
+border-left-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
/* Fix for buttons with icons that showed cropped (still not happy with result) */
@@ -1627,11 +1628,11 @@ QSint--ActionGroup QFrame[class="content"] QToolButton {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b216a0, stop:1 #770069);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
@@ -1641,7 +1642,7 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b216a0, stop:1 #770069);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
@@ -1655,7 +1656,7 @@ QSlider:disabled {
}
QSlider:focus {
- /*border: 1px solid #770069;*/
+ /*border: 1px solid @ThemeAccentColor2;*/
}
QSlider::groove:horizontal {
@@ -1667,7 +1668,7 @@ QSlider::groove:horizontal {
}
QSlider::groove:vertical {
- background: #b216a0;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
width: 4px;
margin: 0px;
@@ -1675,7 +1676,7 @@ QSlider::groove:vertical {
}
QSlider::add-page:vertical {
- background: #b216a0;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
width: 4px;
margin: 0px;
@@ -1687,7 +1688,7 @@ QSlider::add-page:vertical :disabled {
}
QSlider::sub-page:horizontal {
- background: #b216a0;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
height: 4px;
margin: 0px;
@@ -1695,7 +1696,7 @@ QSlider::sub-page:horizontal {
}
QSlider::sub-page:horizontal:disabled {
- background: #b216a0;
+ background: @ThemeAccentColor1;
}
QSlider::handle:horizontal {
@@ -1708,13 +1709,13 @@ QSlider::handle:horizontal {
}
QSlider::handle:horizontal:hover {
- background: #b216a0;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
}
QSlider::handle:horizontal:focus {
- background: #770069;
- border: 1px solid #770069;
+ background: @ThemeAccentColor2;
+ border: 1px solid @ThemeAccentColor2;
}
QSlider::handle:vertical {
@@ -1727,12 +1728,12 @@ QSlider::handle:vertical {
}
QSlider::handle:vertical:hover {
- background: #b216a0;
+ background: @ThemeAccentColor1;
border: 1px solid #696968;
}
QSlider::handle:vertical:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
/* QLineEdit --------------------------------------------------------------
@@ -1760,16 +1761,16 @@ QLineEdit:disabled {
}
QLineEdit:hover {
- border: 1px solid #b216a0;
+ border: 1px solid @ThemeAccentColor1;
color: White;
}
QLineEdit:focus {
- border: 2px solid #770069;
+ border: 2px solid @ThemeAccentColor2;
}
QLineEdit:selected {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: white;
}
@@ -1780,7 +1781,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabb
--------------------------------------------------------------------------- */
QTabWidget {
padding: 2px;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
}
QTabWidget QWidget {
@@ -1795,7 +1796,7 @@ QTabWidget::pane {
}
QTabWidget::pane:selected {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
border: 1px solid #346792;
}
@@ -1919,16 +1920,16 @@ QTabBar::tab:top, QDockWidget QTabBar::tab:top {
QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
color: white;
- border-top: 4px solid #b216a0; /* selection color */
+ border-top: 4px solid @ThemeAccentColor1; /* selection color */
border-bottom: 1px solid transparent; /* same as tab content background color */
border-left: 1px solid #696969;
border-right: 1px solid #696969;
}
QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #b216a0;*/
- border: 0px solid #b216a0;
- background-color: #b216a0;
+ /*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1948,7 +1949,7 @@ QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
color: white;
- border-bottom: 4px solid #b216a0; /* selection color */
+ border-bottom: 4px solid @ThemeAccentColor1; /* selection color */
border-top: 1px solid transparent; /* same as tab content background color */
border-left: 1px solid #696969;
border-right: 1px solid #696969;
@@ -1956,9 +1957,9 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
}
QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #b216a0;*/
- border: 0px solid #b216a0;
- background-color: #b216a0;
+/*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1978,12 +1979,12 @@ QTabBar::tab:left, QDockWidget QTabBar::tab:left {
QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
background-color: #444444;
- border: 0px solid #770069;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #b216a0;
- background-color: #b216a0;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-right: 0px;
padding-right: -1px;
@@ -2002,12 +2003,12 @@ QTabBar::tab:right, QDockWidget QTabBar::tab:right {
QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
background-color: #444444;
- border: 0px solid #770069;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #b216a0;
- background-color: #b216a0;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-left: 0px;
padding-left: 0px;
@@ -2021,13 +2022,13 @@ QTabBar QToolButton, QDockWidget QTabBar QToolButton {
}
QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #b216a0;
- background-color: #b216a0;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #b216a0;
- background-color: #b216a0;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled {
@@ -2098,7 +2099,7 @@ QDockWidget::float-button {
}
QDockWidget::float-button:hover {
- /*background-color: #b216a0;*/
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/undock_blue.svg);
}
@@ -2234,7 +2235,7 @@ QTreeView:selected,
QListView:selected,
QTableView:selected,
QColumnView:selected {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
color: White;
}
@@ -2242,21 +2243,21 @@ QTreeView:focus,
QListView:focus,
QTableView:focus,
QColumnView:focus {
- border: 1px solid #770069;
+ border: 1px solid @ThemeAccentColor2;
}
QTreeView::item:pressed,
QListView::item:pressed,
QTableView::item:pressed,
QColumnView::item:pressed {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:active,
QListView::item:selected:active,
QTableView::item:selected:active,
QColumnView::item:selected:active {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:!active,
@@ -2273,7 +2274,7 @@ QTableView::item:!selected:hover,
QColumnView::item:!selected:hover {
outline: 0;
color: White;
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QTableCornerButton::section {
@@ -2381,7 +2382,7 @@ QToolBox {
QToolBox:selected {
padding: 0px;
- border: 0px solid #b216a0;
+ border: 0px solid @ThemeAccentColor1;
}
QToolBox::tab {
@@ -2419,7 +2420,7 @@ QToolBox::tab:!selected:disabled {
}
QToolBox::tab:hover {
- background-color: #b216a0;
+ background-color: @ThemeAccentColor1;
}
QToolBox QScrollArea QWidget QWidget {
@@ -2494,7 +2495,7 @@ QSplitter::handle:vertical {
}
QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #b216a0, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
background-position: center center;
background-repeat: none;
}
@@ -2503,14 +2504,14 @@ QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_light.svg);
background-position: center center;
background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #b216a0, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
}
/* QDateEdit, QDateTimeEdit -----------------------------------------------
--------------------------------------------------------------------------- */
QDateEdit, QDateTimeEdit {
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
border-style: solid;
border: 1px solid #696968;
border-radius: 1.9px;
@@ -2524,7 +2525,7 @@ QDateEdit, QDateTimeEdit {
}
QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
}
QDateEdit::drop-down, QDateTimeEdit::drop-down {
@@ -2548,19 +2549,19 @@ QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
background-color: #444444;
border-radius: 2px;
border: 1px solid #696968;
- selection-background-color: #b216a0;
+ selection-background-color: @ThemeAccentColor1;
}
/* QAbstractView ----------------------------------------------------------
--------------------------------------------------------------------------- */
QAbstractView:hover {
- border: 1px solid #b216a0;
+ border: 1px solid @ThemeAccentColor1;
color: White;
}
QAbstractView:selected {
- background: #b216a0;
+ background: @ThemeAccentColor1;
color: White;
}
diff --git a/src/Gui/Stylesheets/Light-blue.qss b/src/Gui/Stylesheets/Light-blue.qss
deleted file mode 100644
index a5a5059eab..0000000000
--- a/src/Gui/Stylesheets/Light-blue.qss
+++ /dev/null
@@ -1,2616 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #f892ff
- #ffbff3
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #8cb0ff; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #F6F6F6; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #F6F6F6;
- border: 0px solid #C1C1C1;
- padding: 0px;
- color: black;
- selection-background-color: #8cb0ff;
- selection-color: black;
-}
-
-QWidget:disabled {
- 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;*/
- border: 0px solid #C1C1C1;
- 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;
- color: black;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #F6F6F6;
- /* Fixes #205, black vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #F6F6F6;
- border: 1px solid #C1C1C1;
- color: #F6F6F6;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #b0c9ff;
-}
-
-QCheckBox QWidget:disabled {
- color: #A3A3A3;
-}
-
-QCheckBox::indicator {
- color: black;
- background-color: #ffffff;
- width: 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 {
- background-color: #8cb0ff;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #F6F6F6;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: black;
- background-color: #f6f6f6;
- border: 1px solid #C1C1C1;
- width: 12px;
- 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;
- color: black;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- 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;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #f6f6f6;
- border: 1px solid #C1C1C1;
- border-radius: 6px;
- margin-left: 0px;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: black;
- selection-background-color: #8cb0ff;
-}
-
-QMenuBar:focus {
- border: 1px solid #8cb0ff;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- 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;
- padding-right: 10px;*/
- border: 0px solid #C1C1C1;
- background-color: #8cb0ff;
- color: black;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: black;
- margin: 0px;
- background-color: #ffffff;
- selection-background-color: #8cb0ff;
-}
-
-QMenu::separator {
- 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;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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;
- border: 5px solid #b0c9ff;
- position: absolute;
- border-radius: 0px;
-}
-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;
-}
-
-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;
- image:url(qss:images_dark-light/right_arrow_darker.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #ababab;
- color: black;
- 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;
- border: 0px solid #C1C1C1;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* 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;
- margin: 2px 16px 2px 16px;
- border: 0px solid #C1C1C1;
- border-radius: 1.9px;
- background-color: #F6F6F6;
-}
-
-QScrollBar:vertical {
- background-color: #F6F6F6;
- width: 16px;
- margin: 16px 2px 16px 2px;
- 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;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_dark.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #F6F6F6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #C1C1C1;
-}
-
-QTextEdit:focus {
- border: 1px solid #b0c9ff;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: black;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #f6f6f6;
- color: black;
- 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;
- width: 12px;
- 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;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #F6F6F6;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #A3A3A3;
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-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 {
- background-color: #ffffff;
- border: 1px solid transparent;
- color: black;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- 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;
- subcontrol-position: top right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- subcontrol-position: bottom right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- border: 0px solid #C1C1C1;
- padding: 2px;
- 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;
- border: 1px solid #C1C1C1;
- 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;
- border: 0px solid #8cb0ff;
- 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;
- border: 1px solid #C1C1C1;
- color: black;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #ffffff;
- border: 1px solid #C1C1C1;
- color: #A3A3A3;
- 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);
- color: black;
- border: 1px solid #EDEDED;
- border-bottom-color: #AFAFAF; /* simulates shadow under the button */
- 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;
- color: black;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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;
- border-radius: 1.9px;
- 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;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-QToolButton::menu-arrow:hover {
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #C1C1C1;
- color: black;
- border-radius: 1.9px;
- 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;
- background: #ffffff;
- border-radius: 2px;
- selection-background-color: #8cb0ff;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #ffffff;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #C1C1C1;
- border-radius: 0px;
- 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;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- 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);
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid transparent;
-}
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #C1C1C1;
-border-left: 1px solid #C1C1C1;
-border-right: 1px solid #C1C1C1;
-background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-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;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_dark.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #C1C1C1;
-border-left: 1px solid #C1C1C1;
-border-right: 1px solid #C1C1C1;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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 */
-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;
- text-align: center;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
- border: 0px solid #C1C1C1;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- 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;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #F6F6F6;
- border: 1px solid #C1C1C1;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #8cb0ff;
- border: 1px solid #C1C1C1;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #f6f6f6;
-}
-
-QSlider::sub-page:horizontal {
- background: #8cb0ff;
- border: 1px solid #C1C1C1;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #8cb0ff;
-}
-
-QSlider::handle:horizontal {
- background: #C1C1C1;
- border: 1px solid #C1C1C1;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #8cb0ff;
- border: 1px solid #C1C1C1;
-}
-
-QSlider::handle:horizontal:focus {
- border: 1px solid #C1C1C1;
- background: #8cb0ff;
-}
-
-QSlider::handle:vertical {
- background: #C1C1C1;
- border: 1px solid #C1C1C1;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #8cb0ff;
- border: 1px solid #C1C1C1;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #b0c9ff;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #ffffff;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #C1C1C1;
- 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: 0px;
-}
-
-QTabWidget::pane {
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #8cb0ff;
- border: 1px solid #C1C1C1;
-}
-
-QTabWidget::pane:selected {
- background-color: #557bb6;
- border: 1px solid #346792;
-}
-
-QTabWidget::pane:top {
- top: -1px;
- border-top: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:bottom {
- bottom: -1px;
- border-bottom: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:left {
- right: -1px;
- border-right: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:right {
- left: -1px;
- border-left: 1px solid #A3A3A3;
-}
-/* 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;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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;
- }
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #8cb0ff;*/
- border: 0px solid #8cb0ff;
- background-color: #8cb0ff;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
- color: black;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- color: #A0A0A0;
- margin-left: 0px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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;
-
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #8cb0ff;*/
- border: 0px solid #8cb0ff;
- background-color: #8cb0ff;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- 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;
- padding-bottom: 4px;
- 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;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
- color: black;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #F6F6F6;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- 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;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- 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;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #F6F6F6; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #C1C1C1;
- color: black;
- gridline-color: #A3A3A3;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(229, 229, 229, 0.7); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #ffffff;
- color: #A3A3A3;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- 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,
-QColumnView::item:selected:!active {
- color: black;
- background-color: #BABABA;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: black;
- background-color: #8cb0ff;
-}
-
-QTableCornerButton::section {
- background-color: #F6F6F6;
- border: 1px transparent #C1C1C1;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: black;
-}
-QTableView {
- /*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;
- border: 1px solid #C1C1C1;
- 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;
- padding-left: 1px;
- 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 */
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_dark.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #A3A3A3;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #8cb0ff;
-}
-
-QToolBox::tab {
- background-color: transparent;
- border: 0px solid #A3A3A3;
- color: black;
- background-image: url(qss:images_dark-light/down_arrow_darker.svg);
- 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 {
- border-radius: 0px;
- border: 0px solid #C1C1C1;
- background-color: #A3A3A3;
- /* No frame */
- /* 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
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #8cb0ff, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #8cb0ff, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #8cb0ff;
- border-style: solid;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- 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 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Light-green.qss b/src/Gui/Stylesheets/Light-green.qss
deleted file mode 100644
index dfcf131d21..0000000000
--- a/src/Gui/Stylesheets/Light-green.qss
+++ /dev/null
@@ -1,2611 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #B7D300
- #E1FF00
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #B7D300; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #F6F6F6; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #F6F6F6;
- border: 0px solid #C1C1C1;
- padding: 0px;
- color: black;
- selection-background-color: #B7D300;
- selection-color: black;
-}
-
-QWidget:disabled {
- color: #A3A3A3;
- selection-background-color: #B7D300;
- selection-color: #A3A3A3;
-}
-
-QWidget::item:selected {
- background-color: #B7D300
-;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #B7D300;
- }*/
-
-/* 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;*/
- border: 0px solid #C1C1C1;
- 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 #B7D300, stop:0.8 transparent);
- /*background-color: #B7D300;*/
- 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 #B7D300, stop:0.8 transparent);
- /*background-color: #B7D300;*/
- 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;
- color: black;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #F6F6F6;
- /* Fixes #205, black vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #F6F6F6;
- border: 1px solid #C1C1C1;
- color: #F6F6F6;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QCheckBox QWidget:disabled {
- color: #A3A3A3;
-}
-
-QCheckBox::indicator {
- color: black;
- background-color: #ffffff;
- width: 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: #B7D300;
- 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 {
- background-color: #B7D300;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #F6F6F6;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #B7D300; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: black;
- background-color: #f6f6f6;
- border: 1px solid #C1C1C1;
- width: 12px;
- 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: #B7D300;
-}
-
-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: #B7D300;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #B7D300;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: black;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QRadioButton:disabled {
- background-color: #f6f6f6;
- color: #A3A3A3;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: black;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #f6f6f6;
- border: 1px solid #C1C1C1;
- border-radius: 6px;
- margin-left: 0px;
- 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: #B7D300;
- border: 1px solid #B7D300;
- 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: #B7D300;
- border: 1px solid #B7D300;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: black;
- selection-background-color: #B7D300;
-}
-
-QMenuBar:focus {
- border: 1px solid #B7D300;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #C1C1C1;
- background-color: #B7D300;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #C1C1C1;
- background-color: #B7D300;
- color: black;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: black;
- margin: 0px;
- background-color: #ffffff;
- selection-background-color: #B7D300;
-}
-
-QMenu::separator {
- 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: #B7D300;
-}
-
-QMenu::item:pressed {
- background-color: #B7D300;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #E1FF00 ;
- margin-left: -5px;
- border: 5px solid #E1FF00 ;
- position: absolute;
- border-radius: 0px;
-}
-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: #B7D300;
-}
-
-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: #B7D300;
-}
-
-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: #B7D300;
- 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: #B7D300;
- 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;
- image:url(qss:images_dark-light/right_arrow_darker.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #ababab;
- color: black;
- 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;
- border: 0px solid #C1C1C1;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* 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;
- margin: 2px 16px 2px 16px;
- border: 0px solid #C1C1C1;
- border-radius: 1.9px;
- background-color: #F6F6F6;
-}
-
-QScrollBar:vertical {
- background-color: #F6F6F6;
- width: 16px;
- margin: 16px 2px 16px 2px;
- 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: #B7D300;
- border: #f6f6f6;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QScrollBar::handle:vertical {
- background-color: #A3A3A3;
- border: 1px solid #C1C1C1;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #B7D300;
- border: #f6f6f6;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_dark.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_dark.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #F6F6F6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #C1C1C1;
-}
-
-QTextEdit:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: black;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #f6f6f6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #C1C1C1;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QPlainTextEdit:selected {
- background: #B7D300;
- color: black;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #F6F6F6;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #A3A3A3;
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-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: #B7D300;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-border-color: #f6f6f6;
-background-color: #B7D300;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #ffffff;
- border: 1px solid transparent;
- color: black;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- 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;
- subcontrol-position: top right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- subcontrol-position: bottom right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #B7D300;
- color: black;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QAbstractSpinBox:selected {
- background: #E1FF00 ;
- /*color: black;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #C1C1C1;
- padding: 2px;
- 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;
- border: 1px solid #C1C1C1;
- 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 #B7D300;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #B7D300;
- 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: #A3A3A3;
- 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;
- border: 1px solid #C1C1C1;
- color: black;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #ffffff;
- border: 1px solid #C1C1C1;
- color: #A3A3A3;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #B7D300;
- 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);
- color: black;
- border: 1px solid #EDEDED;
- border-bottom-color: #AFAFAF; /* simulates shadow under the button */
- border-radius: 4px;
- padding: 2px;
-}
-
-QPushButton:disabled {
- background-color: #F6F6F6;
- color: #A3A3A3;
-
-}
-
-QPushButton:checked {
- background-color: #B7D300;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #B7D300;
- color: #f6f6f6;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #B7D300;
-}
-
-QPushButton:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B7D300, stop:1 #E1FF00 );
- color: black;
-}
-
-QPushButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #E1FF00 , stop:1 #B7D300);
-}
-
-QPushButton:selected {
- background: #E1FF00 ;
- 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;
- color: black;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #B7D300;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #A3A3A3;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #B7D300;
- color: black;
-}
-
-QToolButton:checked:pressed {
- background-color: #B7D300;
-}
-
-QToolButton:checked:selected {
- background: #E1FF00 ;
- color: black;
-}
-
-QToolButton:hover {
- background-color: #B7D300;
- color: black;
-}
-
-QToolButton:pressed {
- background-color: #E1FF00 ;
-}
-
-QToolButton:selected {
- background: #B7D300;
- color: black;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-QToolButton::menu-arrow:hover {
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #C1C1C1;
- color: black;
- border-radius: 1.9px;
- 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;
- background: #ffffff;
- border-radius: 2px;
- selection-background-color: #B7D300;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #ffffff;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #C1C1C1;
- border-radius: 0px;
- background-color: #ffffff;
- selection-background-color: #B7D300;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:#ffffff;
- color: black;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #B7D300;
- color: black;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #f6f6f6;
-}
-
-QComboBox:disabled {
- background-color: #F6F6F6;
- color: #A3A3A3;
-}
-
-QComboBox:hover {
- /*background-color: #B7D300;*/
- border: 1px solid #B7D300;
-}
-
-QComboBox:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QComboBox:on {
- selection-background-color: #E1FF00 ;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #B7D300;
- /* 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);
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid transparent;
-}
-QComboBox::drop-down:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B7D300, stop:1 #E1FF00 );
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #C1C1C1;
-border-left: 1px solid #C1C1C1;
-border-right: 1px solid #C1C1C1;
-background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B7D300, stop:1 #E1FF00 );
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: black; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_dark.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #C1C1C1;
-border-left: 1px solid #C1C1C1;
-border-right: 1px solid #C1C1C1;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #B7D300; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #B7D300; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #B7D300; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #B7D300; /* 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 */
-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;
- text-align: center;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
- border: 0px solid #C1C1C1;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- 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 #B7D300, stop:1 #E1FF00 );
-
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #E1FF00
-;
-}
-
-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 #B7D300, stop:1 #E1FF00 );
-
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #F6F6F6;
-}
-
-QSlider:focus {
- /*border: 1px solid #E1FF00;*/
-}
-
-QSlider::groove:horizontal {
- background: #F6F6F6;
- border: 1px solid #C1C1C1;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #F6F6F6;
- border: 1px solid #C1C1C1;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #B7D300;
- border: 1px solid #C1C1C1;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #f6f6f6;
-}
-
-QSlider::sub-page:horizontal {
- background: #8cb0ff;
- border: 1px solid #C1C1C1;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #B7D300;
-}
-
-QSlider::handle:horizontal {
- background: #C1C1C1;
- border: 1px solid #C1C1C1;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #B7D300;
- border: 1px solid #C1C1C1;
-}
-
-QSlider::handle:horizontal:focus {
- border: 1px solid #C1C1C1;
- background: #E1FF00;
-}
-
-QSlider::handle:vertical {
- background: #C1C1C1;
- border: 1px solid #C1C1C1;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #B7D300;
- border: 1px solid #C1C1C1;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #E1FF00 ;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #ffffff;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #C1C1C1;
- border-radius: 2px;
- color: black;
-}
-
-QLineEdit:disabled {
- background-color: #F6F6F6;
- color: #A3A3A3;
-}
-
-QLineEdit:hover {
- border: 1px solid #B7D300;
- color: black;
-}
-
-QLineEdit:focus {
- border: 2px solid #E1FF00 ;
-}
-
-QLineEdit:selected {
- background-color: #B7D300;
- color: black;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #B7D300;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #B7D300;
- border: 1px solid #C1C1C1;
-}
-
-QTabWidget::pane:top {
- top: -1px;
- border-top: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:bottom {
- bottom: -1px;
- border-bottom: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:left {
- right: -1px;
- border-right: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:right {
- left: -1px;
- border-left: 1px solid #A3A3A3;
-}
-/* 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;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #B7D300; /* selection color */
- border-bottom: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #A3A3A3;
- border-right: 1px solid #A3A3A3;
- }
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #B7D300;*/
- border: 0px solid #B7D300;
- background-color: #B7D300;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
- color: black;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- color: #A0A0A0;
- margin-left: 0px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #B7D300; /* selection color */
- border-top: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #A3A3A3;
- border-right: 1px solid #A3A3A3;
-
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #B7D300;*/
- border: 0px solid #B7D300;
- background-color: #B7D300;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- 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;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #F6F6F6;
- border: 0px solid #E1FF00 ;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #B7D300;
- background-color: #B7D300;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
- color: black;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #F6F6F6;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #F6F6F6;
- border: 0px solid #E1FF00 ;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #B7D300;
- background-color: #B7D300;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- 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 #B7D300;
- background-color: #B7D300;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #B7D300;
- background-color: #B7D300;
- 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;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_dark.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #B7D300;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #F6F6F6; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #C1C1C1;
- color: black;
- gridline-color: #A3A3A3;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(229, 229, 229, 0.7); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #ffffff;
- color: #A3A3A3;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #B7D300;
- color: black;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #E1FF00 ;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #B7D300;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #B7D300;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: black;
- background-color: #A3A3A3;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: black;
- background-color: #B7D300;
-}
-
-QTableCornerButton::section {
- background-color: #F6F6F6;
- border: 1px transparent #C1C1C1;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: black;
-}
-QTableView {
- /*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;
- border: 1px solid #C1C1C1;
- 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: #A3A3A3;
-}
-
-QHeaderView::section::vertical {
- padding-top: 1px;
- padding-bottom: 0;
- padding-left: 1px;
- 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 */
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_dark.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #A3A3A3;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #B7D300;
-}
-
-QToolBox::tab {
- background-color: transparent;
- border: 0px solid #A3A3A3;
- color: black;
- background-image: url(qss:images_dark-light/down_arrow_darker.svg);
- 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: #B7D300;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #C1C1C1;
- background-color: #A3A3A3;
- /* No frame */
- /* 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
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #B7D300, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #B7D300, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #B7D300;
- border-style: solid;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #B7D300;
-}
-
-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: #B7D300;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #B7D300;
- color: black;
-}
-
-QAbstractView:selected {
- background: #B7D300;
- color: black;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Light-modern-blue.qss b/src/Gui/Stylesheets/Light-modern-blue.qss
deleted file mode 100644
index 5e332c404c..0000000000
--- a/src/Gui/Stylesheets/Light-modern-blue.qss
+++ /dev/null
@@ -1,2633 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- 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
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #8ab6e9; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #2b2b2b; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #f6f6f6;
- border: 0px solid #cccccc;
- padding: 0px;
- color: black;
- selection-background-color: #8ab6e9;
- selection-color: black;
-}
-
-QWidget:disabled {
- color: #515151;
- selection-background-color: #8ab6e9;
- selection-color: #515151;
-}
-
-QWidget::item:selected {
- background-color: #8ab6e9;
-}
-
- /* Causes issue with colorselector.
-QWidget::item:hover:!selected {
- background-color: #8ab6e9;
-}*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #8ab6e9, stop:0.8 transparent);
- /*background-color: #557bb6;*/
- 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 #8ab6e9, stop:0.8 transparent);
- /*background-color: #557bb6;*/
- 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_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: #f6f6f6;
- color: black;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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 #f5f5f5;
- /* Fixes Spyder #9120, #9121 */
- background: #f6f6f6;
- /* Fixes #205, black vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: black;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #dc00fa;
-}
-
-QCheckBox QWidget:disabled {
- background-color: transparent;
- color: #515151;
-}
-
-QCheckBox::indicator {
- color: black;
- background-color: white;
- width: 12px;
- height: 12px;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked {
- background-color: white;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #8ab6e9;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked:disabled {
- background-color: #f5f5f5;
- image:url(qss:images_dark-light/checkbox_unchecked_disabled.svg);
-}
-
-QCheckBox::indicator:checked {
- background-color: white;
- /*border: 1px solid #cccccc; /* QRadioButton has the same color */
- image:url(qss:images_dark-light/checkbox_dark.svg);
-}
-
-QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #8ab6e9;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #f5f5f5;
- image: url(qss:images_dark-light/checkbox_checked_disabled.svg);
-}
-
-QCheckBox::indicator:indeterminate {
- background-color: white;
- border: 1px solid #cccccc;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QCheckBox::indicator:indeterminate:disabled {
- background-color: #f5f5f5;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #8ab6e9; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: black;
- background-color: #f5f5f5;
- border: 1px solid #cccccc;
- width: 12px;
- height: 12px;
- border-radius:1px;
-}
-
-QGroupBox::indicator:unchecked {
- background-color: #cccccc;
- border: 1px solid #cccccc;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #8ab6e9;
-}
-
-QGroupBox::indicator:unchecked:disabled {
- background-color: white;
- border: 1px solid #cccccc;
-}
-
-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: #8ab6e9;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #8ab6e9;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: black;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #dc00fa;
-}
-
-QRadioButton:disabled {
- background-color: #f6f6f6;
- color: #515151;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: black;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #f8f8f8;
- border: 1px solid #cccccc;
- border-radius: 6px;
- margin-left: 0px;
- 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: #8ab6e9;
- border: 1px solid #8ab6e9;
- border-radius: 6px;
-}
-
-QRadioButton::indicator:unchecked:disabled {
- /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/
- border: 1px solid #cccccc;
-}
-
-QRadioButton::indicator:checked {
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #8ab6e9;
- border: 1px solid #8ab6e9;
- border-radius: 6px;
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-QRadioButton::indicator:checked:disabled {
- outline: none;
- background-color: #cccccc;
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-/* QMenuBar ---------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
-
---------------------------------------------------------------------------- */
-QMenuBar {
- background-color: #f8f8f8;
- /*padding: 1px;
- border: 0px solid rgba(255,255,255,140);*/
- color: black;
- selection-background-color: #8ab6e9;
-}
-
-QMenuBar:focus {
- border: 1px solid #dc00fa;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #cccccc;
- background-color: #8ab6e9;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #cccccc;
- background-color: #8ab6e9;
- color: black;
- /*margin-bottom: 0px;
- padding-bottom: 0px;*/
-}
-
-/* QMenu ------------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
-
---------------------------------------------------------------------------- */
-QMenu {
- border-bottom: 2px rgba(100,100,100,140);
- border-right: 2px rgba(100,100,100,140);
- color: black;
- margin: 0px;
- background-color: #f8f8f8;
- selection-background-color: #8ab6e9;
-}
-
-QMenu::separator {
- height: 2px;
- background-color: #cccccc;
- 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 #cccccc;
-}
-
-QMenu::item:selected {
- color: black;
- background-color: #8ab6e9;
-}
-
-QMenu::item:pressed {
- background-color: #8ab6e9;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #8ab6e9;
- margin-left: -5px;
- border: 5px solid #8ab6e9;
- position: absolute;
- border-radius: 0px;
-}
-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: #8ab6e9;
-}
-
-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: #8ab6e9;
-}
-
-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: #8ab6e9;
- image: url(qss:images_dark-light/checkbox_unchecked_light.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: #8ab6e9;
- 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;
- image:url(qss:images_dark-light/right_arrow_darker.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #cfcfcf;
- color: black;
- border: 1px solid #cccccc;
- border-radius: 2px;
-}
-
-QAbstractItemView QLineEdit {
- padding: 2px;
-}
-
-/* QAbstractScrollArea ----------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
-
---------------------------------------------------------------------------- */
-QAbstractScrollArea {
- background-color: transparent;
- border: 0px solid #cccccc;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* remove min-height to fix #244 */
- color: black;
-}
-
-QAbstractScrollArea:disabled {
- color: #515151;
-}
-
-/* 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;
- margin: 2px 16px 2px 16px;
- border: 0px solid #cccccc;
- border-radius: 1.9px;
- background-color: #f6f6f6;
-}
-
-QScrollBar:vertical {
- background-color: #f6f6f6;
- width: 16px;
- margin: 16px 2px 16px 2px;
- border: 0px solid #cccccc;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:horizontal {
- background-color: #d4d4d4;
- border: 1px solid #f6f6f6;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:hover {
- background-color: #8ab6e9;
- border: #cccccc;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #dc00fa;
-}
-
-QScrollBar::handle:vertical {
- background-color: #d4d4d4;
- border: 1px solid #cccccc;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #8ab6e9;
- border: #cccccc;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #dc00fa;
-}
-
-QScrollBar::add-line:horizontal {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/right_arrow_darker.svg);
- height: 10px;
- width: 7px;
- 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_darker.svg);
- background-color: #8ab6e9;
- height: 10px;
- width: 7px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/down_arrow_darker.svg);
- height: 7px;
- width: 10px;
- 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);
- background-color: #8ab6e9;
- height: 7px;
- width: 10px;
- subcontrol-position: bottom;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:horizontal {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/left_arrow_darker.svg);
- height: 10px;
- width: 7px;
- 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);
- background-color: #8ab6e9;
- height: 10px;
- width: 8px;
- subcontrol-position: left;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/up_arrow_darker.svg);
- height: 8px;
- width: 10px;
- subcontrol-position: top;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
- background-color: #8ab6e9;
- border-image: url(qss:images_dark-light/up_arrow_darker.svg);
- height: 8px;
- width: 10px;
- 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 {
- background-color: #f6f6f6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #cccccc;
-}
-
-QTextEdit:focus {
- border: 1px solid #dc00fa;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: black;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: white;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #cccccc;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #dc00fa;
-}
-
-QPlainTextEdit:selected {
- background: #8ab6e9;
- color: black;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- height: 12px;
- image:url(qss:images_dark-light/sizegrip_dark.svg);
-}
-
-/* QStackedWidget ---------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QStackedWidget {
- padding: 0px;
- border: 0px solid #cccccc;
-}
-
-/* QToolBar ---------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar
-
---------------------------------------------------------------------------- */
-QToolBar {
- background-color: #f6f6f6;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #f6f6f6;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #f6f6f6;
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-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: #8ab6e9;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/* background-image: url(qss:images_dark-light/more_dark.svg);*/
-border-color: #cccccc;
-background-color: #8ab6e9;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: white;
- border: 1px solid #cccccc;
- color: black;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- min-height: 1.7em;
- /* min-width: 5px; removed to fix 109 */
-}
-
-QAbstractSpinBox:up-button {
- background-color: #cccccc;
- subcontrol-origin: border;
- subcontrol-position: top right;
- border-left: 1px solid #cccccc;
- border-bottom: 1px solid #cccccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #8ab6e9;*/
- image: url(qss:images_dark-light/up_arrow_darker.svg);
-}
-
-QAbstractSpinBox:down-button {
- background-color: #cccccc;
- subcontrol-origin: border;
- subcontrol-position: bottom right;
- border-left: 1px solid #cccccc;
- border-top: 1px solid #cccccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #8ab6e9;*/ image:url(qss:images_dark-light/down_arrow_darker.svg);
-}
-
-QAbstractSpinBox:hover {
- /*border: 1px solid #8ab6e9;
- color: black;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #dc00fa;
-}
-
-QAbstractSpinBox:selected {
- background: #dc00fa;
- /*color: black;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #cccccc;
- padding: 2px;
- margin: 0px;
- color: black;
-}
-
-QLabel:disabled {
- background-color: transparent;
- border: 0px solid #cccccc;
- color: #9f0d00;
-}
-
-QLabel[haslink="true"] {
- color: darkblue;
-}
-
-
-/* QTextBrowser -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
-
---------------------------------------------------------------------------- */
-QTextBrowser {
- background-color: white;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
-}
-
-QTextBrowser:disabled {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: #005aa4;
- border-radius: 1.9px;
-}
-
-QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #455364;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #455364;
- color: black;
- border-radius: 0px;
-}
-
-QGraphicsView:disabled {
- background-color: white;
- border: 0px solid #cccccc;
- color: #515151;
- border-radius: 0px;
-}
-
-QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed {
- border: 0px solid #ff00f7;
-}
-
-/* QCalendarWidget --------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCalendarWidget {
- border: 1px solid #cccccc;
- border-radius: 1.9px;
-}
-
-QCalendarWidget:disabled {
- background-color: #bfc1c0;
- color: #515151;
-}
-
-/* QLCDNumber -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QLCDNumber {
- background-color: #1aff00;
- color: black;
-}
-
-QLCDNumber:disabled {
- background-color: #f6f6f6;
- color: #515151;
-}
-
-/* QProgressBar -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
-
---------------------------------------------------------------------------- */
-QProgressBar {
- background-color: #515151;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #f8f8f8;
- border: 1px solid #cccccc;
- color: #515151;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #8ab6e9;
- color: #f6f6f6;
- border-radius: 1.9px;
-}
-
-QProgressBar::chunk:disabled {
- background-color: #f8f8f8;
- color: #cccccc;
- border-radius: 1.9px;
-}
-
-/* ------------------------------------------------------------------------ */
-/* BUTTONS ---------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QPushButton ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton
-
---------------------------------------------------------------------------- */
-QPushButton {
- background-color: #d4d4d4;
- color: black;
- border-radius: 2px;
- padding: 2px;
- outline: none;
- border: none;
-}
-
-QPushButton:disabled {
- background-color: #f6f6f6;
- color: #515151;
- border-radius: 2px;
- padding: 2px;
-}
-
-QPushButton:checked {
- background-color: #8ab6e9;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #8ab6e9;
- color: #f5f5f5;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #8ab6e9;
-}
-
-QPushButton:hover {
- background-color: #8ab6e9;
- color: black;
-}
-
-QPushButton:pressed {
- background-color: #8ab6e9;
-}
-
-QPushButton:selected {
- background: #dc00fa;
- 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;
- color: black;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #f8f8f8;
- color: #515151;
- border-radius: 1px;
- padding: 0px;
-}
-
-QToolButton:checked {
- background-color: #8ab6e9;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #8ab6e9;
- color: #515151;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #8ab6e9;
- color: black;
-}
-
-QToolButton:checked:pressed {
- background-color: #8ab6e9;
-}
-
-QToolButton:checked:selected {
- background: #dc00fa;
- color: black;
-}
-
-QToolButton:hover {
- background-color: #8ab6e9;
- color: black;
-}
-
-QToolButton:pressed {
- background-color: #dc00fa;
-}
-
-QToolButton:selected {
- background: #8ab6e9;
- color: black;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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 #f6f6f6;
- border-radius: 2px;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-QToolButton::menu-arrow:hover {
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
- padding: 0px;
- margin: 0px;
-}
-
-QCommandLinkButton:disabled {
- background-color: transparent;
- color: #515151;
-}
-
-/* ------------------------------------------------------------------------ */
-/* INPUTS - NO FIELDS ----------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QComboBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QComboBox {
- border: 1px solid #cccccc;
- background: white;
- border-radius: 2px;
- selection-background-color: #8ab6e9;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: white;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #cccccc;
- border-radius: 0px;
- background-color: white;
- selection-background-color: #8ab6e9;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:white;
- color: black;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #8ab6e9;
- color: black;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #f5f5f5;
-}
-
-QComboBox:disabled {
- background-color: #cccccc;
- color: #515151;
-}
-
-QComboBox:hover {
- /*background-color: #8ab6e9;*/
- border: 1px solid #8ab6e9;
-}
-
-QComboBox:focus {
- border: 1px solid #dc00fa;
-}
-
-QComboBox:on {
- selection-background-color: #dc00fa;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #8ab6e9;
- /* Needed to remove indicator - fix #132 */
-}
-
-QComboBox::indicator:alternate {
- background: #cccccc;
-}
-
-QComboBox::item {
- /* Remove to fix #282, #285 and MR #288*/
- /*&:checked {
- font-weight: bold;
- }
-
- &:selected {
- border: 0px solid transparent;
- }
- */
-}
-
-QComboBox::item:alternate {
- background: #f5f5f5;
-}
-
-QComboBox::drop-down {
- subcontrol-origin: padding;
- background-color: #d4d4d4;
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid #cccccc;
-}
-QComboBox::drop-down:hover {
- background-color: #8ab6e9;
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- qproperty-groupTextColor: black;
- qproperty-groupBackground: #f5f5f5;
- border: 0px solid #cccccc;
-
-}
-
-/* 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #cccccc;
-border-left: 1px solid #cccccc;
-border-right: 1px solid #cccccc;
-background-color: #d4d4d4; /* Task Panel Header background color */
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #8ab6e9;
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: black; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_darker.svg);
-background-repeat: none;
-background-position: center center;
-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_darker.svg);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #cccccc;
-border-left: 1px solid #cccccc;
-border-right: 1px solid #cccccc;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #8ab6e9; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #8ab6e9; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #8ab6e9; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #8ab6e9; /* 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 */
-QSint--ActionGroup QFrame[class="content"] QTreeView,
-QSint--ActionGroup QFrame[class="content"] QListView,
-QSint--ActionGroup QFrame[class="content"] QTableView {
-color: black;
-background-color: white;
-}
-
-
-/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
-QSint--ActionGroup QFrame[class="content"] QToolButton {
- color: black;
- text-align: center;
- background-color: #d4d4d4;
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- min-height: 16px; /* same as QTabBar QPushButton min-width */
- border-radius: 1px;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #8ab6e9;
- border: 1px solid #8ab6e9;
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #dc00fa;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
-QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
- color: #455364;
- background-color: #cccccc;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background: #8ab6e9;
- border: 1px solid #8ab6e9;
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #f6f6f6;
-}
-
-QSlider:focus {
- /*border: 1px solid #dc00fa;*/
-}
-
-QSlider::groove:horizontal {
- background: #F6F6F6;
- border: 1px solid #cccccc;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #F6F6F6;
- border: 1px solid #cccccc;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #8ab6e9;
- border: 1px solid #cccccc;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #cccccc;
-}
-
-QSlider::sub-page:horizontal {
- background: #8ab6e9;
- border: 1px solid #cccccc;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #cccccc;
-}
-
-QSlider::handle:horizontal {
- background: #cccccc;
- border: 1px solid #cccccc;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #8ab6e9;
- border: 1px solid #cccccc;
-}
-
-QSlider::handle:horizontal:focus {
- border: 1px solid #cccccc;
- background: #dc00fa;
-}
-
-QSlider::handle:vertical {
- background: #cccccc;
- border: 1px solid #cccccc;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #8ab6e9;
- border: 1px solid #cccccc;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #dc00fa;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: white;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #cccccc;
- border-radius: 2px;
- color: black;
-}
-
-QLineEdit:disabled {
- background-color: #cccccc;
- color: #454545;
-}
-
-QLineEdit:hover {
- border: 1px solid #8ab6e9;
- color: black;
-}
-
-QLineEdit:focus {
- border: 2px solid #dc00fa;
-}
-
-QLineEdit:selected {
- background-color: #8ab6e9;
- color: black;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #8ab6e9;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- border: 0px solid #8c00ffa1;
- border-radius: 1.9px;
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #8ab6e9;
- border: 1px solid #346792;
-}
-/* QTabBar ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabBar, QDockWidget QTabBar {
- qproperty-drawBase: 0;
- border-radius: 2px;
- margin: 0px;
- padding: 2px;
- border: 0;
- alignment: center;
- /* 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.392);*/
-}
-
-QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed {
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-QTabBar::tab, QDockWidget QTabBar::tab {
- /* !selected and disabled ----------------------------------------- */
- /* selected ------------------------------------------------------- */
-}
-
-QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled {
- border-bottom: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled {
- border-top: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled {
- border-right: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled {
- border-left: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled {
- border-bottom: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled {
- border-top: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled {
- border-right: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled {
- border-left: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
- border-bottom: 2px solid #d4d4d4;
- margin-top: 2px;
-}
-
-QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
- border-top: 2px solid #d4d4d4;
- margin-bottom: 2px;
-}
-
-QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected {
- border-left: 2px solid #d4d4d4;
- margin-right: 2px;
-}
-
-QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected {
- border-right: 2px solid #d4d4d4;
- margin-left: 2px;
-}
-
-QTabBar::tab:top, QDockWidget QTabBar::tab:top {
- background-color: #f6f6f6;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- border: 1px solid #d4d4d4;
- border-radius: 4px;
-}
-
-QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
- background-color: #d4d4d4;
- /*border: 1px solid #dc00fa;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #8ab6e9;*/
- border: 0px solid #8ab6e9;
- background-color: #8ab6e9;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- border: 1px solid #d4d4d4;
- background-color: #f5f5f5;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- border-radius: 4px;
- min-width: 5px;
-}
-
-QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
- background-color: #d4d4d4;
- /*border: 1px solid #dc00fa;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #8ab6e9;*/
- border: 0px solid #8ab6e9;
- background-color: #8ab6e9;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #f5f5f5;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #f5f5f5;
- border: 0px solid #dc00fa;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #8ab6e9;
- background-color: #8ab6e9;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #f5f5f5;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #f5f5f5;
- border: 0px solid #dc00fa;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #8ab6e9;
- background-color: #8ab6e9;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- padding-left: 0px;
-}
-
-QTabBar QToolButton, QDockWidget QTabBar QToolButton {
- /* Fixes #136 */
- background-color: #f5f5f5;
- height: 12px;
- width: 12px;
-}
-
-QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #8ab6e9;
- background-color: #8ab6e9;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #8ab6e9;
- background-color: #8ab6e9;
-}
-
-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;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: #f6f6f6;
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_dark.svg);
-}
-
-QDockWidget::float-button:hover {
- /* background-color: #8ab6e9; */
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-QColumnView::indicator:checked:pressed {
- image: url(qss:images_dark-light/checkbox_dark_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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #f6f6f6; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #cccccc;
- color: black;
- gridline-color: #cccccc;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(229, 229, 229, 0.7); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: white;
- color: #515151;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #8ab6e9;
- color: black;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #dc00fa;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #8ab6e9;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #8ab6e9;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: black;
- background-color: #bfc1c0;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: black;
- background-color: #8ab6e9;
-}
-
-QTableCornerButton::section {
- background-color: #f6f6f6;
- border: 1px transparent #cccccc;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: black;
-}
-QTableView {
- /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
- /*qproperty-aliasBgColor: #f700ff;*/
-}
-
-/* QHeaderView ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
-
---------------------------------------------------------------------------- */
-QHeaderView {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- padding: 0;
- margin: 0;
- border-radius: 0px;
- text-align: center;
-}
-
-QHeaderView:disabled {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: #515151;
-}
-
-QHeaderView::section {
- background-color: #f5f5f5;
- color: black;
- border-radius: 0px;
- text-align: center;
- font-size: 13px;
- font-weight: bold;
- text-align: center;
-}
-
-QHeaderView::section::horizontal {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10px;
- padding-right: 10px;
- border-left: 1px solid #cccccc;
-}
-
-QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
- border-left: 1px solid #cccccc;
- padding-left: 15px;
-}
-
-QHeaderView::section::horizontal:disabled {
- color: #515151;
-}
-
-QHeaderView::section::vertical {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 1px;
- padding-right: 1px;
- border-top: 1px solid #cccccc;
-}
-
-QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
- border-top: 1px solid #cccccc;
-}
-
-QHeaderView::section::vertical:disabled {
- color: #515151;
-}
-
-QHeaderView::down-arrow {
- /* Those settings (border/width/height/background-color) solve bug */
- /* transparent arrow background and size */
- background-color: #455364;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/arrow_down.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: #455364;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #d4d4d4;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #346792;
-}
-
-QToolBox::tab {
- background-color: #d4d4d4;
- border: 0px solid #cccccc;
- color: black;
- background-image: url(qss:images_dark-light/down_arrow_darker.svg);
- background-repeat: none;
- background-position: center left;
-}
-
-QToolBox::tab:disabled {
- color: #515151;
-}
-
-QToolBox::tab:selected {
- background-color: #d4d4d4;
- background-image: url(qss:images_dark-light/transparent.svg);
- padding-right: 5px;
- background-repeat: none;
-}
-
-QToolBox::tab:selected:disabled {
- background-color: #d4d4d4;
- border-bottom: 0px solid #cccccc;
- color: #515151;
-}
-
-QToolBox::tab:!selected {
-
-}
-
-QToolBox::tab:!selected:disabled {
- background-color: #f6f6f6;
-}
-
-QToolBox::tab:hover {
- background-color: #8ab6e9;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #cccccc;
- background-color: #cccccc;
- /* No frame */
- /* HLine */
- /* HLine */
-}
-
-.QFrame[frameShape="0"] {
- border-radius: 1.9px;
- border: 1px solid #cccccc;
-}
-
-.QFrame[frameShape="4"] {
- max-height: 1px;
- border: none;
- background-color: #cccccc;
-}
-
-.QFrame[frameShape="5"] {
- max-width: 1px;
- border: none;
- background-color: #f6f6f6;
-}
-
-/* QSplitter --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #8ab6e9, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #8ab6e9, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #8ab6e9;
- border-style: solid;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #8ab6e9;
-}
-
-QDateEdit::drop-down, QDateTimeEdit::drop-down {
- subcontrol-origin: padding;
- subcontrol-position: top right;
- width: 12px;
- border-left: 1px solid #cccccc;
-}
-
-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 #cccccc;
- selection-background-color: #8ab6e9;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #8ab6e9;
- color: black;
-}
-
-QAbstractView:selected {
- background: #8ab6e9;
- color: black;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Light-modern-orange.qss b/src/Gui/Stylesheets/Light-modern-orange.qss
deleted file mode 100644
index 4d07c76ef1..0000000000
--- a/src/Gui/Stylesheets/Light-modern-orange.qss
+++ /dev/null
@@ -1,2633 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- 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
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #e9be8a; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #2b2b2b; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #f6f6f6;
- border: 0px solid #cccccc;
- padding: 0px;
- color: black;
- selection-background-color: #e9be8a;
- selection-color: black;
-}
-
-QWidget:disabled {
- color: #515151;
- selection-background-color: #e9be8a;
- selection-color: #515151;
-}
-
-QWidget::item:selected {
- background-color: #e9be8a;
-}
-
- /* Causes issue with colorselector.
-QWidget::item:hover:!selected {
- background-color: #e9be8a;
-}*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #e9be8a, stop:0.8 transparent);
- /*background-color: #557bb6;*/
- 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 #e9be8a, stop:0.8 transparent);
- /*background-color: #557bb6;*/
- 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_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: #f6f6f6;
- color: black;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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 #f5f5f5;
- /* Fixes Spyder #9120, #9121 */
- background: #f6f6f6;
- /* Fixes #205, black vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: black;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #dc00fa;
-}
-
-QCheckBox QWidget:disabled {
- background-color: transparent;
- color: #515151;
-}
-
-QCheckBox::indicator {
- color: black;
- background-color: white;
- width: 12px;
- height: 12px;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked {
- background-color: white;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #e9be8a;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked:disabled {
- background-color: #f5f5f5;
- image:url(qss:images_dark-light/checkbox_unchecked_disabled.svg);
-}
-
-QCheckBox::indicator:checked {
- background-color: white;
- /*border: 1px solid #cccccc; /* QRadioButton has the same color */
- image:url(qss:images_dark-light/checkbox_dark.svg);
-}
-
-QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #e9be8a;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #f5f5f5;
- image: url(qss:images_dark-light/checkbox_checked_disabled.svg);
-}
-
-QCheckBox::indicator:indeterminate {
- background-color: white;
- border: 1px solid #cccccc;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QCheckBox::indicator:indeterminate:disabled {
- background-color: #f5f5f5;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #e9be8a; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: black;
- background-color: #f5f5f5;
- border: 1px solid #cccccc;
- width: 12px;
- height: 12px;
- border-radius:1px;
-}
-
-QGroupBox::indicator:unchecked {
- background-color: #cccccc;
- border: 1px solid #cccccc;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #e9be8a;
-}
-
-QGroupBox::indicator:unchecked:disabled {
- background-color: white;
- border: 1px solid #cccccc;
-}
-
-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: #e9be8a;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #e9be8a;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: black;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #dc00fa;
-}
-
-QRadioButton:disabled {
- background-color: #f6f6f6;
- color: #515151;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: black;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #f8f8f8;
- border: 1px solid #cccccc;
- border-radius: 6px;
- margin-left: 0px;
- 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: #e9be8a;
- border: 1px solid #e9be8a;
- border-radius: 6px;
-}
-
-QRadioButton::indicator:unchecked:disabled {
- /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/
- border: 1px solid #cccccc;
-}
-
-QRadioButton::indicator:checked {
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #e9be8a;
- border: 1px solid #e9be8a;
- border-radius: 6px;
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-QRadioButton::indicator:checked:disabled {
- outline: none;
- background-color: #cccccc;
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-/* QMenuBar ---------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
-
---------------------------------------------------------------------------- */
-QMenuBar {
- background-color: #f8f8f8;
- /*padding: 1px;
- border: 0px solid rgba(255,255,255,140);*/
- color: black;
- selection-background-color: #e9be8a;
-}
-
-QMenuBar:focus {
- border: 1px solid #dc00fa;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #cccccc;
- background-color: #e9be8a;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #cccccc;
- background-color: #e9be8a;
- color: black;
- /*margin-bottom: 0px;
- padding-bottom: 0px;*/
-}
-
-/* QMenu ------------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
-
---------------------------------------------------------------------------- */
-QMenu {
- border-bottom: 2px rgba(100,100,100,140);
- border-right: 2px rgba(100,100,100,140);
- color: black;
- margin: 0px;
- background-color: #f8f8f8;
- selection-background-color: #e9be8a;
-}
-
-QMenu::separator {
- height: 2px;
- background-color: #cccccc;
- 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 #cccccc;
-}
-
-QMenu::item:selected {
- color: black;
- background-color: #e9be8a;
-}
-
-QMenu::item:pressed {
- background-color: #e9be8a;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #e9be8a;
- margin-left: -5px;
- border: 5px solid #e9be8a;
- position: absolute;
- border-radius: 0px;
-}
-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: #e9be8a;
-}
-
-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: #e9be8a;
-}
-
-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: #e9be8a;
- image: url(qss:images_dark-light/checkbox_unchecked_light.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: #e9be8a;
- 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;
- image:url(qss:images_dark-light/right_arrow_darker.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #cfcfcf;
- color: black;
- border: 1px solid #cccccc;
- border-radius: 2px;
-}
-
-QAbstractItemView QLineEdit {
- padding: 2px;
-}
-
-/* QAbstractScrollArea ----------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
-
---------------------------------------------------------------------------- */
-QAbstractScrollArea {
- background-color: transparent;
- border: 0px solid #cccccc;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* remove min-height to fix #244 */
- color: black;
-}
-
-QAbstractScrollArea:disabled {
- color: #515151;
-}
-
-/* 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;
- margin: 2px 16px 2px 16px;
- border: 0px solid #cccccc;
- border-radius: 1.9px;
- background-color: #f6f6f6;
-}
-
-QScrollBar:vertical {
- background-color: #f6f6f6;
- width: 16px;
- margin: 16px 2px 16px 2px;
- border: 0px solid #cccccc;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:horizontal {
- background-color: #d4d4d4;
- border: 1px solid #f6f6f6;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:hover {
- background-color: #e9be8a;
- border: #cccccc;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #dc00fa;
-}
-
-QScrollBar::handle:vertical {
- background-color: #d4d4d4;
- border: 1px solid #cccccc;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #e9be8a;
- border: #cccccc;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #dc00fa;
-}
-
-QScrollBar::add-line:horizontal {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/right_arrow_darker.svg);
- height: 10px;
- width: 7px;
- 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_darker.svg);
- background-color: #e9be8a;
- height: 10px;
- width: 7px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/down_arrow_darker.svg);
- height: 7px;
- width: 10px;
- 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);
- background-color: #e9be8a;
- height: 7px;
- width: 10px;
- subcontrol-position: bottom;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:horizontal {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/left_arrow_darker.svg);
- height: 10px;
- width: 7px;
- 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);
- background-color: #e9be8a;
- height: 10px;
- width: 8px;
- subcontrol-position: left;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/up_arrow_darker.svg);
- height: 8px;
- width: 10px;
- subcontrol-position: top;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
- background-color: #e9be8a;
- border-image: url(qss:images_dark-light/up_arrow_darker.svg);
- height: 8px;
- width: 10px;
- 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 {
- background-color: #f6f6f6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #cccccc;
-}
-
-QTextEdit:focus {
- border: 1px solid #dc00fa;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: black;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: white;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #cccccc;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #dc00fa;
-}
-
-QPlainTextEdit:selected {
- background: #e9be8a;
- color: black;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- height: 12px;
- image:url(qss:images_dark-light/sizegrip_dark.svg);
-}
-
-/* QStackedWidget ---------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QStackedWidget {
- padding: 0px;
- border: 0px solid #cccccc;
-}
-
-/* QToolBar ---------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar
-
---------------------------------------------------------------------------- */
-QToolBar {
- background-color: #f6f6f6;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #f6f6f6;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #f6f6f6;
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-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: #e9be8a;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/* background-image: url(qss:images_dark-light/more_dark.svg);*/
-border-color: #cccccc;
-background-color: #e9be8a;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: white;
- border: 1px solid #cccccc;
- color: black;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- min-height: 1.7em;
- /* min-width: 5px; removed to fix 109 */
-}
-
-QAbstractSpinBox:up-button {
- background-color: #cccccc;
- subcontrol-origin: border;
- subcontrol-position: top right;
- border-left: 1px solid #cccccc;
- border-bottom: 1px solid #cccccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #e9be8a;*/
- image: url(qss:images_dark-light/up_arrow_darker.svg);
-}
-
-QAbstractSpinBox:down-button {
- background-color: #cccccc;
- subcontrol-origin: border;
- subcontrol-position: bottom right;
- border-left: 1px solid #cccccc;
- border-top: 1px solid #cccccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #e9be8a;*/ image:url(qss:images_dark-light/down_arrow_darker.svg);
-}
-
-QAbstractSpinBox:hover {
- /*border: 1px solid #e9be8a;
- color: black;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #dc00fa;
-}
-
-QAbstractSpinBox:selected {
- background: #dc00fa;
- /*color: black;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #cccccc;
- padding: 2px;
- margin: 0px;
- color: black;
-}
-
-QLabel:disabled {
- background-color: transparent;
- border: 0px solid #cccccc;
- color: #9f0d00;
-}
-
-QLabel[haslink="true"] {
- color: darkblue;
-}
-
-
-/* QTextBrowser -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
-
---------------------------------------------------------------------------- */
-QTextBrowser {
- background-color: white;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
-}
-
-QTextBrowser:disabled {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: #005aa4;
- border-radius: 1.9px;
-}
-
-QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #455364;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #455364;
- color: black;
- border-radius: 0px;
-}
-
-QGraphicsView:disabled {
- background-color: white;
- border: 0px solid #cccccc;
- color: #515151;
- border-radius: 0px;
-}
-
-QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed {
- border: 0px solid #ff00f7;
-}
-
-/* QCalendarWidget --------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCalendarWidget {
- border: 1px solid #cccccc;
- border-radius: 1.9px;
-}
-
-QCalendarWidget:disabled {
- background-color: #bfc1c0;
- color: #515151;
-}
-
-/* QLCDNumber -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QLCDNumber {
- background-color: #1aff00;
- color: black;
-}
-
-QLCDNumber:disabled {
- background-color: #f6f6f6;
- color: #515151;
-}
-
-/* QProgressBar -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
-
---------------------------------------------------------------------------- */
-QProgressBar {
- background-color: #515151;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #f8f8f8;
- border: 1px solid #cccccc;
- color: #515151;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #e9be8a;
- color: #f6f6f6;
- border-radius: 1.9px;
-}
-
-QProgressBar::chunk:disabled {
- background-color: #f8f8f8;
- color: #cccccc;
- border-radius: 1.9px;
-}
-
-/* ------------------------------------------------------------------------ */
-/* BUTTONS ---------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QPushButton ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton
-
---------------------------------------------------------------------------- */
-QPushButton {
- background-color: #d4d4d4;
- color: black;
- border-radius: 2px;
- padding: 2px;
- outline: none;
- border: none;
-}
-
-QPushButton:disabled {
- background-color: #f6f6f6;
- color: #515151;
- border-radius: 2px;
- padding: 2px;
-}
-
-QPushButton:checked {
- background-color: #e9be8a;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #e9be8a;
- color: #f5f5f5;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #e9be8a;
-}
-
-QPushButton:hover {
- background-color: #e9be8a;
- color: black;
-}
-
-QPushButton:pressed {
- background-color: #e9be8a;
-}
-
-QPushButton:selected {
- background: #dc00fa;
- 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;
- color: black;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #f8f8f8;
- color: #515151;
- border-radius: 1px;
- padding: 0px;
-}
-
-QToolButton:checked {
- background-color: #e9be8a;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #e9be8a;
- color: #515151;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #e9be8a;
- color: black;
-}
-
-QToolButton:checked:pressed {
- background-color: #e9be8a;
-}
-
-QToolButton:checked:selected {
- background: #dc00fa;
- color: black;
-}
-
-QToolButton:hover {
- background-color: #e9be8a;
- color: black;
-}
-
-QToolButton:pressed {
- background-color: #dc00fa;
-}
-
-QToolButton:selected {
- background: #e9be8a;
- color: black;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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 #f6f6f6;
- border-radius: 2px;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-QToolButton::menu-arrow:hover {
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
- padding: 0px;
- margin: 0px;
-}
-
-QCommandLinkButton:disabled {
- background-color: transparent;
- color: #515151;
-}
-
-/* ------------------------------------------------------------------------ */
-/* INPUTS - NO FIELDS ----------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QComboBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QComboBox {
- border: 1px solid #cccccc;
- background: white;
- border-radius: 2px;
- selection-background-color: #e9be8a;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: white;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #cccccc;
- border-radius: 0px;
- background-color: white;
- selection-background-color: #e9be8a;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:white;
- color: black;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #e9be8a;
- color: black;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #f5f5f5;
-}
-
-QComboBox:disabled {
- background-color: #cccccc;
- color: #515151;
-}
-
-QComboBox:hover {
- /*background-color: #e9be8a;*/
- border: 1px solid #e9be8a;
-}
-
-QComboBox:focus {
- border: 1px solid #dc00fa;
-}
-
-QComboBox:on {
- selection-background-color: #dc00fa;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #e9be8a;
- /* Needed to remove indicator - fix #132 */
-}
-
-QComboBox::indicator:alternate {
- background: #cccccc;
-}
-
-QComboBox::item {
- /* Remove to fix #282, #285 and MR #288*/
- /*&:checked {
- font-weight: bold;
- }
-
- &:selected {
- border: 0px solid transparent;
- }
- */
-}
-
-QComboBox::item:alternate {
- background: #f5f5f5;
-}
-
-QComboBox::drop-down {
- subcontrol-origin: padding;
- background-color: #d4d4d4;
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid #cccccc;
-}
-QComboBox::drop-down:hover {
- background-color: #e9be8a;
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- qproperty-groupTextColor: black;
- qproperty-groupBackground: #f5f5f5;
- border: 0px solid #cccccc;
-
-}
-
-/* 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #cccccc;
-border-left: 1px solid #cccccc;
-border-right: 1px solid #cccccc;
-background-color: #d4d4d4; /* Task Panel Header background color */
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #e9be8a;
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: black; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_darker.svg);
-background-repeat: none;
-background-position: center center;
-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_darker.svg);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #cccccc;
-border-left: 1px solid #cccccc;
-border-right: 1px solid #cccccc;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #e9be8a; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #e9be8a; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #e9be8a; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #e9be8a; /* 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 */
-QSint--ActionGroup QFrame[class="content"] QTreeView,
-QSint--ActionGroup QFrame[class="content"] QListView,
-QSint--ActionGroup QFrame[class="content"] QTableView {
-color: black;
-background-color: white;
-}
-
-
-/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
-QSint--ActionGroup QFrame[class="content"] QToolButton {
- color: black;
- text-align: center;
- background-color: #d4d4d4;
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- min-height: 16px; /* same as QTabBar QPushButton min-width */
- border-radius: 1px;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #e9be8a;
- border: 1px solid #e9be8a;
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #dc00fa;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
-QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
- color: #455364;
- background-color: #cccccc;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background: #e9be8a;
- border: 1px solid #e9be8a;
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #f6f6f6;
-}
-
-QSlider:focus {
- /*border: 1px solid #dc00fa;*/
-}
-
-QSlider::groove:horizontal {
- background: #F6F6F6;
- border: 1px solid #cccccc;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #F6F6F6;
- border: 1px solid #cccccc;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #e9be8a;
- border: 1px solid #cccccc;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #cccccc;
-}
-
-QSlider::sub-page:horizontal {
- background: #e9be8a;
- border: 1px solid #cccccc;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #cccccc;
-}
-
-QSlider::handle:horizontal {
- background: #cccccc;
- border: 1px solid #cccccc;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #e9be8a;
- border: 1px solid #cccccc;
-}
-
-QSlider::handle:horizontal:focus {
- border: 1px solid #cccccc;
- background: #dc00fa;
-}
-
-QSlider::handle:vertical {
- background: #cccccc;
- border: 1px solid #cccccc;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #e9be8a;
- border: 1px solid #cccccc;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #dc00fa;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: white;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #cccccc;
- border-radius: 2px;
- color: black;
-}
-
-QLineEdit:disabled {
- background-color: #cccccc;
- color: #454545;
-}
-
-QLineEdit:hover {
- border: 1px solid #e9be8a;
- color: black;
-}
-
-QLineEdit:focus {
- border: 2px solid #dc00fa;
-}
-
-QLineEdit:selected {
- background-color: #e9be8a;
- color: black;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #e9be8a;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- border: 0px solid #8c00ffa1;
- border-radius: 1.9px;
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #e9be8a;
- border: 1px solid #346792;
-}
-/* QTabBar ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabBar, QDockWidget QTabBar {
- qproperty-drawBase: 0;
- border-radius: 2px;
- margin: 0px;
- padding: 2px;
- border: 0;
- alignment: center;
- /* 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.392);*/
-}
-
-QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed {
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-QTabBar::tab, QDockWidget QTabBar::tab {
- /* !selected and disabled ----------------------------------------- */
- /* selected ------------------------------------------------------- */
-}
-
-QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled {
- border-bottom: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled {
- border-top: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled {
- border-right: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled {
- border-left: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled {
- border-bottom: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled {
- border-top: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled {
- border-right: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled {
- border-left: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
- border-bottom: 2px solid #d4d4d4;
- margin-top: 2px;
-}
-
-QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
- border-top: 2px solid #d4d4d4;
- margin-bottom: 2px;
-}
-
-QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected {
- border-left: 2px solid #d4d4d4;
- margin-right: 2px;
-}
-
-QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected {
- border-right: 2px solid #d4d4d4;
- margin-left: 2px;
-}
-
-QTabBar::tab:top, QDockWidget QTabBar::tab:top {
- background-color: #f6f6f6;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- border: 1px solid #d4d4d4;
- border-radius: 4px;
-}
-
-QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
- background-color: #d4d4d4;
- /*border: 1px solid #dc00fa;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #e9be8a;*/
- border: 0px solid #e9be8a;
- background-color: #e9be8a;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- border: 1px solid #d4d4d4;
- background-color: #f5f5f5;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- border-radius: 4px;
- min-width: 5px;
-}
-
-QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
- background-color: #d4d4d4;
- /*border: 1px solid #dc00fa;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #e9be8a;*/
- border: 0px solid #e9be8a;
- background-color: #e9be8a;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #f5f5f5;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #f5f5f5;
- border: 0px solid #dc00fa;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #e9be8a;
- background-color: #e9be8a;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #f5f5f5;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #f5f5f5;
- border: 0px solid #dc00fa;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #e9be8a;
- background-color: #e9be8a;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- padding-left: 0px;
-}
-
-QTabBar QToolButton, QDockWidget QTabBar QToolButton {
- /* Fixes #136 */
- background-color: #f5f5f5;
- height: 12px;
- width: 12px;
-}
-
-QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #e9be8a;
- background-color: #e9be8a;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #e9be8a;
- background-color: #e9be8a;
-}
-
-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;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: #f6f6f6;
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_dark.svg);
-}
-
-QDockWidget::float-button:hover {
- /* background-color: #e9be8a; */
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-QColumnView::indicator:checked:pressed {
- image: url(qss:images_dark-light/checkbox_dark_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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #f6f6f6; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #cccccc;
- color: black;
- gridline-color: #cccccc;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(229, 229, 229, 0.7); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: white;
- color: #515151;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #e9be8a;
- color: black;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #dc00fa;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #e9be8a;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #e9be8a;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: black;
- background-color: #bfc1c0;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: black;
- background-color: #e9be8a;
-}
-
-QTableCornerButton::section {
- background-color: #f6f6f6;
- border: 1px transparent #cccccc;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: black;
-}
-QTableView {
- /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
- /*qproperty-aliasBgColor: #f700ff;*/
-}
-
-/* QHeaderView ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
-
---------------------------------------------------------------------------- */
-QHeaderView {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- padding: 0;
- margin: 0;
- border-radius: 0px;
- text-align: center;
-}
-
-QHeaderView:disabled {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: #515151;
-}
-
-QHeaderView::section {
- background-color: #f5f5f5;
- color: black;
- border-radius: 0px;
- text-align: center;
- font-size: 13px;
- font-weight: bold;
- text-align: center;
-}
-
-QHeaderView::section::horizontal {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10px;
- padding-right: 10px;
- border-left: 1px solid #cccccc;
-}
-
-QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
- border-left: 1px solid #cccccc;
- padding-left: 15px;
-}
-
-QHeaderView::section::horizontal:disabled {
- color: #515151;
-}
-
-QHeaderView::section::vertical {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 1px;
- padding-right: 1px;
- border-top: 1px solid #cccccc;
-}
-
-QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
- border-top: 1px solid #cccccc;
-}
-
-QHeaderView::section::vertical:disabled {
- color: #515151;
-}
-
-QHeaderView::down-arrow {
- /* Those settings (border/width/height/background-color) solve bug */
- /* transparent arrow background and size */
- background-color: #455364;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/arrow_down.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: #455364;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #d4d4d4;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #346792;
-}
-
-QToolBox::tab {
- background-color: #d4d4d4;
- border: 0px solid #cccccc;
- color: black;
- background-image: url(qss:images_dark-light/down_arrow_darker.svg);
- background-repeat: none;
- background-position: center left;
-}
-
-QToolBox::tab:disabled {
- color: #515151;
-}
-
-QToolBox::tab:selected {
- background-color: #d4d4d4;
- background-image: url(qss:images_dark-light/transparent.svg);
- padding-right: 5px;
- background-repeat: none;
-}
-
-QToolBox::tab:selected:disabled {
- background-color: #d4d4d4;
- border-bottom: 0px solid #cccccc;
- color: #515151;
-}
-
-QToolBox::tab:!selected {
-
-}
-
-QToolBox::tab:!selected:disabled {
- background-color: #f6f6f6;
-}
-
-QToolBox::tab:hover {
- background-color: #e9be8a;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #cccccc;
- background-color: #cccccc;
- /* No frame */
- /* HLine */
- /* HLine */
-}
-
-.QFrame[frameShape="0"] {
- border-radius: 1.9px;
- border: 1px solid #cccccc;
-}
-
-.QFrame[frameShape="4"] {
- max-height: 1px;
- border: none;
- background-color: #cccccc;
-}
-
-.QFrame[frameShape="5"] {
- max-width: 1px;
- border: none;
- background-color: #f6f6f6;
-}
-
-/* QSplitter --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #e9be8a, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #e9be8a, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #e9be8a;
- border-style: solid;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #e9be8a;
-}
-
-QDateEdit::drop-down, QDateTimeEdit::drop-down {
- subcontrol-origin: padding;
- subcontrol-position: top right;
- width: 12px;
- border-left: 1px solid #cccccc;
-}
-
-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 #cccccc;
- selection-background-color: #e9be8a;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #e9be8a;
- color: black;
-}
-
-QAbstractView:selected {
- background: #e9be8a;
- color: black;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Light-modern-pink.qss b/src/Gui/Stylesheets/Light-modern-pink.qss
deleted file mode 100644
index 4ddc84563a..0000000000
--- a/src/Gui/Stylesheets/Light-modern-pink.qss
+++ /dev/null
@@ -1,2653 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- 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
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #e98ad8; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #2b2b2b; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #f6f6f6;
- border: 0px solid #cccccc;
- padding: 0px;
- color: black;
- selection-background-color: #e98ad8;
- selection-color: black;
-}
-
-QWidget:disabled {
- color: #515151;
- selection-background-color: #e98ad8;
- selection-color: #515151;
-}
-
-QWidget::item:selected {
- background-color: #e98ad8;
-}
-
- /* Causes issue with colorselector.
-QWidget::item:hover:!selected {
- background-color: #e98ad8;
-}*/
-
-/* 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;*/
- border: 0px solid #696968;
- 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 #e98ad8, stop:0.8 transparent);
- /*background-color: #557bb6;*/
- 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 #e98ad8, stop:0.8 transparent);
- /*background-color: #557bb6;*/
- 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_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: #f6f6f6;
- color: black;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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 #f5f5f5;
- /* Fixes Spyder #9120, #9121 */
- background: #f6f6f6;
- /* Fixes #205, black vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: black;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #008efa
-;
-}
-
-QCheckBox QWidget:disabled {
- background-color: transparent;
- color: #515151;
-}
-
-QCheckBox::indicator {
- color: black;
- background-color: white;
- width: 12px;
- height: 12px;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked {
- background-color: white;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #e98ad8;
- image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
-}
-
-QCheckBox::indicator:unchecked:disabled {
- background-color: #f5f5f5;
- image:url(qss:images_dark-light/checkbox_unchecked_disabled.svg);
-}
-
-QCheckBox::indicator:checked {
- background-color: white;
- /*border: 1px solid #cccccc; /* QRadioButton has the same color */
- image:url(qss:images_dark-light/checkbox_dark.svg);
-}
-
-QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #e98ad8;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #f5f5f5;
- image: url(qss:images_dark-light/checkbox_checked_disabled.svg);
-}
-
-QCheckBox::indicator:indeterminate {
- background-color: white;
- border: 1px solid #cccccc;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QCheckBox::indicator:indeterminate:disabled {
- background-color: #f5f5f5;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #e98ad8; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: black;
- background-color: #f5f5f5;
- border: 1px solid #cccccc;
- width: 12px;
- height: 12px;
- border-radius:1px;
-}
-
-QGroupBox::indicator:unchecked {
- background-color: #cccccc;
- border: 1px solid #cccccc;
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #e98ad8;
-}
-
-QGroupBox::indicator:unchecked:disabled {
- background-color: white;
- border: 1px solid #cccccc;
-}
-
-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: #e98ad8;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #e98ad8;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: black;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #008efa;
-}
-
-QRadioButton:disabled {
- background-color: #f6f6f6;
- color: #515151;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: black;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #f8f8f8;
- border: 1px solid #cccccc;
- border-radius: 6px;
- margin-left: 0px;
- 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: #e98ad8;
- border: 1px solid #e98ad8;
- border-radius: 6px;
-}
-
-QRadioButton::indicator:unchecked:disabled {
- /*image:url(qss:images_dark-light/radiobutton_dark.svg);*/
- border: 1px solid #cccccc;
-}
-
-QRadioButton::indicator:checked {
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #e98ad8;
- border: 1px solid #e98ad8;
- border-radius: 6px;
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-QRadioButton::indicator:checked:disabled {
- outline: none;
- background-color: #cccccc;
- image:url(qss:images_dark-light/radiobutton_dark.svg);
-}
-
-/* QMenuBar ---------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
-
---------------------------------------------------------------------------- */
-QMenuBar {
- background-color: #f8f8f8;
- /*padding: 1px;
- border: 0px solid rgba(255,255,255,140);*/
- color: black;
- selection-background-color: #e98ad8;
-}
-
-QMenuBar:focus {
- border: 1px solid #008efa
-;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #cccccc;
- background-color: #e98ad8;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #cccccc;
- background-color: #e98ad8;
- color: black;
- /*margin-bottom: 0px;
- padding-bottom: 0px;*/
-}
-
-/* QMenu ------------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
-
---------------------------------------------------------------------------- */
-QMenu {
- border-bottom: 2px rgba(100,100,100,140);
- border-right: 2px rgba(100,100,100,140);
- color: black;
- margin: 0px;
- background-color: #f8f8f8;
- selection-background-color: #e98ad8;
-}
-
-QMenu::separator {
- height: 2px;
- background-color: #cccccc;
- 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 #cccccc;
-}
-
-QMenu::item:selected {
- color: black;
- background-color: #e98ad8;
-}
-
-QMenu::item:pressed {
- background-color: #e98ad8;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #e98ad8;
- margin-left: -5px;
- border: 5px solid #e98ad8;
- position: absolute;
- border-radius: 0px;
-}
-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: #e98ad8;
-}
-
-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: #e98ad8;
-}
-
-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: #e98ad8;
- image: url(qss:images_dark-light/checkbox_unchecked_light.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: #e98ad8;
- 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;
- image:url(qss:images_dark-light/right_arrow_darker.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #cfcfcf;
- color: black;
- border: 1px solid #cccccc;
- border-radius: 2px;
-}
-
-QAbstractItemView QLineEdit {
- padding: 2px;
-}
-
-/* QAbstractScrollArea ----------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
-
---------------------------------------------------------------------------- */
-QAbstractScrollArea {
- background-color: transparent;
- border: 0px solid #cccccc;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* remove min-height to fix #244 */
- color: black;
-}
-
-QAbstractScrollArea:disabled {
- color: #515151;
-}
-
-/* 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;
- margin: 2px 16px 2px 16px;
- border: 0px solid #cccccc;
- border-radius: 1.9px;
- background-color: #f6f6f6;
-}
-
-QScrollBar:vertical {
- background-color: #f6f6f6;
- width: 16px;
- margin: 16px 2px 16px 2px;
- border: 0px solid #cccccc;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:horizontal {
- background-color: #d4d4d4;
- border: 1px solid #f6f6f6;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:hover {
- background-color: #e98ad8;
- border: #cccccc;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #008efa
-;
-}
-
-QScrollBar::handle:vertical {
- background-color: #d4d4d4;
- border: 1px solid #cccccc;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #e98ad8;
- border: #cccccc;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #008efa
-;
-}
-
-QScrollBar::add-line:horizontal {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/right_arrow_darker.svg);
- height: 10px;
- width: 7px;
- 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_darker.svg);
- background-color: #e98ad8;
- height: 10px;
- width: 7px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/down_arrow_darker.svg);
- height: 7px;
- width: 10px;
- 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);
- background-color: #e98ad8;
- height: 7px;
- width: 10px;
- subcontrol-position: bottom;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:horizontal {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/left_arrow_darker.svg);
- height: 10px;
- width: 7px;
- 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);
- background-color: #e98ad8;
- height: 10px;
- width: 8px;
- subcontrol-position: left;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical {
- margin: 0px 0px 0px 0px;
- border-image: url(qss:images_dark-light/up_arrow_darker.svg);
- height: 8px;
- width: 10px;
- subcontrol-position: top;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
- background-color: #e98ad8;
- border-image: url(qss:images_dark-light/up_arrow_darker.svg);
- height: 8px;
- width: 10px;
- 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 {
- background-color: #f6f6f6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #cccccc;
-}
-
-QTextEdit:focus {
- border: 1px solid #008efa
-;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: black;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: white;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #cccccc;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #008efa
-;
-}
-
-QPlainTextEdit:selected {
- background: #e98ad8;
- color: black;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- height: 12px;
- image:url(qss:images_dark-light/sizegrip_dark.svg);
-}
-
-/* QStackedWidget ---------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QStackedWidget {
- padding: 0px;
- border: 0px solid #cccccc;
-}
-
-/* QToolBar ---------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar
-
---------------------------------------------------------------------------- */
-QToolBar {
- background-color: #f6f6f6;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #f6f6f6;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #f6f6f6;
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-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: #e98ad8;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/* background-image: url(qss:images_dark-light/more_dark.svg);*/
-border-color: #cccccc;
-background-color: #e98ad8;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: white;
- border: 1px solid #cccccc;
- color: black;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- min-height: 1.7em;
- /* min-width: 5px; removed to fix 109 */
-}
-
-QAbstractSpinBox:up-button {
- background-color: #cccccc;
- subcontrol-origin: border;
- subcontrol-position: top right;
- border-left: 1px solid #cccccc;
- border-bottom: 1px solid #cccccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #e98ad8;*/
- image: url(qss:images_dark-light/up_arrow_darker.svg);
-}
-
-QAbstractSpinBox:down-button {
- background-color: #cccccc;
- subcontrol-origin: border;
- subcontrol-position: bottom right;
- border-left: 1px solid #cccccc;
- border-top: 1px solid #cccccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 {
- /*background-color: #e98ad8;*/ image:url(qss:images_dark-light/down_arrow_darker.svg);
-}
-
-QAbstractSpinBox:hover {
- /*border: 1px solid #e98ad8;
- color: black;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #008efa
-;
-}
-
-QAbstractSpinBox:selected {
- background: #008efa
-;
- /*color: black;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #cccccc;
- padding: 2px;
- margin: 0px;
- color: black;
-}
-
-QLabel:disabled {
- background-color: transparent;
- border: 0px solid #cccccc;
- color: #9f0d00;
-}
-
-QLabel[haslink="true"] {
- color: darkblue;
-}
-
-
-/* QTextBrowser -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
-
---------------------------------------------------------------------------- */
-QTextBrowser {
- background-color: white;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
-}
-
-QTextBrowser:disabled {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: #005aa4;
- border-radius: 1.9px;
-}
-
-QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #455364;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #455364;
- color: black;
- border-radius: 0px;
-}
-
-QGraphicsView:disabled {
- background-color: white;
- border: 0px solid #cccccc;
- color: #515151;
- border-radius: 0px;
-}
-
-QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed {
- border: 0px solid #ff00f7;
-}
-
-/* QCalendarWidget --------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCalendarWidget {
- border: 1px solid #cccccc;
- border-radius: 1.9px;
-}
-
-QCalendarWidget:disabled {
- background-color: #bfc1c0;
- color: #515151;
-}
-
-/* QLCDNumber -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QLCDNumber {
- background-color: #1aff00;
- color: black;
-}
-
-QLCDNumber:disabled {
- background-color: #f6f6f6;
- color: #515151;
-}
-
-/* QProgressBar -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
-
---------------------------------------------------------------------------- */
-QProgressBar {
- background-color: #515151;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #f8f8f8;
- border: 1px solid #cccccc;
- color: #515151;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #e98ad8;
- color: #f6f6f6;
- border-radius: 1.9px;
-}
-
-QProgressBar::chunk:disabled {
- background-color: #f8f8f8;
- color: #cccccc;
- border-radius: 1.9px;
-}
-
-/* ------------------------------------------------------------------------ */
-/* BUTTONS ---------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QPushButton ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton
-
---------------------------------------------------------------------------- */
-QPushButton {
- background-color: #d4d4d4;
- color: black;
- border-radius: 2px;
- padding: 2px;
- outline: none;
- border: none;
-}
-
-QPushButton:disabled {
- background-color: #f6f6f6;
- color: #515151;
- border-radius: 2px;
- padding: 2px;
-}
-
-QPushButton:checked {
- background-color: #e98ad8;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #e98ad8;
- color: #f5f5f5;
- border-radius: 2px;
- padding: 2px;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #e98ad8;
-}
-
-QPushButton:hover {
- background-color: #e98ad8;
- color: black;
-}
-
-QPushButton:pressed {
- background-color: #e98ad8;
-}
-
-QPushButton:selected {
- background: #008efa
-;
- 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;
- color: black;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #f8f8f8;
- color: #515151;
- border-radius: 1px;
- padding: 0px;
-}
-
-QToolButton:checked {
- background-color: #e98ad8;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #e98ad8;
- color: #515151;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #e98ad8;
- color: black;
-}
-
-QToolButton:checked:pressed {
- background-color: #e98ad8;
-}
-
-QToolButton:checked:selected {
- background: #008efa
-;
- color: black;
-}
-
-QToolButton:hover {
- background-color: #e98ad8;
- color: black;
-}
-
-QToolButton:pressed {
- background-color: #008efa
-;
-}
-
-QToolButton:selected {
- background: #e98ad8;
- color: black;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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 #f6f6f6;
- border-radius: 2px;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-QToolButton::menu-arrow:hover {
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #cccccc;
- color: black;
- border-radius: 1.9px;
- padding: 0px;
- margin: 0px;
-}
-
-QCommandLinkButton:disabled {
- background-color: transparent;
- color: #515151;
-}
-
-/* ------------------------------------------------------------------------ */
-/* INPUTS - NO FIELDS ----------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QComboBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QComboBox {
- border: 1px solid #cccccc;
- background: white;
- border-radius: 2px;
- selection-background-color: #e98ad8;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: white;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #cccccc;
- border-radius: 0px;
- background-color: white;
- selection-background-color: #e98ad8;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:white;
- color: black;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #e98ad8;
- color: black;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #f5f5f5;
-}
-
-QComboBox:disabled {
- background-color: #cccccc;
- color: #515151;
-}
-
-QComboBox:hover {
- /*background-color: #e98ad8;*/
- border: 1px solid #e98ad8;
-}
-
-QComboBox:focus {
- border: 1px solid #008efa
-;
-}
-
-QComboBox:on {
- selection-background-color: #008efa
-;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #e98ad8;
- /* Needed to remove indicator - fix #132 */
-}
-
-QComboBox::indicator:alternate {
- background: #cccccc;
-}
-
-QComboBox::item {
- /* Remove to fix #282, #285 and MR #288*/
- /*&:checked {
- font-weight: bold;
- }
-
- &:selected {
- border: 0px solid transparent;
- }
- */
-}
-
-QComboBox::item:alternate {
- background: #f5f5f5;
-}
-
-QComboBox::drop-down {
- subcontrol-origin: padding;
- background-color: #d4d4d4;
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid #cccccc;
-}
-QComboBox::drop-down:hover {
- background-color: #e98ad8;
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- qproperty-groupTextColor: black;
- qproperty-groupBackground: #f5f5f5;
- border: 0px solid #cccccc;
-
-}
-
-/* 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #cccccc;
-border-left: 1px solid #cccccc;
-border-right: 1px solid #cccccc;
-background-color: #d4d4d4; /* Task Panel Header background color */
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #e98ad8;
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: black; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_darker.svg);
-background-repeat: none;
-background-position: center center;
-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_darker.svg);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #cccccc;
-border-left: 1px solid #cccccc;
-border-right: 1px solid #cccccc;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #e98ad8; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #e98ad8; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #e98ad8; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #e98ad8; /* 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 */
-QSint--ActionGroup QFrame[class="content"] QTreeView,
-QSint--ActionGroup QFrame[class="content"] QListView,
-QSint--ActionGroup QFrame[class="content"] QTableView {
-color: black;
-background-color: white;
-}
-
-
-/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
-QSint--ActionGroup QFrame[class="content"] QToolButton {
- color: black;
- text-align: center;
- background-color: #d4d4d4;
- border: 0px solid #adadad;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- min-height: 16px; /* same as QTabBar QPushButton min-width */
- border-radius: 1px;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #e98ad8;
- border: 1px solid #e98ad8;
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #008efa
-;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
-QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
- color: #455364;
- background-color: #cccccc;
-}
-
-QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background: #e98ad8;
- border: 1px solid #e98ad8;
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #f6f6f6;
-}
-
-QSlider:focus {
- /*border: 1px solid #008efa;*/
-}
-
-QSlider::groove:horizontal {
- background: #F6F6F6;
- border: 1px solid #cccccc;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #F6F6F6;
- border: 1px solid #cccccc;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #e98ad8;
- border: 1px solid #cccccc;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #cccccc;
-}
-
-QSlider::sub-page:horizontal {
- background: #e98ad8;
- border: 1px solid #cccccc;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #cccccc;
-}
-
-QSlider::handle:horizontal {
- background: #cccccc;
- border: 1px solid #cccccc;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #e98ad8;
- border: 1px solid #cccccc;
-}
-
-QSlider::handle:horizontal:focus {
- border: 1px solid #cccccc;
- background: #008efa;
-}
-
-QSlider::handle:vertical {
- background: #cccccc;
- border: 1px solid #cccccc;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #e98ad8;
- border: 1px solid #cccccc;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #008efa
-;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: white;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #cccccc;
- border-radius: 2px;
- color: black;
-}
-
-QLineEdit:disabled {
- background-color: #cccccc;
- color: #454545;
-}
-
-QLineEdit:hover {
- border: 1px solid #e98ad8;
- color: black;
-}
-
-QLineEdit:focus {
- border: 2px solid #008efa
-;
-}
-
-QLineEdit:selected {
- background-color: #e98ad8;
- color: black;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #e98ad8;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- border: 0px solid #8c00ffa1;
- border-radius: 1.9px;
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #e98ad8;
- border: 1px solid #346792;
-}
-/* QTabBar ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabBar, QDockWidget QTabBar {
- qproperty-drawBase: 0;
- border-radius: 2px;
- margin: 0px;
- padding: 2px;
- border: 0;
- alignment: center;
- /* 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.392);*/
-}
-
-QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed {
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-QTabBar::tab, QDockWidget QTabBar::tab {
- /* !selected and disabled ----------------------------------------- */
- /* selected ------------------------------------------------------- */
-}
-
-QTabBar::tab:top:selected:disabled, QDockWidget QTabBar::tab:top:selected:disabled {
- border-bottom: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:bottom:selected:disabled, QDockWidget QTabBar::tab:bottom:selected:disabled {
- border-top: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:left:selected:disabled, QDockWidget QTabBar::tab:left:selected:disabled {
- border-right: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:right:selected:disabled, QDockWidget QTabBar::tab:right:selected:disabled {
- border-left: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:top:!selected:disabled, QDockWidget QTabBar::tab:top:!selected:disabled {
- border-bottom: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:bottom:!selected:disabled, QDockWidget QTabBar::tab:bottom:!selected:disabled {
- border-top: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:left:!selected:disabled, QDockWidget QTabBar::tab:left:!selected:disabled {
- border-right: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:right:!selected:disabled, QDockWidget QTabBar::tab:right:!selected:disabled {
- border-left: 3px solid #d4d4d4;
- color: #515151;
- background-color: #d4d4d4;
-}
-
-QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
- border-bottom: 2px solid #d4d4d4;
- margin-top: 2px;
-}
-
-QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
- border-top: 2px solid #d4d4d4;
- margin-bottom: 2px;
-}
-
-QTabBar::tab:left:!selected, QDockWidget QTabBar::tab:left:!selected {
- border-left: 2px solid #d4d4d4;
- margin-right: 2px;
-}
-
-QTabBar::tab:right:!selected, QDockWidget QTabBar::tab:right:!selected {
- border-right: 2px solid #d4d4d4;
- margin-left: 2px;
-}
-
-QTabBar::tab:top, QDockWidget QTabBar::tab:top {
- background-color: #f6f6f6;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- border: 1px solid #d4d4d4;
- border-radius: 4px;
-}
-
-QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
- background-color: #d4d4d4;
- /*border: 1px solid #008efa;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #e98ad8;*/
- border: 0px solid #e98ad8;
- background-color: #e98ad8;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- border: 1px solid #d4d4d4;
- background-color: #f5f5f5;
- margin-left: 3px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- border-radius: 4px;
- min-width: 5px;
-}
-
-QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
- background-color: #d4d4d4;
- /*border: 1px solid #008efa;
- border-radius: 4px;
- margin-left: 4px;
- margin-right: 4px;
- padding-left: 3px;
- padding-right: 3px;*/
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #e98ad8;*/
- border: 0px solid #e98ad8;
- background-color: #e98ad8;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
-}
-
-QTabBar::tab:left, QDockWidget QTabBar::tab:left {
- background-color: #f5f5f5;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #f5f5f5;
- border: 0px solid #008efa
-;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #e98ad8;
- background-color: #e98ad8;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #f5f5f5;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #f5f5f5;
- border: 0px solid #008efa
-;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #e98ad8;
- background-color: #e98ad8;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- padding-left: 0px;
-}
-
-QTabBar QToolButton, QDockWidget QTabBar QToolButton {
- /* Fixes #136 */
- background-color: #f5f5f5;
- height: 12px;
- width: 12px;
-}
-
-QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #e98ad8;
- background-color: #e98ad8;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #e98ad8;
- background-color: #e98ad8;
-}
-
-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;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: #f6f6f6;
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_dark.svg);
-}
-
-QDockWidget::float-button:hover {
- /* background-color: #e98ad8; */
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-QColumnView::indicator:checked:pressed {
- image: url(qss:images_dark-light/checkbox_dark_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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #f6f6f6; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #cccccc;
- color: black;
- gridline-color: #cccccc;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(229, 229, 229, 0.7); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: white;
- color: #515151;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #e98ad8;
- color: black;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #008efa
-;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #e98ad8;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #e98ad8;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: black;
- background-color: #bfc1c0;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: black;
- background-color: #e98ad8;
-}
-
-QTableCornerButton::section {
- background-color: #f6f6f6;
- border: 1px transparent #cccccc;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: black;
-}
-QTableView {
- /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
- /*qproperty-aliasBgColor: #f700ff;*/
-}
-
-/* QHeaderView ------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
-
---------------------------------------------------------------------------- */
-QHeaderView {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- padding: 0;
- margin: 0;
- border-radius: 0px;
- text-align: center;
-}
-
-QHeaderView:disabled {
- background-color: #f6f6f6;
- border: 1px solid #cccccc;
- color: #515151;
-}
-
-QHeaderView::section {
- background-color: #f5f5f5;
- color: black;
- border-radius: 0px;
- text-align: center;
- font-size: 13px;
- font-weight: bold;
- text-align: center;
-}
-
-QHeaderView::section::horizontal {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10px;
- padding-right: 10px;
- border-left: 1px solid #cccccc;
-}
-
-QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
- border-left: 1px solid #cccccc;
- padding-left: 15px;
-}
-
-QHeaderView::section::horizontal:disabled {
- color: #515151;
-}
-
-QHeaderView::section::vertical {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 1px;
- padding-right: 1px;
- border-top: 1px solid #cccccc;
-}
-
-QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
- border-top: 1px solid #cccccc;
-}
-
-QHeaderView::section::vertical:disabled {
- color: #515151;
-}
-
-QHeaderView::down-arrow {
- /* Those settings (border/width/height/background-color) solve bug */
- /* transparent arrow background and size */
- background-color: #455364;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/arrow_down.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: #455364;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #d4d4d4;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #346792;
-}
-
-QToolBox::tab {
- background-color: #d4d4d4;
- border: 0px solid #cccccc;
- color: black;
- background-image: url(qss:images_dark-light/down_arrow_darker.svg);
- background-repeat: none;
- background-position: center left;
-}
-
-QToolBox::tab:disabled {
- color: #515151;
-}
-
-QToolBox::tab:selected {
- background-color: #d4d4d4;
- background-image: url(qss:images_dark-light/transparent.svg);
- padding-right: 5px;
- background-repeat: none;
-}
-
-QToolBox::tab:selected:disabled {
- background-color: #d4d4d4;
- border-bottom: 0px solid #cccccc;
- color: #515151;
-}
-
-QToolBox::tab:!selected {
-
-}
-
-QToolBox::tab:!selected:disabled {
- background-color: #f6f6f6;
-}
-
-QToolBox::tab:hover {
- background-color: #e98ad8;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #cccccc;
- background-color: #cccccc;
- /* No frame */
- /* HLine */
- /* HLine */
-}
-
-.QFrame[frameShape="0"] {
- border-radius: 1.9px;
- border: 1px solid #cccccc;
-}
-
-.QFrame[frameShape="4"] {
- max-height: 1px;
- border: none;
- background-color: #cccccc;
-}
-
-.QFrame[frameShape="5"] {
- max-width: 1px;
- border: none;
- background-color: #f6f6f6;
-}
-
-/* QSplitter --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #e98ad8, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #e98ad8, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #e98ad8;
- border-style: solid;
- border: 1px solid #cccccc;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #e98ad8;
-}
-
-QDateEdit::drop-down, QDateTimeEdit::drop-down {
- subcontrol-origin: padding;
- subcontrol-position: top right;
- width: 12px;
- border-left: 1px solid #cccccc;
-}
-
-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 #cccccc;
- selection-background-color: #e98ad8;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #e98ad8;
- color: black;
-}
-
-QAbstractView:selected {
- background: #e98ad8;
- color: black;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Light-modern-green.qss b/src/Gui/Stylesheets/Light-modern.qss
similarity index 91%
rename from src/Gui/Stylesheets/Light-modern-green.qss
rename to src/Gui/Stylesheets/Light-modern.qss
index 7cf40dc242..31653a54a0 100644
--- a/src/Gui/Stylesheets/Light-modern-green.qss
+++ b/src/Gui/Stylesheets/Light-modern.qss
@@ -17,8 +17,8 @@ INSTALLATION WHEN NECESSARY
============================================================================================================
TO MODIFY USE THESE COLORS:
- #a5e98a
- #dc00fa
+ @ThemeAccentColor1
+ @ThemeAccentColor2
See Qt documentation:
@@ -86,7 +86,7 @@ Gui--PropertyEditor--PropertyEditor QComboBox {
/* fix for column items background when a link is present */
Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #a5e98a; /* same as focused background color */
+ background-color: @ThemeAccentColor1; /* same as focused background color */
}
/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
@@ -124,23 +124,23 @@ QWidget {
border: 0px solid #cccccc;
padding: 0px;
color: black;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
selection-color: black;
}
QWidget:disabled {
color: #515151;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
selection-color: #515151;
}
QWidget::item:selected {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
/* Causes issue with colorselector.
QWidget::item:hover:!selected {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}*/
/* QMainWindow ------------------------------------------------------------
@@ -157,13 +157,13 @@ QMainWindow::separator {
}
QMainWindow::separator:vertical:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #a5e98a, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
/*background-color: #557bb6;*/
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 #a5e98a, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
/*background-color: #557bb6;*/
image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
}
@@ -242,7 +242,7 @@ QCheckBox {
}
QCheckBox:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QCheckBox QWidget:disabled {
@@ -264,7 +264,7 @@ QCheckBox::indicator:unchecked {
}
QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
}
@@ -280,7 +280,7 @@ QCheckBox::indicator:checked {
}
QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QCheckBox::indicator:checked:disabled {
@@ -300,7 +300,7 @@ QCheckBox::indicator:indeterminate:disabled {
}
QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #a5e98a; /* QRadioButton has the same color */
+ background-color: @ThemeAccentColor1; /* QRadioButton has the same color */
}
/* QGroupBox --------------------------------------------------------------
@@ -342,7 +342,7 @@ QGroupBox::indicator:unchecked {
}
QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:unchecked:disabled {
@@ -356,11 +356,11 @@ QGroupBox::indicator:checked {
}
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:checked:disabled {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
/* QRadioButton -----------------------------------------------------------
@@ -379,7 +379,7 @@ QRadioButton {
}
QRadioButton:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QRadioButton:disabled {
@@ -410,8 +410,8 @@ QRadioButton::indicator:unchecked {
}
QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed {
- background-color: #a5e98a;
- border: 1px solid #a5e98a;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
}
@@ -425,8 +425,8 @@ QRadioButton::indicator:checked {
}
QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #a5e98a;
- border: 1px solid #a5e98a;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
image:url(qss:images_dark-light/radiobutton_dark.svg);
}
@@ -447,11 +447,11 @@ QMenuBar {
/*padding: 1px;
border: 0px solid rgba(255,255,255,140);*/
color: black;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
}
QMenuBar:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QMenuBar::item {
@@ -465,7 +465,7 @@ QMenuBar::item {
QMenuBar::item:selected {
background: transparent;
border: 0px solid #cccccc;
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QMenuBar::item:pressed {
@@ -473,7 +473,7 @@ QMenuBar::item:pressed {
padding-left: 10px;
padding-right: 10px;*/
border: 0px solid #cccccc;
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: black;
/*margin-bottom: 0px;
padding-bottom: 0px;*/
@@ -490,7 +490,7 @@ QMenu {
color: black;
margin: 0px;
background-color: #f8f8f8;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
}
QMenu::separator {
@@ -509,11 +509,11 @@ QMenu::item {
QMenu::item:selected {
color: black;
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QMenu::item:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QMenu::icon {
@@ -533,9 +533,9 @@ QMenu::indicator {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
- background: #a5e98a;
+ background: @ThemeAccentColor1;
margin-left: -5px;
- border: 5px solid #a5e98a;
+ border: 5px solid @ThemeAccentColor1;
position: absolute;
border-radius: 0px;
}
@@ -545,7 +545,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: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:unchecked:disabled {
@@ -558,7 +558,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: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:checked:disabled {
@@ -584,7 +584,7 @@ QMenu::indicator:exclusive:unchecked {
QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed {
border: none;
outline: none;
- background: #a5e98a;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_light.svg);
}
@@ -601,7 +601,7 @@ QMenu::indicator:exclusive:checked {
QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed {
border: none;
outline: none;
- background: #a5e98a;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_dark.svg);
}
@@ -691,14 +691,14 @@ QScrollBar::handle:horizontal {
}
QScrollBar::handle:horizontal:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
border: #cccccc;
border-radius: 1.9px;
min-width: 8px;
}
QScrollBar::handle:horizontal:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::handle:vertical {
@@ -709,14 +709,14 @@ QScrollBar::handle:vertical {
}
QScrollBar::handle:vertical:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
border: #cccccc;
border-radius: 1.9px;
min-height: 8px;
}
QScrollBar::handle:vertical:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::add-line:horizontal {
@@ -730,7 +730,7 @@ QScrollBar::add-line:horizontal {
QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on {
border-image: url(qss:images_dark-light/right_arrow_darker.svg);
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
height: 10px;
width: 7px;
subcontrol-position: right;
@@ -748,7 +748,7 @@ QScrollBar::add-line:vertical {
QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on {
border-image: url(qss:images_dark-light/down_arrow_darker.svg);
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
height: 7px;
width: 10px;
subcontrol-position: bottom;
@@ -766,7 +766,7 @@ QScrollBar::sub-line:horizontal {
QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on {
border-image: url(qss:images_dark-light/left_arrow_darker.svg);
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
height: 10px;
width: 8px;
subcontrol-position: left;
@@ -783,7 +783,7 @@ QScrollBar::sub-line:vertical {
}
QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
border-image: url(qss:images_dark-light/up_arrow_darker.svg);
height: 8px;
width: 10px;
@@ -822,7 +822,7 @@ QTextEdit {
}
QTextEdit:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QTextEdit:selected {
@@ -841,11 +841,11 @@ QPlainTextEdit {
}
QPlainTextEdit:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QPlainTextEdit:selected {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -927,13 +927,13 @@ background-position: center center;
QToolButton#qt_toolbar_ext_button:hover {
/* background-image: url(qss:images_dark-light/more_dark.svg);*/
-background-color: #a5e98a;
+background-color: @ThemeAccentColor1;
}
QToolButton#qt_toolbar_ext_button:on {
/* background-image: url(qss:images_dark-light/more_dark.svg);*/
border-color: #cccccc;
-background-color: #a5e98a;
+background-color: @ThemeAccentColor1;
}
@@ -976,7 +976,7 @@ QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBo
}
QAbstractSpinBox::up-arrow:hover {
- /*background-color: #a5e98a;*/
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/up_arrow_darker.svg);
}
@@ -1000,20 +1000,20 @@ 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: @ThemeAccentColor1;*/ image:url(qss:images_dark-light/down_arrow_darker.svg);
}
QAbstractSpinBox:hover {
- /*border: 1px solid #a5e98a;
+ /*border: 1px solid @ThemeAccentColor1;
color: black;*/
}
QAbstractSpinBox:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QAbstractSpinBox:selected {
- background: #dc00fa;
+ background: @ThemeAccentColor2;
/*color: black;*/
}
@@ -1136,7 +1136,7 @@ QProgressBar:disabled {
}
QProgressBar::chunk {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: #f6f6f6;
border-radius: 1.9px;
}
@@ -1172,14 +1172,14 @@ QPushButton:disabled {
}
QPushButton:checked {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
border-radius: 2px;
padding: 2px;
outline: none;
}
QPushButton:checked:disabled {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: #f5f5f5;
border-radius: 2px;
padding: 2px;
@@ -1187,20 +1187,20 @@ QPushButton:checked:disabled {
}
QPushButton:checked:selected {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
}
QPushButton:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: black;
}
QPushButton:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QPushButton:selected {
- background: #dc00fa;
+ background: @ThemeAccentColor2;
color: black;
}
@@ -1240,14 +1240,14 @@ QToolButton:disabled {
}
QToolButton:checked {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
border-radius: 1.9px;
padding: 0px;
outline: none;
}
QToolButton:checked:disabled {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: #515151;
border-radius: 1.9px;
padding: 0px;
@@ -1255,30 +1255,30 @@ QToolButton:checked:disabled {
}
QToolButton:checked:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: black;
}
QToolButton:checked:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QToolButton:checked:selected {
- background: #dc00fa;
+ background: @ThemeAccentColor2;
color: black;
}
QToolButton:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: black;
}
QToolButton:pressed {
- background-color: #dc00fa;
+ background-color: @ThemeAccentColor2;
}
QToolButton:selected {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -1388,7 +1388,7 @@ QComboBox {
border: 1px solid #cccccc;
background: white;
border-radius: 2px;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
padding-left: 2px;
padding-right: 2px;
/* padding-right = 36; 4 + 16*2 See scrollbar size */
@@ -1407,7 +1407,7 @@ QComboBox QAbstractItemView {
border: 0px solid #cccccc;
border-radius: 0px;
background-color: white;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
}
QComboBox QAbstractItemView:hover {
@@ -1416,7 +1416,7 @@ QComboBox QAbstractItemView:hover {
}
QComboBox QAbstractItemView:selected {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -1430,16 +1430,16 @@ QComboBox:disabled {
}
QComboBox:hover {
- /*background-color: #a5e98a;*/
- border: 1px solid #a5e98a;
+ /*background-color: @ThemeAccentColor1;*/
+ border: 1px solid @ThemeAccentColor1;
}
QComboBox:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QComboBox:on {
- selection-background-color: #dc00fa;
+ selection-background-color: @ThemeAccentColor2;
}
QComboBox::indicator {
@@ -1448,7 +1448,7 @@ QComboBox::indicator {
background-color: transparent;
selection-background-color: transparent;
color: transparent;
- selection-color: #a5e98a;
+ selection-color: @ThemeAccentColor1;
/* Needed to remove indicator - fix #132 */
}
@@ -1480,7 +1480,7 @@ QComboBox::drop-down {
border-left: 1px solid #cccccc;
}
QComboBox::drop-down:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QComboBox::down-arrow {
@@ -1540,7 +1540,7 @@ padding: 0px;
}
QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: #a5e98a;
+background-color: @ThemeAccentColor1;
}
QSint--ActionGroup QToolButton[class="header"] {
@@ -1599,19 +1599,19 @@ 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: #a5e98a; /* same as Task Panel background color */
+border-bottom-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #a5e98a; /* same as Task Panel background color */
+border-top-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #a5e98a; /* same as Task Panel background color */
+border-right-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #a5e98a; /* same as Task Panel background color */
+border-left-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
/* Fix for buttons with icons that showed cropped (still not happy with result) */
@@ -1642,11 +1642,11 @@ QSint--ActionGroup QFrame[class="content"] QToolButton {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background: #a5e98a;
- border: 1px solid #a5e98a;
+ background: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
}
QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
@@ -1656,8 +1656,8 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background: #a5e98a;
- border: 1px solid #a5e98a;
+ background: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
}
/* QSlider ----------------------------------------------------------------
@@ -1670,7 +1670,7 @@ QSlider:disabled {
}
QSlider:focus {
- /*border: 1px solid #dc00fa;*/
+ /*border: 1px solid @ThemeAccentColor2;*/
}
QSlider::groove:horizontal {
@@ -1690,7 +1690,7 @@ QSlider::groove:vertical {
}
QSlider::add-page:vertical {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
border: 1px solid #cccccc;
width: 4px;
margin: 0px;
@@ -1702,7 +1702,7 @@ QSlider::add-page:vertical :disabled {
}
QSlider::sub-page:horizontal {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
border: 1px solid #cccccc;
height: 4px;
margin: 0px;
@@ -1723,13 +1723,13 @@ QSlider::handle:horizontal {
}
QSlider::handle:horizontal:hover {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
border: 1px solid #cccccc;
}
QSlider::handle:horizontal:focus {
border: 1px solid #cccccc;
- background: #dc00fa;
+ background: @ThemeAccentColor2;
}
QSlider::handle:vertical {
@@ -1742,12 +1742,12 @@ QSlider::handle:vertical {
}
QSlider::handle:vertical:hover {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
border: 1px solid #cccccc;
}
QSlider::handle:vertical:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
/* QLineEdit --------------------------------------------------------------
@@ -1775,16 +1775,16 @@ QLineEdit:disabled {
}
QLineEdit:hover {
- border: 1px solid #a5e98a;
+ border: 1px solid @ThemeAccentColor1;
color: black;
}
QLineEdit:focus {
- border: 2px solid #dc00fa;
+ border: 2px solid @ThemeAccentColor2;
}
QLineEdit:selected {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: black;
}
@@ -1795,7 +1795,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabb
--------------------------------------------------------------------------- */
QTabWidget {
padding: 2px;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
}
QTabWidget QWidget {
@@ -1812,7 +1812,7 @@ QTabWidget::pane {
}
QTabWidget::pane:selected {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
border: 1px solid #346792;
}
/* QTabBar ----------------------------------------------------------------
@@ -1933,7 +1933,7 @@ QTabBar::tab:top, QDockWidget QTabBar::tab:top {
QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
background-color: #d4d4d4;
- /*border: 1px solid #dc00fa;
+ /*border: 1px solid @ThemeAccentColor2;
border-radius: 4px;
margin-left: 4px;
margin-right: 4px;
@@ -1942,9 +1942,9 @@ QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
}
QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #a5e98a;*/
- border: 0px solid #a5e98a;
- background-color: #a5e98a;
+ /*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1964,7 +1964,7 @@ QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
background-color: #d4d4d4;
- /*border: 1px solid #dc00fa;
+ /*border: 1px solid @ThemeAccentColor2;
border-radius: 4px;
margin-left: 4px;
margin-right: 4px;
@@ -1973,9 +1973,9 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
}
QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #a5e98a;*/
- border: 0px solid #a5e98a;
- background-color: #a5e98a;
+/*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1994,12 +1994,12 @@ QTabBar::tab:left, QDockWidget QTabBar::tab:left {
QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
background-color: #f5f5f5;
- border: 0px solid #dc00fa;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #a5e98a;
- background-color: #a5e98a;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-right: 0px;
padding-right: -1px;
@@ -2018,12 +2018,12 @@ QTabBar::tab:right, QDockWidget QTabBar::tab:right {
QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
background-color: #f5f5f5;
- border: 0px solid #dc00fa;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #a5e98a;
- background-color: #a5e98a;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-left: 0px;
padding-left: 0px;
@@ -2037,13 +2037,13 @@ QTabBar QToolButton, QDockWidget QTabBar QToolButton {
}
QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #a5e98a;
- background-color: #a5e98a;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #a5e98a;
- background-color: #a5e98a;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled {
@@ -2114,7 +2114,7 @@ QDockWidget::float-button {
}
QDockWidget::float-button:hover {
- /* background-color: #a5e98a; */
+ /* background-color: @ThemeAccentColor1; */
image: url(qss:images_dark-light/undock_blue.svg);
}
@@ -2250,7 +2250,7 @@ QTreeView:selected,
QListView:selected,
QTableView:selected,
QColumnView:selected {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
color: black;
}
@@ -2258,21 +2258,21 @@ QTreeView:focus,
QListView:focus,
QTableView:focus,
QColumnView:focus {
- border: 1px solid #dc00fa;
+ border: 1px solid @ThemeAccentColor2;
}
QTreeView::item:pressed,
QListView::item:pressed,
QTableView::item:pressed,
QColumnView::item:pressed {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:active,
QListView::item:selected:active,
QTableView::item:selected:active,
QColumnView::item:selected:active {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:!active,
@@ -2289,7 +2289,7 @@ QTableView::item:!selected:hover,
QColumnView::item:!selected:hover {
outline: 0;
color: black;
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QTableCornerButton::section {
@@ -2444,7 +2444,7 @@ QToolBox::tab:!selected:disabled {
}
QToolBox::tab:hover {
- background-color: #a5e98a;
+ background-color: @ThemeAccentColor1;
}
QToolBox QScrollArea QWidget QWidget {
@@ -2519,7 +2519,7 @@ QSplitter::handle:vertical {
}
QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #a5e98a, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
background-position: center center;
background-repeat: none;
}
@@ -2528,14 +2528,14 @@ QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
background-position: center center;
background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #a5e98a, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
}
/* QDateEdit, QDateTimeEdit -----------------------------------------------
--------------------------------------------------------------------------- */
QDateEdit, QDateTimeEdit {
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
border-style: solid;
border: 1px solid #cccccc;
border-radius: 1.9px;
@@ -2549,7 +2549,7 @@ QDateEdit, QDateTimeEdit {
}
QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
}
QDateEdit::drop-down, QDateTimeEdit::drop-down {
@@ -2573,19 +2573,19 @@ QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
background-color: #f6f6f6;
border-radius: 2px;
border: 1px solid #cccccc;
- selection-background-color: #a5e98a;
+ selection-background-color: @ThemeAccentColor1;
}
/* QAbstractView ----------------------------------------------------------
--------------------------------------------------------------------------- */
QAbstractView:hover {
- border: 1px solid #a5e98a;
+ border: 1px solid @ThemeAccentColor1;
color: black;
}
QAbstractView:selected {
- background: #a5e98a;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -2631,4 +2631,3 @@ Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}
-
diff --git a/src/Gui/Stylesheets/Light-orange.qss b/src/Gui/Stylesheets/Light-orange.qss
deleted file mode 100644
index e44fb5ed12..0000000000
--- a/src/Gui/Stylesheets/Light-orange.qss
+++ /dev/null
@@ -1,2611 +0,0 @@
-/*
-ABOUT
-============================================================================================================
-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:
-https://forum.freecad.org/viewtopic.php?t=78431
-
-INSTALLATION WHEN NECESSARY
-============================================================================================================
-1) Place the .qss files and /images/ folder in the path that fits your OS:
- OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
- WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
- LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
-
-============================================================================================================
-TO MODIFY USE THESE COLORS:
- #ffb916
- #ffe098
-
-
-See Qt documentation:
-
- - https://doc.qt.io/qt-5/stylesheet.html
- - https://doc.qt.io/qt-5/stylesheet-reference.html
- - https://doc.qt.io/qt-5/stylesheet-examples.html
-
---------------------------------------------------------------------------- */
-
-
-/* Reset elements ------------------------------------------------------------
-
-Resetting everything helps to unify styles across different operating systems
-
---------------------------------------------------------------------------- */
-* {
- padding: 0px;
- margin: 0px;
- border: 0px;
- border-style: none;
- 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,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
- color: transparent;
- border-color: transparent;
- background-color: transparent;
- selection-color: transparent;
- selection-background-color: transparent;
-
-}
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
- color: transparent;
- background-color: transparent;
- border: none;
- border-radius: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-Gui--PropertyEditor--PropertyEditor QSpinBox,
-Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
-Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
-Gui--PropertyEditor--PropertyEditor QLineEdit,
-Gui--PropertyEditor--PropertyEditor QComboBox {
- margin-left: 0px;
- margin-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
-
-}
-
-/* fix for column items background when a link is present */
-Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #ffb916; /* same as focused background color */
-}
-
-/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
-Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
- color: #ffffff;
- background-color: #ACC8E5; /* same as focused background color */
-}
-
-/*==================================================================================================
-Main window
-==================================================================================================*/
-QMainWindow,
-QDialog,
-QDockWidget,
-QToolBar {
- background-color: #F6F6F6; /* main background color */
-}
-
-QMdiArea {
- background-image: url(qss:images_dark-light/background_freecad.svg);
- background-position: center center;
- background-repeat: no-repeat;
-}
-/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
-Gui--NavigationIndicatorGui--BlenderNavigationStyle {
-/*QAction#a4 {*/
- qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
-}
-/*=====
-/* QWidget ----------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QWidget {
- background-color: #F6F6F6;
- border: 0px solid #C1C1C1;
- padding: 0px;
- color: black;
- selection-background-color: #ffb916;
- selection-color: black;
-}
-
-QWidget:disabled {
- color: #A3A3A3;
- selection-background-color: #ffb916;
- selection-color: #A3A3A3;
-}
-
-QWidget::item:selected {
- background-color: #ffb916
-;
-}
-
- /* Causes issue with colorselector.
- QWidget::item:hover:!selected {
- background-color: #ffb916;
- }*/
-
-/* 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;*/
- border: 0px solid #C1C1C1;
- 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 #ffb916 , stop:0.8 transparent);
- /*background-color: #ffb916;*/
- 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 #ffb916 , stop:0.8 transparent);
- /*background-color: #ffb916;*/
- 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;
- color: black;
- /* If you remove the border property, background stops working on Windows */
- border: none;
- /* Remove padding, for fix combo box tooltip */
- 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;
- /* Fixes Spyder #9120, #9121 */
- background: #F6F6F6;
- /* Fixes #205, black vertical borders separating items */
-}
-
-QStatusBar::item {
- border: none;
-}
-
-QStatusBar QToolTip {
- background-color: #F6F6F6;
- border: 1px solid #C1C1C1;
- color: #F6F6F6;
- /* Remove padding, for fix combo box tooltip */
- padding: 0px;
- /* 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;
- padding: 0px;
- outline: none;
- border: 1px solid transparent;
- background-color: transparent;
-}
-
-QCheckBox:focus {
- border: 1px solid #ffe098;
-}
-
-QCheckBox QWidget:disabled {
- color: #A3A3A3;
-}
-
-QCheckBox::indicator {
- color: black;
- background-color: #ffffff;
- width: 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: #ffb916;
- 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 {
- background-color: #ffb916;
-}
-
-QCheckBox::indicator:checked:disabled {
- background-color: #F6F6F6;
- image: url(qss:images_dark-light/checkbox_checked_disabled.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: #ffb916; /* QRadioButton has the same color */
-}
-
-/* QGroupBox --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
-
---------------------------------------------------------------------------- */
-QGroupBox {
- font-weight: bold;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- padding: 2px;
- margin-top: 10px;
- margin-bottom: 4px;
-}
-
-QGroupBox::title {
- subcontrol-origin: margin;
- subcontrol-position: top left;
- left: 4px;
- padding-left: 2px;
- padding-right: 4px;
- padding-top: 6px;
-}
-
-QGroupBox::indicator {
- color: black;
- background-color: #f6f6f6;
- border: 1px solid #C1C1C1;
- width: 12px;
- 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: #ffb916;
-}
-
-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: #ffb916;
-}
-
-QGroupBox::indicator:checked:disabled {
- background-color: #ffb916;
-}
-
-/* QRadioButton -----------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
-
---------------------------------------------------------------------------- */
-QRadioButton {
- background-color: transparent;
- color: black;
- border: none;
- spacing: 4px;
- padding-top: 4px;
- padding-bottom: 4px;
- outline: none;
-}
-
-QRadioButton:focus {
- border: 1px solid #ffe098;
-}
-
-QRadioButton:disabled {
- background-color: #f6f6f6;
- color: #A3A3A3;
-}
-
-QRadioButton QWidget {
- background-color: transparent;
- color: black;
- spacing: 0px;
- padding: 0px;
- outline: none;
- border: none;
-}
-
-QRadioButton::indicator {
- background-color: #f6f6f6;
- border: 1px solid #C1C1C1;
- border-radius: 6px;
- margin-left: 0px;
- 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: #ffb916;
- border: 1px solid #ffb916;
- 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: #ffb916;
- border: 1px solid #ffb916;
- 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;
- /*padding: 1px;
- border: 0px solid rgba(0,0,0,140);*/
- color: black;
- selection-background-color: #ffb916;
-}
-
-QMenuBar:focus {
- border: 1px solid #ffb916;
-}
-
-QMenuBar::item {
- background: transparent;
- /*padding-left:5px;
- padding-right: 5px;
- padding-bottom: 1px;
- padding-top: 1px;*/
-}
-
-QMenuBar::item:selected {
- background: transparent;
- border: 0px solid #C1C1C1;
- background-color: #ffb916;
-}
-
-QMenuBar::item:pressed {
- /*padding: 2px;
- padding-left: 10px;
- padding-right: 10px;*/
- border: 0px solid #C1C1C1;
- background-color: #ffb916;
- color: black;
- /*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);
- border-right: 2px rgba(0,0,0,140);
- color: black;
- margin: 0px;
- background-color: #ffffff;
- selection-background-color: #ffb916;
-}
-
-QMenu::separator {
- 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: #ffb916;
-}
-
-QMenu::item:pressed {
- background-color: #ffb916;
-}
-
-QMenu::icon {
- margin-left: 5px;
- width: 14px;
- height: 14px;
-}
-
-QMenu::indicator {
- margin-left: 2px;
- margin-right: 2px;
- padding: 0px;
- width: 12px;
- height: 12px;
- /* 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: #ffe098;
- margin-left: -5px;
- border: 5px solid #ffe098;
- position: absolute;
- border-radius: 0px;
-}
-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: #ffb916;
-}
-
-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: #ffb916;
-}
-
-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: #ffb916;
- 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: #ffb916;
- 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;
- image:url(qss:images_dark-light/right_arrow_darker.svg);
- height: 12px;
- width: 12px;
- background-color: transparent;
-}
-
-/* QAbstractItemView ------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
-
---------------------------------------------------------------------------- */
-QAbstractItemView {
- alternate-background-color: #ababab;
- color: black;
- 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;
- border: 0px solid #C1C1C1;
- border-radius: 0px;
- /* fix #159 */
- padding: 0px;
- /* 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;
- margin: 2px 16px 2px 16px;
- border: 0px solid #C1C1C1;
- border-radius: 1.9px;
- background-color: #F6F6F6;
-}
-
-QScrollBar:vertical {
- background-color: #F6F6F6;
- width: 16px;
- margin: 16px 2px 16px 2px;
- 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: #ffb916;
- border: #f6f6f6;
- border-radius: 1.9px;
- min-width: 8px;
-}
-
-QScrollBar::handle:horizontal:focus {
- border: 1px solid #ffe098;
-}
-
-QScrollBar::handle:vertical {
- background-color: #A3A3A3;
- border: 1px solid #C1C1C1;
- min-height: 8px;
- border-radius: 1.9px;
-}
-
-QScrollBar::handle:vertical:hover {
- background-color: #ffb916;
- border: #f6f6f6;
- border-radius: 1.9px;
- min-height: 8px;
-}
-
-QScrollBar::handle:vertical:focus {
- border: 1px solid #ffe098;
-}
-
-QScrollBar::add-line:horizontal {
- border-image: url(qss:images_dark-light/right_arrow_dark.svg);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical {
- border-image: url(qss:images_dark-light/down_arrow_dark.svg);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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);
- height: 9px;
- width: 5px;
- 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;
- width: 5px;
- 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);
- height: 5px;
- width: 9px;
- 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;
- width: 9px;
- 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 {
- background-color: #F6F6F6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #C1C1C1;
-}
-
-QTextEdit:focus {
- border: 1px solid #ffe098;
-}
-
-QTextEdit:selected {
- background: #346792;
- color: black;
-}
-
-/* QPlainTextEdit ---------------------------------------------------------
-Python
---------------------------------------------------------------------------- */
-QPlainTextEdit {
- background-color: #f6f6f6;
- color: black;
- border-radius: 1.9px;
- border: 0px solid #C1C1C1;
-}
-
-QPlainTextEdit:focus {
- border: 1px solid #ffe098;
-}
-
-QPlainTextEdit:selected {
- background: #ffb916;
- color: black;
-}
-
-/* QSizeGrip --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
-
---------------------------------------------------------------------------- */
-QSizeGrip {
- background: transparent;
- width: 12px;
- 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;
- border-bottom: 0px solid rgba(0,0,0,120);
- padding: 1px;
- font-weight: bold;
- spacing: 1px;
-}
-
-QToolBar:disabled {
- /* Fixes #272 */
- background-color: #F6F6F6;
-}
-
-QToolBar::handle:horizontal {
- width: 8px;
- margin: 3px 3px;
- background-position: top right;
- background-repeat: repeat-y;
- background-image: url(qss:images_dark-light/Hmovetoolbar_dark.svg);
-}
-
-QToolBar::handle:vertical {
- height: 8px;
- margin: 3px 3px;
- background-position: left bottom;
- 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;
-padding: 0px;
-background-color: #A3A3A3;
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-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: #ffb916;
-}
-
-QToolButton#qt_toolbar_ext_button:on {
-/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-border-color: #f6f6f6;
-background-color: #ffb916;
-}
-
-
-/* QAbstractSpinBox -------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractSpinBox,
-QSpinBox {
- background-color: #ffffff;
- border: 1px solid transparent;
- color: black;
- /* This fixes 103, 111 */
- /* padding-top: 0px;
- /* This fixes 103, 111 */
- /*padding-bottom: 0px;
- /*padding-left: 4px;
- /*padding-right: 4px;
- border-radius: 1.9px;*/
- 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;
- subcontrol-position: top right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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;
- subcontrol-position: bottom right;
- border: 1px solid transparent;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- /*margin: 1px;*/
- /*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 #ffb916;
- color: black;*/
-}
-
-QAbstractSpinBox:focus {
- border: 1px solid #ffe098;
-}
-
-QAbstractSpinBox:selected {
- background: #ffe098;
- /*color: black;*/
-}
-
-/* ------------------------------------------------------------------------ */
-/* DISPLAYS --------------------------------------------------------------- */
-/* ------------------------------------------------------------------------ */
-/* QLabel -----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
-
---------------------------------------------------------------------------- */
-QLabel {
- background-color: transparent;
- border: 0px solid #C1C1C1;
- padding: 2px;
- 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;
- border: 1px solid #C1C1C1;
- 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 #ffb916;
-}
-
-/* QGraphicsView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QGraphicsView {
- background-color: transparent;
- border: 0px solid #ffb916;
- 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: #A3A3A3;
- 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;
- border: 1px solid #C1C1C1;
- color: black;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar:disabled {
- background-color: #ffffff;
- border: 1px solid #C1C1C1;
- color: #A3A3A3;
- border-radius: 1.9px;
- text-align: center;
-}
-
-QProgressBar::chunk {
- background-color: #ffb916;
- 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);
- color: black;
- border: 1px solid #EDEDED;
- border-bottom-color: #AFAFAF; /* simulates shadow under the button */
- border-radius: 4px;
- padding: 2px;
-}
-
-QPushButton:disabled {
- background-color: #F6F6F6;
- color: #A3A3A3;
-
-}
-
-QPushButton:checked {
- background-color: #ffb916;
- outline: none;
-}
-
-QPushButton:checked:disabled {
- background-color: #ffb916;
- color: #f6f6f6;
- outline: none;
-}
-
-QPushButton:checked:selected {
- background: #ffb916;
-}
-
-QPushButton:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffb916 , stop:1 #ffe098);
- color: black;
-}
-
-QPushButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffe098, stop:1 #ffb916 );
-}
-
-QPushButton:selected {
- background: #ffe098;
- 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;
- color: black;
- border-radius: 1px;
- padding: 0px;
- outline: none;
- border: none;
- /* The subcontrols below are used only in the DelayedPopup mode */
- /* 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: #ffb916;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:disabled {
- background-color: #b65555;
- color: #A3A3A3;
- border-radius: 1.9px;
- padding: 0px;
- outline: none;
-}
-
-QToolButton:checked:hover {
- background-color: #ffb916;
- color: black;
-}
-
-QToolButton:checked:pressed {
- background-color: #ffb916;
-}
-
-QToolButton:checked:selected {
- background: #ffe098;
- color: black;
-}
-
-QToolButton:hover {
- background-color: #ffb916;
- color: black;
-}
-
-QToolButton:pressed {
- background-color: #ffe098;
-}
-
-QToolButton:selected {
- background: #ffb916;
- color: black;
-}
-
-QToolButton[popupMode="0"] {
- /* Only for DelayedPopup */
- padding-right: 20px;
-}
-
-QToolButton[popupMode="1"] {
- /* Only for MenuButtonPopup */
- padding-right: 20px;
-}
-QToolButton[popupMode="0"]::menu-button {
- border: none;
-}
-
-QToolButton[popupMode="0"]::menu-button:hover {
- border: none;
- border-left: 2px solid #fe0000;
- border-radius: 0px;
-}
-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;
- /* 16px width + 4px for border = 20px allocated above */
- width: 1.6ex;
- padding: 2px;
- 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;
- height: 1.5ex;
- subcontrol-position: right bottom;
- background: transparent;
-}
-QToolButton::menu-arrow:open {
- subcontrol-position: right bottom;
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-QToolButton::menu-arrow:hover {
- width: 1.7ex;
- height: 1.7ex;
- image: url(qss:images_dark-light/more_arrow_dark.svg);
-}
-
-/* QCommandLinkButton -----------------------------------------------------
-
---------------------------------------------------------------------------- */
-QCommandLinkButton {
- background-color: transparent;
- border: 1px solid #C1C1C1;
- color: black;
- border-radius: 1.9px;
- 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;
- background: #ffffff;
- border-radius: 2px;
- selection-background-color: #ffb916;
- padding-left: 2px;
- padding-right: 2px;
- /* padding-right = 36; 4 + 16*2 See scrollbar size */
- /* changed to 4px to fix #239 */
- /* Fixes #103, #111 */
- min-height: 1.5em;
- /* padding-top: 2px; removed to fix #132 */
- /* padding-bottom: 2px; removed to fix #132 */
- /* min-width: 75px; removed to fix #109 */
- /* Needed to remove indicator - fix #132 */
-}
-QComboBox:editable {
- background: #ffffff;
-}
-QComboBox QAbstractItemView {
- border: 0px solid #C1C1C1;
- border-radius: 0px;
- background-color: #ffffff;
- selection-background-color: #ffb916;
-}
-
-QComboBox QAbstractItemView:hover {
- background-color:#ffffff;
- color: black;
-}
-
-QComboBox QAbstractItemView:selected {
- background: #ffb916;
- color: black;
-}
-
-QComboBox QAbstractItemView:alternate {
- background: #f6f6f6;
-}
-
-QComboBox:disabled {
- background-color: #F6F6F6;
- color: #A3A3A3;
-}
-
-QComboBox:hover {
- /*background-color: #ffb916;*/
- border: 1px solid #ffb916;
-}
-
-QComboBox:focus {
- border: 1px solid #ffe098;
-}
-
-QComboBox:on {
- selection-background-color: #ffe098;
-}
-
-QComboBox::indicator {
- border: none;
- border-radius: 0px;
- background-color: transparent;
- selection-background-color: transparent;
- color: transparent;
- selection-color: #ffb916;
- /* 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);
- subcontrol-position: top right;
- width: 14px;
- border-left: 1px solid transparent;
-}
-QComboBox::drop-down:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffb916 , stop:1 #ffe098);
-}
-
-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)
-==================================================================================================*/
-Gui--PropertyEditor--PropertyEditor {
- 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"],
-QSint--ActionGroup QFrame[height="3"],
-QSint--ActionGroup QFrame[width="1"],
-QSint--ActionGroup QFrame[width="2"],
-QSint--ActionGroup QFrame[width="3"] {
-border-color: rgba(0,0,0,60);
-}
-
-/* Panel header */
-QSint--ActionGroup QFrame[class="header"] {
-border-top: 1px solid #C1C1C1;
-border-left: 1px solid #C1C1C1;
-border-right: 1px solid #C1C1C1;
-background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
-border-top-left-radius: 3px;
-border-top-right-radius: 3px;
-border-bottom-left-radius: 0px;
-border-bottom-right-radius: 0px;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffb916 , stop:1 #ffe098);
-}
-
-QSint--ActionGroup QToolButton[class="header"] {
-color: black; /* Task Panel Header text color */
-text-align: left;
-font-weight: bold;
-border: none;
-margin: 0px;
-padding: 0px;
-}
-
-QSint--ActionGroup QFrame[class="header"] QLabel {
-background-color: transparent;
-background-image: url(qss:images_dark-light/down_arrow_dark.svg);
-background-repeat: none;
-background-position: center center;
-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);
-background-repeat: none;
-background-position: center center;
-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;
-padding: 0px;
-border-bottom: 1px solid #C1C1C1;
-border-left: 1px solid #C1C1C1;
-border-right: 1px solid #C1C1C1;
-border-top-left-radius: 0px;
-border-top-right-radius: 0px;
-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: #ffb916; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #ffb916; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #ffb916; /* same as Task Panel background color */
-}
-
-QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #ffb916; /* 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 */
-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;
- text-align: center;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
- border: 0px solid #C1C1C1;
- padding: 1px 1px; /* different than regular QPushButton */
- margin: 0px; /* different than regular QPushButton */
- 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 #ffb916 , stop:1 #ffe098);
-
-}
-QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #ffe098
-;
-}
-
-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 #ffb916 , stop:1 #ffe098);
-
-}
-
-/* QSlider ----------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
-
---------------------------------------------------------------------------- */
-QSlider:disabled {
- background: #F6F6F6;
-}
-
-QSlider:focus {
- /*border: 1px solid #ffe098;*/
-}
-
-QSlider::groove:horizontal {
- background: #F6F6F6;
- border: 1px solid #C1C1C1;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::groove:vertical {
- background: #F6F6F6;
- border: 1px solid #C1C1C1;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical {
- background: #ffb916;
- border: 1px solid #C1C1C1;
- width: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::add-page:vertical :disabled {
- background: #f6f6f6;
-}
-
-QSlider::sub-page:horizontal {
- background: #ffb916;
- border: 1px solid #C1C1C1;
- height: 4px;
- margin: 0px;
- border-radius: 1.9px;
-}
-
-QSlider::sub-page:horizontal:disabled {
- background: #ffb916;
-}
-
-QSlider::handle:horizontal {
- background: #C1C1C1;
- border: 1px solid #C1C1C1;
- width: 10px;
- height: 8px;
- margin: -4px 0px;
- border-radius: 6px;
-}
-
-QSlider::handle:horizontal:hover {
- background: #ffb916;
- border: 1px solid #C1C1C1;
-}
-
-QSlider::handle:horizontal:focus {
- border: 1px solid #C1C1C1;
- background: #ffe098;
-}
-
-QSlider::handle:vertical {
- background: #C1C1C1;
- border: 1px solid #C1C1C1;
- width: 10px;
- height: 8px;
- margin: 0px -4px;
- border-radius: 6px;
-}
-
-QSlider::handle:vertical:hover {
- background: #ffb916;
- border: 1px solid #C1C1C1;
-}
-
-QSlider::handle:vertical:focus {
- border: 1px solid #ffe098;
-}
-
-/* QLineEdit --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
-
---------------------------------------------------------------------------- */
-QLineEdit {
- background-color: #ffffff;
- padding-top: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-bottom: 2px;
- /* This QLineEdit fix 103, 111 */
- padding-left: 4px;
- padding-right: 4px;
- border-style: solid;
- border: 1px solid #C1C1C1;
- border-radius: 2px;
- color: black;
-}
-
-QLineEdit:disabled {
- background-color: #F6F6F6;
- color: #A3A3A3;
-}
-
-QLineEdit:hover {
- border: 1px solid #ffb916;
- color: black;
-}
-
-QLineEdit:focus {
- border: 2px solid #ffe098;
-}
-
-QLineEdit:selected {
- background-color: #ffb916;
- color: black;
-}
-
-/* QTabWiget --------------------------------------------------------------
-
-https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
---------------------------------------------------------------------------- */
-QTabWidget {
- padding: 2px;
- selection-background-color: #ffb916;
-}
-
-QTabWidget QWidget {
- /* Fixes #189 */
- border-radius: 0px;
-}
-
-QTabWidget::pane {
- margin: 0px;
- /* Fixes double border inside pane with pyqt5 */
- padding: 0px;
-}
-
-QTabWidget::pane:selected {
- background-color: #ffb916;
- border: 1px solid #C1C1C1;
-}
-
-QTabWidget::pane:top {
- top: -1px;
- border-top: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:bottom {
- bottom: -1px;
- border-bottom: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:left {
- right: -1px;
- border-right: 1px solid #A3A3A3;
-}
-
-QTabWidget::pane:right {
- left: -1px;
- border-left: 1px solid #A3A3A3;
-}
-/* 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;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #ffb916; /* selection color */
- border-bottom: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #A3A3A3;
- border-right: 1px solid #A3A3A3;
- }
-
-QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #ffb916;*/
- border: 0px solid #ffb916;
- background-color: #ffb916;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- padding-right: 3px;
- color: black;
-}
-
-QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
- color: #A0A0A0;
- margin-left: 0px;
- padding-left: 4px;
- padding-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- min-width: 5px;
- 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 #ffb916; /* selection color */
- border-top: 1px solid transparent; /* same as tab content background color */
- border-left: 1px solid #A3A3A3;
- border-right: 1px solid #A3A3A3;
-
-}
-
-QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #ffb916;*/
- border: 0px solid #ffb916;
- background-color: #ffb916;
- /* Fixes spyder-ide/spyder#9766 and #243 */
- padding-left: 3px;
- 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;
- padding-bottom: 4px;
- border-radius: 4px;
- min-height: 5px;
-}
-
-QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
- background-color: #F6F6F6;
- border: 0px solid #ffe098;
-}
-
-QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #ffb916;
- background-color: #ffb916;
- /* Fixes different behavior #271 */
- margin-right: 0px;
- padding-right: -1px;
- color: black;
-}
-
-QTabBar::tab:right, QDockWidget QTabBar::tab:right {
- background-color: #F6F6F6;
- margin-top: 2px;
- padding-left: 2px;
- padding-right: 2px;
- padding-top: 4px;
- padding-bottom: 4px;
- min-height: 5px;
- border: 10px;
-}
-
-QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
- background-color: #F6F6F6;
- border: 0px solid #ffe098;
-}
-
-QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #ffb916;
- background-color: #ffb916;
- /* Fixes different behavior #271 */
- margin-left: 0px;
- 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 #ffb916;
- background-color: #ffb916;
-}
-
-QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #ffb916;
- background-color: #ffb916;
- 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;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- 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;
- spacing: 4px;
- border: none;
- background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #E2E2E2, stop:1 #EDEDED);
- text-align: center;
- font-weight: bold;
-}
-
-QDockWidget::close-button {
- icon-size: 10px;
- border: none;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/close_dark.svg);
-}
-
-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;
- background: transparent;
- background-image: transparent;
- border: 0;
- margin: 0;
- padding: 0;
- image: url(qss:images_dark-light/undock_dark.svg);
-}
-
-QDockWidget::float-button:hover {
- /*background-color: #ffb916;*/
- 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,
-QListView::indicator:checked:pressed,
-QTableView::indicator:checked:hover,
-QTableView::indicator:checked:focus,
-QTableView::indicator:checked:pressed,
-QColumnView::indicator:checked:hover,
-QColumnView::indicator:checked:focus,
-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,
-QListView::indicator:unchecked:pressed,
-QTableView::indicator:unchecked:hover,
-QTableView::indicator:unchecked:focus,
-QTableView::indicator:unchecked:pressed,
-QColumnView::indicator:unchecked:hover,
-QColumnView::indicator:unchecked:focus,
-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,
-QListView::indicator:indeterminate:pressed,
-QTableView::indicator:indeterminate:hover,
-QTableView::indicator:indeterminate:focus,
-QTableView::indicator:indeterminate:pressed,
-QColumnView::indicator:indeterminate:hover,
-QColumnView::indicator:indeterminate:focus,
-QColumnView::indicator:indeterminate:pressed {
- image: url(qss:images_dark-light/checkbox_indeterminate_dark.svg);
-}
-
-QTreeView,
-QListView,
-QTableView,
-QColumnView {
- background-color: #F6F6F6; /* background of a lot of stuff including spreadsheets.*/
- border: 0px solid #C1C1C1;
- color: black;
- gridline-color: #A3A3A3;
- border-radius: 0px;
-}
-
-QTableView,
-QListView {
- background-color: rgba(229, 229, 229, 0.7); /* background of a lot of stuff including spreadsheets.*/
-}
-
-
-QTreeView:disabled,
-QListView:disabled,
-QTableView:disabled,
-QColumnView:disabled {
- background-color: #ffffff;
- color: #A3A3A3;
-}
-
-QTreeView:selected,
-QListView:selected,
-QTableView:selected,
-QColumnView:selected {
- background-color: #ffb916;
- color: black;
-}
-
-QTreeView:focus,
-QListView:focus,
-QTableView:focus,
-QColumnView:focus {
- border: 1px solid #ffe098;
-}
-
-QTreeView::item:pressed,
-QListView::item:pressed,
-QTableView::item:pressed,
-QColumnView::item:pressed {
- background-color: #ffb916;
-}
-
-QTreeView::item:selected:active,
-QListView::item:selected:active,
-QTableView::item:selected:active,
-QColumnView::item:selected:active {
- background-color: #ffb916;
-}
-
-QTreeView::item:selected:!active,
-QListView::item:selected:!active,
-QTableView::item:selected:!active,
-QColumnView::item:selected:!active {
- color: black;
- background-color: #A3A3A3;
-}
-
-QTreeView::item:!selected:hover,
-QListView::item:!selected:hover,
-QTableView::item:!selected:hover,
-QColumnView::item:!selected:hover {
- outline: 0;
- color: black;
- background-color: #ffb916;
-}
-
-QTableCornerButton::section {
- background-color: #F6F6F6;
- border: 1px transparent #C1C1C1;
- border-radius: 0px;
-}
-
-QTableView::item {
- color: black;
-}
-QTableView {
- /*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;
- border: 1px solid #C1C1C1;
- 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: #A3A3A3;
-}
-
-QHeaderView::section::vertical {
- padding-top: 1px;
- padding-bottom: 0;
- padding-left: 1px;
- 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 */
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- padding-right: 2px;
- image: url(qss:images_dark-light/down_arrow_dark.svg);
-}
-
-QHeaderView::up-arrow {
- background-color: transparent;
- border: none;
- height: 12px;
- width: 12px;
- padding-left: 2px;
- 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;
- border: 1px solid #A3A3A3;
- border-radius: 4px;
- background-color: transparent;
-}
-
-QToolBox:selected {
- padding: 0px;
- border: 0px solid #ffb916;
-}
-
-QToolBox::tab {
- background-color: transparent;
- border: 0px solid #A3A3A3;
- color: black;
- background-image: url(qss:images_dark-light/down_arrow_darker.svg);
- 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: #ffb916;
- }
-
-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 {
- border-radius: 0px;
- border: 0px solid #C1C1C1;
- background-color: #A3A3A3;
- /* No frame */
- /* 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
-
----------------------------------------------------------------------------*/
-QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
-
-}
-
-QSplitter::handle {
- margin: 0px 0px;
- padding: 0px;
-}
-
-QSplitter::handle:horizontal {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- width: 1px;
-}
-
-QSplitter::handle:vertical {
- background-image: none;
- background-position: center center;
- background-repeat: none;
- margin: 2px 2px 2px 2px;
- height: 1px;
-}
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #ffb916, stop:0.8 transparent);
- background-position: center center;
- background-repeat: none;
- }
-
-QSplitter::handle:vertical:hover {
- background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-position: center center;
- background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #ffb916, stop:0.8 transparent);
-}
-
-/* QDateEdit, QDateTimeEdit -----------------------------------------------
-
---------------------------------------------------------------------------- */
-QDateEdit, QDateTimeEdit {
- selection-background-color: #ffb916;
- border-style: solid;
- border: 1px solid #C1C1C1;
- border-radius: 1.9px;
- /* This fixes 103, 111 */
- padding-top: 2px;
- /* This fixes 103, 111 */
- padding-bottom: 2px;
- padding-left: 4px;
- padding-right: 4px;
- min-width: 10px;
-}
-
-QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #ffb916;
-}
-
-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: #ffb916;
-}
-
-/* QAbstractView ----------------------------------------------------------
-
---------------------------------------------------------------------------- */
-QAbstractView:hover {
- border: 1px solid #ffb916;
- color: black;
-}
-
-QAbstractView:selected {
- background: #ffb916;
- color: black;
-}
-
-/* PlotWidget -------------------------------------------------------------
-
---------------------------------------------------------------------------- */
-PlotWidget {
- /* Fix cut labels in plots #134 */
- padding: 0px;
-}
-
-/*==================================================================================================
-SKETCHER
-==================================================================================================*/
-
-Gui--StatefulLabel[state="empty_sketch"] {
- color : rgba(255,255,255,127); /* 50% opacity white */
-}
-Gui--StatefulLabel[state="under_constrained"] {
- color : rgba(255,255,255,255); /* White */
-}
-Gui--StatefulLabel[state="conflicting_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="malformed_constraints"] {
- color : rgba(255,0,0,255); /* Red */
-}
-Gui--StatefulLabel[state="redundant_constraints"] {
- color : rgba(255,69,0,255); /* Orange red */
-}
-Gui--StatefulLabel[state="partially_redundant_constraints"] {
- color : rgba(65,105,225,255); /* Royal blue */
-}
-Gui--StatefulLabel[state="solver_failed"] {
- color : rgba(255,0,0,255); /* Red */
- font-weight: bold;
-}
-Gui--StatefulLabel[state="fully_constrained"] {
- color : rgba(0,255,0,255); /* Green */
- font-weight: bold;
-}
-Gui--UrlLabel {
- color : rgba(0,91,255,255); /* Deep sky blue */
- text-decoration : underline;
-}
diff --git a/src/Gui/Stylesheets/Light-pink.qss b/src/Gui/Stylesheets/Light.qss
similarity index 91%
rename from src/Gui/Stylesheets/Light-pink.qss
rename to src/Gui/Stylesheets/Light.qss
index 26e4aa793d..3c29b2a623 100644
--- a/src/Gui/Stylesheets/Light-pink.qss
+++ b/src/Gui/Stylesheets/Light.qss
@@ -17,8 +17,8 @@ INSTALLATION WHEN NECESSARY
============================================================================================================
TO MODIFY USE THESE COLORS:
- #f892ff
- #ffbff3
+ @ThemeAccentColor1
+ @ThemeAccentColor2
See Qt documentation:
@@ -87,7 +87,7 @@ Gui--PropertyEditor--PropertyEditor QComboBox {
/* fix for column items background when a link is present */
Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
- background-color: #f892ff; /* same as focused background color */
+ background-color: @ThemeAccentColor1; /* same as focused background color */
}
/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
@@ -125,24 +125,24 @@ QWidget {
border: 0px solid #C1C1C1;
padding: 0px;
color: black;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
selection-color: black;
}
QWidget:disabled {
color: #A3A3A3;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
selection-color: #A3A3A3;
}
QWidget::item:selected {
- background-color: #f892ff
+ background-color: @ThemeAccentColor1
;
}
/* Causes issue with colorselector.
QWidget::item:hover:!selected {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}*/
/* QMainWindow ------------------------------------------------------------
@@ -159,14 +159,14 @@ QMainWindow::separator {
}
QMainWindow::separator:vertical:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #f892ff , stop:0.8 transparent);
- /*background-color: #f892ff;*/
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
+ /*background-color: @ThemeAccentColor1;*/
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 #f892ff , stop:0.8 transparent);
- /*background-color: #f892ff;*/
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
}
@@ -174,14 +174,14 @@ QMainWindow::separator:horizontal {
width: 4px;
margin-top: 0.1px;
margin-bottom: 0.1px;
- /* image: url(qss:images_dark-light/splitter_horizontal_light.svg);*/
+ /* 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);*/
+ /* image: url(qss:images_dark-light/splitter_vertical_light.svg);*/
}
/* QToolTip ---------------------------------------------------------------
@@ -244,7 +244,7 @@ QCheckBox {
}
QCheckBox:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QCheckBox QWidget:disabled {
@@ -265,7 +265,7 @@ QCheckBox::indicator:unchecked {
}
QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
image:url(qss:images_dark-light/checkbox_unchecked_dark.svg);
}
@@ -281,7 +281,7 @@ QCheckBox::indicator:checked {
}
QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QCheckBox::indicator:checked:disabled {
@@ -301,7 +301,7 @@ QCheckBox::indicator:indeterminate:disabled {
}
QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
- background-color: #f892ff; /* QRadioButton has the same color */
+ background-color: @ThemeAccentColor1; /* QRadioButton has the same color */
}
/* QGroupBox --------------------------------------------------------------
@@ -343,7 +343,7 @@ QGroupBox::indicator:unchecked {
}
QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:unchecked:disabled {
@@ -357,11 +357,11 @@ QGroupBox::indicator:checked {
}
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QGroupBox::indicator:checked:disabled {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
/* QRadioButton -----------------------------------------------------------
@@ -380,7 +380,7 @@ QRadioButton {
}
QRadioButton:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QRadioButton:disabled {
@@ -411,8 +411,8 @@ QRadioButton::indicator:unchecked {
}
QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed {
- background-color: #f892ff;
- border: 1px solid #f892ff;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
}
@@ -426,8 +426,8 @@ QRadioButton::indicator:checked {
}
QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
- background-color: #f892ff;
- border: 1px solid #f892ff;
+ background-color: @ThemeAccentColor1;
+ border: 1px solid @ThemeAccentColor1;
border-radius: 6px;
image:url(qss:images_dark-light/radiobutton_dark.svg);
}
@@ -448,16 +448,16 @@ QMenuBar {
/*padding: 1px;
border: 0px solid rgba(0,0,0,140);*/
color: black;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
}
QMenuBar:focus {
- border: 1px solid #f892ff;
+ border: 1px solid @ThemeAccentColor1;
}
QMenuBar::item {
background: transparent;
- /*padding-left:5px;
+ /*padding-left:5px;
padding-right: 5px;
padding-bottom: 1px;
padding-top: 1px;*/
@@ -466,7 +466,7 @@ QMenuBar::item {
QMenuBar::item:selected {
background: transparent;
border: 0px solid #C1C1C1;
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QMenuBar::item:pressed {
@@ -474,9 +474,9 @@ QMenuBar::item:pressed {
padding-left: 10px;
padding-right: 10px;*/
border: 0px solid #C1C1C1;
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: black;
- /*margin-bottom: 0px;
+ /*margin-bottom: 0px;
padding-bottom: 0px;*/
}
@@ -491,7 +491,7 @@ QMenu {
color: black;
margin: 0px;
background-color: #ffffff;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
}
QMenu::separator {
@@ -510,11 +510,11 @@ QMenu::item {
QMenu::item:selected {
color: black;
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QMenu::item:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QMenu::icon {
@@ -534,9 +534,9 @@ QMenu::indicator {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
- background: #ffbff3;
+ background: @ThemeAccentColor2;
margin-left: -5px;
- border: 5px solid #ffbff3;
+ border: 5px solid @ThemeAccentColor2;
position: absolute;
border-radius: 0px;
}
@@ -546,7 +546,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: #f892ff;
+ background: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:unchecked:disabled {
@@ -559,11 +559,11 @@ 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: #f892ff;
+ background: @ThemeAccentColor1;
}
QMenu::indicator:non-exclusive:checked:disabled {
- image:url(qss:images_dark-light/checkbox_dark.svg);
+ image:url(qss:images_dark-light/checkbox_checked_disabled.svg);
}
QMenu::indicator:non-exclusive:indeterminate {
@@ -585,7 +585,7 @@ QMenu::indicator:exclusive:unchecked {
QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed {
border: none;
outline: none;
- background: #f892ff;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_dark.svg);
}
@@ -602,7 +602,7 @@ QMenu::indicator:exclusive:checked {
QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed {
border: none;
outline: none;
- background: #f892ff;
+ background: @ThemeAccentColor1;
image: url(qss:images_dark-light/checkbox_unchecked_dark.svg);
}
@@ -652,7 +652,7 @@ QAbstractScrollArea {
}
QAbstractScrollArea:disabled {
- color: #BABABA;
+ color: #A3A3A3;
}
/* QScrollArea ------------------------------------------------------------
@@ -692,14 +692,14 @@ QScrollBar::handle:horizontal {
}
QScrollBar::handle:horizontal:hover {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
border: #f6f6f6;
border-radius: 1.9px;
min-width: 8px;
}
QScrollBar::handle:horizontal:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::handle:vertical {
@@ -710,14 +710,14 @@ QScrollBar::handle:vertical {
}
QScrollBar::handle:vertical:hover {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
border: #f6f6f6;
border-radius: 1.9px;
min-height: 8px;
}
QScrollBar::handle:vertical:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QScrollBar::add-line:horizontal {
@@ -817,7 +817,7 @@ QTextEdit {
}
QTextEdit:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QTextEdit:selected {
@@ -836,11 +836,11 @@ QPlainTextEdit {
}
QPlainTextEdit:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QPlainTextEdit:selected {
- background: #f892ff;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -922,13 +922,13 @@ background-position: center center;
QToolButton#qt_toolbar_ext_button:hover {
/*background-image: url(qss:images_dark-light/more_dark.svg);*/
-background-color: #f892ff;
+background-color: @ThemeAccentColor1;
}
QToolButton#qt_toolbar_ext_button:on {
/*background-image: url(qss:images_dark-light/more_dark.svg);*/
border-color: #f6f6f6;
-background-color: #f892ff;
+background-color: @ThemeAccentColor1;
}
@@ -941,7 +941,7 @@ QSpinBox {
border: 1px solid transparent;
color: black;
/* This fixes 103, 111 */
- /* padding-top: 0px;
+ /* padding-top: 0px;
/* This fixes 103, 111 */
/*padding-bottom: 0px;
/*padding-left: 4px;
@@ -965,7 +965,7 @@ QAbstractSpinBox:up-button {
QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off {
image: url(qss:images_dark-light/up_arrow_disabled_dark.svg);
- /* height: 8px;
+ /* height: 8px;
width: 8px;*/
}
@@ -996,16 +996,16 @@ QAbstractSpinBox::down-arrow:hover {
}
QAbstractSpinBox:hover {
- /*border: 1px solid #f892ff;
+ /*border: 1px solid @ThemeAccentColor1;
color: black;*/
}
QAbstractSpinBox:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QAbstractSpinBox:selected {
- background: #ffbff3;
+ background: @ThemeAccentColor2;
/*color: black;*/
}
@@ -1056,7 +1056,7 @@ QTextBrowser:disabled {
}
QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
- border: 1px solid #f892ff;
+ border: 1px solid @ThemeAccentColor1;
}
/* QGraphicsView ----------------------------------------------------------
@@ -1064,7 +1064,7 @@ QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pre
--------------------------------------------------------------------------- */
QGraphicsView {
background-color: transparent;
- border: 0px solid #f892ff;
+ border: 0px solid @ThemeAccentColor1;
color: black;
border-radius: 0px;
}
@@ -1128,7 +1128,7 @@ QProgressBar:disabled {
}
QProgressBar::chunk {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: #F6F6F6;
border-radius: 1.9px;
}
@@ -1163,31 +1163,31 @@ QPushButton:disabled {
}
QPushButton:checked {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
outline: none;
}
QPushButton:checked:disabled {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: #f6f6f6;
outline: none;
}
QPushButton:checked:selected {
- background: #f892ff;
+ background: @ThemeAccentColor1;
}
QPushButton:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f892ff , stop:1 #ffbff3);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
color: black;
}
QPushButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffbff3, stop:1 #f892ff );
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor2, stop:1 @ThemeAccentColor1);
}
QPushButton:selected {
- background: #ffbff3;
+ background: @ThemeAccentColor2;
color: black;
}
@@ -1227,7 +1227,7 @@ QToolButton:disabled {
}
QToolButton:checked {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
border-radius: 1.9px;
padding: 0px;
outline: none;
@@ -1242,30 +1242,30 @@ QToolButton:checked:disabled {
}
QToolButton:checked:hover {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: black;
}
QToolButton:checked:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QToolButton:checked:selected {
- background: #ffbff3;
+ background: @ThemeAccentColor2;
color: black;
}
QToolButton:hover {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: black;
}
QToolButton:pressed {
- background-color: #ffbff3;
+ background-color: @ThemeAccentColor2;
}
QToolButton:selected {
- background: #f892ff;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -1313,12 +1313,12 @@ QToolButton::menu-button {
}
QToolButton::menu-button:hover {
- /* background: rgba(0, 0, 0, 0.5);*/
+ /* background: rgba(0, 0, 0, 0.5);*/
}
QToolButton::menu-button:checked:hover {
- /* background: rgba(0, 0, 0, 0.5);*/
+ /* background: rgba(0, 0, 0, 0.5);*/
}
QToolButton::menu-indicator {
@@ -1375,7 +1375,7 @@ QComboBox {
border: 1px solid transparent;
background: #ffffff;
border-radius: 2px;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
padding-left: 2px;
padding-right: 2px;
/* padding-right = 36; 4 + 16*2 See scrollbar size */
@@ -1394,7 +1394,7 @@ QComboBox QAbstractItemView {
border: 0px solid #C1C1C1;
border-radius: 0px;
background-color: #ffffff;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
}
QComboBox QAbstractItemView:hover {
@@ -1403,7 +1403,7 @@ QComboBox QAbstractItemView:hover {
}
QComboBox QAbstractItemView:selected {
- background: #f892ff;
+ background: @ThemeAccentColor1;
color: black;
}
@@ -1417,16 +1417,16 @@ QComboBox:disabled {
}
QComboBox:hover {
- /*background-color: #f892ff;*/
- border: 1px solid #f892ff;
+ /*background-color: @ThemeAccentColor1;*/
+ border: 1px solid @ThemeAccentColor1;
}
QComboBox:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QComboBox:on {
- selection-background-color: #ffbff3;
+ selection-background-color: @ThemeAccentColor2;
}
QComboBox::indicator {
@@ -1435,7 +1435,7 @@ QComboBox::indicator {
background-color: transparent;
selection-background-color: transparent;
color: transparent;
- selection-color: #f892ff;
+ selection-color: @ThemeAccentColor1;
/* Needed to remove indicator - fix #132 */
}
@@ -1467,7 +1467,7 @@ QComboBox::drop-down {
border-left: 1px solid transparent;
}
QComboBox::drop-down:hover {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f892ff , stop:1 #ffbff3);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
QComboBox::down-arrow {
@@ -1527,7 +1527,7 @@ padding: 0px;
}
QSint--ActionGroup QFrame[class="header"]:hover {
-background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f892ff , stop:1 #ffbff3);
+background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
QSint--ActionGroup QToolButton[class="header"] {
@@ -1586,19 +1586,19 @@ 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: #f892ff; /* same as Task Panel background color */
+border-bottom-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
-border-top-color: #f892ff; /* same as Task Panel background color */
+border-top-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
-border-right-color: #f892ff; /* same as Task Panel background color */
+border-right-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
-border-left-color: #f892ff; /* same as Task Panel background color */
+border-left-color: @ThemeAccentColor1; /* same as Task Panel background color */
}
/* Fix for buttons with icons that showed cropped (still not happy with result) */
@@ -1629,11 +1629,11 @@ QSint--ActionGroup QFrame[class="content"] QToolButton {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f892ff , stop:1 #ffbff3);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
- border: 1px solid #ffbff3
+ border: 1px solid @ThemeAccentColor2
;
}
@@ -1644,7 +1644,7 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
}
QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f892ff , stop:1 #ffbff3);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor2);
}
@@ -1658,7 +1658,7 @@ QSlider:disabled {
}
QSlider:focus {
- /*border: 1px solid #ffbff3;*/
+ /*border: 1px solid @ThemeAccentColor2;*/
}
QSlider::groove:horizontal {
@@ -1670,7 +1670,7 @@ QSlider::groove:horizontal {
}
QSlider::groove:vertical {
- background: #f892ff;
+ background: #F6F6F6;
border: 1px solid #C1C1C1;
width: 4px;
margin: 0px;
@@ -1678,7 +1678,7 @@ QSlider::groove:vertical {
}
QSlider::add-page:vertical {
- background: #f892ff;
+ background: @ThemeAccentColor1;
border: 1px solid #C1C1C1;
width: 4px;
margin: 0px;
@@ -1690,7 +1690,7 @@ QSlider::add-page:vertical :disabled {
}
QSlider::sub-page:horizontal {
- background: #f892ff;
+ background: @ThemeAccentColor1;
border: 1px solid #C1C1C1;
height: 4px;
margin: 0px;
@@ -1698,7 +1698,7 @@ QSlider::sub-page:horizontal {
}
QSlider::sub-page:horizontal:disabled {
- background: #f892ff;
+ background: @ThemeAccentColor1;
}
QSlider::handle:horizontal {
@@ -1711,13 +1711,13 @@ QSlider::handle:horizontal {
}
QSlider::handle:horizontal:hover {
- background: #f892ff;
+ background: @ThemeAccentColor1;
border: 1px solid #C1C1C1;
}
QSlider::handle:horizontal:focus {
border: 1px solid #C1C1C1;
- background: #ffbff3;
+ background: @ThemeAccentColor1;
}
QSlider::handle:vertical {
@@ -1730,12 +1730,12 @@ QSlider::handle:vertical {
}
QSlider::handle:vertical:hover {
- background: #f892ff;
+ background: @ThemeAccentColor1;
border: 1px solid #C1C1C1;
}
QSlider::handle:vertical:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
/* QLineEdit --------------------------------------------------------------
@@ -1763,16 +1763,16 @@ QLineEdit:disabled {
}
QLineEdit:hover {
- border: 1px solid #f892ff;
+ border: 1px solid @ThemeAccentColor1;
color: black;
}
QLineEdit:focus {
- border: 2px solid #ffbff3;
+ border: 2px solid @ThemeAccentColor2;
}
QLineEdit:selected {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: black;
}
@@ -1783,7 +1783,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabb
--------------------------------------------------------------------------- */
QTabWidget {
padding: 2px;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
}
QTabWidget QWidget {
@@ -1798,10 +1798,15 @@ QTabWidget::pane {
}
QTabWidget::pane:selected {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
border: 1px solid #C1C1C1;
}
+QTabWidget::pane:selected {
+ background-color: #557bb6;
+ border: 1px solid #346792;
+}
+
QTabWidget::pane:top {
top: -1px;
border-top: 1px solid #A3A3A3;
@@ -1917,16 +1922,16 @@ QTabBar::tab:top, QDockWidget QTabBar::tab:top {
QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
color: black;
- border-top: 4px solid #f892ff; /* selection color */
+ border-top: 4px solid @ThemeAccentColor1; /* selection color */
border-bottom: 1px solid transparent; /* same as tab content background color */
border-left: 1px solid #A3A3A3;
border-right: 1px solid #A3A3A3;
}
QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
- /*border: 1px solid #f892ff;*/
- border: 0px solid #f892ff;
- background-color: #f892ff;
+ /*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1947,7 +1952,7 @@ QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
color: black;
- border-bottom: 4px solid #f892ff; /* selection color */
+ border-bottom: 4px solid @ThemeAccentColor1; /* selection color */
border-top: 1px solid transparent; /* same as tab content background color */
border-left: 1px solid #A3A3A3;
border-right: 1px solid #A3A3A3;
@@ -1955,9 +1960,9 @@ QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
}
QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
-/*border: 1px solid #f892ff;*/
- border: 0px solid #f892ff;
- background-color: #f892ff;
+/*border: 1px solid @ThemeAccentColor1;*/
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes spyder-ide/spyder#9766 and #243 */
padding-left: 3px;
padding-right: 3px;
@@ -1978,12 +1983,12 @@ QTabBar::tab:left, QDockWidget QTabBar::tab:left {
QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
background-color: #F6F6F6;
- border: 0px solid #ffbff3;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
- border: 0px solid #f892ff;
- background-color: #f892ff;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-right: 0px;
padding-right: -1px;
@@ -2003,12 +2008,12 @@ QTabBar::tab:right, QDockWidget QTabBar::tab:right {
QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
background-color: #F6F6F6;
- border: 0px solid #ffbff3;
+ border: 0px solid @ThemeAccentColor2;
}
QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
- border: 0px solid #f892ff;
- background-color: #f892ff;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
/* Fixes different behavior #271 */
margin-left: 0px;
padding-left: 0px;
@@ -2023,13 +2028,13 @@ QTabBar QToolButton, QDockWidget QTabBar QToolButton {
}
QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
- border: 0px solid #f892ff;
- background-color: #f892ff;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
}
QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
- border: 0px solid #f892ff;
- background-color: #f892ff;
+ border: 0px solid @ThemeAccentColor1;
+ background-color: @ThemeAccentColor1;
color: black;
}
@@ -2101,7 +2106,7 @@ QDockWidget::float-button {
}
QDockWidget::float-button:hover {
- /*background-color: #f892ff;*/
+ /*background-color: @ThemeAccentColor1;*/
image: url(qss:images_dark-light/undock_blue.svg);
}
@@ -2237,7 +2242,7 @@ QTreeView:selected,
QListView:selected,
QTableView:selected,
QColumnView:selected {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
color: black;
}
@@ -2245,21 +2250,21 @@ QTreeView:focus,
QListView:focus,
QTableView:focus,
QColumnView:focus {
- border: 1px solid #ffbff3;
+ border: 1px solid @ThemeAccentColor2;
}
QTreeView::item:pressed,
QListView::item:pressed,
QTableView::item:pressed,
QColumnView::item:pressed {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:active,
QListView::item:selected:active,
QTableView::item:selected:active,
QColumnView::item:selected:active {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QTreeView::item:selected:!active,
@@ -2276,7 +2281,7 @@ QTableView::item:!selected:hover,
QColumnView::item:!selected:hover {
outline: 0;
color: black;
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QTableCornerButton::section {
@@ -2384,7 +2389,7 @@ QToolBox {
QToolBox:selected {
padding: 0px;
- border: 0px solid #f892ff;
+ border: 0px solid @ThemeAccentColor1;
}
QToolBox::tab {
@@ -2422,7 +2427,7 @@ QToolBox::tab:!selected:disabled {
}
QToolBox::tab:hover {
- background-color: #f892ff;
+ background-color: @ThemeAccentColor1;
}
QToolBox QScrollArea QWidget QWidget {
@@ -2497,7 +2502,7 @@ QSplitter::handle:vertical {
}
QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
- background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 #f892ff, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
background-position: center center;
background-repeat: none;
}
@@ -2506,14 +2511,14 @@ QSplitter::handle:vertical:hover {
background-image: url(qss:images_dark-light/splitter_horizontal_dark.svg);
background-position: center center;
background-repeat: none;
- background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 #f892ff, stop:0.8 transparent);
+ background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0.2 transparent,stop:0.5 @ThemeAccentColor1, stop:0.8 transparent);
}
/* QDateEdit, QDateTimeEdit -----------------------------------------------
--------------------------------------------------------------------------- */
QDateEdit, QDateTimeEdit {
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
border-style: solid;
border: 1px solid #C1C1C1;
border-radius: 1.9px;
@@ -2527,7 +2532,7 @@ QDateEdit, QDateTimeEdit {
}
QDateEdit:on, QDateTimeEdit:on {
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
}
QDateEdit::drop-down, QDateTimeEdit::drop-down {
@@ -2551,19 +2556,19 @@ QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
background-color: #F6F6F6;
border-radius: 2px;
border: 1px solid #C1C1C1;
- selection-background-color: #f892ff;
+ selection-background-color: @ThemeAccentColor1;
}
/* QAbstractView ----------------------------------------------------------
--------------------------------------------------------------------------- */
QAbstractView:hover {
- border: 1px solid #f892ff;
+ border: 1px solid @ThemeAccentColor1;
color: black;
}
QAbstractView:selected {
- background: #f892ff;
+ background: @ThemeAccentColor1;
color: black;
}