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