2021-12-24 10:06:14 -06:00
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QtMaterial - https://github.com/UN-GCPDS/qt-material
|
|
|
|
/* By Yeison Cardona - GCPDS
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
|
|
|
|
*{
|
|
|
|
color: #ffffff;
|
2022-01-29 00:54:08 -06:00
|
|
|
|
2021-12-24 10:06:14 -06:00
|
|
|
font-family: Roboto;
|
2022-01-29 00:54:08 -06:00
|
|
|
|
|
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
line-height: 0px;
|
|
|
|
|
|
|
|
|
2021-12-24 10:06:14 -06:00
|
|
|
selection-background-color: #ffff74;
|
|
|
|
selection-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
*:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Custom colors */
|
|
|
|
|
|
|
|
.danger{
|
|
|
|
color: #dc3545;
|
2022-01-29 00:54:08 -06:00
|
|
|
background-color: transparent;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.warning{
|
|
|
|
color: #ffc107;
|
2022-01-29 00:54:08 -06:00
|
|
|
background-color: transparent;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.success{
|
|
|
|
color: #17a2b8;
|
2022-01-29 00:54:08 -06:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.danger:disabled{
|
|
|
|
color: rgba(220, 53, 69, 0.4);
|
|
|
|
border-color: rgba(220, 53, 69, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning:disabled{
|
|
|
|
color: rgba(255, 193, 7, 0.4);
|
|
|
|
border-color: rgba(255, 193, 7, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.success:disabled{
|
|
|
|
color: rgba(23, 162, 184, 0.4);
|
|
|
|
border-color: rgba(23, 162, 184, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.danger:flat:disabled{
|
|
|
|
background-color: rgba(220, 53, 69, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning:flat:disabled{
|
|
|
|
background-color: rgba(255, 193, 7, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.success:flat:disabled{
|
|
|
|
background-color: rgba(23, 162, 184, 0.1);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Basic widgets */
|
|
|
|
|
|
|
|
QWidget {
|
|
|
|
background-color: #31363b;
|
|
|
|
}
|
|
|
|
|
2022-01-29 00:54:08 -06:00
|
|
|
QGroupBox,
|
2021-12-24 10:06:14 -06:00
|
|
|
QFrame {
|
|
|
|
background-color: #31363b;
|
2022-01-29 00:54:08 -06:00
|
|
|
border: 2px solid #4f5b62;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox.fill_background,
|
|
|
|
QFrame.fill_background {
|
|
|
|
background-color: #232629;
|
|
|
|
border: 2px solid #232629;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSplitter {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none
|
|
|
|
}
|
|
|
|
|
|
|
|
QStatusBar {
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: rgba(79, 91, 98, 0.2);
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea,
|
|
|
|
QStackedWidget,
|
|
|
|
QWidget > QToolBox,
|
|
|
|
QToolBox > QWidget,
|
|
|
|
QTabWidget > QWidget {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabWidget::pane {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Inputs */
|
|
|
|
|
|
|
|
QDateTimeEdit,
|
|
|
|
QSpinBox,
|
|
|
|
QDoubleSpinBox,
|
|
|
|
QTextEdit,
|
|
|
|
QLineEdit,
|
|
|
|
QPushButton {
|
|
|
|
color: #ffd740;
|
|
|
|
background-color: #31363b;
|
|
|
|
border: 2px solid #ffd740;
|
|
|
|
border-radius: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 24px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QDateTimeEdit,
|
|
|
|
QSpinBox,
|
|
|
|
QDoubleSpinBox,
|
|
|
|
QTreeView,
|
|
|
|
QListView,
|
|
|
|
QLineEdit,
|
|
|
|
QComboBox {
|
2022-01-29 00:54:08 -06:00
|
|
|
padding-left: 8px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 0px;
|
|
|
|
background-color: #232629;
|
|
|
|
border-width: 0 0 2px 0;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 24px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QPlainTextEdit {
|
|
|
|
border-radius: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0px 8px;
|
2021-12-24 10:06:14 -06:00
|
|
|
background-color: #31363b;
|
2022-01-29 00:54:08 -06:00
|
|
|
border: 2px solid #4f5b62;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTextEdit {
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0px 8px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 4px;
|
|
|
|
background-color: #232629;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDateTimeEdit:disabled,
|
|
|
|
QSpinBox:disabled,
|
|
|
|
QDoubleSpinBox:disabled,
|
|
|
|
QTextEdit:disabled,
|
|
|
|
QLineEdit:disabled {
|
|
|
|
color: rgba(255, 215, 64, 0.2);
|
|
|
|
background-color: rgba(35, 38, 41, 0.75);
|
|
|
|
border: 2px solid rgba(255, 215, 64, 0.2);
|
|
|
|
border-width: 0 0 2px 0;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0px 8px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 0px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 24px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QComboBox */
|
|
|
|
|
|
|
|
QComboBox {
|
|
|
|
color: #ffd740;
|
|
|
|
border: 1px solid #ffd740;
|
|
|
|
border-width: 0 0 2px 0;
|
|
|
|
background-color: #232629;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:disabled {
|
|
|
|
color: rgba(255, 215, 64, 0.2);
|
|
|
|
background-color: rgba(35, 38, 41, 0.75);
|
|
|
|
border-bottom: 2px solid rgba(255, 215, 64, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::drop-down {
|
|
|
|
border: none;
|
|
|
|
color: #ffd740;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/downarrow.svg);
|
|
|
|
margin-right: 4px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/downarrow.svg);
|
|
|
|
margin-right: 4px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QAbstractItemView {
|
|
|
|
background-color: #232629;
|
|
|
|
border: 2px solid #4f5b62;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox[frame='false'] {
|
|
|
|
color: #ffd740;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
QComboBox[frame='false']:disabled {
|
|
|
|
color: rgba(255, 215, 64, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Spin buttons */
|
|
|
|
|
|
|
|
QDateTimeEdit::up-button,
|
|
|
|
QDoubleSpinBox::up-button,
|
|
|
|
QSpinBox::up-button {
|
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: top right;
|
|
|
|
width: 20px;
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/uparrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
border-width: 0px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDateTimeEdit::up-button:disabled,
|
|
|
|
QDoubleSpinBox::up-button:disabled,
|
|
|
|
QSpinBox::up-button:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/uparrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QDateTimeEdit::down-button,
|
|
|
|
QDoubleSpinBox::down-button,
|
|
|
|
QSpinBox::down-button {
|
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: bottom right;
|
|
|
|
width: 20px;
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/downarrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
border-width: 0px;
|
|
|
|
border-top-width: 0;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDateTimeEdit::down-button:disabled,
|
|
|
|
QDoubleSpinBox::down-button:disabled,
|
|
|
|
QSpinBox::down-button:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/downarrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QPushButton */
|
|
|
|
|
|
|
|
QPushButton {
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin: 0px;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0px 8px;
|
|
|
|
height: 24px;
|
2021-12-24 10:06:14 -06:00
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:checked,
|
|
|
|
QPushButton:pressed {
|
|
|
|
color: #31363b;
|
|
|
|
background-color: #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:flat {
|
|
|
|
margin: 0px;
|
|
|
|
color: #ffd740;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:flat:hover {
|
|
|
|
background-color: rgba(255, 215, 64, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:flat:pressed,
|
|
|
|
QPushButton:flat:checked {
|
|
|
|
background-color: rgba(255, 215, 64, 0.1);
|
|
|
|
}
|
|
|
|
|
2022-01-29 00:54:08 -06:00
|
|
|
QPushButton:disabled {
|
2021-12-24 10:06:14 -06:00
|
|
|
color: rgba(79, 91, 98, 0.75);
|
|
|
|
background-color: transparent;
|
2022-01-29 00:54:08 -06:00
|
|
|
border-color: #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:flat:disabled {
|
|
|
|
color: rgba(79, 91, 98, 0.75);
|
|
|
|
background-color: rgba(79, 91, 98, 0.25);
|
|
|
|
border: none;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:disabled {
|
|
|
|
border: 2px solid rgba(79, 91, 98, 0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:checked:disabled {
|
|
|
|
color: #232629;
|
|
|
|
background-color: #4f5b62;
|
|
|
|
border-color: #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QTabBar */
|
|
|
|
|
|
|
|
QTabBar{
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab {
|
|
|
|
color: #ffffff;
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom,
|
|
|
|
QTabBar::tab:top{
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0 8px;
|
|
|
|
height: 20px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:left,
|
|
|
|
QTabBar::tab:right{
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 8px 0;
|
|
|
|
width: 20px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:top:selected,
|
|
|
|
QTabBar::tab:top:hover {
|
|
|
|
color: #ffd740;
|
|
|
|
border-bottom: 2px solid #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom:selected,
|
|
|
|
QTabBar::tab:bottom:hover {
|
|
|
|
color: #ffd740;
|
|
|
|
border-top: 2px solid #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:right:selected,
|
|
|
|
QTabBar::tab:right:hover {
|
|
|
|
color: #ffd740;
|
|
|
|
border-left: 2px solid #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:left:selected,
|
|
|
|
QTabBar::tab:left:hover {
|
|
|
|
color: #ffd740;
|
|
|
|
border-right: 2px solid #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton:hover,
|
|
|
|
QTabBar QToolButton {
|
|
|
|
border: 20px;
|
|
|
|
background-color: #31363b;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::up-arrow {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/uparrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::up-arrow:hover {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/uparrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::down-arrow {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/downarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::down-arrow:hover {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/downarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::right-arrow {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/rightarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::right-arrow:hover {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/rightarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::left-arrow {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/leftarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar QToolButton::left-arrow:hover {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/leftarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::close-button {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/tab_close.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::close-button:hover {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/tab_close.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QGroupBox */
|
|
|
|
|
|
|
|
QGroupBox {
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 8px;
|
|
|
|
padding-top: 28px;
|
|
|
|
line-height: ;
|
2021-12-24 10:06:14 -06:00
|
|
|
text-transform: uppercase;
|
2022-01-29 00:54:08 -06:00
|
|
|
font-size: ;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox::title {
|
|
|
|
color: rgba(255, 255, 255, 0.4);
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
subcontrol-position: top left;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 8px;
|
2021-12-24 10:06:14 -06:00
|
|
|
background-color: #31363b;
|
|
|
|
background-color: transparent;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QRadioButton and QCheckBox labels */
|
|
|
|
|
|
|
|
QRadioButton,
|
|
|
|
QCheckBox {
|
2022-01-29 00:54:08 -06:00
|
|
|
spacing: 4px;
|
2021-12-24 10:06:14 -06:00
|
|
|
color: #ffffff;
|
|
|
|
line-height: 14px;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
background-color: transparent;
|
|
|
|
spacing: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton:disabled,
|
|
|
|
QCheckBox:disabled {
|
|
|
|
color: rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* General Indicators */
|
|
|
|
|
|
|
|
QGroupBox::indicator {
|
2022-01-29 00:54:08 -06:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator,
|
|
|
|
QListView::indicator,
|
|
|
|
QTableWidget::indicator,
|
|
|
|
QRadioButton::indicator,
|
|
|
|
QCheckBox::indicator {
|
2022-01-29 00:54:08 -06:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QListView Indicator */
|
|
|
|
|
|
|
|
QListView::indicator:checked,
|
|
|
|
QListView::indicator:checked:selected,
|
|
|
|
QListView::indicator:checked:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checklist.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QListView::indicator:checked:selected:active {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checklist_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QListView::indicator:checked:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checklist.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QListView::indicator:indeterminate,
|
|
|
|
QListView::indicator:indeterminate:selected,
|
|
|
|
QListView::indicator:indeterminate:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checklist_indeterminate.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QListView::indicator:indeterminate:selected:active {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checklist_indeterminate_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QListView::indicator:indeterminate:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checklist_indeterminate.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QTableView Indicator */
|
|
|
|
|
|
|
|
QTableView::indicator:enabled:checked,
|
|
|
|
QTableView::indicator:enabled:checked:selected,
|
|
|
|
QTableView::indicator:enabled:checked:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:checked:selected:active {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_checked_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:disabled:checked,
|
|
|
|
QTableView::indicator:disabled:checked:selected,
|
|
|
|
QTableView::indicator:disabled:checked:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checkbox_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:enabled:unchecked,
|
|
|
|
QTableView::indicator:enabled:unchecked:selected,
|
|
|
|
QTableView::indicator:enabled:unchecked:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:unchecked:selected:active {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_unchecked_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:disabled:unchecked,
|
|
|
|
QTableView::indicator:disabled:unchecked:selected,
|
|
|
|
QTableView::indicator:disabled:unchecked:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checkbox_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:enabled:indeterminate,
|
|
|
|
QTableView::indicator:enabled:indeterminate:selected,
|
|
|
|
QTableView::indicator:enabled:indeterminate:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_indeterminate.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:indeterminate:selected:active {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_indeterminate_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::indicator:disabled:indeterminate,
|
|
|
|
QTableView::indicator:disabled:indeterminate:selected,
|
|
|
|
QTableView::indicator:disabled:indeterminate:focus {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checkbox_indeterminate.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QCheckBox and QGroupBox Indicator */
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked,
|
|
|
|
QGroupBox::indicator:checked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked,
|
|
|
|
QGroupBox::indicator:unchecked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate,
|
|
|
|
QGroupBox::indicator:indeterminate {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_indeterminate.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:disabled,
|
|
|
|
QGroupBox::indicator:checked:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checkbox_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked:disabled,
|
|
|
|
QGroupBox::indicator:unchecked:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checkbox_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate:disabled,
|
|
|
|
QGroupBox::indicator:indeterminate:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/checkbox_indeterminate.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QRadioButton Indicator */
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/radiobutton_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/radiobutton_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/radiobutton_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked:disabled {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/radiobutton_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QDockWidget */
|
|
|
|
|
|
|
|
QDockWidget {
|
|
|
|
color: #ffffff;
|
|
|
|
text-transform: uppercase;
|
|
|
|
border: 2px solid #232629;
|
2022-01-29 00:54:08 -06:00
|
|
|
titlebar-close-icon: url(:/ostinato.org/themes/material-dark/primary/close.svg);
|
|
|
|
titlebar-normal-icon: url(:/ostinato.org/themes/material-dark/primary/float.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::title {
|
|
|
|
text-align: left;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding-left: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
padding: 3px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QComboBox indicator */
|
|
|
|
|
|
|
|
QComboBox::indicator:checked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checklist.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::indicator:checked:selected {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checklist_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Menu Items */
|
|
|
|
|
|
|
|
QComboBox::item,
|
|
|
|
QCalendarWidget QMenu::item,
|
|
|
|
QMenu::item {
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 20px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border: 8px solid transparent;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget QMenu::item,
|
|
|
|
QMenu::item {
|
|
|
|
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0px 16px 0px 8px; /* pyqt5 */
|
2021-12-24 10:06:14 -06:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::item:selected,
|
|
|
|
QCalendarWidget QMenu::item:selected,
|
|
|
|
QMenu::item:selected {
|
|
|
|
color: #000000;
|
|
|
|
background-color: #ffff74;
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::item:disabled,
|
|
|
|
QCalendarWidget QMenu::item:disabled,
|
|
|
|
QMenu::item:disabled {
|
|
|
|
color: rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QMenu */
|
|
|
|
|
|
|
|
QCalendarWidget QMenu,
|
|
|
|
QMenu {
|
|
|
|
background-color: #232629;
|
|
|
|
border: 2px solid #4f5b62;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::separator {
|
|
|
|
height: 2px;
|
|
|
|
background-color: #4f5b62;
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::right-arrow{
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/rightarrow.svg);
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::right-arrow:selected{
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/disabled/rightarrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:non-exclusive:unchecked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:non-exclusive:unchecked:selected {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_unchecked_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:non-exclusive:checked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:non-exclusive:checked:selected {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/checkbox_checked_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:exclusive:unchecked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/radiobutton_unchecked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:exclusive:unchecked:selected {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/radiobutton_unchecked_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:exclusive:checked {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/radiobutton_checked.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator:exclusive:checked:selected {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/radiobutton_checked_invert.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QMenuBar */
|
|
|
|
|
|
|
|
QMenuBar {
|
|
|
|
background-color: #232629;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item {
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 24px;
|
2021-12-24 10:06:14 -06:00
|
|
|
padding: 8px;
|
|
|
|
background-color: transparent;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:selected,
|
|
|
|
QMenuBar::item:pressed {
|
|
|
|
color: #000000;
|
|
|
|
background-color: #ffff74;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QToolBox */
|
|
|
|
|
|
|
|
QToolBox::tab {
|
|
|
|
background-color: #232629;
|
|
|
|
color: #ffffff;
|
|
|
|
text-transform: uppercase;
|
|
|
|
border-radius: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding-left: 15px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBox::tab:selected,
|
|
|
|
QToolBox::tab:hover {
|
|
|
|
background-color: rgba(255, 215, 64, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QProgressBar */
|
|
|
|
|
|
|
|
QProgressBar {
|
|
|
|
border-radius: 0;
|
|
|
|
background-color: #4f5b62;
|
|
|
|
text-align: center;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QProgressBar::chunk {
|
|
|
|
background-color: #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QScrollBar */
|
|
|
|
|
|
|
|
QScrollBar:horizontal {
|
|
|
|
border: 0;
|
|
|
|
background: #232629;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 0px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical {
|
|
|
|
border: 0;
|
|
|
|
background: #232629;
|
2022-01-29 00:54:08 -06:00
|
|
|
width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle {
|
|
|
|
background: rgba(255, 215, 64, 0.1);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal {
|
2022-01-29 00:54:08 -06:00
|
|
|
min-width: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical {
|
2022-01-29 00:54:08 -06:00
|
|
|
min-height: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:hover,
|
|
|
|
QScrollBar::handle:horizontal:hover {
|
|
|
|
background: #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical,
|
|
|
|
QScrollBar::sub-line:vertical,
|
|
|
|
QScrollBar::add-line:horizontal,
|
|
|
|
QScrollBar::sub-line:horizontal {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QScrollBar-Big */
|
|
|
|
|
|
|
|
QScrollBar.big:horizontal {
|
|
|
|
border: 0;
|
|
|
|
background: #232629;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar.big:vertical {
|
|
|
|
border: 0;
|
|
|
|
background: #232629;
|
2022-01-29 00:54:08 -06:00
|
|
|
width: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar.big::handle,
|
|
|
|
QScrollBar.big::handle:vertical:hover,
|
|
|
|
QScrollBar.big::handle:horizontal:hover {
|
|
|
|
background: #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar.big::handle:horizontal {
|
2022-01-29 00:54:08 -06:00
|
|
|
min-width: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar.big::handle:vertical {
|
2022-01-29 00:54:08 -06:00
|
|
|
min-height: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar.big::add-line:vertical,
|
|
|
|
QScrollBar.big::sub-line:vertical,
|
|
|
|
QScrollBar.big::add-line:horizontal,
|
|
|
|
QScrollBar.big::sub-line:horizontal {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QSlider */
|
|
|
|
|
|
|
|
QSlider:horizontal {
|
2022-01-29 00:54:08 -06:00
|
|
|
min-height: 16px;
|
|
|
|
max-height: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider:vertical {
|
2022-01-29 00:54:08 -06:00
|
|
|
min-width: 16px;
|
|
|
|
max-width: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::groove:horizontal {
|
|
|
|
height: 4px;
|
|
|
|
background: #393939;
|
2022-01-29 00:54:08 -06:00
|
|
|
margin: 0 4px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::groove:vertical {
|
|
|
|
width: 4px;
|
|
|
|
background: #393939;
|
2022-01-29 00:54:08 -06:00
|
|
|
margin: 4px 0;
|
|
|
|
border-radius: 16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/slider.svg);
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: -16px -4px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:vertical {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/slider.svg);
|
|
|
|
border-radius: 16px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: -4px -16px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::add-page {
|
|
|
|
background: #232629;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::sub-page {
|
|
|
|
background: #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QLabel */
|
|
|
|
|
|
|
|
QLabel {
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
color: #ffffff
|
|
|
|
}
|
|
|
|
|
|
|
|
QLabel:disabled {
|
|
|
|
color: rgba(255, 255, 255, 0.2)
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* VLines and HLinex */
|
|
|
|
|
|
|
|
QFrame[frameShape="4"] {
|
|
|
|
border-width: 1px 0 0 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QFrame[frameShape="5"] {
|
|
|
|
border-width: 0 1px 0 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QFrame[frameShape="4"],
|
|
|
|
QFrame[frameShape="5"] {
|
|
|
|
border-color: #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QToolBar */
|
|
|
|
|
|
|
|
QToolBar {
|
|
|
|
background: #31363b;
|
|
|
|
border: 0px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar:horizontal {
|
|
|
|
border-bottom: 1px solid #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar:vertical {
|
|
|
|
border-right: 1px solid #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::handle:horizontal {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/toolbar-handle-horizontal.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::handle:vertical {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/toolbar-handle-vertical.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::separator:horizontal {
|
|
|
|
border-right: 1px solid #4f5b62;
|
|
|
|
border-left: 1px solid #4f5b62;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::separator:vertical {
|
|
|
|
border-top: 1px solid #4f5b62;
|
|
|
|
border-bottom: 1px solid #4f5b62;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
2022-01-29 00:54:08 -06:00
|
|
|
|
2021-12-24 10:06:14 -06:00
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QToolButton */
|
|
|
|
|
|
|
|
QToolButton {
|
|
|
|
background: #31363b;
|
|
|
|
border: 0px;
|
2022-01-29 00:54:08 -06:00
|
|
|
height: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
margin: 3px;
|
|
|
|
padding: 3px;
|
|
|
|
border-right: 12px solid #31363b;
|
|
|
|
border-left: 12px solid #31363b;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton:hover {
|
|
|
|
background: #4f5b62;
|
|
|
|
border-right: 12px solid #4f5b62;
|
|
|
|
border-left: 12px solid #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton:pressed {
|
|
|
|
background: #232629;
|
|
|
|
border-right: 12px solid #232629;
|
|
|
|
border-left: 12px solid #232629;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton:checked {
|
|
|
|
background: #4f5b62;
|
|
|
|
border-left: 12px solid #4f5b62;
|
|
|
|
border-right: 12px solid #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* General viewers */
|
|
|
|
|
|
|
|
QTableView {
|
|
|
|
background-color: #31363b;
|
|
|
|
border: 1px solid #232629;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView,
|
|
|
|
QListView {
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
margin: 0px;
|
2022-01-29 00:54:08 -06:00
|
|
|
border: 0px;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::item,
|
|
|
|
QTreeView::item,
|
|
|
|
QListView::item {
|
|
|
|
padding: 4px;
|
2022-01-29 00:54:08 -06:00
|
|
|
min-height: 24px;
|
2021-12-24 10:06:14 -06:00
|
|
|
color: #ffffff;
|
|
|
|
selection-color: #ffffff; /* For Windows */
|
|
|
|
border-color: transparent; /* Fix #34 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Items Selection */
|
|
|
|
|
|
|
|
QTableView::item:selected,
|
|
|
|
QTreeView::item:selected,
|
|
|
|
QListView::item:selected {
|
|
|
|
background-color: rgba(255, 215, 64, 0.2);
|
|
|
|
selection-background-color: rgba(255, 215, 64, 0.2);
|
|
|
|
color: #ffffff;
|
|
|
|
selection-color: #ffffff; /* For Windows */
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::item:selected:focus,
|
|
|
|
QTreeView::item:selected:focus,
|
|
|
|
QListView::item:selected:focus {
|
|
|
|
background-color: #ffd740;
|
|
|
|
selection-background-color: #ffd740;
|
|
|
|
color: #000000;
|
|
|
|
selection-color: #000000; /* For Windows */
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView {
|
|
|
|
selection-background-color: rgba(255, 215, 64, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView:focus {
|
|
|
|
selection-background-color: #ffd740;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::item:disabled {
|
|
|
|
color: rgba(255, 255, 255, 0.3);
|
|
|
|
selection-color: rgba(255, 255, 255, 0.3);
|
|
|
|
background-color: #232629;
|
|
|
|
selection-background-color: #232629;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QTreeView */
|
|
|
|
|
|
|
|
QTreeView::branch{
|
|
|
|
background-color: #232629;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:closed:has-children:has-siblings,
|
|
|
|
QTreeView::branch:closed:has-children:!has-siblings {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/branch-closed.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:open:has-children:!has-siblings,
|
|
|
|
QTreeView::branch:open:has-children:has-siblings {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/branch-open.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:has-siblings:!adjoins-item {
|
2022-01-29 00:54:08 -06:00
|
|
|
border-image: url(:/ostinato.org/themes/material-dark/disabled/vline.svg) 0;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:has-siblings:adjoins-item {
|
2022-01-29 00:54:08 -06:00
|
|
|
border-image: url(:/ostinato.org/themes/material-dark/disabled/branch-more.svg) 0;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:!has-children:!has-siblings:adjoins-item,
|
|
|
|
QTreeView::branch:has-children:!has-siblings:adjoins-item {
|
2022-01-29 00:54:08 -06:00
|
|
|
border-image: url(:/ostinato.org/themes/material-dark/disabled/branch-end.svg) 0;
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView QHeaderView::section {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Custom buttons */
|
|
|
|
|
|
|
|
QPushButton.danger {
|
|
|
|
border-color: #dc3545;
|
|
|
|
color: #dc3545;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.danger:checked,
|
|
|
|
QPushButton.danger:pressed {
|
|
|
|
color: #31363b;
|
|
|
|
background-color: #dc3545;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.warning{
|
|
|
|
border-color: #ffc107;
|
|
|
|
color: #ffc107;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.warning:checked,
|
|
|
|
QPushButton.warning:pressed {
|
|
|
|
color: #31363b;
|
|
|
|
background-color: #ffc107;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.success {
|
|
|
|
border-color: #17a2b8;
|
|
|
|
color: #17a2b8;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.success:checked,
|
|
|
|
QPushButton.success:pressed {
|
|
|
|
color: #31363b;
|
|
|
|
background-color: #17a2b8;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.danger:flat:hover {
|
|
|
|
background-color: rgba(220, 53, 69, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.danger:flat:pressed,
|
|
|
|
QPushButton.danger:flat:checked {
|
|
|
|
background-color: rgba(220, 53, 69, 0.1);
|
|
|
|
color: #dc3545;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.warning:flat:hover {
|
|
|
|
background-color: rgba(255, 193, 7, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.warning:flat:pressed,
|
|
|
|
QPushButton.warning:flat:checked {
|
|
|
|
background-color: rgba(255, 193, 7, 0.1);
|
|
|
|
color: #ffc107;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.success:flat:hover {
|
|
|
|
background-color: rgba(23, 162, 184, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton.success:flat:pressed,
|
|
|
|
QPushButton.success:flat:checked {
|
|
|
|
background-color: rgba(23, 162, 184, 0.1);
|
|
|
|
color: #17a2b8;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QTableView */
|
|
|
|
|
|
|
|
QTableCornerButton::section {
|
|
|
|
background-color: #232629;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-right: 1px solid;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
border-color: #31363b;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView {
|
|
|
|
alternate-background-color: rgba(35, 38, 41, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section {
|
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
|
text-transform: uppercase;
|
|
|
|
background-color: #232629;
|
2022-01-29 00:54:08 -06:00
|
|
|
padding: 0 16px;
|
|
|
|
height: 28px;
|
2021-12-24 10:06:14 -06:00
|
|
|
border-radius: 0px;
|
|
|
|
border-right: 1px solid;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
border-color: #31363b;
|
|
|
|
}
|
|
|
|
|
2022-01-29 00:54:08 -06:00
|
|
|
QHeaderView::section:vertical {
|
|
|
|
|
|
|
|
}
|
2021-12-24 10:06:14 -06:00
|
|
|
|
2022-01-29 00:54:08 -06:00
|
|
|
QHeaderView::section:horizontal {
|
|
|
|
|
|
|
|
}
|
2021-12-24 10:06:14 -06:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QLCDNumber */
|
|
|
|
|
|
|
|
QLCDNumber {
|
|
|
|
color: #ffd740;
|
|
|
|
background-color:rgba(255, 215, 64, 0.1);
|
|
|
|
border: 1px solid rgba(255, 215, 64, 0.3);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QCalendarWidget */
|
|
|
|
|
|
|
|
#qt_calendar_prevmonth {
|
2022-01-29 00:54:08 -06:00
|
|
|
qproperty-icon: url(:/ostinato.org/themes/material-dark/primary/leftarrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#qt_calendar_nextmonth {
|
2022-01-29 00:54:08 -06:00
|
|
|
qproperty-icon: url(:/ostinato.org/themes/material-dark/primary/rightarrow.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Inline QLineEdit */
|
|
|
|
|
|
|
|
QTreeView QLineEdit,
|
|
|
|
QTableView QLineEdit,
|
|
|
|
QListView QLineEdit {
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: #232629;
|
|
|
|
border: 1px solid unset;
|
|
|
|
border-radius: unset;
|
|
|
|
padding: unset;
|
|
|
|
padding-left: unset;
|
|
|
|
height: unset;
|
|
|
|
border-width: unset;
|
|
|
|
border-top-left-radius: unset;
|
|
|
|
border-top-right-radius: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QToolTip */
|
|
|
|
|
|
|
|
QToolTip {
|
|
|
|
padding: 4px;
|
|
|
|
border: 1px solid #31363b;
|
|
|
|
border-radius: 4px;
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: #4f5b62;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* QDialog */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QDialog QToolButton:disabled {
|
|
|
|
background-color: #232629;
|
|
|
|
color: #ffffff
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
/* Grips */
|
|
|
|
|
|
|
|
|
|
|
|
QMainWindow::separator:vertical,
|
|
|
|
QSplitter::handle:horizontal {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/splitter-horizontal.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator:horizontal,
|
|
|
|
QSplitter::handle:vertical {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/splitter-vertical.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
QSizeGrip {
|
2022-01-29 00:54:08 -06:00
|
|
|
image: url(:/ostinato.org/themes/material-dark/primary/sizegrip.svg);
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar QToolButton:hover,
|
|
|
|
QMenuBar QToolButton:pressed,
|
|
|
|
QMenuBar QToolButton {
|
|
|
|
border-width: 0;
|
|
|
|
border-left: 10px;
|
|
|
|
border-image: url(:/ostinato.org/themes/material-dark/primary/rightarrow2.svg);
|
2021-12-24 10:06:14 -06:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2022-01-29 00:54:08 -06:00
|
|
|
|
|
|
|
/* Generated by qt-material 2.8.18 */
|