2019-02-19 02:53:43 +08:00
|
|
|
QToolTip
|
|
|
|
{
|
|
|
|
/* explicit border width is required https://bugreports.qt.io/browse/QTBUG-41313 */
|
|
|
|
border: 0px;
|
|
|
|
color: black;
|
|
|
|
background: #ffffdc;
|
|
|
|
}
|
|
|
|
|
2019-04-01 00:54:12 +08:00
|
|
|
QDialog
|
|
|
|
{
|
|
|
|
background: @groundBase;
|
|
|
|
}
|
|
|
|
|
2019-02-19 02:53:43 +08:00
|
|
|
QWidget#contentWidget
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
2019-02-23 23:11:30 +08:00
|
|
|
QTabWidget
|
|
|
|
{
|
2019-04-16 23:46:28 +08:00
|
|
|
background-color: #100f0f;
|
2019-02-23 23:11:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:selected
|
|
|
|
{
|
|
|
|
background: #100f0f;
|
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:!selected
|
|
|
|
{
|
|
|
|
background: #444242;
|
|
|
|
color: #8e8e8e;
|
|
|
|
}
|
2019-04-01 00:54:12 +08:00
|
|
|
|
|
|
|
QLabel
|
|
|
|
{
|
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
2019-04-16 23:46:28 +08:00
|
|
|
QListView
|
2019-04-01 00:54:12 +08:00
|
|
|
{
|
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
2019-04-16 23:46:28 +08:00
|
|
|
QTextEdit, QPlainTextEdit
|
2019-04-01 00:54:12 +08:00
|
|
|
{
|
2019-04-16 23:46:28 +08:00
|
|
|
border-color: #514f4f;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0 1px 1px;
|
|
|
|
background: @groundBase;
|
2019-04-01 00:54:12 +08:00
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
2019-04-16 23:46:28 +08:00
|
|
|
QListWidget
|
|
|
|
{
|
|
|
|
background-color: @groundBase;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMessageBox
|
|
|
|
{
|
|
|
|
background-color: @groundBase;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox
|
|
|
|
{
|
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border: 2px solid #514f4f;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked {
|
|
|
|
image: url("@getImagePath(settings/checkboxChecked.svg)");
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:pressed,
|
|
|
|
QCheckBox::indicator:unchecked:pressed {
|
|
|
|
background: #514f4f;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox:disabled
|
|
|
|
{
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox:indicator:disabled {
|
|
|
|
border: 2px solid #373535;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox:indicator:checked:disabled {
|
|
|
|
image: url("@getImagePath(settings/checkboxCheckedDisabled.svg)");
|
|
|
|
}
|
|
|
|
|
2019-04-01 00:54:12 +08:00
|
|
|
QSpinBox, QDoubleSpinBox
|
|
|
|
{
|
2019-04-16 23:46:28 +08:00
|
|
|
background: @groundBase;
|
2019-04-01 00:54:12 +08:00
|
|
|
color: @mainText;
|
2019-04-16 23:46:28 +08:00
|
|
|
}
|
2019-04-01 00:54:12 +08:00
|
|
|
|
2019-04-16 23:46:28 +08:00
|
|
|
QSpinBox:disabled, QDoubleSpinBox:disabled
|
|
|
|
{
|
|
|
|
background: #262424;
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox
|
|
|
|
{
|
|
|
|
color: @mainText;
|
|
|
|
background-color: @groundBase;
|
|
|
|
font: @bigBold;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox
|
|
|
|
{
|
|
|
|
color: @mainText;
|
|
|
|
background-color: @groundBase;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QAbstractItemView {
|
|
|
|
background-color: @groundBase;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit
|
|
|
|
{
|
|
|
|
background: @groundBase;
|
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit:disabled
|
|
|
|
{
|
|
|
|
background-color: #262424;
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea
|
|
|
|
{
|
|
|
|
background-color: @groundBase;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea > QWidget > QWidget
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea::corner
|
|
|
|
{
|
|
|
|
background-color: @groundBase;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
width: 12px;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */
|
|
|
|
QTabBar::tab:last:!selected[update-available=true]
|
|
|
|
{
|
2019-06-24 17:10:11 +08:00
|
|
|
background-color: #115508;
|
2019-04-16 23:46:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#updateAvailableButton
|
|
|
|
{
|
2019-06-24 17:10:11 +08:00
|
|
|
background-color: #115508;
|
2019-04-16 23:46:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical
|
|
|
|
{
|
|
|
|
background-color: #343232;
|
|
|
|
min-height: 20px;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:hover
|
|
|
|
{
|
|
|
|
background-color: #3e3c3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:pressed
|
|
|
|
{
|
|
|
|
background-color: #474545;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical
|
|
|
|
{
|
|
|
|
background-color: white;
|
|
|
|
height: 0px;
|
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:vertical
|
|
|
|
{
|
|
|
|
background-color: white;
|
|
|
|
height: 0px;
|
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::down-arrow:vertical
|
|
|
|
{
|
|
|
|
width: 10;
|
|
|
|
height: 10px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::up-arrow:vertical
|
|
|
|
{
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
|
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:horizontal
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
height: 10px;
|
|
|
|
margin: 0 2px 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal
|
|
|
|
{
|
|
|
|
background-color: #343232;
|
|
|
|
min-width: 20px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal:hover
|
|
|
|
{
|
|
|
|
background-color: #3e3c3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal:pressed
|
|
|
|
{
|
|
|
|
background-color: #474545;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:horizontal
|
|
|
|
{
|
|
|
|
background-color: white;
|
|
|
|
width: 0px;
|
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:horizontal
|
|
|
|
{
|
|
|
|
background-color: white;
|
|
|
|
width: 0px;
|
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::down-arrow:horizontal
|
|
|
|
{
|
|
|
|
width: 10;
|
|
|
|
height: 10px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::up-arrow:horizontal
|
|
|
|
{
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
|
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton
|
|
|
|
{
|
|
|
|
background: @groundBase;
|
|
|
|
color: @mainText;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton
|
2019-04-01 00:54:12 +08:00
|
|
|
{
|
2019-04-16 23:46:28 +08:00
|
|
|
background: #323030;
|
2019-04-01 00:54:12 +08:00
|
|
|
color: @mainText;
|
|
|
|
}
|
2019-04-19 06:17:43 +08:00
|
|
|
|
|
|
|
QSplitter:handle
|
|
|
|
{
|
|
|
|
color: @groundBase;
|
|
|
|
background-color: @groundBase;
|
|
|
|
}
|