Stylesheet-fixes V: The final frontier (#15742)
@@ -7,7 +7,7 @@
|
||||
<FCParamGroup Name="Themes">
|
||||
<FCUInt Name="ThemeAccentColor1" Value="1252392959"/>
|
||||
<FCUInt Name="ThemeAccentColor2" Value="3027763199"/>
|
||||
<FCUInt Name="ThemeAccentColor3" Value="4290017279"/>
|
||||
<FCUInt Name="ThemeAccentColor3" Value="404564735"/>
|
||||
</FCParamGroup>
|
||||
<FCParamGroup Name="View">
|
||||
<FCUInt Name="SketchEdgeColor" Value="4059297279"/>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<FCParamGroup Name="Themes">
|
||||
<FCUInt Name="ThemeAccentColor1" Value="1252392959"/>
|
||||
<FCUInt Name="ThemeAccentColor2" Value="3027763199"/>
|
||||
<FCUInt Name="ThemeAccentColor3" Value="4290017279"/>
|
||||
<FCUInt Name="ThemeAccentColor3" Value="3353277951"/>
|
||||
</FCParamGroup>
|
||||
<FCParamGroup Name="Mod">
|
||||
<FCParamGroup Name="Start">
|
||||
@@ -147,8 +147,8 @@
|
||||
<FCUInt Name="BacklightColor" Value="4059297279"/>
|
||||
<FCUInt Name="BoundingBoxColor" Value="1230002175"/>
|
||||
<FCUInt Name="DefaultShapeColor" Value="2914369023"/>
|
||||
<FCUInt Name="HighlightColor" Value="1553296639"/>
|
||||
<FCUInt Name="SelectionColor" Value="1401005823"/>
|
||||
<FCUInt Name="HighlightColor" Value="1148145919"/>
|
||||
<FCUInt Name="SelectionColor" Value="1114146303"/>
|
||||
<FCUInt Name="CbLabelColor" Value="556083711"/>
|
||||
<FCUInt Name="DefaultShapeLineColor" Value="421075455"/>
|
||||
<FCUInt Name="DefaultShapeVertexColor" Value="421075455"/>
|
||||
|
||||
@@ -60,17 +60,18 @@ Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:read-only,
|
||||
Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
|
||||
color: transparent;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-color: #444444;
|
||||
selection-color: transparent;
|
||||
selection-background-color: transparent;
|
||||
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
|
||||
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
|
||||
color: transparent;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
border-radius: 2px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
@@ -82,9 +83,8 @@ Gui--PropertyEditor--PropertyEditor QLineEdit,
|
||||
Gui--PropertyEditor--PropertyEditor QComboBox {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
|
||||
padding: 0 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* fix for column items background when a link is present */
|
||||
@@ -96,6 +96,7 @@ Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
|
||||
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
|
||||
color: #ffffff;
|
||||
background-color: #ACC8E5; /* same as focused background color */
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/*==================================================================================================
|
||||
@@ -131,11 +132,11 @@ This causes much load time.
|
||||
/* selection-color: white; */
|
||||
/* } */
|
||||
|
||||
QWidget:disabled {
|
||||
/* QWidget:disabled {
|
||||
color: #adadad;
|
||||
selection-background-color: @ThemeAccentColor1;
|
||||
selection-color: #cccccc;
|
||||
}
|
||||
} */
|
||||
|
||||
QWidget::item:selected {
|
||||
background-color: @ThemeAccentColor1;
|
||||
@@ -191,7 +192,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
QToolTip {
|
||||
background-color: #ffffff;
|
||||
background-color: #FFFFE1;
|
||||
color: black;
|
||||
/* If you remove the border property, background stops working on Windows */
|
||||
border: none;
|
||||
@@ -216,7 +217,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar
|
||||
QStatusBar {
|
||||
border: 0px solid #3c3c3c;
|
||||
/* Fixes Spyder #9120, #9121 */
|
||||
background: #333333;
|
||||
background-color: #333333;
|
||||
/* Fixes #205, white vertical borders separating items */
|
||||
}
|
||||
|
||||
@@ -236,7 +237,7 @@ QStatusBar QToolTip {
|
||||
|
||||
QStatusBar QLabel {
|
||||
/* Fixes Spyder #9120, #9121 */
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* QCheckBox --------------------------------------------------------------
|
||||
@@ -246,11 +247,11 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox
|
||||
--------------------------------------------------------------------------- */
|
||||
QCheckBox {
|
||||
color: white;
|
||||
padding: 0px;
|
||||
padding: 1px;
|
||||
outline: none;
|
||||
border: 1px solid transparent;
|
||||
background-color: transparent;
|
||||
spacing:8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
QCheckBox:focus {
|
||||
@@ -336,41 +337,49 @@ QGroupBox::title {
|
||||
}
|
||||
|
||||
QGroupBox::indicator {
|
||||
color: white;
|
||||
background-color: #3c3c3c;
|
||||
border: 1px solid #020202;
|
||||
background-color: #000000;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius:1px;
|
||||
margin: 1px;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
QGroupBox::indicator:unchecked {
|
||||
background-color: #020202;
|
||||
border: 1px solid #020202;
|
||||
image: url(qss:images_classic/checkbox-indeterminate-white.png);
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
|
||||
QGroupBox::indicator:unchecked:hover {
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
QGroupBox::indicator:unchecked:focus {
|
||||
border: 1px solid @ThemeAccentColor2;
|
||||
}
|
||||
|
||||
QGroupBox::indicator:unchecked:disabled {
|
||||
background-color: #444444;
|
||||
border: 1px solid #020202;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
QGroupBox::indicator:checked {
|
||||
border: none;
|
||||
image:url(qss:images_classic/checkbox-checked-white.png);
|
||||
background-color: #000000;
|
||||
border: 1px solid #ffffff;
|
||||
image:url(qss:images_classic/check-mark-white.png);
|
||||
}
|
||||
|
||||
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
|
||||
QGroupBox::indicator:checked:hover {
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
QGroupBox::indicator:checked:focus {
|
||||
border: 1px solid @ThemeAccentColor2;
|
||||
}
|
||||
|
||||
QGroupBox::indicator:checked:disabled {
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
background-color: #d8d8d8;
|
||||
image:url(qss:images_classic/check-mark-lightgray.png);
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
/* QRadioButton -----------------------------------------------------------
|
||||
|
||||
@@ -381,9 +390,9 @@ QRadioButton {
|
||||
background-color: transparent;
|
||||
color: white;
|
||||
border: none;
|
||||
spacing: 4px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
spacing: 8px;
|
||||
/* padding-top: 4px;
|
||||
padding-bottom: 4px; */
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -459,11 +468,11 @@ QMenuBar:focus {
|
||||
}
|
||||
|
||||
QMenuBar::item {
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
border: 0px solid #020202;
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
@@ -530,7 +539,7 @@ QMenu::indicator {
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: @ThemeAccentColor2;
|
||||
background-color: @ThemeAccentColor2;
|
||||
margin-left: -5px;
|
||||
border: 5px solid @ThemeAccentColor2;
|
||||
position: absolute;
|
||||
@@ -542,7 +551,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: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
|
||||
QMenu::indicator:non-exclusive:unchecked:disabled {
|
||||
@@ -555,7 +564,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: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
|
||||
QMenu::indicator:non-exclusive:checked:disabled {
|
||||
@@ -581,7 +590,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: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
image: url(qss:images_classic/checkbox-Empty-white.png);
|
||||
}
|
||||
|
||||
@@ -598,7 +607,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: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
image: url(qss:images_classic/checkbox-Empty-white.png);
|
||||
}
|
||||
|
||||
@@ -622,10 +631,10 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
QAbstractItemView {
|
||||
alternate-background-color: #5b5b5b;
|
||||
alternate-background-color: #333333;
|
||||
color: white;
|
||||
border: 1px solid #020202;
|
||||
border-radius: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QAbstractItemView QLineEdit {
|
||||
@@ -640,7 +649,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
|
||||
QAbstractScrollArea {
|
||||
background-color: transparent;
|
||||
border: 0px solid #020202;
|
||||
border-radius: 0px;
|
||||
border-radius: 3px;
|
||||
/* fix #159 */
|
||||
padding: 0px;
|
||||
/* remove min-height to fix #244 */
|
||||
@@ -649,6 +658,7 @@ QAbstractScrollArea {
|
||||
|
||||
QAbstractScrollArea:disabled {
|
||||
color: #adadad;
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
/* QScrollArea ------------------------------------------------------------
|
||||
@@ -656,7 +666,8 @@ QAbstractScrollArea:disabled {
|
||||
---------------------------------------------------------------------------
|
||||
text input field disabled!!!!*/
|
||||
QScrollArea QWidget:disabled {
|
||||
background-color: transparent
|
||||
/* background-color: #444444; */
|
||||
color: #adadad;
|
||||
}
|
||||
|
||||
/* QScrollBar -------------------------------------------------------------
|
||||
@@ -787,19 +798,19 @@ QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
|
||||
}
|
||||
|
||||
QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
|
||||
background: none;
|
||||
background-color: none;
|
||||
}
|
||||
|
||||
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
|
||||
background: none;
|
||||
background-color: none;
|
||||
}
|
||||
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||||
background: none;
|
||||
background-color: none;
|
||||
}
|
||||
|
||||
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
background: none;
|
||||
background-color: none;
|
||||
}
|
||||
|
||||
/* QTextEdit --------------------------------------------------------------
|
||||
@@ -821,7 +832,7 @@ QTextEdit:focus {
|
||||
}
|
||||
|
||||
QTextEdit:selected {
|
||||
background: #346792;
|
||||
background-color: #346792;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@@ -831,7 +842,7 @@ Python
|
||||
QPlainTextEdit {
|
||||
background-color: #3c3c3c;
|
||||
color: white;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
border: 0px solid #020202;
|
||||
}
|
||||
|
||||
@@ -840,7 +851,7 @@ QPlainTextEdit:focus {
|
||||
}
|
||||
|
||||
QPlainTextEdit:selected {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@@ -850,7 +861,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
QSizeGrip {
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
image:url(qss:images_classic/sizegrip-lightgray.png);
|
||||
@@ -878,14 +889,14 @@ QToolBar {
|
||||
QToolBar:horizontal {
|
||||
border-bottom: 1px solid #020202;
|
||||
padding-top: 3px;
|
||||
padding-left: 5px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
QToolBar:vertical {
|
||||
border-left: 1px solid #020202;
|
||||
border-right: 1px solid #020202;
|
||||
padding-top: 3px;
|
||||
padding-left: 2px;
|
||||
padding-top: 4px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
QToolBar:disabled {
|
||||
@@ -913,13 +924,13 @@ QToolBar::handle:vertical:hover {
|
||||
|
||||
QToolBar::separator:horizontal {
|
||||
width: 2px;
|
||||
padding: 0px 5px;
|
||||
padding: 0px 3px;
|
||||
image: url(qss:images_classic/Hsepartoolbar-Darkgray.png);
|
||||
}
|
||||
|
||||
QToolBar::separator:vertical {
|
||||
height: 2px;
|
||||
padding: 5px 0px;
|
||||
padding: 3px 0px;
|
||||
image: url(qss:images_classic/Vsepartoolbar-Darkgray.png);
|
||||
}
|
||||
|
||||
@@ -932,11 +943,11 @@ padding: 0px;
|
||||
}
|
||||
|
||||
QToolButton#qt_toolbar_ext_button:hover {
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b4b4b4, stop:1 #c0c0c0);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolButton#qt_toolbar_ext_button:on {
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b4b4b4, stop:1 #c0c0c0);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
@@ -949,7 +960,7 @@ QSpinBox {
|
||||
border: 1px solid #020202;
|
||||
color: white;
|
||||
border-radius: 2px;
|
||||
min-height: 1.7em;
|
||||
min-height: 24px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
@@ -1012,7 +1023,7 @@ QAbstractSpinBox:focus {
|
||||
}
|
||||
|
||||
QAbstractSpinBox:selected {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
@@ -1024,21 +1035,22 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
QLabel {
|
||||
background-color: transparent;
|
||||
border: 0px solid #020202;
|
||||
padding: 2px;
|
||||
margin: 0px;
|
||||
color: #ffffff;
|
||||
/* background-color: transparent; */
|
||||
/* border: 0px solid #020202; */
|
||||
/* padding: 2px; */
|
||||
/* margin: 0px; */
|
||||
/* color: #ffffff; */
|
||||
/* border-radius: 3px; */
|
||||
}
|
||||
|
||||
QLabel:disabled {
|
||||
background-color: transparent;
|
||||
border: 0px solid #020202;
|
||||
/* background-color: transparent; */
|
||||
/* border: 0px solid #020202; */
|
||||
color: #adadad;
|
||||
}
|
||||
|
||||
QLabel[haslink="true"] {
|
||||
color: #0080ff;
|
||||
color: #71b6fb;
|
||||
}
|
||||
|
||||
|
||||
@@ -1051,14 +1063,14 @@ QTextBrowser {
|
||||
background-color: #252525;
|
||||
border: 1px solid #020202;
|
||||
color: white;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QTextBrowser:disabled {
|
||||
background-color: #444444;
|
||||
border: 1px solid #020202;
|
||||
color: #adadad;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
|
||||
@@ -1091,7 +1103,7 @@ QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView
|
||||
--------------------------------------------------------------------------- */
|
||||
QCalendarWidget {
|
||||
border: 1px solid #020202;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QCalendarWidget:disabled {
|
||||
@@ -1121,7 +1133,7 @@ QProgressBar {
|
||||
background-color: #cccccc;
|
||||
border: 1px solid #020202;
|
||||
color: white;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -1129,20 +1141,20 @@ QProgressBar:disabled {
|
||||
background-color: #444444;
|
||||
border: 1px solid #020202;
|
||||
color: #696969;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
QProgressBar::chunk {
|
||||
background-color: @ThemeAccentColor1;
|
||||
color: #444444;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QProgressBar::chunk:disabled {
|
||||
background-color: #444444;
|
||||
color: #020202;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
@@ -1238,25 +1250,24 @@ QToolButton {
|
||||
}
|
||||
|
||||
QToolButton:disabled {
|
||||
/* background-color: rgba(0, 0, 0, 0.065); */
|
||||
color: #adadad;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolButton:checked {
|
||||
background-color: @ThemeAccentColor2;
|
||||
border-radius: 2px;
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:0.7 #252525, stop:1 #252525);
|
||||
border-radius: 3px;
|
||||
border-left: 1px solid #020202;
|
||||
border-top: 1px solid #020202;
|
||||
border-right: 1px solid #444444;
|
||||
border-bottom: 1px solid #444444;
|
||||
}
|
||||
|
||||
QToolButton:checked:disabled {
|
||||
background-color: @ThemeAccentColor1;
|
||||
color: #adadad;
|
||||
border-radius: 2px;
|
||||
padding: 0px;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolButton:checked:hover {
|
||||
background-color: @ThemeAccentColor1;
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:0.7 #444444, stop:1 #444444);
|
||||
border: 1px solid #020202;
|
||||
}
|
||||
|
||||
@@ -1265,9 +1276,9 @@ QToolButton:checked:pressed {
|
||||
}
|
||||
|
||||
QToolButton:checked:selected {
|
||||
background: @ThemeAccentColor2;
|
||||
color: white;
|
||||
}
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:0.7 #444444, stop:1 #444444);
|
||||
border: 1px solid @ThemeAccentColor1;
|
||||
}
|
||||
|
||||
QToolButton:hover {
|
||||
color: white;
|
||||
@@ -1282,49 +1293,16 @@ QToolButton:selected {
|
||||
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 #202020;
|
||||
QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 15px; /*Hack to add more width to buttons with menu */
|
||||
border-radius: 3px;
|
||||
} */
|
||||
QToolButton[popupMode="1"]::menu-button {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QToolButton[popupMode="1"]::menu-button:hover {
|
||||
border: none;
|
||||
border-left: 2px solid #202020;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolButton[popupMode="2"] {
|
||||
/* Only for InstantPopup */
|
||||
padding-right: 15px;
|
||||
}
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 15px; /* Hack to add more width to buttons with menu */
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
QToolButton::menu-button {
|
||||
border: 1px solid transparent;
|
||||
/* 16px width + 4px for border = 20px allocated above */
|
||||
width: 15px;
|
||||
border-radius: 3px;
|
||||
width: 1.6ex;
|
||||
}
|
||||
|
||||
QToolButton::menu-button:hover {
|
||||
@@ -1338,7 +1316,7 @@ QToolButton::menu-button:pressed {
|
||||
|
||||
QToolButton::menu-button:checked:hover {
|
||||
border: 1px solid #020202;
|
||||
background: @ThemeAccentColor2;
|
||||
background-color: @ThemeAccentColor2;
|
||||
}
|
||||
|
||||
QToolButton::menu-indicator {
|
||||
@@ -1349,19 +1327,19 @@ QToolButton::menu-indicator {
|
||||
|
||||
QToolButton::menu-arrow {
|
||||
image: url(qss:images_classic/Arrow-down-lightgray.png);
|
||||
width: 1.3ex;
|
||||
height: 1.3ex;
|
||||
/* background: transparent; */
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
/* background-color: transparent; */
|
||||
}
|
||||
QToolButton::menu-arrow:open {
|
||||
image: url(qss:images_classic/Arrow-Down-white.png);
|
||||
width: 1.3ex;
|
||||
height: 1.3ex;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
QToolButton::menu-arrow:hover {
|
||||
image: url(qss:images_classic/Arrow-Down-white.png);
|
||||
width: 1.3ex;
|
||||
height: 1.3ex;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
/* QCommandLinkButton -----------------------------------------------------
|
||||
@@ -1371,7 +1349,7 @@ QCommandLinkButton {
|
||||
background-color: transparent;
|
||||
border: 1px solid #020202;
|
||||
color: white;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
@@ -1399,7 +1377,7 @@ QComboBox {
|
||||
/* padding-right = 36; 4 + 16*2 See scrollbar size */
|
||||
/* changed to 4px to fix #239 */
|
||||
/* Fixes #103, #111 */
|
||||
min-height: 1.5em;
|
||||
min-height: 23px;
|
||||
/*margin: 0px -1px 0px 0px; hack for Mac... try it on Windows and Linux */
|
||||
/* padding-top: 2px; removed to fix #132 */
|
||||
/* padding-bottom: 2px; removed to fix #132 */
|
||||
@@ -1407,7 +1385,7 @@ QComboBox {
|
||||
/* Needed to remove indicator - fix #132 */
|
||||
}
|
||||
QComboBox:editable {
|
||||
background: #252525;
|
||||
background-color: #252525;
|
||||
}
|
||||
QComboBox QAbstractItemView {
|
||||
border: 1px solid #020202;
|
||||
@@ -1422,12 +1400,12 @@ QComboBox QAbstractItemView:hover {
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView:selected {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView:alternate {
|
||||
background: #252525;
|
||||
background-color: #252525;
|
||||
}
|
||||
|
||||
QComboBox:checked {
|
||||
@@ -1480,12 +1458,12 @@ QComboBox::item {
|
||||
|
||||
/* Needed to complete the rule set. */
|
||||
QComboBox::item:alternate {
|
||||
background: #3c3c3c;
|
||||
background-color: #3c3c3c;
|
||||
}
|
||||
/* Color of the selected list item. */
|
||||
QComboBox::item:selected {
|
||||
border: 1px solid #020202;
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
|
||||
QComboBox::drop-down {
|
||||
@@ -1558,7 +1536,7 @@ border-top: 1px solid #020202;
|
||||
border-left: 1px solid #020202;
|
||||
border-right: 1px solid #020202;
|
||||
/*background-color: #d4d4d4; /* Task Panel Header background color */
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0 #000000 stop:1 #171d2e);
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0 #000000 stop:1 @ThemeAccentColor3);
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-left-radius: 0px;
|
||||
@@ -1585,29 +1563,29 @@ padding: 0px;
|
||||
QSint--ActionGroup QFrame[class="header"] QLabel[fold="false"] {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
image: url(qss:images_classic/Qsint_header_Unfold_Blue-dark.png);
|
||||
image: url(qss:images_classic/Qsint_header_unfold_lightgray.png);
|
||||
}
|
||||
|
||||
QSint--ActionGroup QFrame[class="header"] QLabel:hover[fold="false"] {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
image: url(qss:images_classic/Qsint_header_UnfoldOver_Blue-dark.png);
|
||||
image: url(qss:images_classic/Qsint_header_unfold_white.png);
|
||||
}
|
||||
|
||||
QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"] {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
image: url(qss:images_classic/Qsint_header_Fold_Blue-dark.png);
|
||||
image: url(qss:images_classic/Qsint_header_fold_lightgray.png);
|
||||
}
|
||||
|
||||
QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"]:hover {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
image: url(qss:images_classic/Qsint_header_FoldOver_Blue-dark.png) ;
|
||||
image: url(qss:images_classic/Qsint_header_fold_white.png);
|
||||
}
|
||||
|
||||
QSint--ActionGroup QFrame[class="content"] {
|
||||
background-color: #171d2e; /* Task Panel background color */
|
||||
background-color: @ThemeAccentColor3; /* Task Panel background color */
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border-bottom: 1px solid #020202;
|
||||
@@ -1619,9 +1597,6 @@ border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QFrame[class="content"] > QWidget {
|
||||
background-color: #171d2e; /* Task Panel background color */
|
||||
}
|
||||
|
||||
/* Fixs for tabs inside Task Panel */
|
||||
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected {
|
||||
@@ -1689,7 +1664,7 @@ QSint--ActionGroup QToolButton#manualUpdate {
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #ffffff;
|
||||
background: #252525;
|
||||
background-color: #252525;
|
||||
border: 1px solid #000000;
|
||||
}
|
||||
|
||||
@@ -1717,7 +1692,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
QSlider:disabled {
|
||||
background: #444444;
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
QSlider:focus {
|
||||
@@ -1725,47 +1700,47 @@ QSlider:focus {
|
||||
}
|
||||
|
||||
QSlider::groove:horizontal {
|
||||
background: #444444;
|
||||
background-color: #444444;
|
||||
border: 1px solid #020202;
|
||||
height: 4px;
|
||||
margin: 0px;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::groove:vertical {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #020202;
|
||||
width: 4px;
|
||||
margin: 0px;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #020202;
|
||||
width: 4px;
|
||||
margin: 0px;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical :disabled {
|
||||
background: #444444;
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
QSlider::sub-page:horizontal {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #020202;
|
||||
height: 4px;
|
||||
margin: 0px;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::sub-page:horizontal:disabled {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal {
|
||||
background: #333333;
|
||||
background-color: #333333;
|
||||
border: 1px solid #020202;
|
||||
width: 10px;
|
||||
height: 8px;
|
||||
@@ -1774,17 +1749,17 @@ QSlider::handle:horizontal {
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:hover {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #020202;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:focus {
|
||||
background: @ThemeAccentColor2;
|
||||
background-color: @ThemeAccentColor2;
|
||||
border: 1px solid @ThemeAccentColor2;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical {
|
||||
background: #333333;
|
||||
background-color: #333333;
|
||||
border: 1px solid #020202;
|
||||
width: 10px;
|
||||
height: 8px;
|
||||
@@ -1793,7 +1768,7 @@ QSlider::handle:vertical {
|
||||
}
|
||||
|
||||
QSlider::handle:vertical:hover {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #020202;
|
||||
}
|
||||
|
||||
@@ -1972,7 +1947,7 @@ QTabBar::tab, QDockWidget QTabBar::tab {
|
||||
}
|
||||
|
||||
QTabBar::tab:top, QDockWidget QTabBar::tab:top {
|
||||
color: white;
|
||||
color: #adadad;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
min-width: 5px;
|
||||
@@ -2004,8 +1979,7 @@ QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
|
||||
}
|
||||
|
||||
QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
|
||||
color: white;
|
||||
padding-left: 9px;
|
||||
color: #adadad;
|
||||
min-width: 5px;
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:0.6 #252525, stop:1 #252525);
|
||||
margin-bottom: 3px;
|
||||
@@ -2035,8 +2009,7 @@ QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:h
|
||||
}
|
||||
|
||||
QTabBar::tab:left, QDockWidget QTabBar::tab:left {
|
||||
color: white;
|
||||
padding-bottom: 9px;
|
||||
color: #adadad;
|
||||
min-height: 5px;
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #333333, stop:0.6 #252525, stop:1 #252525);
|
||||
margin-right: 3px;
|
||||
@@ -2067,7 +2040,6 @@ QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover
|
||||
|
||||
QTabBar::tab:right, QDockWidget QTabBar::tab:right {
|
||||
color: white;
|
||||
padding-bottom: 9px;
|
||||
min-height: 5px;
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #333333, stop:0.6 #252525, stop:1 #252525);
|
||||
margin-right: 3px;
|
||||
@@ -2135,7 +2107,7 @@ QTabBar QToolButton::right-arrow:disabled, QDockWidget QTabBar QToolButton::righ
|
||||
QDockWidget {
|
||||
background-color: #333333;
|
||||
border: 1px solid #020202;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
titlebar-close-icon: url(qss:images_classic/transparent.png);
|
||||
titlebar-normal-icon: url(qss:images_classic/transparent.png);
|
||||
}
|
||||
@@ -2153,7 +2125,7 @@ QDockWidget::title {
|
||||
QDockWidget::close-button {
|
||||
icon-size: 10px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
@@ -2172,7 +2144,7 @@ QDockWidget::close-button:pressed {
|
||||
QDockWidget::float-button {
|
||||
icon-size: 12px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
@@ -2197,11 +2169,11 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
QTreeView::branch {
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
selection-background-color: transparent;
|
||||
}
|
||||
|
||||
QTreeView::branch:has-siblings:!adjoins-item {
|
||||
|
||||
}
|
||||
|
||||
QTreeView::branch:has-siblings:adjoins-item {
|
||||
@@ -2272,8 +2244,8 @@ QColumnView::indicator:checked:hover,
|
||||
QColumnView::indicator:checked:focus,
|
||||
QColumnView::indicator:checked:pressed {
|
||||
/* image: url(qss:images_classic/checkbox-checked-blue.png); */
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff;
|
||||
/* background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff; */
|
||||
}
|
||||
|
||||
/* QTreeView::indicator:unchecked,
|
||||
@@ -2294,8 +2266,8 @@ QColumnView::indicator:unchecked:hover,
|
||||
QColumnView::indicator:unchecked:focus,
|
||||
QColumnView::indicator:unchecked:pressed {
|
||||
/* image: url(qss:images_classic/checkbox-Empty-blue.png); */
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff;
|
||||
/* background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff; */
|
||||
}
|
||||
|
||||
QTreeView::indicator:indeterminate,
|
||||
@@ -2315,9 +2287,9 @@ QTableView::indicator:indeterminate:pressed,
|
||||
QColumnView::indicator:indeterminate:hover,
|
||||
QColumnView::indicator:indeterminate:focus,
|
||||
QColumnView::indicator:indeterminate:pressed {
|
||||
image: url(qss:images_classic/Indeterminate-mark-lightgray.png);
|
||||
/* image: url(qss:images_classic/Indeterminate-mark-lightgray.png);
|
||||
background-color: @ThemeAccentColor1;
|
||||
border: 1px solid #ffffff;
|
||||
border: 1px solid #ffffff; */
|
||||
}
|
||||
|
||||
QTreeView,
|
||||
@@ -2557,7 +2529,7 @@ https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color
|
||||
}
|
||||
|
||||
.QFrame[frameShape="0"] {
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #020202;
|
||||
}
|
||||
|
||||
@@ -2617,7 +2589,7 @@ QDateEdit, QDateTimeEdit {
|
||||
selection-background-color: @ThemeAccentColor1;
|
||||
border-style: solid;
|
||||
border: 1px solid #020202;
|
||||
border-radius: 1.9px;
|
||||
border-radius: 2px;
|
||||
/* This fixes 103, 111 */
|
||||
padding-top: 2px;
|
||||
/* This fixes 103, 111 */
|
||||
@@ -2664,7 +2636,7 @@ QAbstractView:hover {
|
||||
}
|
||||
|
||||
QAbstractView:selected {
|
||||
background: @ThemeAccentColor1;
|
||||
background-color: @ThemeAccentColor1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@@ -2744,7 +2716,6 @@ Gui--OverlayToolButton[objectName="OBTN Overlay"]:hover {
|
||||
image: url(qss:images_classic/overlay-white.png);
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Forming windows below are the border settings. See also https://forum.freecad.org/viewtopic.php?p=439797#p439797
|
||||
==================================================================================================*/
|
||||
@@ -2816,3 +2787,21 @@ QWidget#thumbnailWidget[state="pressed"] {
|
||||
#WbTabBar #WbTabBarMore {
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
/* Below is a fix for identation in properties, but this is a QT 6 bug only and so is disabled since Windows is as I write this still on QT 5. */
|
||||
/* QTreeView::item:selected:active#groupsTreeView {
|
||||
background-color: @ThemeAccentColor1;
|
||||
margin-left:-8px;
|
||||
}
|
||||
|
||||
QTreeView::item:selected#groupsTreeView{
|
||||
background-color: @ThemeAccentColor1;
|
||||
margin-left:-8px;
|
||||
}
|
||||
|
||||
QTreeView::item:!selected:hover#groupsTreeView {
|
||||
outline: 0;
|
||||
color: white;
|
||||
background-color: @ThemeAccentColor1;
|
||||
margin-left:-8px;
|
||||
} */
|
||||
BIN
src/Gui/Stylesheets/images_classic/Qsint_header_fold_black.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
BIN
src/Gui/Stylesheets/images_classic/Qsint_header_fold_white.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
src/Gui/Stylesheets/images_classic/Qsint_header_unfold_black.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/Gui/Stylesheets/images_classic/Qsint_header_unfold_white.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 371 KiB After Width: | Height: | Size: 390 KiB |