2014-10-19 02:56:09 +08:00
|
|
|
QTextEdit
|
|
|
|
{
|
2019-02-23 00:01:43 +08:00
|
|
|
border-color: @groundExtra;
|
2014-10-22 23:27:15 +08:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0 1px 1px;
|
2014-10-19 02:56:09 +08:00
|
|
|
background: white;
|
|
|
|
border: 1px solid #c4c1bd;
|
|
|
|
}
|
|
|
|
|
2014-10-20 20:26:49 +08:00
|
|
|
QListWidget
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-20 20:26:49 +08:00
|
|
|
}
|
|
|
|
|
2014-10-19 02:56:09 +08:00
|
|
|
QMessageBox
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-19 02:56:09 +08:00
|
|
|
}
|
|
|
|
|
2014-10-15 23:08:31 +08:00
|
|
|
QCheckBox
|
2014-10-07 17:50:36 +08:00
|
|
|
{
|
2017-05-01 17:05:41 +08:00
|
|
|
color: black;
|
2014-10-09 06:31:20 +08:00
|
|
|
}
|
|
|
|
|
2014-11-27 21:39:35 +08:00
|
|
|
QCheckBox:disabled
|
|
|
|
{
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
2019-02-23 23:11:30 +08:00
|
|
|
QSpinBox, QDoubleSpinBox
|
2014-10-19 02:56:09 +08:00
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-19 02:56:09 +08:00
|
|
|
}
|
|
|
|
|
2019-02-23 23:11:30 +08:00
|
|
|
QSpinBox:disabled, QDoubleSpinBox:disabled
|
2017-05-01 17:11:23 +08:00
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: lightGrey;
|
2014-10-07 17:50:36 +08:00
|
|
|
}
|
|
|
|
|
2014-10-15 23:08:31 +08:00
|
|
|
QGroupBox
|
2014-10-07 17:50:36 +08:00
|
|
|
{
|
|
|
|
color: black;
|
|
|
|
background-color: white;
|
2014-10-15 23:08:31 +08:00
|
|
|
font: @bigBold;
|
2014-10-07 17:50:36 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox
|
|
|
|
{
|
2014-10-19 02:56:09 +08:00
|
|
|
color: black;
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-19 02:56:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QAbstractItemView {
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-07 17:50:36 +08:00
|
|
|
}
|
|
|
|
|
2014-10-16 23:25:48 +08:00
|
|
|
QLineEdit
|
|
|
|
{
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2017-05-01 17:11:23 +08:00
|
|
|
QLineEdit:disabled
|
|
|
|
{
|
|
|
|
background-color: lightGrey;
|
|
|
|
}
|
|
|
|
|
2014-10-16 23:25:48 +08:00
|
|
|
QScrollArea
|
|
|
|
{
|
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2017-05-01 17:05:41 +08:00
|
|
|
QScrollArea > QWidget > QWidget
|
|
|
|
{
|
2015-03-30 22:14:30 +08:00
|
|
|
background: transparent;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollArea::corner
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2015-03-30 22:14:30 +08:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
background: transparent;
|
|
|
|
width: 12px;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2019-01-08 13:46:30 +08:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::handle:vertical
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: #d1d1d1;
|
2014-10-22 23:27:15 +08:00
|
|
|
min-height: 20px;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::handle:vertical:hover
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: #e3e3e3;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::handle:vertical:pressed
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: #b1b1b1;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::add-line:vertical
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
height: 0px;
|
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::sub-line:vertical
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
height: 0px;
|
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar:QScrollBar::down-arrow:vertical
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
width: 10;
|
|
|
|
height: 10px;
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar:QScrollBar::up-arrow:vertical
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
2017-05-01 17:05:41 +08:00
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar:horizontal
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
height: 10px;
|
|
|
|
margin: 0 2px 0 2px;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::handle:horizontal
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: #d1d1d1;
|
2014-10-22 23:27:15 +08:00
|
|
|
min-width: 20px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::handle:horizontal:hover
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: #e3e3e3;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::handle:horizontal:pressed
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: #b1b1b1;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::add-line:horizontal
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
width: 0px;
|
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::sub-line:horizontal
|
|
|
|
{
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
width: 0px;
|
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar:QScrollBar::down-arrow:horizontal
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
width: 10;
|
|
|
|
height: 10px;
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar:QScrollBar::up-arrow:horizontal
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2018-08-12 20:38:10 +08:00
|
|
|
background-color: white;
|
2014-10-22 23:27:15 +08:00
|
|
|
}
|
2017-05-01 17:05:41 +08:00
|
|
|
|
2015-03-30 22:14:30 +08:00
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
|
|
|
|
{
|
2014-10-22 23:27:15 +08:00
|
|
|
background: none;
|
|
|
|
}
|
2018-06-25 02:11:20 +08:00
|
|
|
|
|
|
|
QRadioButton
|
|
|
|
{
|
|
|
|
background: white;
|
|
|
|
color: black;
|
|
|
|
}
|