detect-gui/styles/global.qss
2024-11-22 10:21:44 +08:00

247 lines
4.0 KiB
Plaintext

QMainWindow {
background-color: transparent;
}
QLabel {
color: #D9E1E7;
background-color: transparent;
border: 0 solid transparent;
}
MenuButton {
background-color: transparent;
}
QWidget#menuWidget {
background-color: #1E244D;
}
QWidget#headerWidget {
background-color: #2A2F55;
}
TaskListWidget QLabel,
TaskListWidget QPlainTextEdit {
font-size: 14px;
}
TaskListWidget QLabel#THeader {
font-size: 16px;
font-weight: bold;
}
TaskListWidget QPushButton {
color: #D9E1E7;
border-radius: 8px;
font-size: 16px;
}
QPushButton {
color: #D9E1E7;
border-radius: 8px;
background-color: #3A36DB;
}
QPushButton::disabled {
color: #999999;
background-color: rgba(58,54,219,0.4);
}
QLineEdit {
color: #D9E1E7;
border: 1px solid #D9E1E7;
border-radius: 8px;
padding: 3 10;
background-color: transparent;
}
QWidget#jsonWidget {
border: 1px solid #D9E1E7;
border-radius: 8px;
}
QPlainTextEdit {
color: #D9E1E7;
border: none;
border: 1px solid #D9E1E7;
background-color: transparent;
}
QAbstractScrollArea#mapArea {
border: none;
background: transparent;
border: 1px solid #D9E1E7;
}
QAbstractScrollArea QWidget {
border: none;
background: transparent;
}
/* === QScrollBar:horizontal === */
QScrollBar:horizontal {
background: rgba(58,54,219,0.45);
height: 5px;
margin: 0px;
border-radius: 2px;
}
QScrollBar::handle:horizontal {
background: rgba(58,54,219,0.9);
min-width: 20px;
border-radius: 2px;
}
QScrollBar::add-line:horizontal {
width: 0px;
}
QScrollBar::sub-line:horizontal {
width: 0px;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
background: none;
}
/* === QScrollBar:vertical === */
QScrollBar:vertical {
background: rgba(58,54,219,0.45);
width: 5px;
margin: 0px;
border-radius: 2px;
}
QScrollBar::handle:vertical {
background: rgba(58,54,219,0.9);
min-height: 20px;
border-radius: 2px;
}
QScrollBar::add-line:vertical {
height: 0px;
}
QScrollBar::sub-line:vertical {
height: 0px;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
}
TaskRunDialog {
background-color: #161B3B;
}
QWidget#viewWidget {
background-color: #222222;
}
QPushButton#stopTaskButton {
background-color: #FF4444;
}
EmbedItem QLabel {
color: #999999;
font-size: 10px;
font-weight: bold;
border: 1px solid transparent;
}
EmbedItem QPushButton {
border: 1px solid #999999;
border-radius: 0;
font-size: 10px;
font-weight: bold;
}
EmbedItem QPushButton#STD {
border: 1px solid transparent;
background-color: #FF4444;
}
QWidget#checkWidget,
QWidget#viewCheckWidget {
border: 1px dashed #6cff6c;
}
QWidget#legendCheckWidget {
width: 20px;
min-width: 20px;
max-width: 20px;
height: 20px;
min-height: 20px;
max-height: 20px;
border: 1px dashed #6cff6c;
}
QWidget#legendCheckLabel {
color: #6cff6c;
}
QWidget#legendStdWidget {
width: 20px;
min-width: 20px;
max-width: 20px;
height: 20px;
min-height: 20px;
max-height: 20px;
background-color: #FF4444;
}
QWidget#legendStdLabel {
color: #FF4444;
}
QWidget#legendOkWidget {
width: 20px;
min-width: 20px;
max-width: 20px;
height: 20px;
min-height: 20px;
max-height: 20px;
border: 1px solid #6cff6c;
}
QWidget#legendOkLabel {
color: #6cff6c;
}
QWidget#legendNgWidget {
width: 20px;
min-width: 20px;
max-width: 20px;
height: 20px;
min-height: 20px;
max-height: 20px;
border: 1px solid #FF4444;
}
QWidget#legendNgLabel {
color: #FF4444;
}
QWidget#legendNormalWidget {
width: 20px;
min-width: 20px;
max-width: 20px;
height: 20px;
min-height: 20px;
max-height: 20px;
border: 1px solid #999999;
}
QWidget#legendNormalLabel {
color: #999999;
}
EmbedDetail {
background-color: #161B3B;
border: 1px solid #999999;
}
EmbedDetail QPushButton {
padding: 5px;
font-size: 16px;
border-radius: 2px;
}