Stylesheets:
+ simplified toolbar button separators + added hover and pressed states for toolbar buttons to improve user experience + partial fix for button with icons inside Task panel + fixed styles for fields inside a table cell
This commit is contained in:
parent
ed61d65501
commit
20ee0ba82f
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
ABOUT
|
||||
============================================================================================================
|
||||
version 2.02
|
||||
version 2.03
|
||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||
It might work with other software that uses QT styling.
|
||||
|
||||
|
@ -168,7 +168,8 @@ QToolBar {
|
|||
}
|
||||
|
||||
QToolBar::handle:top,
|
||||
QToolBar::handle:bottom {
|
||||
QToolBar::handle:bottom,
|
||||
QToolBar::handle:horizontal {
|
||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 4px 2px;
|
||||
|
@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||
}
|
||||
|
||||
QToolBar::handle:left,
|
||||
QToolBar::handle:right {
|
||||
QToolBar::handle:right,
|
||||
QToolBar::handle:vertical {
|
||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 4px;
|
||||
|
@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||
}
|
||||
|
||||
QToolBar::separator:top,
|
||||
QToolBar::separator:bottom {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 6px 2px 6px 2px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-y;
|
||||
QToolBar::separator:bottom,
|
||||
QToolBar::separator:horizontal {
|
||||
width: 1px;
|
||||
margin: 6px 4px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QToolBar::separator:left,
|
||||
QToolBar::separator:right {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 6px 2px 6px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-x;
|
||||
QToolBar::separator:right,
|
||||
QToolBar::separator:vertical {
|
||||
height: 1px;
|
||||
margin: 4px 6px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
|
||||
|
@ -999,12 +999,6 @@ QSint--ActionGroup {
|
|||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||
}
|
||||
|
||||
|
||||
QSint--ActionGroup QPushButton {
|
||||
padding: 2px; /* bigger padding crops text and icons... */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Separator line */
|
||||
QSint--ActionGroup QFrame[height="1"],
|
||||
QSint--ActionGroup QFrame[height="2"],
|
||||
|
@ -1100,6 +1094,12 @@ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
|
|||
border-left-color: #8c8c8c; /* 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;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Buttons
|
||||
|
@ -1679,11 +1679,6 @@ QToolBar > QDateTimeEdit {
|
|||
min-width: 70px; /* necessary to show its content */
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolBar > QComboBox,
|
||||
QToolBar > QAbstractSpinBox,
|
||||
QToolBar > QSpinBox,
|
||||
|
@ -1738,6 +1733,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:hover {
|
||||
background-color: rgba(0,0,0,20);
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:pressed {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
||||
|
@ -1831,72 +1840,72 @@ QTableView::item:selected {
|
|||
}
|
||||
|
||||
/* fix for elements inside the cells */
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit,
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit,
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QTableView QComboBox:focus,
|
||||
QTableView QAbstractSpinBox:focus,
|
||||
QTableView QSpinBox:focus,
|
||||
QTableView QDoubleSpinBox:focus,
|
||||
QTableView QLineEdit:focus,
|
||||
QTableView QTextEdit:focus,
|
||||
QTableView QTimeEdit:focus,
|
||||
QTableView QDateEdit:focus,
|
||||
QTableView QDateTimeEdit:focus {
|
||||
QTableView > QWidget > QComboBox:focus,
|
||||
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||
QTableView > QWidget > QSpinBox:focus,
|
||||
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||
QTableView > QWidget > QLineEdit:focus,
|
||||
QTableView > QWidget > QTextEdit:focus,
|
||||
QTableView > QWidget > QTimeEdit:focus,
|
||||
QTableView > QWidget > QDateEdit:focus,
|
||||
QTableView > QWidget > QDateTimeEdit:focus {
|
||||
color: #1b3774;
|
||||
selection-color: white;
|
||||
selection-background-color: #5e90fa;
|
||||
|
@ -1904,29 +1913,29 @@ QTableView QDateTimeEdit:focus {
|
|||
background-color: #cbd8e6;
|
||||
}
|
||||
|
||||
QTableView QComboBox:disabled,
|
||||
QTableView QAbstractSpinBox:disabled,
|
||||
QTableView QSpinBox:disabled,
|
||||
QTableView QDoubleSpinBox:disabled,
|
||||
QTableView QLineEdit:disabled,
|
||||
QTableView QTextEdit:disabled,
|
||||
QTableView QTimeEdit:disabled,
|
||||
QTableView QDateEdit:disabled,
|
||||
QTableView QDateTimeEdit:disabled {
|
||||
QTableView > QWidget > QComboBox:disabled,
|
||||
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||
QTableView > QWidget > QSpinBox:disabled,
|
||||
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||
QTableView > QWidget > QLineEdit:disabled,
|
||||
QTableView > QWidget > QTextEdit:disabled,
|
||||
QTableView > QWidget > QTimeEdit:disabled,
|
||||
QTableView > QWidget > QDateEdit:disabled,
|
||||
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||
color: rgba(0,0,0,120);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:read-only,
|
||||
QTableView QAbstractSpinBox:read-only,
|
||||
QTableView QSpinBox:read-only,
|
||||
QTableView QDoubleSpinBox:read-only,
|
||||
QTableView QLineEdit:read-only,
|
||||
QTableView QTextEdit:read-only,
|
||||
QTableView QTimeEdit:read-only,
|
||||
QTableView QDateEdit:read-only,
|
||||
QTableView QDateTimeEdit:read-only {
|
||||
QTableView > QWidget > QComboBox:read-only,
|
||||
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||
QTableView > QWidget > QSpinBox:read-only,
|
||||
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||
QTableView > QWidget > QLineEdit:read-only,
|
||||
QTableView > QWidget > QTextEdit:read-only,
|
||||
QTableView > QWidget > QTimeEdit:read-only,
|
||||
QTableView > QWidget > QDateEdit:read-only,
|
||||
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
@ -1942,4 +1951,4 @@ QDialog QGroupBox QFrame {
|
|||
margin: 2px 0px;
|
||||
}
|
||||
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
ABOUT
|
||||
============================================================================================================
|
||||
version 2.02
|
||||
version 2.03
|
||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||
It might work with other software that uses QT styling.
|
||||
|
||||
|
@ -168,7 +168,8 @@ QToolBar {
|
|||
}
|
||||
|
||||
QToolBar::handle:top,
|
||||
QToolBar::handle:bottom {
|
||||
QToolBar::handle:bottom,
|
||||
QToolBar::handle:horizontal {
|
||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 4px 2px;
|
||||
|
@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||
}
|
||||
|
||||
QToolBar::handle:left,
|
||||
QToolBar::handle:right {
|
||||
QToolBar::handle:right,
|
||||
QToolBar::handle:vertical {
|
||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 4px;
|
||||
|
@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||
}
|
||||
|
||||
QToolBar::separator:top,
|
||||
QToolBar::separator:bottom {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 6px 2px 6px 2px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-y;
|
||||
QToolBar::separator:bottom,
|
||||
QToolBar::separator:horizontal {
|
||||
width: 1px;
|
||||
margin: 6px 4px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QToolBar::separator:left,
|
||||
QToolBar::separator:right {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 6px 2px 6px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-x;
|
||||
QToolBar::separator:right,
|
||||
QToolBar::separator:vertical {
|
||||
height: 1px;
|
||||
margin: 4px 6px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
|
||||
|
@ -999,12 +999,6 @@ QSint--ActionGroup {
|
|||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||
}
|
||||
|
||||
|
||||
QSint--ActionGroup QPushButton {
|
||||
padding: 2px; /* bigger padding crops text and icons... */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Separator line */
|
||||
QSint--ActionGroup QFrame[height="1"],
|
||||
QSint--ActionGroup QFrame[height="2"],
|
||||
|
@ -1100,6 +1094,12 @@ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
|
|||
border-left-color: #8c8c8c; /* 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;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Buttons
|
||||
|
@ -1679,11 +1679,6 @@ QToolBar > QDateTimeEdit {
|
|||
min-width: 70px; /* necessary to show its content */
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolBar > QComboBox,
|
||||
QToolBar > QAbstractSpinBox,
|
||||
QToolBar > QSpinBox,
|
||||
|
@ -1738,6 +1733,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:hover {
|
||||
background-color: rgba(0,0,0,20);
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:pressed {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
||||
|
@ -1831,72 +1840,72 @@ QTableView::item:selected {
|
|||
}
|
||||
|
||||
/* fix for elements inside the cells */
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit,
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit,
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QTableView QComboBox:focus,
|
||||
QTableView QAbstractSpinBox:focus,
|
||||
QTableView QSpinBox:focus,
|
||||
QTableView QDoubleSpinBox:focus,
|
||||
QTableView QLineEdit:focus,
|
||||
QTableView QTextEdit:focus,
|
||||
QTableView QTimeEdit:focus,
|
||||
QTableView QDateEdit:focus,
|
||||
QTableView QDateTimeEdit:focus {
|
||||
QTableView > QWidget > QComboBox:focus,
|
||||
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||
QTableView > QWidget > QSpinBox:focus,
|
||||
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||
QTableView > QWidget > QLineEdit:focus,
|
||||
QTableView > QWidget > QTextEdit:focus,
|
||||
QTableView > QWidget > QTimeEdit:focus,
|
||||
QTableView > QWidget > QDateEdit:focus,
|
||||
QTableView > QWidget > QDateTimeEdit:focus {
|
||||
color: #566214;
|
||||
selection-color: white;
|
||||
selection-background-color: #94b30f;
|
||||
|
@ -1904,29 +1913,29 @@ QTableView QDateTimeEdit:focus {
|
|||
background-color: #dadfc5;
|
||||
}
|
||||
|
||||
QTableView QComboBox:disabled,
|
||||
QTableView QAbstractSpinBox:disabled,
|
||||
QTableView QSpinBox:disabled,
|
||||
QTableView QDoubleSpinBox:disabled,
|
||||
QTableView QLineEdit:disabled,
|
||||
QTableView QTextEdit:disabled,
|
||||
QTableView QTimeEdit:disabled,
|
||||
QTableView QDateEdit:disabled,
|
||||
QTableView QDateTimeEdit:disabled {
|
||||
QTableView > QWidget > QComboBox:disabled,
|
||||
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||
QTableView > QWidget > QSpinBox:disabled,
|
||||
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||
QTableView > QWidget > QLineEdit:disabled,
|
||||
QTableView > QWidget > QTextEdit:disabled,
|
||||
QTableView > QWidget > QTimeEdit:disabled,
|
||||
QTableView > QWidget > QDateEdit:disabled,
|
||||
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||
color: rgba(0,0,0,120);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:read-only,
|
||||
QTableView QAbstractSpinBox:read-only,
|
||||
QTableView QSpinBox:read-only,
|
||||
QTableView QDoubleSpinBox:read-only,
|
||||
QTableView QLineEdit:read-only,
|
||||
QTableView QTextEdit:read-only,
|
||||
QTableView QTimeEdit:read-only,
|
||||
QTableView QDateEdit:read-only,
|
||||
QTableView QDateTimeEdit:read-only {
|
||||
QTableView > QWidget > QComboBox:read-only,
|
||||
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||
QTableView > QWidget > QSpinBox:read-only,
|
||||
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||
QTableView > QWidget > QLineEdit:read-only,
|
||||
QTableView > QWidget > QTextEdit:read-only,
|
||||
QTableView > QWidget > QTimeEdit:read-only,
|
||||
QTableView > QWidget > QDateEdit:read-only,
|
||||
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
@ -1942,4 +1951,4 @@ QDialog QGroupBox QFrame {
|
|||
margin: 2px 0px;
|
||||
}
|
||||
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
ABOUT
|
||||
============================================================================================================
|
||||
version 2.02
|
||||
version 2.03
|
||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||
It might work with other software that uses QT styling.
|
||||
|
||||
|
@ -168,7 +168,8 @@ QToolBar {
|
|||
}
|
||||
|
||||
QToolBar::handle:top,
|
||||
QToolBar::handle:bottom {
|
||||
QToolBar::handle:bottom,
|
||||
QToolBar::handle:horizontal {
|
||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 4px 2px;
|
||||
|
@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||
}
|
||||
|
||||
QToolBar::handle:left,
|
||||
QToolBar::handle:right {
|
||||
QToolBar::handle:right,
|
||||
QToolBar::handle:vertical {
|
||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 4px;
|
||||
|
@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||
}
|
||||
|
||||
QToolBar::separator:top,
|
||||
QToolBar::separator:bottom {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 6px 2px 6px 2px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-y;
|
||||
QToolBar::separator:bottom,
|
||||
QToolBar::separator:horizontal {
|
||||
width: 1px;
|
||||
margin: 6px 4px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QToolBar::separator:left,
|
||||
QToolBar::separator:right {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 6px 2px 6px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-x;
|
||||
QToolBar::separator:right,
|
||||
QToolBar::separator:vertical {
|
||||
height: 1px;
|
||||
margin: 4px 6px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
|
||||
|
@ -999,12 +999,6 @@ QSint--ActionGroup {
|
|||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||
}
|
||||
|
||||
|
||||
QSint--ActionGroup QPushButton {
|
||||
padding: 2px; /* bigger padding crops text and icons... */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Separator line */
|
||||
QSint--ActionGroup QFrame[height="1"],
|
||||
QSint--ActionGroup QFrame[height="2"],
|
||||
|
@ -1100,6 +1094,12 @@ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
|
|||
border-left-color: #8c8c8c; /* 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;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Buttons
|
||||
|
@ -1679,11 +1679,6 @@ QToolBar > QDateTimeEdit {
|
|||
min-width: 70px; /* necessary to show its content */
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolBar > QComboBox,
|
||||
QToolBar > QAbstractSpinBox,
|
||||
QToolBar > QSpinBox,
|
||||
|
@ -1738,6 +1733,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:hover {
|
||||
background-color: rgba(0,0,0,20);
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:pressed {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
||||
|
@ -1831,72 +1840,72 @@ QTableView::item:selected {
|
|||
}
|
||||
|
||||
/* fix for elements inside the cells */
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit,
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit,
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QTableView QComboBox:focus,
|
||||
QTableView QAbstractSpinBox:focus,
|
||||
QTableView QSpinBox:focus,
|
||||
QTableView QDoubleSpinBox:focus,
|
||||
QTableView QLineEdit:focus,
|
||||
QTableView QTextEdit:focus,
|
||||
QTableView QTimeEdit:focus,
|
||||
QTableView QDateEdit:focus,
|
||||
QTableView QDateTimeEdit:focus {
|
||||
QTableView > QWidget > QComboBox:focus,
|
||||
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||
QTableView > QWidget > QSpinBox:focus,
|
||||
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||
QTableView > QWidget > QLineEdit:focus,
|
||||
QTableView > QWidget > QTextEdit:focus,
|
||||
QTableView > QWidget > QTimeEdit:focus,
|
||||
QTableView > QWidget > QDateEdit:focus,
|
||||
QTableView > QWidget > QDateTimeEdit:focus {
|
||||
color: #624b14;
|
||||
selection-color: white;
|
||||
selection-background-color: #daa116;
|
||||
|
@ -1904,29 +1913,29 @@ QTableView QDateTimeEdit:focus {
|
|||
background-color: #e3d8b9;
|
||||
}
|
||||
|
||||
QTableView QComboBox:disabled,
|
||||
QTableView QAbstractSpinBox:disabled,
|
||||
QTableView QSpinBox:disabled,
|
||||
QTableView QDoubleSpinBox:disabled,
|
||||
QTableView QLineEdit:disabled,
|
||||
QTableView QTextEdit:disabled,
|
||||
QTableView QTimeEdit:disabled,
|
||||
QTableView QDateEdit:disabled,
|
||||
QTableView QDateTimeEdit:disabled {
|
||||
QTableView > QWidget > QComboBox:disabled,
|
||||
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||
QTableView > QWidget > QSpinBox:disabled,
|
||||
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||
QTableView > QWidget > QLineEdit:disabled,
|
||||
QTableView > QWidget > QTextEdit:disabled,
|
||||
QTableView > QWidget > QTimeEdit:disabled,
|
||||
QTableView > QWidget > QDateEdit:disabled,
|
||||
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||
color: rgba(0,0,0,120);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:read-only,
|
||||
QTableView QAbstractSpinBox:read-only,
|
||||
QTableView QSpinBox:read-only,
|
||||
QTableView QDoubleSpinBox:read-only,
|
||||
QTableView QLineEdit:read-only,
|
||||
QTableView QTextEdit:read-only,
|
||||
QTableView QTimeEdit:read-only,
|
||||
QTableView QDateEdit:read-only,
|
||||
QTableView QDateTimeEdit:read-only {
|
||||
QTableView > QWidget > QComboBox:read-only,
|
||||
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||
QTableView > QWidget > QSpinBox:read-only,
|
||||
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||
QTableView > QWidget > QLineEdit:read-only,
|
||||
QTableView > QWidget > QTextEdit:read-only,
|
||||
QTableView > QWidget > QTimeEdit:read-only,
|
||||
QTableView > QWidget > QDateEdit:read-only,
|
||||
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
@ -1942,4 +1951,4 @@ QDialog QGroupBox QFrame {
|
|||
margin: 2px 0px;
|
||||
}
|
||||
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
ABOUT
|
||||
============================================================================================================
|
||||
version 2.02
|
||||
version 2.03
|
||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||
It might work with other software that uses QT styling.
|
||||
|
||||
|
@ -168,7 +168,8 @@ QToolBar {
|
|||
}
|
||||
|
||||
QToolBar::handle:top,
|
||||
QToolBar::handle:bottom {
|
||||
QToolBar::handle:bottom,
|
||||
QToolBar::handle:horizontal {
|
||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 4px 2px;
|
||||
|
@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||
}
|
||||
|
||||
QToolBar::handle:left,
|
||||
QToolBar::handle:right {
|
||||
QToolBar::handle:right,
|
||||
QToolBar::handle:vertical {
|
||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 4px;
|
||||
|
@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||
}
|
||||
|
||||
QToolBar::separator:top,
|
||||
QToolBar::separator:bottom {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 6px 2px 6px 2px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-y;
|
||||
QToolBar::separator:bottom,
|
||||
QToolBar::separator:horizontal {
|
||||
width: 1px;
|
||||
margin: 6px 4px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QToolBar::separator:left,
|
||||
QToolBar::separator:right {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 6px 2px 6px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-x;
|
||||
QToolBar::separator:right,
|
||||
QToolBar::separator:vertical {
|
||||
height: 1px;
|
||||
margin: 4px 6px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
|
||||
|
@ -997,12 +997,6 @@ QSint--ActionGroup {
|
|||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||
}
|
||||
|
||||
|
||||
QSint--ActionGroup QPushButton {
|
||||
padding: 2px; /* bigger padding crops text and icons... */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Separator line */
|
||||
QSint--ActionGroup QFrame[height="1"],
|
||||
QSint--ActionGroup QFrame[height="2"],
|
||||
|
@ -1098,6 +1092,12 @@ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
|
|||
border-left-color: #e6e6e6; /* 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;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Buttons
|
||||
|
@ -1677,11 +1677,6 @@ QToolBar > QDateTimeEdit {
|
|||
min-width: 70px; /* necessary to show its content */
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolBar > QComboBox,
|
||||
QToolBar > QAbstractSpinBox,
|
||||
QToolBar > QSpinBox,
|
||||
|
@ -1736,6 +1731,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:hover {
|
||||
background-color: rgba(0,0,0,20);
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:pressed {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
||||
|
@ -1829,72 +1838,72 @@ QTableView::item:selected {
|
|||
}
|
||||
|
||||
/* fix for elements inside the cells */
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit,
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit,
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QTableView QComboBox:focus,
|
||||
QTableView QAbstractSpinBox:focus,
|
||||
QTableView QSpinBox:focus,
|
||||
QTableView QDoubleSpinBox:focus,
|
||||
QTableView QLineEdit:focus,
|
||||
QTableView QTextEdit:focus,
|
||||
QTableView QTimeEdit:focus,
|
||||
QTableView QDateEdit:focus,
|
||||
QTableView QDateTimeEdit:focus {
|
||||
QTableView > QWidget > QComboBox:focus,
|
||||
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||
QTableView > QWidget > QSpinBox:focus,
|
||||
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||
QTableView > QWidget > QLineEdit:focus,
|
||||
QTableView > QWidget > QTextEdit:focus,
|
||||
QTableView > QWidget > QTimeEdit:focus,
|
||||
QTableView > QWidget > QDateEdit:focus,
|
||||
QTableView > QWidget > QDateTimeEdit:focus {
|
||||
color: #1b3774;
|
||||
selection-color: white;
|
||||
selection-background-color: #5e90fa;
|
||||
|
@ -1902,29 +1911,29 @@ QTableView QDateTimeEdit:focus {
|
|||
background-color: #cbd8e6;
|
||||
}
|
||||
|
||||
QTableView QComboBox:disabled,
|
||||
QTableView QAbstractSpinBox:disabled,
|
||||
QTableView QSpinBox:disabled,
|
||||
QTableView QDoubleSpinBox:disabled,
|
||||
QTableView QLineEdit:disabled,
|
||||
QTableView QTextEdit:disabled,
|
||||
QTableView QTimeEdit:disabled,
|
||||
QTableView QDateEdit:disabled,
|
||||
QTableView QDateTimeEdit:disabled {
|
||||
QTableView > QWidget > QComboBox:disabled,
|
||||
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||
QTableView > QWidget > QSpinBox:disabled,
|
||||
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||
QTableView > QWidget > QLineEdit:disabled,
|
||||
QTableView > QWidget > QTextEdit:disabled,
|
||||
QTableView > QWidget > QTimeEdit:disabled,
|
||||
QTableView > QWidget > QDateEdit:disabled,
|
||||
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||
color: rgba(0,0,0,120);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:read-only,
|
||||
QTableView QAbstractSpinBox:read-only,
|
||||
QTableView QSpinBox:read-only,
|
||||
QTableView QDoubleSpinBox:read-only,
|
||||
QTableView QLineEdit:read-only,
|
||||
QTableView QTextEdit:read-only,
|
||||
QTableView QTimeEdit:read-only,
|
||||
QTableView QDateEdit:read-only,
|
||||
QTableView QDateTimeEdit:read-only {
|
||||
QTableView > QWidget > QComboBox:read-only,
|
||||
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||
QTableView > QWidget > QSpinBox:read-only,
|
||||
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||
QTableView > QWidget > QLineEdit:read-only,
|
||||
QTableView > QWidget > QTextEdit:read-only,
|
||||
QTableView > QWidget > QTimeEdit:read-only,
|
||||
QTableView > QWidget > QDateEdit:read-only,
|
||||
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
@ -1940,4 +1949,4 @@ QDialog QGroupBox QFrame {
|
|||
margin: 2px 0px;
|
||||
}
|
||||
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
ABOUT
|
||||
============================================================================================================
|
||||
version 2.02
|
||||
version 2.03
|
||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||
It might work with other software that uses QT styling.
|
||||
|
||||
|
@ -168,7 +168,8 @@ QToolBar {
|
|||
}
|
||||
|
||||
QToolBar::handle:top,
|
||||
QToolBar::handle:bottom {
|
||||
QToolBar::handle:bottom,
|
||||
QToolBar::handle:horizontal {
|
||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 4px 2px;
|
||||
|
@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||
}
|
||||
|
||||
QToolBar::handle:left,
|
||||
QToolBar::handle:right {
|
||||
QToolBar::handle:right,
|
||||
QToolBar::handle:vertical {
|
||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 4px;
|
||||
|
@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||
}
|
||||
|
||||
QToolBar::separator:top,
|
||||
QToolBar::separator:bottom {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 6px 2px 6px 2px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-y;
|
||||
QToolBar::separator:bottom,
|
||||
QToolBar::separator:horizontal {
|
||||
width: 1px;
|
||||
margin: 6px 4px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QToolBar::separator:left,
|
||||
QToolBar::separator:right {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 6px 2px 6px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-x;
|
||||
QToolBar::separator:right,
|
||||
QToolBar::separator:vertical {
|
||||
height: 1px;
|
||||
margin: 4px 6px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
|
||||
|
@ -997,12 +997,6 @@ QSint--ActionGroup {
|
|||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||
}
|
||||
|
||||
|
||||
QSint--ActionGroup QPushButton {
|
||||
padding: 2px; /* bigger padding crops text and icons... */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Separator line */
|
||||
QSint--ActionGroup QFrame[height="1"],
|
||||
QSint--ActionGroup QFrame[height="2"],
|
||||
|
@ -1098,6 +1092,12 @@ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
|
|||
border-left-color: #e6e6e6; /* 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;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Buttons
|
||||
|
@ -1677,11 +1677,6 @@ QToolBar > QDateTimeEdit {
|
|||
min-width: 70px; /* necessary to show its content */
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolBar > QComboBox,
|
||||
QToolBar > QAbstractSpinBox,
|
||||
QToolBar > QSpinBox,
|
||||
|
@ -1736,6 +1731,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:hover {
|
||||
background-color: rgba(0,0,0,20);
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:pressed {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
||||
|
@ -1829,72 +1838,72 @@ QTableView::item:selected {
|
|||
}
|
||||
|
||||
/* fix for elements inside the cells */
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit,
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit,
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QTableView QComboBox:focus,
|
||||
QTableView QAbstractSpinBox:focus,
|
||||
QTableView QSpinBox:focus,
|
||||
QTableView QDoubleSpinBox:focus,
|
||||
QTableView QLineEdit:focus,
|
||||
QTableView QTextEdit:focus,
|
||||
QTableView QTimeEdit:focus,
|
||||
QTableView QDateEdit:focus,
|
||||
QTableView QDateTimeEdit:focus {
|
||||
QTableView > QWidget > QComboBox:focus,
|
||||
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||
QTableView > QWidget > QSpinBox:focus,
|
||||
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||
QTableView > QWidget > QLineEdit:focus,
|
||||
QTableView > QWidget > QTextEdit:focus,
|
||||
QTableView > QWidget > QTimeEdit:focus,
|
||||
QTableView > QWidget > QDateEdit:focus,
|
||||
QTableView > QWidget > QDateTimeEdit:focus {
|
||||
color: #566214;
|
||||
selection-color: white;
|
||||
selection-background-color: #94b30f;
|
||||
|
@ -1902,29 +1911,29 @@ QTableView QDateTimeEdit:focus {
|
|||
background-color: #dadfc5;
|
||||
}
|
||||
|
||||
QTableView QComboBox:disabled,
|
||||
QTableView QAbstractSpinBox:disabled,
|
||||
QTableView QSpinBox:disabled,
|
||||
QTableView QDoubleSpinBox:disabled,
|
||||
QTableView QLineEdit:disabled,
|
||||
QTableView QTextEdit:disabled,
|
||||
QTableView QTimeEdit:disabled,
|
||||
QTableView QDateEdit:disabled,
|
||||
QTableView QDateTimeEdit:disabled {
|
||||
QTableView > QWidget > QComboBox:disabled,
|
||||
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||
QTableView > QWidget > QSpinBox:disabled,
|
||||
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||
QTableView > QWidget > QLineEdit:disabled,
|
||||
QTableView > QWidget > QTextEdit:disabled,
|
||||
QTableView > QWidget > QTimeEdit:disabled,
|
||||
QTableView > QWidget > QDateEdit:disabled,
|
||||
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||
color: rgba(0,0,0,120);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:read-only,
|
||||
QTableView QAbstractSpinBox:read-only,
|
||||
QTableView QSpinBox:read-only,
|
||||
QTableView QDoubleSpinBox:read-only,
|
||||
QTableView QLineEdit:read-only,
|
||||
QTableView QTextEdit:read-only,
|
||||
QTableView QTimeEdit:read-only,
|
||||
QTableView QDateEdit:read-only,
|
||||
QTableView QDateTimeEdit:read-only {
|
||||
QTableView > QWidget > QComboBox:read-only,
|
||||
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||
QTableView > QWidget > QSpinBox:read-only,
|
||||
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||
QTableView > QWidget > QLineEdit:read-only,
|
||||
QTableView > QWidget > QTextEdit:read-only,
|
||||
QTableView > QWidget > QTimeEdit:read-only,
|
||||
QTableView > QWidget > QDateEdit:read-only,
|
||||
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
@ -1940,4 +1949,4 @@ QDialog QGroupBox QFrame {
|
|||
margin: 2px 0px;
|
||||
}
|
||||
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
ABOUT
|
||||
============================================================================================================
|
||||
version 2.02
|
||||
version 2.03
|
||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||
It might work with other software that uses QT styling.
|
||||
|
||||
|
@ -168,7 +168,8 @@ QToolBar {
|
|||
}
|
||||
|
||||
QToolBar::handle:top,
|
||||
QToolBar::handle:bottom {
|
||||
QToolBar::handle:bottom,
|
||||
QToolBar::handle:horizontal {
|
||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 4px 2px;
|
||||
|
@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||
}
|
||||
|
||||
QToolBar::handle:left,
|
||||
QToolBar::handle:right {
|
||||
QToolBar::handle:right,
|
||||
QToolBar::handle:vertical {
|
||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 4px;
|
||||
|
@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||
}
|
||||
|
||||
QToolBar::separator:top,
|
||||
QToolBar::separator:bottom {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
width: 10px;
|
||||
margin: 6px 2px 6px 2px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-y;
|
||||
QToolBar::separator:bottom,
|
||||
QToolBar::separator:horizontal {
|
||||
width: 1px;
|
||||
margin: 6px 4px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QToolBar::separator:left,
|
||||
QToolBar::separator:right {
|
||||
background-image: url(qss:images/separtoolbar_dark.png);
|
||||
height: 10px;
|
||||
margin: 2px 6px 2px 6px;
|
||||
background-position: center center;
|
||||
background-repeat: repeat-x;
|
||||
QToolBar::separator:right,
|
||||
QToolBar::separator:vertical {
|
||||
height: 1px;
|
||||
margin: 4px 6px;
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
|
||||
|
@ -997,12 +997,6 @@ QSint--ActionGroup {
|
|||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||
}
|
||||
|
||||
|
||||
QSint--ActionGroup QPushButton {
|
||||
padding: 2px; /* bigger padding crops text and icons... */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Separator line */
|
||||
QSint--ActionGroup QFrame[height="1"],
|
||||
QSint--ActionGroup QFrame[height="2"],
|
||||
|
@ -1098,6 +1092,12 @@ QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
|
|||
border-left-color: #e6e6e6; /* 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;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Buttons
|
||||
|
@ -1677,11 +1677,6 @@ QToolBar > QDateTimeEdit {
|
|||
min-width: 70px; /* necessary to show its content */
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QToolBar > QComboBox,
|
||||
QToolBar > QAbstractSpinBox,
|
||||
QToolBar > QSpinBox,
|
||||
|
@ -1736,6 +1731,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:hover {
|
||||
background-color: rgba(0,0,0,20);
|
||||
}
|
||||
|
||||
QToolBar > QToolButton:pressed {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
||||
|
@ -1829,72 +1838,72 @@ QTableView::item:selected {
|
|||
}
|
||||
|
||||
/* fix for elements inside the cells */
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit,
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit,
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QTableView QComboBox,
|
||||
QTableView QAbstractSpinBox,
|
||||
QTableView QSpinBox,
|
||||
QTableView QDoubleSpinBox,
|
||||
QTableView QLineEdit,
|
||||
QTableView QTextEdit,
|
||||
QTableView QTimeEdit,
|
||||
QTableView QDateEdit,
|
||||
QTableView QDateTimeEdit {
|
||||
QTableView > QWidget > QComboBox,
|
||||
QTableView > QWidget > QAbstractSpinBox,
|
||||
QTableView > QWidget > QSpinBox,
|
||||
QTableView > QWidget > QDoubleSpinBox,
|
||||
QTableView > QWidget > QLineEdit,
|
||||
QTableView > QWidget > QTextEdit,
|
||||
QTableView > QWidget > QTimeEdit,
|
||||
QTableView > QWidget > QDateEdit,
|
||||
QTableView > QWidget > QDateTimeEdit {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:drop-down,
|
||||
QTableView QAbstractSpinBox:up-button,
|
||||
QTableView QSpinBox:up-button,
|
||||
QTableView QDoubleSpinBox:up-button,
|
||||
QTableView QTimeEdit:up-button,
|
||||
QTableView QDateEdit:up-button,
|
||||
QTableView QDateTimeEdit:up-button,
|
||||
QTableView QAbstractSpinBox:down-button,
|
||||
QTableView QSpinBox:down-button,
|
||||
QTableView QDoubleSpinBox:down-button,
|
||||
QTableView QTimeEdit:down-button,
|
||||
QTableView QDateEdit:down-button,
|
||||
QTableView QDateTimeEdit:down-button,
|
||||
QTableView Gui--ColorButton {
|
||||
QTableView > QWidget > QComboBox:drop-down,
|
||||
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||
QTableView > QWidget > QSpinBox:up-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||
QTableView > QWidget > QTimeEdit:up-button,
|
||||
QTableView > QWidget > QDateEdit:up-button,
|
||||
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||
QTableView > QWidget > QSpinBox:down-button,
|
||||
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||
QTableView > QWidget > QTimeEdit:down-button,
|
||||
QTableView > QWidget > QDateEdit:down-button,
|
||||
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||
QTableView > QWidget > Gui--ColorButton {
|
||||
background-color: rgba(0,0,0,30);
|
||||
}
|
||||
|
||||
QTableView QComboBox:focus,
|
||||
QTableView QAbstractSpinBox:focus,
|
||||
QTableView QSpinBox:focus,
|
||||
QTableView QDoubleSpinBox:focus,
|
||||
QTableView QLineEdit:focus,
|
||||
QTableView QTextEdit:focus,
|
||||
QTableView QTimeEdit:focus,
|
||||
QTableView QDateEdit:focus,
|
||||
QTableView QDateTimeEdit:focus {
|
||||
QTableView > QWidget > QComboBox:focus,
|
||||
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||
QTableView > QWidget > QSpinBox:focus,
|
||||
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||
QTableView > QWidget > QLineEdit:focus,
|
||||
QTableView > QWidget > QTextEdit:focus,
|
||||
QTableView > QWidget > QTimeEdit:focus,
|
||||
QTableView > QWidget > QDateEdit:focus,
|
||||
QTableView > QWidget > QDateTimeEdit:focus {
|
||||
color: #624b14;
|
||||
selection-color: white;
|
||||
selection-background-color: #daa116;
|
||||
|
@ -1902,29 +1911,29 @@ QTableView QDateTimeEdit:focus {
|
|||
background-color: #e3d8b9;
|
||||
}
|
||||
|
||||
QTableView QComboBox:disabled,
|
||||
QTableView QAbstractSpinBox:disabled,
|
||||
QTableView QSpinBox:disabled,
|
||||
QTableView QDoubleSpinBox:disabled,
|
||||
QTableView QLineEdit:disabled,
|
||||
QTableView QTextEdit:disabled,
|
||||
QTableView QTimeEdit:disabled,
|
||||
QTableView QDateEdit:disabled,
|
||||
QTableView QDateTimeEdit:disabled {
|
||||
QTableView > QWidget > QComboBox:disabled,
|
||||
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||
QTableView > QWidget > QSpinBox:disabled,
|
||||
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||
QTableView > QWidget > QLineEdit:disabled,
|
||||
QTableView > QWidget > QTextEdit:disabled,
|
||||
QTableView > QWidget > QTimeEdit:disabled,
|
||||
QTableView > QWidget > QDateEdit:disabled,
|
||||
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||
color: rgba(0,0,0,120);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
QTableView QComboBox:read-only,
|
||||
QTableView QAbstractSpinBox:read-only,
|
||||
QTableView QSpinBox:read-only,
|
||||
QTableView QDoubleSpinBox:read-only,
|
||||
QTableView QLineEdit:read-only,
|
||||
QTableView QTextEdit:read-only,
|
||||
QTableView QTimeEdit:read-only,
|
||||
QTableView QDateEdit:read-only,
|
||||
QTableView QDateTimeEdit:read-only {
|
||||
QTableView > QWidget > QComboBox:read-only,
|
||||
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||
QTableView > QWidget > QSpinBox:read-only,
|
||||
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||
QTableView > QWidget > QLineEdit:read-only,
|
||||
QTableView > QWidget > QTextEdit:read-only,
|
||||
QTableView > QWidget > QTimeEdit:read-only,
|
||||
QTableView > QWidget > QDateEdit:read-only,
|
||||
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
@ -1940,4 +1949,4 @@ QDialog QGroupBox QFrame {
|
|||
margin: 2px 0px;
|
||||
}
|
||||
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
||||
*[mandatoryField="true"] { background-color: cyan }
|
Binary file not shown.
Before Width: | Height: | Size: 169 B |
Binary file not shown.
Before Width: | Height: | Size: 169 B |
Loading…
Reference in New Issue
Block a user