Files
gcs-nf/App/CommandUI/CommandUI.qss
T

106 lines
2.0 KiB
Plaintext
Raw Normal View History

2020-10-22 21:52:01 +08:00
2020-05-12 18:05:47 +08:00
.QFrame {
background-color: #FFFFFF;
}
2020-10-22 21:52:01 +08:00
.CommandButton[state="0"] {
2020-10-11 19:10:57 +08:00
background-color: #98FB98;
2020-05-12 18:05:47 +08:00
border-width: 2px;
border-color: darkkhaki;
border-style: solid;
border-radius: 5;
padding: 3px;
2022-01-23 17:17:33 +08:00
font :12px "黑体";
2020-05-12 18:05:47 +08:00
}
2020-10-22 21:52:01 +08:00
.CommandButton[state="1"] {
2020-10-11 19:10:57 +08:00
background-color: #EE9572;
2020-06-20 16:51:11 +08:00
border-width: 2px;
border-color: darkkhaki;
border-style: solid;
border-radius: 5;
padding: 3px;
2022-01-23 17:17:33 +08:00
font :12px "黑体";
2020-06-20 16:51:11 +08:00
}
2020-10-22 21:52:01 +08:00
CommandButton:pressed[state="0"] {
2020-05-12 18:05:47 +08:00
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
2020-10-11 19:10:57 +08:00
stop: 0 #dadbde, stop: 0.5 #98FB98, stop: 1 #dadbde);
2020-05-12 18:05:47 +08:00
}
2020-10-22 21:52:01 +08:00
CommandButton:pressed[state="1"] {
2020-06-20 16:51:11 +08:00
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
2020-10-11 19:10:57 +08:00
stop: 0 #dadbde, stop: 0.5 #EE9572, stop: 1 #dadbde);
2020-06-20 16:51:11 +08:00
}
2020-05-13 16:54:54 +08:00
2020-10-22 21:52:01 +08:00
CommandButton:pressed[state="2"] {
2020-06-20 16:51:11 +08:00
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
2020-10-11 19:10:57 +08:00
stop: 0 #dadbde, stop: 0.5 #EE9572, stop: 1 #dadbde);
2020-06-20 16:51:11 +08:00
}
.QLabel {
2022-01-23 17:17:33 +08:00
font: 15px "黑体";
}
.QComboBox {
2022-01-23 17:17:33 +08:00
font: 15px "黑体";
}
.QPushButton {
2022-01-23 17:17:33 +08:00
font: 15px "黑体";
}
.QTabWidget {
background-color: #FFFFFF;
2022-01-23 17:17:33 +08:00
font: 15px "黑体";
}
2022-05-26 14:03:37 +08:00
.QTabBar::tab{
max-width: 75px;
min-width: 75px;
min-height: 40px;
2022-05-10 21:38:23 +08:00
}
2022-05-26 14:03:37 +08:00
.QTabBar::tab:!selected {
color:#000000;
2022-05-10 21:38:23 +08:00
}
2022-05-26 14:03:37 +08:00
.QTabBar::tab:selected {
color:#000000;
background-color: #FE9A2E;
}
QTabBar::scroller { /* the width of the scroll buttons */
width: 80px;
}
QTabBar QToolButton { /* the scroll buttons are tool buttons */
border-width: 2px;
2022-05-10 21:38:23 +08:00
}
2022-05-26 14:03:37 +08:00
QTabBar QToolButton::right-arrow { /* the arrow mark in the tool buttons */
image: url(:/img/right.png);
}
QTabBar QToolButton::left-arrow {
image: url(:/img/left.png);
}
.QTabBar QToolButton::right-arrow:hover {
background-color:rgb(255, 171, 208);
2022-05-10 21:38:23 +08:00
border-width: 0;
}
2022-05-26 14:03:37 +08:00
.QTabBar QToolButton::left-arrow:hover {
2022-05-10 21:38:23 +08:00
background-color:rgb(255, 171, 208);
border-width: 0;
}