2019-02-19 02:53:43 +08:00
|
|
|
QTextEdit
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
border-color: @groundExtra;
|
2019-02-19 02:53:43 +08:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0 1px 1px;
|
2019-02-23 00:01:43 +08:00
|
|
|
background: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
border: 1px solid #c4c1bd;
|
|
|
|
}
|
|
|
|
|
|
|
|
QListWidget
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QMessageBox
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
color: @mainText;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
2019-03-29 03:21:40 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2019-02-19 02:53:43 +08:00
|
|
|
QCheckBox:disabled
|
|
|
|
{
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
2019-03-29 03:21:40 +08:00
|
|
|
QCheckBox:indicator:disabled {
|
|
|
|
border: 2px solid #373535;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox:indicator:checked:disabled {
|
|
|
|
image: url("@getImagePath(settings/checkboxCheckedDisabled.svg)");
|
|
|
|
}
|
|
|
|
|
2019-02-23 23:11:30 +08:00
|
|
|
QSpinBox, QDoubleSpinBox
|
2019-02-19 02:53:43 +08:00
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
2019-02-23 23:11:30 +08:00
|
|
|
QSpinBox:disabled, QDoubleSpinBox:disabled
|
2019-02-19 02:53:43 +08:00
|
|
|
{
|
|
|
|
background-color: lightGrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
color: @mainText;
|
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
font: @bigBold;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
color: @mainText;
|
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QAbstractItemView {
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit:disabled
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #262424;
|
2019-02-23 00:01:43 +08:00
|
|
|
color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabWidget
|
|
|
|
{
|
|
|
|
background-color: #100f0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:selected
|
|
|
|
{
|
|
|
|
background: #100f0f;
|
2019-02-23 00:01:43 +08:00
|
|
|
color: @mainText;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:!selected
|
|
|
|
{
|
|
|
|
background: #444242;
|
|
|
|
color: #8e8e8e;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea > QWidget > QWidget
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea::corner
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background-color: @groundBase;
|
2019-02-19 02:53:43 +08:00
|
|
|
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]
|
|
|
|
{
|
|
|
|
background-color: #80c580;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#updateAvailableButton
|
|
|
|
{
|
|
|
|
background-color: #21da21;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #343232;
|
2019-02-19 02:53:43 +08:00
|
|
|
min-height: 20px;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:hover
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #3e3c3c;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:pressed
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #474545;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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-color: white;
|
|
|
|
height: 10px;
|
|
|
|
margin: 0 2px 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #343232;
|
2019-02-19 02:53:43 +08:00
|
|
|
min-width: 20px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal:hover
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #3e3c3c;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal:pressed
|
|
|
|
{
|
2019-02-23 23:11:30 +08:00
|
|
|
background-color: #474545;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
background: @groundBase;
|
|
|
|
color: @mainText;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton
|
|
|
|
{
|
|
|
|
background: #323030;
|
2019-02-23 00:01:43 +08:00
|
|
|
color: @mainText;
|
2019-02-19 02:53:43 +08:00
|
|
|
}
|