Merge pull request #115 from pgilfernandez/FreeCAD_stylesheets203
Dark and Light stylesheet 2.03
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ABOUT
|
ABOUT
|
||||||
============================================================================================================
|
============================================================================================================
|
||||||
version 2.02
|
version 2.03
|
||||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||||
It might work with other software that uses QT styling.
|
It might work with other software that uses QT styling.
|
||||||
|
|
||||||
@@ -168,7 +168,8 @@ QToolBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:top,
|
QToolBar::handle:top,
|
||||||
QToolBar::handle:bottom {
|
QToolBar::handle:bottom,
|
||||||
|
QToolBar::handle:horizontal {
|
||||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||||
width: 10px;
|
width: 10px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:left,
|
QToolBar::handle:left,
|
||||||
QToolBar::handle:right {
|
QToolBar::handle:right,
|
||||||
|
QToolBar::handle:vertical {
|
||||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
@@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:top,
|
QToolBar::separator:top,
|
||||||
QToolBar::separator:bottom {
|
QToolBar::separator:bottom,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:horizontal {
|
||||||
width: 10px;
|
width: 1px;
|
||||||
margin: 6px 2px 6px 2px;
|
margin: 6px 4px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:left,
|
QToolBar::separator:left,
|
||||||
QToolBar::separator:right {
|
QToolBar::separator:right,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:vertical {
|
||||||
height: 10px;
|
height: 1px;
|
||||||
margin: 2px 6px 2px 6px;
|
margin: 4px 6px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -999,12 +999,6 @@ QSint--ActionGroup {
|
|||||||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSint--ActionGroup QPushButton {
|
|
||||||
padding: 2px; /* bigger padding crops text and icons... */
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator line */
|
/* Separator line */
|
||||||
QSint--ActionGroup QFrame[height="1"],
|
QSint--ActionGroup QFrame[height="1"],
|
||||||
QSint--ActionGroup QFrame[height="2"],
|
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 */
|
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
|
Buttons
|
||||||
@@ -1679,11 +1679,6 @@ QToolBar > QDateTimeEdit {
|
|||||||
min-width: 70px; /* necessary to show its content */
|
min-width: 70px; /* necessary to show its content */
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar > QToolButton {
|
|
||||||
margin: 2px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolBar > QComboBox,
|
QToolBar > QComboBox,
|
||||||
QToolBar > QAbstractSpinBox,
|
QToolBar > QAbstractSpinBox,
|
||||||
QToolBar > QSpinBox,
|
QToolBar > QSpinBox,
|
||||||
@@ -1738,6 +1733,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||||||
background-color: transparent;
|
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) */
|
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
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 */
|
/* fix for elements inside the cells */
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit,
|
QTableView > QWidget > QDateTimeEdit,
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit {
|
QTableView > QWidget > QDateTimeEdit {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
background-color: rgba(0,0,0,30);
|
background-color: rgba(0,0,0,30);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:focus,
|
QTableView > QWidget > QComboBox:focus,
|
||||||
QTableView QAbstractSpinBox:focus,
|
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||||
QTableView QSpinBox:focus,
|
QTableView > QWidget > QSpinBox:focus,
|
||||||
QTableView QDoubleSpinBox:focus,
|
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||||
QTableView QLineEdit:focus,
|
QTableView > QWidget > QLineEdit:focus,
|
||||||
QTableView QTextEdit:focus,
|
QTableView > QWidget > QTextEdit:focus,
|
||||||
QTableView QTimeEdit:focus,
|
QTableView > QWidget > QTimeEdit:focus,
|
||||||
QTableView QDateEdit:focus,
|
QTableView > QWidget > QDateEdit:focus,
|
||||||
QTableView QDateTimeEdit:focus {
|
QTableView > QWidget > QDateTimeEdit:focus {
|
||||||
color: #1b3774;
|
color: #1b3774;
|
||||||
selection-color: white;
|
selection-color: white;
|
||||||
selection-background-color: #5e90fa;
|
selection-background-color: #5e90fa;
|
||||||
@@ -1904,29 +1913,29 @@ QTableView QDateTimeEdit:focus {
|
|||||||
background-color: #cbd8e6;
|
background-color: #cbd8e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:disabled,
|
QTableView > QWidget > QComboBox:disabled,
|
||||||
QTableView QAbstractSpinBox:disabled,
|
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||||
QTableView QSpinBox:disabled,
|
QTableView > QWidget > QSpinBox:disabled,
|
||||||
QTableView QDoubleSpinBox:disabled,
|
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||||
QTableView QLineEdit:disabled,
|
QTableView > QWidget > QLineEdit:disabled,
|
||||||
QTableView QTextEdit:disabled,
|
QTableView > QWidget > QTextEdit:disabled,
|
||||||
QTableView QTimeEdit:disabled,
|
QTableView > QWidget > QTimeEdit:disabled,
|
||||||
QTableView QDateEdit:disabled,
|
QTableView > QWidget > QDateEdit:disabled,
|
||||||
QTableView QDateTimeEdit:disabled {
|
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||||
color: rgba(0,0,0,120);
|
color: rgba(0,0,0,120);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:read-only,
|
QTableView > QWidget > QComboBox:read-only,
|
||||||
QTableView QAbstractSpinBox:read-only,
|
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||||
QTableView QSpinBox:read-only,
|
QTableView > QWidget > QSpinBox:read-only,
|
||||||
QTableView QDoubleSpinBox:read-only,
|
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||||
QTableView QLineEdit:read-only,
|
QTableView > QWidget > QLineEdit:read-only,
|
||||||
QTableView QTextEdit:read-only,
|
QTableView > QWidget > QTextEdit:read-only,
|
||||||
QTableView QTimeEdit:read-only,
|
QTableView > QWidget > QTimeEdit:read-only,
|
||||||
QTableView QDateEdit:read-only,
|
QTableView > QWidget > QDateEdit:read-only,
|
||||||
QTableView QDateTimeEdit:read-only {
|
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@@ -1942,4 +1951,4 @@ QDialog QGroupBox QFrame {
|
|||||||
margin: 2px 0px;
|
margin: 2px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
*[mandatoryField="true"] { background-color: cyan }
|
*[mandatoryField="true"] { background-color: cyan }
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ABOUT
|
ABOUT
|
||||||
============================================================================================================
|
============================================================================================================
|
||||||
version 2.02
|
version 2.03
|
||||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||||
It might work with other software that uses QT styling.
|
It might work with other software that uses QT styling.
|
||||||
|
|
||||||
@@ -168,7 +168,8 @@ QToolBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:top,
|
QToolBar::handle:top,
|
||||||
QToolBar::handle:bottom {
|
QToolBar::handle:bottom,
|
||||||
|
QToolBar::handle:horizontal {
|
||||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||||
width: 10px;
|
width: 10px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:left,
|
QToolBar::handle:left,
|
||||||
QToolBar::handle:right {
|
QToolBar::handle:right,
|
||||||
|
QToolBar::handle:vertical {
|
||||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
@@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:top,
|
QToolBar::separator:top,
|
||||||
QToolBar::separator:bottom {
|
QToolBar::separator:bottom,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:horizontal {
|
||||||
width: 10px;
|
width: 1px;
|
||||||
margin: 6px 2px 6px 2px;
|
margin: 6px 4px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:left,
|
QToolBar::separator:left,
|
||||||
QToolBar::separator:right {
|
QToolBar::separator:right,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:vertical {
|
||||||
height: 10px;
|
height: 1px;
|
||||||
margin: 2px 6px 2px 6px;
|
margin: 4px 6px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -999,12 +999,6 @@ QSint--ActionGroup {
|
|||||||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSint--ActionGroup QPushButton {
|
|
||||||
padding: 2px; /* bigger padding crops text and icons... */
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator line */
|
/* Separator line */
|
||||||
QSint--ActionGroup QFrame[height="1"],
|
QSint--ActionGroup QFrame[height="1"],
|
||||||
QSint--ActionGroup QFrame[height="2"],
|
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 */
|
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
|
Buttons
|
||||||
@@ -1679,11 +1679,6 @@ QToolBar > QDateTimeEdit {
|
|||||||
min-width: 70px; /* necessary to show its content */
|
min-width: 70px; /* necessary to show its content */
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar > QToolButton {
|
|
||||||
margin: 2px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolBar > QComboBox,
|
QToolBar > QComboBox,
|
||||||
QToolBar > QAbstractSpinBox,
|
QToolBar > QAbstractSpinBox,
|
||||||
QToolBar > QSpinBox,
|
QToolBar > QSpinBox,
|
||||||
@@ -1738,6 +1733,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||||||
background-color: transparent;
|
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) */
|
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
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 */
|
/* fix for elements inside the cells */
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit,
|
QTableView > QWidget > QDateTimeEdit,
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit {
|
QTableView > QWidget > QDateTimeEdit {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
background-color: rgba(0,0,0,30);
|
background-color: rgba(0,0,0,30);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:focus,
|
QTableView > QWidget > QComboBox:focus,
|
||||||
QTableView QAbstractSpinBox:focus,
|
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||||
QTableView QSpinBox:focus,
|
QTableView > QWidget > QSpinBox:focus,
|
||||||
QTableView QDoubleSpinBox:focus,
|
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||||
QTableView QLineEdit:focus,
|
QTableView > QWidget > QLineEdit:focus,
|
||||||
QTableView QTextEdit:focus,
|
QTableView > QWidget > QTextEdit:focus,
|
||||||
QTableView QTimeEdit:focus,
|
QTableView > QWidget > QTimeEdit:focus,
|
||||||
QTableView QDateEdit:focus,
|
QTableView > QWidget > QDateEdit:focus,
|
||||||
QTableView QDateTimeEdit:focus {
|
QTableView > QWidget > QDateTimeEdit:focus {
|
||||||
color: #566214;
|
color: #566214;
|
||||||
selection-color: white;
|
selection-color: white;
|
||||||
selection-background-color: #94b30f;
|
selection-background-color: #94b30f;
|
||||||
@@ -1904,29 +1913,29 @@ QTableView QDateTimeEdit:focus {
|
|||||||
background-color: #dadfc5;
|
background-color: #dadfc5;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:disabled,
|
QTableView > QWidget > QComboBox:disabled,
|
||||||
QTableView QAbstractSpinBox:disabled,
|
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||||
QTableView QSpinBox:disabled,
|
QTableView > QWidget > QSpinBox:disabled,
|
||||||
QTableView QDoubleSpinBox:disabled,
|
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||||
QTableView QLineEdit:disabled,
|
QTableView > QWidget > QLineEdit:disabled,
|
||||||
QTableView QTextEdit:disabled,
|
QTableView > QWidget > QTextEdit:disabled,
|
||||||
QTableView QTimeEdit:disabled,
|
QTableView > QWidget > QTimeEdit:disabled,
|
||||||
QTableView QDateEdit:disabled,
|
QTableView > QWidget > QDateEdit:disabled,
|
||||||
QTableView QDateTimeEdit:disabled {
|
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||||
color: rgba(0,0,0,120);
|
color: rgba(0,0,0,120);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:read-only,
|
QTableView > QWidget > QComboBox:read-only,
|
||||||
QTableView QAbstractSpinBox:read-only,
|
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||||
QTableView QSpinBox:read-only,
|
QTableView > QWidget > QSpinBox:read-only,
|
||||||
QTableView QDoubleSpinBox:read-only,
|
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||||
QTableView QLineEdit:read-only,
|
QTableView > QWidget > QLineEdit:read-only,
|
||||||
QTableView QTextEdit:read-only,
|
QTableView > QWidget > QTextEdit:read-only,
|
||||||
QTableView QTimeEdit:read-only,
|
QTableView > QWidget > QTimeEdit:read-only,
|
||||||
QTableView QDateEdit:read-only,
|
QTableView > QWidget > QDateEdit:read-only,
|
||||||
QTableView QDateTimeEdit:read-only {
|
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@@ -1942,4 +1951,4 @@ QDialog QGroupBox QFrame {
|
|||||||
margin: 2px 0px;
|
margin: 2px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
*[mandatoryField="true"] { background-color: cyan }
|
*[mandatoryField="true"] { background-color: cyan }
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ABOUT
|
ABOUT
|
||||||
============================================================================================================
|
============================================================================================================
|
||||||
version 2.02
|
version 2.03
|
||||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||||
It might work with other software that uses QT styling.
|
It might work with other software that uses QT styling.
|
||||||
|
|
||||||
@@ -168,7 +168,8 @@ QToolBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:top,
|
QToolBar::handle:top,
|
||||||
QToolBar::handle:bottom {
|
QToolBar::handle:bottom,
|
||||||
|
QToolBar::handle:horizontal {
|
||||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||||
width: 10px;
|
width: 10px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:left,
|
QToolBar::handle:left,
|
||||||
QToolBar::handle:right {
|
QToolBar::handle:right,
|
||||||
|
QToolBar::handle:vertical {
|
||||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
@@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:top,
|
QToolBar::separator:top,
|
||||||
QToolBar::separator:bottom {
|
QToolBar::separator:bottom,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:horizontal {
|
||||||
width: 10px;
|
width: 1px;
|
||||||
margin: 6px 2px 6px 2px;
|
margin: 6px 4px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:left,
|
QToolBar::separator:left,
|
||||||
QToolBar::separator:right {
|
QToolBar::separator:right,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:vertical {
|
||||||
height: 10px;
|
height: 1px;
|
||||||
margin: 2px 6px 2px 6px;
|
margin: 4px 6px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -999,12 +999,6 @@ QSint--ActionGroup {
|
|||||||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSint--ActionGroup QPushButton {
|
|
||||||
padding: 2px; /* bigger padding crops text and icons... */
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator line */
|
/* Separator line */
|
||||||
QSint--ActionGroup QFrame[height="1"],
|
QSint--ActionGroup QFrame[height="1"],
|
||||||
QSint--ActionGroup QFrame[height="2"],
|
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 */
|
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
|
Buttons
|
||||||
@@ -1679,11 +1679,6 @@ QToolBar > QDateTimeEdit {
|
|||||||
min-width: 70px; /* necessary to show its content */
|
min-width: 70px; /* necessary to show its content */
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar > QToolButton {
|
|
||||||
margin: 2px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolBar > QComboBox,
|
QToolBar > QComboBox,
|
||||||
QToolBar > QAbstractSpinBox,
|
QToolBar > QAbstractSpinBox,
|
||||||
QToolBar > QSpinBox,
|
QToolBar > QSpinBox,
|
||||||
@@ -1738,6 +1733,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||||||
background-color: transparent;
|
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) */
|
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
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 */
|
/* fix for elements inside the cells */
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit,
|
QTableView > QWidget > QDateTimeEdit,
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit {
|
QTableView > QWidget > QDateTimeEdit {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
background-color: rgba(0,0,0,30);
|
background-color: rgba(0,0,0,30);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:focus,
|
QTableView > QWidget > QComboBox:focus,
|
||||||
QTableView QAbstractSpinBox:focus,
|
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||||
QTableView QSpinBox:focus,
|
QTableView > QWidget > QSpinBox:focus,
|
||||||
QTableView QDoubleSpinBox:focus,
|
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||||
QTableView QLineEdit:focus,
|
QTableView > QWidget > QLineEdit:focus,
|
||||||
QTableView QTextEdit:focus,
|
QTableView > QWidget > QTextEdit:focus,
|
||||||
QTableView QTimeEdit:focus,
|
QTableView > QWidget > QTimeEdit:focus,
|
||||||
QTableView QDateEdit:focus,
|
QTableView > QWidget > QDateEdit:focus,
|
||||||
QTableView QDateTimeEdit:focus {
|
QTableView > QWidget > QDateTimeEdit:focus {
|
||||||
color: #624b14;
|
color: #624b14;
|
||||||
selection-color: white;
|
selection-color: white;
|
||||||
selection-background-color: #daa116;
|
selection-background-color: #daa116;
|
||||||
@@ -1904,29 +1913,29 @@ QTableView QDateTimeEdit:focus {
|
|||||||
background-color: #e3d8b9;
|
background-color: #e3d8b9;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:disabled,
|
QTableView > QWidget > QComboBox:disabled,
|
||||||
QTableView QAbstractSpinBox:disabled,
|
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||||
QTableView QSpinBox:disabled,
|
QTableView > QWidget > QSpinBox:disabled,
|
||||||
QTableView QDoubleSpinBox:disabled,
|
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||||
QTableView QLineEdit:disabled,
|
QTableView > QWidget > QLineEdit:disabled,
|
||||||
QTableView QTextEdit:disabled,
|
QTableView > QWidget > QTextEdit:disabled,
|
||||||
QTableView QTimeEdit:disabled,
|
QTableView > QWidget > QTimeEdit:disabled,
|
||||||
QTableView QDateEdit:disabled,
|
QTableView > QWidget > QDateEdit:disabled,
|
||||||
QTableView QDateTimeEdit:disabled {
|
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||||
color: rgba(0,0,0,120);
|
color: rgba(0,0,0,120);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:read-only,
|
QTableView > QWidget > QComboBox:read-only,
|
||||||
QTableView QAbstractSpinBox:read-only,
|
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||||
QTableView QSpinBox:read-only,
|
QTableView > QWidget > QSpinBox:read-only,
|
||||||
QTableView QDoubleSpinBox:read-only,
|
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||||
QTableView QLineEdit:read-only,
|
QTableView > QWidget > QLineEdit:read-only,
|
||||||
QTableView QTextEdit:read-only,
|
QTableView > QWidget > QTextEdit:read-only,
|
||||||
QTableView QTimeEdit:read-only,
|
QTableView > QWidget > QTimeEdit:read-only,
|
||||||
QTableView QDateEdit:read-only,
|
QTableView > QWidget > QDateEdit:read-only,
|
||||||
QTableView QDateTimeEdit:read-only {
|
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@@ -1942,4 +1951,4 @@ QDialog QGroupBox QFrame {
|
|||||||
margin: 2px 0px;
|
margin: 2px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
*[mandatoryField="true"] { background-color: cyan }
|
*[mandatoryField="true"] { background-color: cyan }
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ABOUT
|
ABOUT
|
||||||
============================================================================================================
|
============================================================================================================
|
||||||
version 2.02
|
version 2.03
|
||||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||||
It might work with other software that uses QT styling.
|
It might work with other software that uses QT styling.
|
||||||
|
|
||||||
@@ -168,7 +168,8 @@ QToolBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:top,
|
QToolBar::handle:top,
|
||||||
QToolBar::handle:bottom {
|
QToolBar::handle:bottom,
|
||||||
|
QToolBar::handle:horizontal {
|
||||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||||
width: 10px;
|
width: 10px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:left,
|
QToolBar::handle:left,
|
||||||
QToolBar::handle:right {
|
QToolBar::handle:right,
|
||||||
|
QToolBar::handle:vertical {
|
||||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
@@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:top,
|
QToolBar::separator:top,
|
||||||
QToolBar::separator:bottom {
|
QToolBar::separator:bottom,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:horizontal {
|
||||||
width: 10px;
|
width: 1px;
|
||||||
margin: 6px 2px 6px 2px;
|
margin: 6px 4px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:left,
|
QToolBar::separator:left,
|
||||||
QToolBar::separator:right {
|
QToolBar::separator:right,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:vertical {
|
||||||
height: 10px;
|
height: 1px;
|
||||||
margin: 2px 6px 2px 6px;
|
margin: 4px 6px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -997,12 +997,6 @@ QSint--ActionGroup {
|
|||||||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSint--ActionGroup QPushButton {
|
|
||||||
padding: 2px; /* bigger padding crops text and icons... */
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator line */
|
/* Separator line */
|
||||||
QSint--ActionGroup QFrame[height="1"],
|
QSint--ActionGroup QFrame[height="1"],
|
||||||
QSint--ActionGroup QFrame[height="2"],
|
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 */
|
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
|
Buttons
|
||||||
@@ -1677,11 +1677,6 @@ QToolBar > QDateTimeEdit {
|
|||||||
min-width: 70px; /* necessary to show its content */
|
min-width: 70px; /* necessary to show its content */
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar > QToolButton {
|
|
||||||
margin: 2px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolBar > QComboBox,
|
QToolBar > QComboBox,
|
||||||
QToolBar > QAbstractSpinBox,
|
QToolBar > QAbstractSpinBox,
|
||||||
QToolBar > QSpinBox,
|
QToolBar > QSpinBox,
|
||||||
@@ -1736,6 +1731,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||||||
background-color: transparent;
|
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) */
|
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
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 */
|
/* fix for elements inside the cells */
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit,
|
QTableView > QWidget > QDateTimeEdit,
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit {
|
QTableView > QWidget > QDateTimeEdit {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
background-color: rgba(0,0,0,30);
|
background-color: rgba(0,0,0,30);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:focus,
|
QTableView > QWidget > QComboBox:focus,
|
||||||
QTableView QAbstractSpinBox:focus,
|
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||||
QTableView QSpinBox:focus,
|
QTableView > QWidget > QSpinBox:focus,
|
||||||
QTableView QDoubleSpinBox:focus,
|
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||||
QTableView QLineEdit:focus,
|
QTableView > QWidget > QLineEdit:focus,
|
||||||
QTableView QTextEdit:focus,
|
QTableView > QWidget > QTextEdit:focus,
|
||||||
QTableView QTimeEdit:focus,
|
QTableView > QWidget > QTimeEdit:focus,
|
||||||
QTableView QDateEdit:focus,
|
QTableView > QWidget > QDateEdit:focus,
|
||||||
QTableView QDateTimeEdit:focus {
|
QTableView > QWidget > QDateTimeEdit:focus {
|
||||||
color: #1b3774;
|
color: #1b3774;
|
||||||
selection-color: white;
|
selection-color: white;
|
||||||
selection-background-color: #5e90fa;
|
selection-background-color: #5e90fa;
|
||||||
@@ -1902,29 +1911,29 @@ QTableView QDateTimeEdit:focus {
|
|||||||
background-color: #cbd8e6;
|
background-color: #cbd8e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:disabled,
|
QTableView > QWidget > QComboBox:disabled,
|
||||||
QTableView QAbstractSpinBox:disabled,
|
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||||
QTableView QSpinBox:disabled,
|
QTableView > QWidget > QSpinBox:disabled,
|
||||||
QTableView QDoubleSpinBox:disabled,
|
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||||
QTableView QLineEdit:disabled,
|
QTableView > QWidget > QLineEdit:disabled,
|
||||||
QTableView QTextEdit:disabled,
|
QTableView > QWidget > QTextEdit:disabled,
|
||||||
QTableView QTimeEdit:disabled,
|
QTableView > QWidget > QTimeEdit:disabled,
|
||||||
QTableView QDateEdit:disabled,
|
QTableView > QWidget > QDateEdit:disabled,
|
||||||
QTableView QDateTimeEdit:disabled {
|
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||||
color: rgba(0,0,0,120);
|
color: rgba(0,0,0,120);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:read-only,
|
QTableView > QWidget > QComboBox:read-only,
|
||||||
QTableView QAbstractSpinBox:read-only,
|
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||||
QTableView QSpinBox:read-only,
|
QTableView > QWidget > QSpinBox:read-only,
|
||||||
QTableView QDoubleSpinBox:read-only,
|
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||||
QTableView QLineEdit:read-only,
|
QTableView > QWidget > QLineEdit:read-only,
|
||||||
QTableView QTextEdit:read-only,
|
QTableView > QWidget > QTextEdit:read-only,
|
||||||
QTableView QTimeEdit:read-only,
|
QTableView > QWidget > QTimeEdit:read-only,
|
||||||
QTableView QDateEdit:read-only,
|
QTableView > QWidget > QDateEdit:read-only,
|
||||||
QTableView QDateTimeEdit:read-only {
|
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@@ -1940,4 +1949,4 @@ QDialog QGroupBox QFrame {
|
|||||||
margin: 2px 0px;
|
margin: 2px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
*[mandatoryField="true"] { background-color: cyan }
|
*[mandatoryField="true"] { background-color: cyan }
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ABOUT
|
ABOUT
|
||||||
============================================================================================================
|
============================================================================================================
|
||||||
version 2.02
|
version 2.03
|
||||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||||
It might work with other software that uses QT styling.
|
It might work with other software that uses QT styling.
|
||||||
|
|
||||||
@@ -168,7 +168,8 @@ QToolBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:top,
|
QToolBar::handle:top,
|
||||||
QToolBar::handle:bottom {
|
QToolBar::handle:bottom,
|
||||||
|
QToolBar::handle:horizontal {
|
||||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||||
width: 10px;
|
width: 10px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:left,
|
QToolBar::handle:left,
|
||||||
QToolBar::handle:right {
|
QToolBar::handle:right,
|
||||||
|
QToolBar::handle:vertical {
|
||||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
@@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:top,
|
QToolBar::separator:top,
|
||||||
QToolBar::separator:bottom {
|
QToolBar::separator:bottom,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:horizontal {
|
||||||
width: 10px;
|
width: 1px;
|
||||||
margin: 6px 2px 6px 2px;
|
margin: 6px 4px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:left,
|
QToolBar::separator:left,
|
||||||
QToolBar::separator:right {
|
QToolBar::separator:right,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:vertical {
|
||||||
height: 10px;
|
height: 1px;
|
||||||
margin: 2px 6px 2px 6px;
|
margin: 4px 6px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -997,12 +997,6 @@ QSint--ActionGroup {
|
|||||||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSint--ActionGroup QPushButton {
|
|
||||||
padding: 2px; /* bigger padding crops text and icons... */
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator line */
|
/* Separator line */
|
||||||
QSint--ActionGroup QFrame[height="1"],
|
QSint--ActionGroup QFrame[height="1"],
|
||||||
QSint--ActionGroup QFrame[height="2"],
|
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 */
|
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
|
Buttons
|
||||||
@@ -1677,11 +1677,6 @@ QToolBar > QDateTimeEdit {
|
|||||||
min-width: 70px; /* necessary to show its content */
|
min-width: 70px; /* necessary to show its content */
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar > QToolButton {
|
|
||||||
margin: 2px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolBar > QComboBox,
|
QToolBar > QComboBox,
|
||||||
QToolBar > QAbstractSpinBox,
|
QToolBar > QAbstractSpinBox,
|
||||||
QToolBar > QSpinBox,
|
QToolBar > QSpinBox,
|
||||||
@@ -1736,6 +1731,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||||||
background-color: transparent;
|
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) */
|
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
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 */
|
/* fix for elements inside the cells */
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit,
|
QTableView > QWidget > QDateTimeEdit,
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit {
|
QTableView > QWidget > QDateTimeEdit {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
background-color: rgba(0,0,0,30);
|
background-color: rgba(0,0,0,30);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:focus,
|
QTableView > QWidget > QComboBox:focus,
|
||||||
QTableView QAbstractSpinBox:focus,
|
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||||
QTableView QSpinBox:focus,
|
QTableView > QWidget > QSpinBox:focus,
|
||||||
QTableView QDoubleSpinBox:focus,
|
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||||
QTableView QLineEdit:focus,
|
QTableView > QWidget > QLineEdit:focus,
|
||||||
QTableView QTextEdit:focus,
|
QTableView > QWidget > QTextEdit:focus,
|
||||||
QTableView QTimeEdit:focus,
|
QTableView > QWidget > QTimeEdit:focus,
|
||||||
QTableView QDateEdit:focus,
|
QTableView > QWidget > QDateEdit:focus,
|
||||||
QTableView QDateTimeEdit:focus {
|
QTableView > QWidget > QDateTimeEdit:focus {
|
||||||
color: #566214;
|
color: #566214;
|
||||||
selection-color: white;
|
selection-color: white;
|
||||||
selection-background-color: #94b30f;
|
selection-background-color: #94b30f;
|
||||||
@@ -1902,29 +1911,29 @@ QTableView QDateTimeEdit:focus {
|
|||||||
background-color: #dadfc5;
|
background-color: #dadfc5;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:disabled,
|
QTableView > QWidget > QComboBox:disabled,
|
||||||
QTableView QAbstractSpinBox:disabled,
|
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||||
QTableView QSpinBox:disabled,
|
QTableView > QWidget > QSpinBox:disabled,
|
||||||
QTableView QDoubleSpinBox:disabled,
|
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||||
QTableView QLineEdit:disabled,
|
QTableView > QWidget > QLineEdit:disabled,
|
||||||
QTableView QTextEdit:disabled,
|
QTableView > QWidget > QTextEdit:disabled,
|
||||||
QTableView QTimeEdit:disabled,
|
QTableView > QWidget > QTimeEdit:disabled,
|
||||||
QTableView QDateEdit:disabled,
|
QTableView > QWidget > QDateEdit:disabled,
|
||||||
QTableView QDateTimeEdit:disabled {
|
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||||
color: rgba(0,0,0,120);
|
color: rgba(0,0,0,120);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:read-only,
|
QTableView > QWidget > QComboBox:read-only,
|
||||||
QTableView QAbstractSpinBox:read-only,
|
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||||
QTableView QSpinBox:read-only,
|
QTableView > QWidget > QSpinBox:read-only,
|
||||||
QTableView QDoubleSpinBox:read-only,
|
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||||
QTableView QLineEdit:read-only,
|
QTableView > QWidget > QLineEdit:read-only,
|
||||||
QTableView QTextEdit:read-only,
|
QTableView > QWidget > QTextEdit:read-only,
|
||||||
QTableView QTimeEdit:read-only,
|
QTableView > QWidget > QTimeEdit:read-only,
|
||||||
QTableView QDateEdit:read-only,
|
QTableView > QWidget > QDateEdit:read-only,
|
||||||
QTableView QDateTimeEdit:read-only {
|
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@@ -1940,4 +1949,4 @@ QDialog QGroupBox QFrame {
|
|||||||
margin: 2px 0px;
|
margin: 2px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
*[mandatoryField="true"] { background-color: cyan }
|
*[mandatoryField="true"] { background-color: cyan }
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ABOUT
|
ABOUT
|
||||||
============================================================================================================
|
============================================================================================================
|
||||||
version 2.02
|
version 2.03
|
||||||
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
QT theme (stylesheet) specially developed for FreeCAD (http://www.freecadweb.org/).
|
||||||
It might work with other software that uses QT styling.
|
It might work with other software that uses QT styling.
|
||||||
|
|
||||||
@@ -168,7 +168,8 @@ QToolBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:top,
|
QToolBar::handle:top,
|
||||||
QToolBar::handle:bottom {
|
QToolBar::handle:bottom,
|
||||||
|
QToolBar::handle:horizontal {
|
||||||
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
background-image: url(qss:images/Hmovetoolbar_dark.png);
|
||||||
width: 10px;
|
width: 10px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@@ -177,7 +178,8 @@ QToolBar::handle:bottom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::handle:left,
|
QToolBar::handle:left,
|
||||||
QToolBar::handle:right {
|
QToolBar::handle:right,
|
||||||
|
QToolBar::handle:vertical {
|
||||||
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
background-image: url(qss:images/Vmovetoolbar_dark.png);
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
@@ -186,21 +188,19 @@ QToolBar::handle:right {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:top,
|
QToolBar::separator:top,
|
||||||
QToolBar::separator:bottom {
|
QToolBar::separator:bottom,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:horizontal {
|
||||||
width: 10px;
|
width: 1px;
|
||||||
margin: 6px 2px 6px 2px;
|
margin: 6px 4px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar::separator:left,
|
QToolBar::separator:left,
|
||||||
QToolBar::separator:right {
|
QToolBar::separator:right,
|
||||||
background-image: url(qss:images/separtoolbar_dark.png);
|
QToolBar::separator:vertical {
|
||||||
height: 10px;
|
height: 1px;
|
||||||
margin: 2px 6px 2px 6px;
|
margin: 4px 6px;
|
||||||
background-position: center center;
|
background-color: rgba(0,0,0,30);
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -997,12 +997,6 @@ QSint--ActionGroup {
|
|||||||
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSint--ActionGroup QPushButton {
|
|
||||||
padding: 2px; /* bigger padding crops text and icons... */
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator line */
|
/* Separator line */
|
||||||
QSint--ActionGroup QFrame[height="1"],
|
QSint--ActionGroup QFrame[height="1"],
|
||||||
QSint--ActionGroup QFrame[height="2"],
|
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 */
|
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
|
Buttons
|
||||||
@@ -1677,11 +1677,6 @@ QToolBar > QDateTimeEdit {
|
|||||||
min-width: 70px; /* necessary to show its content */
|
min-width: 70px; /* necessary to show its content */
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar > QToolButton {
|
|
||||||
margin: 2px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolBar > QComboBox,
|
QToolBar > QComboBox,
|
||||||
QToolBar > QAbstractSpinBox,
|
QToolBar > QAbstractSpinBox,
|
||||||
QToolBar > QSpinBox,
|
QToolBar > QSpinBox,
|
||||||
@@ -1736,6 +1731,20 @@ QToolBar > QPushButton:!checked:disabled {
|
|||||||
background-color: transparent;
|
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) */
|
/* ToolBar menu buttons (buttons with drop-down menu) */
|
||||||
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
QToolBar > QToolButton#qt_toolbutton_menubutton {
|
||||||
padding-right: 20px; /* Hack to add more width to buttons with menu */
|
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 */
|
/* fix for elements inside the cells */
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit,
|
QTableView > QWidget > QDateTimeEdit,
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox,
|
QTableView > QWidget > QComboBox,
|
||||||
QTableView QAbstractSpinBox,
|
QTableView > QWidget > QAbstractSpinBox,
|
||||||
QTableView QSpinBox,
|
QTableView > QWidget > QSpinBox,
|
||||||
QTableView QDoubleSpinBox,
|
QTableView > QWidget > QDoubleSpinBox,
|
||||||
QTableView QLineEdit,
|
QTableView > QWidget > QLineEdit,
|
||||||
QTableView QTextEdit,
|
QTableView > QWidget > QTextEdit,
|
||||||
QTableView QTimeEdit,
|
QTableView > QWidget > QTimeEdit,
|
||||||
QTableView QDateEdit,
|
QTableView > QWidget > QDateEdit,
|
||||||
QTableView QDateTimeEdit {
|
QTableView > QWidget > QDateTimeEdit {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:drop-down,
|
QTableView > QWidget > QComboBox:drop-down,
|
||||||
QTableView QAbstractSpinBox:up-button,
|
QTableView > QWidget > QAbstractSpinBox:up-button,
|
||||||
QTableView QSpinBox:up-button,
|
QTableView > QWidget > QSpinBox:up-button,
|
||||||
QTableView QDoubleSpinBox:up-button,
|
QTableView > QWidget > QDoubleSpinBox:up-button,
|
||||||
QTableView QTimeEdit:up-button,
|
QTableView > QWidget > QTimeEdit:up-button,
|
||||||
QTableView QDateEdit:up-button,
|
QTableView > QWidget > QDateEdit:up-button,
|
||||||
QTableView QDateTimeEdit:up-button,
|
QTableView > QWidget > QDateTimeEdit:up-button,
|
||||||
QTableView QAbstractSpinBox:down-button,
|
QTableView > QWidget > QAbstractSpinBox:down-button,
|
||||||
QTableView QSpinBox:down-button,
|
QTableView > QWidget > QSpinBox:down-button,
|
||||||
QTableView QDoubleSpinBox:down-button,
|
QTableView > QWidget > QDoubleSpinBox:down-button,
|
||||||
QTableView QTimeEdit:down-button,
|
QTableView > QWidget > QTimeEdit:down-button,
|
||||||
QTableView QDateEdit:down-button,
|
QTableView > QWidget > QDateEdit:down-button,
|
||||||
QTableView QDateTimeEdit:down-button,
|
QTableView > QWidget > QDateTimeEdit:down-button,
|
||||||
QTableView Gui--ColorButton {
|
QTableView > QWidget > Gui--ColorButton {
|
||||||
background-color: rgba(0,0,0,30);
|
background-color: rgba(0,0,0,30);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:focus,
|
QTableView > QWidget > QComboBox:focus,
|
||||||
QTableView QAbstractSpinBox:focus,
|
QTableView > QWidget > QAbstractSpinBox:focus,
|
||||||
QTableView QSpinBox:focus,
|
QTableView > QWidget > QSpinBox:focus,
|
||||||
QTableView QDoubleSpinBox:focus,
|
QTableView > QWidget > QDoubleSpinBox:focus,
|
||||||
QTableView QLineEdit:focus,
|
QTableView > QWidget > QLineEdit:focus,
|
||||||
QTableView QTextEdit:focus,
|
QTableView > QWidget > QTextEdit:focus,
|
||||||
QTableView QTimeEdit:focus,
|
QTableView > QWidget > QTimeEdit:focus,
|
||||||
QTableView QDateEdit:focus,
|
QTableView > QWidget > QDateEdit:focus,
|
||||||
QTableView QDateTimeEdit:focus {
|
QTableView > QWidget > QDateTimeEdit:focus {
|
||||||
color: #624b14;
|
color: #624b14;
|
||||||
selection-color: white;
|
selection-color: white;
|
||||||
selection-background-color: #daa116;
|
selection-background-color: #daa116;
|
||||||
@@ -1902,29 +1911,29 @@ QTableView QDateTimeEdit:focus {
|
|||||||
background-color: #e3d8b9;
|
background-color: #e3d8b9;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:disabled,
|
QTableView > QWidget > QComboBox:disabled,
|
||||||
QTableView QAbstractSpinBox:disabled,
|
QTableView > QWidget > QAbstractSpinBox:disabled,
|
||||||
QTableView QSpinBox:disabled,
|
QTableView > QWidget > QSpinBox:disabled,
|
||||||
QTableView QDoubleSpinBox:disabled,
|
QTableView > QWidget > QDoubleSpinBox:disabled,
|
||||||
QTableView QLineEdit:disabled,
|
QTableView > QWidget > QLineEdit:disabled,
|
||||||
QTableView QTextEdit:disabled,
|
QTableView > QWidget > QTextEdit:disabled,
|
||||||
QTableView QTimeEdit:disabled,
|
QTableView > QWidget > QTimeEdit:disabled,
|
||||||
QTableView QDateEdit:disabled,
|
QTableView > QWidget > QDateEdit:disabled,
|
||||||
QTableView QDateTimeEdit:disabled {
|
QTableView > QWidget > QDateTimeEdit:disabled {
|
||||||
color: rgba(0,0,0,120);
|
color: rgba(0,0,0,120);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView QComboBox:read-only,
|
QTableView > QWidget > QComboBox:read-only,
|
||||||
QTableView QAbstractSpinBox:read-only,
|
QTableView > QWidget > QAbstractSpinBox:read-only,
|
||||||
QTableView QSpinBox:read-only,
|
QTableView > QWidget > QSpinBox:read-only,
|
||||||
QTableView QDoubleSpinBox:read-only,
|
QTableView > QWidget > QDoubleSpinBox:read-only,
|
||||||
QTableView QLineEdit:read-only,
|
QTableView > QWidget > QLineEdit:read-only,
|
||||||
QTableView QTextEdit:read-only,
|
QTableView > QWidget > QTextEdit:read-only,
|
||||||
QTableView QTimeEdit:read-only,
|
QTableView > QWidget > QTimeEdit:read-only,
|
||||||
QTableView QDateEdit:read-only,
|
QTableView > QWidget > QDateEdit:read-only,
|
||||||
QTableView QDateTimeEdit:read-only {
|
QTableView > QWidget > QDateTimeEdit:read-only {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@@ -1940,4 +1949,4 @@ QDialog QGroupBox QFrame {
|
|||||||
margin: 2px 0px;
|
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 |
Reference in New Issue
Block a user