detect-gui/styles/global.qss

239 lines
4.3 KiB
Plaintext
Raw Normal View History

2024-11-21 11:39:52 +08:00
QMainWindow {
background-color: transparent;
}
QLabel {
color: #D9E1E7;
background-color: transparent;
border: 0 solid transparent;
2025-02-14 14:22:23 +08:00
font-size: 16px;
2024-11-21 11:39:52 +08:00
}
QWidget#headerWidget {
2025-02-14 14:22:23 +08:00
background-color: #222644;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
QLabel#titleLabel {
font-size: 24px;
2024-11-21 11:39:52 +08:00
font-weight: bold;
}
2025-02-14 14:22:23 +08:00
QLabel#dateLabel {
font-size: 14px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
QProgressBar {
color: #6a6d88;
font-size: 14px;
text-align: center;
background-color: #ffffff;
border: none;
height: 20px;
width: 60px;
border-radius: 3px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
QProgressBar::chunk {
background-color: #05B8CC;
border-radius: 3px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
QCommandLinkButton {
font-family: 'Noto Sans SC';
font-size: 14px;
font-weight: normal;
color: #ffffff;
max-width: 60px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
QScrollArea#taskArea {
border: None;
border-radius: 0;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
QScrollArea#paramArea {
border: 1px solid #ffffff;
border-radius: 0;
2024-11-21 11:39:52 +08:00
}
/* === QScrollBar:horizontal === */
QScrollBar:horizontal {
background: rgba(58,54,219,0.45);
2025-02-14 14:22:23 +08:00
height: 8px;
margin: 0;
border-radius: 0;
2024-11-21 11:39:52 +08:00
}
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);
2025-02-14 14:22:23 +08:00
width: 8px;
margin: 0;
border-radius: 0;
2024-11-21 11:39:52 +08:00
}
QScrollBar::handle:vertical {
2025-02-14 14:22:23 +08:00
background: #555977;
2024-11-21 11:39:52 +08:00
min-height: 20px;
2025-02-14 14:22:23 +08:00
border-radius: 0;
2024-11-21 11:39:52 +08:00
}
QScrollBar::add-line:vertical {
height: 0px;
}
QScrollBar::sub-line:vertical {
height: 0px;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
2025-02-14 14:22:23 +08:00
border: none;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
MessageBox {
background-color: #2a2f55;
border: 1px solid rgb(85,89,119);
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
MessageBox QPushButton {
color: #ffffff;
font-size: 16px;
background-color: #1d63b3;
border: 1px solid #257fe6;
border-radius: 7px;
padding: 6px 20px;
margin-top: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
MessageBox QPushButton:hover {
background-color: #298DFF;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultFrame {
background-color: #161B3B;
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultEmbedFrame {
background-color: #ffffff;
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultFrame QWidget#embedButton {
color: #555555;
font-size: 12px;
font-weight: bold;
border: 1px solid #999999;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendCheckWidget {
border: 2px solid #a7ffa7;
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendCheckLabel {
color: #a7ffa7;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendStdWidget {
2024-11-21 11:39:52 +08:00
background-color: #FF4444;
2025-02-14 14:22:23 +08:00
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendStdLabel {
2024-11-21 11:39:52 +08:00
color: #FF4444;
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendOkWidget {
border: 2px solid #6cff6c;
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendOkLabel {
2024-11-21 11:39:52 +08:00
color: #6cff6c;
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendNgWidget {
border: 2px solid #FF4444;
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendNgLabel {
2024-11-21 11:39:52 +08:00
color: #FF4444;
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendNormalWidget {
border: 2px solid #999999;
border-radius: 10px;
2024-11-21 11:39:52 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultLegendFrame QWidget#legendNormalLabel {
2024-11-21 11:39:52 +08:00
color: #999999;
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPushButton {
color: #ffffff;
2024-11-21 11:39:52 +08:00
font-size: 16px;
2025-02-14 14:22:23 +08:00
background-color: #1d63b3;
border: 1px solid #257fe6;
border-radius: 7px;
padding: 6px 20px;
margin-top: 10px;
2024-11-25 14:49:03 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPushButton:disabled {
color: #999999;
2024-11-25 14:49:03 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPlainTextEdit {
font-size: 14px;
border: 1px solid #555977;
background-color: transparent;
2024-11-25 14:49:03 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPlainTextEdit QScrollBar:vertical {
background: transparent;
width: 8px;
margin: 0;
border-radius: 0;
2024-11-25 14:49:03 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPlainTextEdit QScrollBar::handle:vertical {
background: #555977;
min-height: 20px;
border-radius: 0;
2024-11-25 14:49:03 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPlainTextEdit QScrollBar::add-line:vertical {
height: 0;
2024-11-25 14:49:03 +08:00
}
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPlainTextEdit QScrollBar::sub-line:vertical {
height: 0;
2024-11-25 14:49:03 +08:00
}
2024-11-25 16:35:23 +08:00
2025-02-14 14:22:23 +08:00
TaskResultToolsFrame QPlainTextEdit QScrollBar::add-page:vertical,
TaskResultToolsFrame QPlainTextEdit QScrollBar::sub-page:vertical {
background: none;
2024-11-25 16:35:23 +08:00
border: none;
}