Files
GUI/src/stylesheet/Dark2.css
2022-07-20 17:05:50 +08:00

798 lines
16 KiB
CSS

/*------Global---------------------------------------------------------------*/
* {
background-color: #3c3c3c;
color: #fcfcfc;
margin: 0;
font-size: 16px;
}
/* Global buttons */
QPushButton {
border: 1px solid #505050;
padding-left: 50px;
padding-right: 50px;
border-radius: 5px;
min-height: 28px;
max-height: 28px;
background: qlineargradient(spread:pad,
x1: 0.50,
y1: 0,
x2: 0.5,
y2: 1,
stop: 0 #505050,
stop: 1 #606060);
}
QToolButton {
border: none;
border-radius: 10%;
font-size: 26px;
background: qlineargradient(spread:pad,
x1: 0.5,
y1: 0,
x2: 0.5,
y2: 1.0,
stop: 0 #404040,
stop: 0.5 #505050,
stop: 1.0 #404040);
font-weight: Bold;
padding: 5px;
}
QToolButton:disabled {
border: none;
color: #606060;
background: #3c3c3c
}
QToolButton:hover {
background: #505050;
}
QToolButton:checked {
border: 5px solid darkorange;
padding: 0;
}
/* Global QGroupBox */
QGroupBox {
border: 0px
}
/* Global Editors */
QLabel {
color: #fcfcfc;
font-weight: bold;
font-size: 16px;
}
QLineEdit {
min-height: 36px;
max-height: 36px;
border: none;
border-bottom: 1px solid #505050;
color: grey;
}
QLineEdit:enabled {
background-color: #505050;
border-bottom-color: #4a88c7;
color: #fcfcfc;
}
QPlainTextEdit {
border: 0px
}
QDateEdit {
min-height: 36px;
max-height: 36px;
border: none;
border-bottom: 1px solid #505050;
color: grey;
border-radius: 3px;
}
QDateEdit:disabled {
background-color: #3c3c3c;
border-bottom-color: #4a88c7;
color: #fcfcfc;
}
QTextEdit {
border: 1px solid #505050;
color: grey;
border-radius: 3px;
}
QTextEdit:enabled {
background-color: #505050;
border: 1px solid #4a88c7;
color: #fcfcfc;
}
QComboBox {
text-align: center;
min-height: 36px;
max-height: 36px;
border: 1px solid #505050
}
QComboBox:enabled {
background-color: #505050
}
/* Global Tab */
QTabBar::tab {
height: 60px;
width: 300px;
font-size: 25px;
background: qlineargradient(x1:0,
y1: 0,
x2: 0,
y2: 1,
stop: 0 #505050,
stop: 1.0 #333333);
border: 2px solid #505050;
border-bottom-left-radius: 50%;
border-bottom-right-radius: 50%;
min-width: 8ex;
padding: 2px;
}
QTabBar::tab:selected, QTabBar::tab:hover {
border-top: 5px solid #4a88c7;
background: #505050;
}
QTabWidget::pane {
margin: 0;
border-bottom: 1px solid #323232;
}
/* Global TableView & ListView */
QTableView {
border: none;
alternate-background-color: #595959;
selection-color: #fcfcfc;
selection-background-color: #0078d8;
margin: 5 0 5 5;
}
QListView {
border: none;
margin: 5px;
font-weight: bold
}
QListView::item {
background: qlineargradient(spread:pad,
x1: 0.5,
y1: 0,
x2: 0.5,
y2: 1.0,
stop: 0 #404040,
stop: 0.5 #505050,
stop: 1.0 #404040);
min-height: 30px;
border: 1px solid #505050;
border-radius: 5px
}
QListView::item:selected {
background: #365880;
font-weight: bold;
color: #fcfcfc;
}
QHeaderView::down-arrow {
subcontrol-position: center right;
image: url(":/icons/arrow-down.png");
padding-right: 8px;
}
QHeaderView::up-arrow {
subcontrol-position: center right;
image: url(":/icons/arrow-up.png");
padding-right: 8px;
}
QHeaderView::section {
background-color: #595959;
min-height: 50px;
max-height: 50px;
font-weight: Bold;
font-size: 16px;
border: 1px solid #323232;
}
QHeaderView::section:horizontal {
border-bottom: 1px solid rgb(0, 170, 255);
}
QHeaderView::section:vertical {
min-height: 36px;
max-height: 36px;
}
QWidget#verSpaceLine {
min-width: 2px;
max-width: 2px;
border-right: 1px solid #0078d8;
margin-top: 6px;
margin-bottom: 6px;
}
QLabel#endline {
border-bottom: 1px solid grey
}
QLabel#warn {
color: #930000;
background: transparent;
font-size: 20px;
}
QLabel#title {
font-size: 30px;
}
/*------LoginWindow----------------------------------------------------------*/
QFrame#loginFrame {
min-width: 700px;
max-width: 700px;
max-height: 500px;
min-height: 500px;
border: 1px solid #0078d8;
border-radius: 20px;
background: qlineargradient(x1:0,
y1: 0,
x2: 0,
y2: 1,
stop: 0.0 darkgray,
stop: 0.5 gray,
stop: 1.0 darkgray);
}
QDialog#loginForm {
background-color: #3c3c3c;
color: white;
margin: 0;
font-size: 16px;
}
QDialog#loginForm QLabel#title {
font-Size: 98px;
color: qlineargradient(x1:0,
y1: 0,
x2: 0,
y2: 1,
stop: 0.0 darkgray,
stop: 0.5 lightgray,
stop: 1.0 darkgray);
}
QDialog#loginForm QLineEdit {
min-height: 100px;
max-height: 100px;
border: 1px solid silver;
border-radius: 10px;
font-size: 26px;
}
QDialog#loginForm QLineEdit:enabled {
background-color: #515151
}
QDialog#loginForm QToolButton#btnlogin {
min-height: 100px;
max-height: 100px;
min-width: 200px;
border: 1px solid #505050;
border-radius: 10%;
font-size: 26px;
font-weight: Bold;
padding: 5px;
qproperty-icon:url(":/icons/login.png");
qproperty-toolButtonStyle:ToolButtonTextBesideIcon;
qproperty-iconSize:120px 120px;
}
QDialog#loginForm QToolButton#btnlogin:hover {
background: #505050;
}
/*------MainWindow------------------------------------------------------------------*/
/*------TopbarWidget--------------------------------------------------------------- */
QWidget#topbarWidget {
min-height: 36px;
max-height: 36px;
}
QWidget#borderWidget {
border: 1px solid white
}
QWidget#statusBarWidget {
min-width: 300px;
}
QLabel#logo {
min-width: 30px;
max-width: 30px;
min-height: 30px;
max-height: 30px;
qproperty-pixmap:url(":/icons/logo.png");
qproperty-scaledContents:true;
}
QLabel#msglogo {
min-width: 28px;
max-width: 28px;
min-height: 28px;
max-height: 28px;
qproperty-pixmap:url(":/icons/msg.png");
qproperty-scaledContents:true;
}
QLabel#link {
min-width: 28px;
max-width: 28px;
min-height: 28px;
max-height: 28px;
qproperty-pixmap:url(":/icons/link_g.png");
qproperty-scaledContents:true;
}
QLabel#ready {
min-width: 28px;
max-width: 28px;
min-height: 28px;
max-height: 28px;
qproperty-pixmap:url(":/icons/ready.png");
qproperty-scaledContents:true;
}
QLabel#company {
min-width: 150px;
max-width: 150px;
}
QLabel#systemMsgBar {
min-width: 500px;
}
/*------TabFormWidget--------------------------------------------------------*/
QWidget#contentWidget {
border-top: 1px solid #505050;
}
QWidget#commandWidget {
min-height: 123px;
max-height: 123px;
border-top: 1px solid #505050;
}
QWidget#commandWidget QToolButton{
qproperty-toolButtonStyle:ToolButtonTextBesideIcon;
qproperty-iconSize:120px 120px;
}
/*------SelectformWidget-----------------------------------------------------*/
QWidget#patientDetailWidget {
min-width: 300px;
max-width: 300px;
margin-top: 5;
}
QToolButton#btnShowPanel {
margin-top: 5;
padding-top: 0;
border-top: 1px solid darkgray;
border-bottom: 1px solid darkgray;
border-left: 1px solid darkgray;
border-radius: 0;
border-bottom-left-radius: 10px;
font-size: 20px;
font-weight: normal;
background: #505050;
qproperty-toolButtonStyle:ToolButtonTextUnderIcon;
qproperty-icon:url(":/icons/edit.png");
qproperty-iconSize:30px 30px;
}
QToolButton#btnHidePanel {
border-top: 1px solid darkgray;
border-bottom: 1px solid darkgray;
border-left: 1px solid darkgray;
border-radius: 0;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
font-size: 20px;
font-weight: normal;
background: #505050;
qproperty-toolButtonStyle:ToolButtonTextBesideIcon;
qproperty-icon:url(":/icons/hidearrow.png");
qproperty-iconSize:30px 30px;
}
/* PatientDetailForm in SelectformWidget */
QWidget#editcmdWidget {
min-height: 83px;
max-height: 83px;
}
QLineEdit#displayLineEdit:disabled {
background-color: #3c3c3c;
border-bottom-color: #4a88c7;
color: #fcfcfc;
}
QWidget#commandWidget QToolButton#btnAccount {
qproperty-icon:url(":/icons/account.png");
}
QToolButton#btnWorklist {
qproperty-icon:url(":/icons/setting.png");
}
QToolButton#btnAdd {
qproperty-icon:url(":/icons/add.png");
}
QToolButton#btnEdit {
qproperty-icon:url(":/icons/details.png");
}
QToolButton#btnDelete {
qproperty-icon:url(":/icons/close_circle.png");
}
QToolButton#btnSelect {
qproperty-icon:url(":/icons/selected.png");
}
/*------ScanFormWidget-------------------------------------------------------*/
QWidget#paramWidget {
min-width: 300px;
max-width: 300px;
border-left: 1px solid #0078d8
}
QWidget#broadcastWidget {
border: 2px solid #515151;
border-radius: 20px;
background-color: black
}
QLabel#protocolPanelTitle {
font-size: 32px;
margin: 0;
color: silver
}
QLabel#parameterTitle,#protocolTitle,#patientTitle{
font-size: 20px;
margin: 0;
border-bottom: 1px solid silver
}
QLabel#endSpaceLine {
font-size: 20px;
margin: 0;
border-top: 1px solid #0078d8
}
QLabel#placeholder {
font-size: 20px;
}
QWidget#patientInfoPanel QLabel {
font-size: 20px;
}
QWidget#broadcastWidget QLabel {
background-color: black
}
QWidget#PatientInformationForm {
min-width: 300px;
max-width: 300px;
margin-right: 10
}
/* PatientInfomationForm in ScanFormWidget */
QWidget#patientInfoPanel {
border-right: 1px solid #0078d8
}
QToolButton#btnLeft {
qproperty-icon:url(":/icons/left.png");
padding: 5px;
}
QToolButton#btnLeft:checked {
border: 5px solid darkorange;
padding: 0px;
}
QToolButton#btnRight {
qproperty-icon:url(":/icons/right.png");
padding: 5px;
}
QToolButton#btnRight:checked {
border: 5px solid darkorange;
padding: 0px;
}
QToolButton#btnRefresh {
qproperty-icon:url(":/icons/scan_e.png");
}
QToolButton#btnPreview {
qproperty-icon:url(":/icons/rec.png");
}
QToolButton#btnStop {
qproperty-icon:url(":/icons/stop.png");
}
QToolButton#btnScan {
qproperty-icon:url(":/icons/scan.png");
}
/*------AdminSettingForm---------------------------------------------------*/
QWidget#settingContentWidget {
border-top: 1px solid #505050;
}
QWidget#settingContentWidget QStackedWidget{
margin-top: 5;
}
/*------AboutForm----------------------------------------------------------*/
QLabel#normal {
color: #fcfcfc;
font-weight: normal;
font-size: 16px;
}
/*------SystemSettingForm----------------------------------------------------*/
QToolButton#btnDICOM{
qproperty-icon:url(":/icons/dicomsettings.png");
qproperty-iconSize:80px 80px;
}
QToolButton#btnNetwork{
qproperty-icon:url(":/icons/networksettings.png");
qproperty-iconSize:80px 80px;
}
/*------AccountTableForm-----------------------------------------------------*/
QWidget#commandWidgetnoBBorder {
min-height: 123px;
max-height: 123px;
border-top: 1px solid #505050;
}
/*------Dialogs--------------------------------------------------------------*/
/*------GUIFormBaseDialog----------------------------------------------------*/
QDialog#formDialog {
border: 3px solid grey;
border-radius: 8px
}
QWidget#formWidget {
font-size: 30px;
}
GUIFormBaseDialog QToolButton{
min-height: 36px;
max-height: 36px;
border: none;
border-bottom: 1px solid #505050;
border-radius: 0;
color: grey;
qproperty-toolButtonStyle:ToolButtonTextBesideIcon;
qproperty-iconSize:30px 30px;
}
GUIFormBaseDialog QToolButton:enabled {
background-color: #505050;
border-bottom-color: #4a88c7;
color: #fcfcfc;
}
QPushButton#btnOK {
background: #365880;
font-weight: bold
}
/* GUIFormBaseDialog -> AccountFormDialog */
QToolButton#changePwdBtn{
qproperty-icon:url(":/icons/edit.png");
}
QToolButton#logoutBtn{
qproperty-icon:url(":/icons/logout.png");
}
/*------GUIMessageDialog-----------------------------------------------------*/
QWidget#innerWidget {
background: qlineargradient(x1:0,
y1: 0,
x2: 0,
y2: 1,
stop: 0.0 darkgray,
stop: 0.5 lightgray,
stop: 1.0 darkgray);
border-radius: 20px;
border: 5px solid #0078d8;
}
QDialog#MessageDialog QWidget QWidget {
background: transparent;
color: #3078d8;
}
QDialog#MessageDialog QWidget QWidget QLabel {
font-size: 30px
}
GUIMessageDialog QToolButton{
border: 2px solid #0078d8;
border-radius: 10%;
font-size: 26px;
font-weight: Bold;
padding: 5px;
qproperty-toolButtonStyle:ToolButtonTextBesideIcon;
qproperty-iconSize:30px 30px;
}
QToolButton#dialogBtnOK{
qproperty-icon:url(":/icons/selected_d.png");
}
QToolButton#dialogBtnStop{
qproperty-icon:url(":/icons/close_circle_d.png");
}
/*-------Conponts-------------------------------------------------------------*/
/*------SlidePickerBox--------------------------------------------------------*/
QWidget#slidePicker {
border: 1px solid #505050;
border-radius: 8px
}
QWidget#topBottomLine {
border-top: 2px solid #0078d8;
border-bottom: 2px solid #0078d8;
background: transparent;
}
QLabel#sliderPickerLabel {
color: grey;
padding: 0;
background: #505050;
font-weight: normal;
font-size: 50px;
}
QLabel#sliderSpliterLabel {
color: white;
padding-top: 35px;
font-weight: normal;
font-size: 50px;
}
/*------ListBox--------------------------------------------------------------*/
QToolButton#ListBox {
background-color: #505050;
color: #fcfcfc;
min-height: 30px;
max-height: 30px;
border: 1px solid #4a88c7;
border-radius: 5px;
color: grey;
qproperty-toolButtonStyle:ToolButtonTextBesideIcon;
qproperty-iconSize:30px 30px;
qproperty-icon:url(":/icons/arrow-down.png");
}
ListBox {
qproperty-icon:url(":/icons/arrow-down.png");
}
QWidget#KeyBoard QWidget {
background: #eff0f1;
}
QWidget#KeyBoard {
background: #eff0f1;
}
QWidget#KeyBoard QPushButton {
font: 16pt;
font-size: 26px;
color: white;
margin: 2px;
border-radius: 5px;
background: qlineargradient(spread:pad, x1:0.50, y1:0, x2:0.5, y2:1, stop:0 #505050, stop:1 #606060);
border: none;
padding-left: 9;
padding-right: 9;
min-height: 0;
max-height: 500
}
QWidget#KeyBoard QPushButton:pressed {
background: #F0FFFF;
}
QWidget#KeyBoard QListWidget::Item:hover {
background: #006dc7;
color: white;
}
QWidget#KeyBoard QListWidget {
font: 16pt;
outline: none;
border: 1px solid #00000000;
color: black;
background: #fcfcfc;
margin: 0px;
font-weight: normal;
}
QWidget#KeyBoard QListWidget::Item:selected {
background: #006dc7;
color: white;
}
QWidget#KeyBoard QListWidget::Item {
background: #fcfcfc;
min-height: 0px;
border: none;
border-radius: 0px;
user-select:
}
QWidget#KeyBoard QLineEdit {
font: 16pt;
outline: none;
border: 1px solid #00000000;
color: black;
background: white;
min-height: 0px;
max-height: 50px;
border-bottom: 0px;
text-align:center;
}
QWidget#EditMenu QListWidget {
margin: 0px;
font-weight: bold;
font: 10pt;
outline: none;
border: 1px solid #00000000;
color: white;
background: rgba(0, 0, 0, 0.0);
}
QWidget#EditMenu QListWidget:item {
min-height: 0px;
border: 0px;
border-radius: 0px;
background: rgba(0, 0, 0, 0.0);
}
QWidget#EditMenu QListWidget:item:hover {
background: #006dc7;
color: white;
}