mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
1193 lines
26 KiB
Plaintext
1193 lines
26 KiB
Plaintext
QWidget {
|
|
background: transparent;
|
|
color: rgb(0, 0, 0);
|
|
font-size: 14px;
|
|
font-family: "Segoe UI Variable Small", serif;
|
|
font-weight: 400;
|
|
}
|
|
|
|
QMessageBox {
|
|
background-color: #f0f0f0;
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
QMessageBox QLabel {
|
|
background-color: transparent;
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
QMessageBox QPushButton {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 7px;
|
|
min-height: 32px;
|
|
min-width: 80px;
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
/*MENU*/
|
|
QMenuBar {
|
|
background-color: transparent;
|
|
color: rgb(0, 0, 0);
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
font-family: "Segoe UI Variable Small", serif;
|
|
font-weight: 400;
|
|
}
|
|
|
|
QMenuBar::item {
|
|
background-color: transparent;
|
|
padding: 10px 13px;
|
|
margin-left: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QMenuBar::item:selected {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QMenuBar::item:pressed {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
color: rgba(0, 0, 0, 150);
|
|
}
|
|
|
|
QMenu {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
padding-left: 1px;
|
|
padding-top: 1px;
|
|
border-radius: 5px;
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
}
|
|
|
|
QMenu::item {
|
|
background-color: transparent;
|
|
padding: 5px 15px;
|
|
border-radius: 5px;
|
|
min-width: 60px;
|
|
margin: 3px;
|
|
}
|
|
|
|
QMenu::item:selected {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QMenu::item:pressed {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
}
|
|
|
|
QMenu::right-arrow {
|
|
image: url(:/resources/win/light/TreeViewClose.png);
|
|
min-width: 40px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
QMenuBar:disabled {
|
|
color: rgba(0, 0, 0, 150);
|
|
}
|
|
|
|
QMenu::item:disabled {
|
|
color: rgba(0, 0, 0, 150);
|
|
background-color: transparent;
|
|
}
|
|
|
|
/*PUSHBUTTON*/
|
|
QPushButton {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 7px;
|
|
min-height: 38px;
|
|
max-height: 38px;
|
|
padding-left: 7px;
|
|
padding-right: 7px;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
}
|
|
|
|
QPushButton::pressed {
|
|
color: rgba(0, 0, 0, 150);
|
|
}
|
|
|
|
QPushButton::disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
/*RADIOBUTTON*/
|
|
QRadioButton {
|
|
min-height: 30px;
|
|
max-height: 30px;
|
|
}
|
|
|
|
QRadioButton::indicator {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 13px;
|
|
border: 2px solid #999999;
|
|
background-color: rgba(0, 0, 0, 5);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
QRadioButton::indicator:hover {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
QRadioButton::indicator:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border: 2px solid #bbbbbb;
|
|
image: url(:/resources/win/light/RadioButton.png);
|
|
}
|
|
|
|
QRadioButton::indicator:checked {
|
|
background-color: %1;
|
|
border: 2px solid %1;
|
|
image: url(:/resources/win/light/RadioButton.png);
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QRadioButton::indicator:checked:hover {
|
|
image: url(:/resources/win/light/RadioButtonHover.png);
|
|
}
|
|
|
|
QRadioButton::indicator:checked:pressed {
|
|
image: url(:/resources/win/light/RadioButtonPressed.png);
|
|
}
|
|
|
|
QRadioButton:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
}
|
|
|
|
QRadioButton::indicator:disabled {
|
|
border: 2px solid #bbbbbb;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
/*CHECKBOX*/
|
|
QCheckBox {
|
|
min-height: 30px;
|
|
max-height: 30px;
|
|
}
|
|
|
|
QCheckBox::indicator {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 5px;
|
|
border: 2px solid #999999;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
QCheckBox::indicator:hover {
|
|
background-color: rgba(0, 0, 0, 15);
|
|
}
|
|
|
|
QCheckBox::indicator:pressed {
|
|
background-color: rgba(0, 0, 0, 24);
|
|
border: 2px solid #bbbbbb;
|
|
}
|
|
|
|
QCheckBox::indicator:checked {
|
|
background-color: %1;
|
|
border: 2px solid %1;
|
|
image: url(:/resources/win/light/CheckBox.png);
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QCheckBox::indicator:checked:pressed {
|
|
image: url(:/resources/win/light/CheckBoxPressed.png);
|
|
}
|
|
|
|
QCheckBox:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
}
|
|
|
|
QCheckBox::indicator:disabled {
|
|
border: 2px solid #bbbbbb;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
/*GROUPBOX*/
|
|
QGroupBox {
|
|
border-radius: 5px;
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
background-color: rgba(0, 0, 0, 10);
|
|
margin-top: 30px;
|
|
}
|
|
|
|
QGroupBox::title {
|
|
subcontrol-origin: margin;
|
|
subcontrol-position: top left;
|
|
/* padding: 7px 15px;
|
|
margin-left: 5px;
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px; */
|
|
}
|
|
|
|
QGroupBox::title::disabled {
|
|
color: rgba(0, 0, 0, 150);
|
|
}
|
|
|
|
/*TABWIDGET*/
|
|
QTabWidget {
|
|
}
|
|
|
|
QWidget {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QTabWidget::pane {
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QTabWidget::tab-bar {
|
|
left: 5px;
|
|
}
|
|
|
|
QTabBar::tab {
|
|
background-color: rgb(0, 0, 0, 0);
|
|
padding: 7px 15px;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
QTabBar::tab:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
}
|
|
|
|
QTabBar::tab:selected {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
}
|
|
|
|
QTabBar::tab:disabled {
|
|
color: rgba(0, 0, 0, 150)
|
|
}
|
|
|
|
/*SPINBOX*/
|
|
QSpinBox {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
padding-left: 10px;
|
|
min-height: 38px;
|
|
max-height: 38px;
|
|
min-width: 100px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QSpinBox:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QSpinBox::focus {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border: 1px solid rgba(0, 0, 0, 10);
|
|
color: rgba(0, 0, 0, 200);
|
|
border-bottom: 2px solid %1;
|
|
}
|
|
|
|
QSpinBox::up-button {
|
|
image: url(:/resources/win/light/SpinBoxUp.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QSpinBox::up-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QSpinBox::up-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QSpinBox::down-button {
|
|
image: url(:/resources/win/light/SpinBoxDown.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QSpinBox::down-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QSpinBox::down-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QSpinBox::drop-down {
|
|
background-color: transparent;
|
|
width: 50px;
|
|
}
|
|
|
|
QSpinBox:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QSpinBox::up-button:disabled {
|
|
image: url(:/resources/win/light/SpinBoxUpDisabled.png);
|
|
}
|
|
|
|
QSpinBox::down-button:disabled {
|
|
image: url(:/resources/win/light/SpinBoxDownDisabled.png);
|
|
}
|
|
|
|
/*DOUBLESPINBOX*/
|
|
QDoubleSpinBox {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
padding-left: 10px;
|
|
min-height: 38px;
|
|
max-height: 38px;
|
|
min-width: 100px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QDoubleSpinBox:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QDoubleSpinBox::focus {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border: 1px solid rgba(0, 0, 0, 10);
|
|
color: rgba(0, 0, 0, 200);
|
|
border-bottom: 2px solid %1;
|
|
}
|
|
|
|
QDoubleSpinBox::up-button {
|
|
image: url(:/resources/win/light/SpinBoxUp.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QDoubleSpinBox::up-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QDoubleSpinBox::up-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QDoubleSpinBox::down-button {
|
|
image: url(:/resources/win/light/SpinBoxDown.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QDoubleSpinBox::down-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QDoubleSpinBox::down-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QDoubleSpinBox::drop-down {
|
|
background-color: transparent;
|
|
width: 50px;
|
|
}
|
|
|
|
QDoubleSpinBox:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QDoubleSpinBox::up-button:disabled {
|
|
image: url(:/resources/win/light/SpinBoxUpDisabled.png);
|
|
}
|
|
|
|
QDoubleSpinBox::down-button:disabled {
|
|
image: url(:/resources/win/light/SpinBoxDownDisabled.png);
|
|
}
|
|
|
|
/*DATETIMEEDIT*/
|
|
QDateTimeEdit {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
padding-left: 10px;
|
|
min-height: 38px;
|
|
max-height: 38px;
|
|
min-width: 100px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QDateTimeEdit:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QDateTimeEdit::focus {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border: 1px solid rgba(0, 0, 0, 10);
|
|
color: rgba(0, 0, 0, 200);
|
|
border-bottom: 2px solid %1;
|
|
}
|
|
|
|
QDateTimeEdit::up-button {
|
|
image: url(:/resources/win/light/SpinBoxUp.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QDateTimeEdit::up-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QDateTimeEdit::up-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QDateTimeEdit::down-button {
|
|
image: url(:/resources/win/light/SpinBoxDown.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QDateTimeEdit::down-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QDateTimeEdit::down-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QDateTimeEdit::drop-down {
|
|
background-color: transparent;
|
|
width: 50px;
|
|
}
|
|
|
|
QDateTimeEdit:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QDateTimeEdit::up-button:disabled {
|
|
image: url(:/resources/win/light/SpinBoxUpDisabled.png);
|
|
}
|
|
|
|
QDateTimeEdit::down-button:disabled {
|
|
image: url(:/resources/win/light/SpinBoxDownDisabled.png);
|
|
}
|
|
|
|
/*SLIDERVERTICAL*/
|
|
QSlider:vertical {
|
|
min-width: 30px;
|
|
min-height: 100px;
|
|
}
|
|
|
|
QSlider::groove:vertical {
|
|
width: 5px;
|
|
background-color: rgba(0, 0, 0, 100);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QSlider::handle:vertical {
|
|
background-color: %1;
|
|
border: 6px solid #dbdbdb;
|
|
height: 13px;
|
|
min-width: 15px;
|
|
margin: 0px -10px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
QSlider::handle:vertical:hover {
|
|
background-color: %1;
|
|
border: 4px solid #dbdbdb;
|
|
height: 17px;
|
|
min-width: 15px;
|
|
margin: 0px -10px;
|
|
border-radius: 12px
|
|
}
|
|
|
|
QSlider::handle:vertical:pressed {
|
|
background-color: %1;
|
|
border: 7px solid #dbdbdb;
|
|
height: 11px;
|
|
min-width: 15px;
|
|
margin: 0px -10px;
|
|
border-radius: 12px
|
|
}
|
|
|
|
QSlider::groove:vertical:disabled {
|
|
background-color: rgba(0, 0, 0, 75);
|
|
}
|
|
|
|
QSlider::handle:vertical:disabled {
|
|
background-color: #808080;
|
|
border: 6px solid #cccccc;
|
|
}
|
|
|
|
/*SLIDERHORIZONTAL*/
|
|
QSlider:horizontal {
|
|
min-width: 100px;
|
|
min-height: 30px;
|
|
}
|
|
|
|
QSlider::groove:horizontal {
|
|
height: 5px;
|
|
background-color: rgba(0, 0, 0, 100);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QSlider::handle:horizontal {
|
|
background-color: %1;
|
|
border: 6px solid #dbdbdb;
|
|
width: 13px;
|
|
min-height: 15px;
|
|
margin: -10px 0;
|
|
border-radius: 12px
|
|
}
|
|
|
|
QSlider::handle:horizontal:hover {
|
|
background-color: %1;
|
|
border: 4px solid #dbdbdb;
|
|
width: 17px;
|
|
min-height: 15px;
|
|
margin: -10px 0;
|
|
border-radius: 12px
|
|
}
|
|
|
|
QSlider::handle:horizontal:pressed {
|
|
background-color: %1;
|
|
border: 7px solid #dbdbdb;
|
|
width: 11px;
|
|
min-height: 15px;
|
|
margin: -10px 0;
|
|
border-radius: 12px
|
|
}
|
|
|
|
QSlider::groove:horizontal:disabled {
|
|
background-color: rgba(0, 0, 0, 75);
|
|
}
|
|
|
|
QSlider::handle:horizontal:disabled {
|
|
background-color: #808080;
|
|
border: 6px solid #cccccc;
|
|
}
|
|
|
|
/*PROGRESSBAR*/
|
|
QProgressBar {
|
|
background-color: qlineargradient(spread:reflect, x1:0.5, y1:0.5, x2:0.5, y2:1, stop:0.233831 rgba(0, 0, 0, 255), stop:0.343284 rgba(0, 0, 0, 0));
|
|
border-radius: 2px;
|
|
min-height: 4px;
|
|
max-height: 4px;
|
|
}
|
|
|
|
QProgressBar::chunk {
|
|
background-color: %1;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/*COMBOBOX*/
|
|
QComboBox {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
padding-left: 10px;
|
|
min-height: 38px;
|
|
max-height: 38px;
|
|
}
|
|
|
|
QComboBox:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
}
|
|
|
|
QComboBox::pressed {
|
|
border: 1px solid rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url(:/resources/win/light/ComboBox.png);
|
|
}
|
|
|
|
QComboBox::drop-down {
|
|
background-color: transparent;
|
|
min-width: 50px;
|
|
}
|
|
|
|
QComboBox:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QComboBox::down-arrow:disabled {
|
|
image: url(:/resources/win/light/ComboBoxDisabled.png);
|
|
}
|
|
|
|
|
|
/*COMBOBOX POPUP*/
|
|
QComboBox QAbstractItemView {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
padding: 3px;
|
|
outline: 0;
|
|
}
|
|
|
|
QComboBox QAbstractItemView::item {
|
|
background-color: transparent;
|
|
padding: 5px 10px;
|
|
min-height: 26px;
|
|
border-radius: 4px;
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
QComboBox QAbstractItemView::item:selected {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
QComboBox QAbstractItemView::item:!selected:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
QComboBox QAbstractItemView::item:disabled {
|
|
color: rgba(0, 0, 0, 150);
|
|
}
|
|
|
|
/*LINEEDIT*/
|
|
QLineEdit {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
font-size: 14px;
|
|
font-family: "Segoe UI", serif;
|
|
font-weight: 500;
|
|
border-radius: 7px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
padding-top: 0px;
|
|
padding-left: 5px;
|
|
min-height: 30px;
|
|
}
|
|
|
|
QLineEdit:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QLineEdit:focus {
|
|
border-bottom: 2px solid %1;
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border-top: 1px solid rgba(0, 0, 0, 13);
|
|
border-left: 1px solid rgba(0, 0, 0, 13);
|
|
border-right: 1px solid rgba(0, 0, 0, 13);
|
|
}
|
|
|
|
QLineEdit:disabled {
|
|
color: rgba(0, 0, 0, 150);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
/*SCROLLVERTICAL*/
|
|
QScrollBar:vertical {
|
|
border: 6px solid rgba(0, 0, 0, 0);
|
|
margin: 14px 0px 14px 0px;
|
|
width: 16px;
|
|
}
|
|
|
|
QScrollBar:vertical:hover {
|
|
border: 5px solid rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background-color: rgba(0, 0, 0, 110);
|
|
border-radius: 2px;
|
|
min-height: 25px;
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical {
|
|
image: url(:/resources/win/light/ScrollTop.png);
|
|
subcontrol-position: top;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical:hover {
|
|
image: url(:/resources/win/light/ScrollTopHover.png);
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical:pressed {
|
|
image: url(:/resources/win/light/ScrollTopPressed.png);
|
|
}
|
|
|
|
QScrollBar::add-line:vertical {
|
|
image: url(:/resources/win/light/ScrollBottom.png);
|
|
subcontrol-position: bottom;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::add-line:vertical:hover {
|
|
image: url(:/resources/win/light/ScrollBottomHover.png);
|
|
}
|
|
|
|
QScrollBar::add-line:vertical:pressed {
|
|
image: url(:/resources/win/light/ScrollBottomPressed.png);
|
|
}
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
background: none;
|
|
}
|
|
|
|
/*SCROLLHORIZONTAL*/
|
|
QScrollBar:horizontal {
|
|
border: 6px solid rgba(0, 0, 0, 0);
|
|
margin: 0px 14px 0px 14px;
|
|
height: 16px;
|
|
}
|
|
|
|
QScrollBar:horizontal:hover {
|
|
border: 5px solid rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
QScrollBar::handle:horizontal {
|
|
background-color: rgba(0, 0, 0, 110);
|
|
border-radius: 2px;
|
|
min-width: 25px;
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal {
|
|
image: url(:/resources/win/light/ScrollLeft.png);
|
|
subcontrol-position: left;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal:hover {
|
|
image: url(:/resources/win/light/ScrollLeftHover.png);
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal:pressed {
|
|
image: url(:/resources/win/light/ScrollLeftPressed.png);
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal {
|
|
image: url(:/resources/win/light/ScrollRight.png);
|
|
subcontrol-position: right;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal:hover {
|
|
image: url(:/resources/win/light/ScrollRightHover.png);
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal:pressed {
|
|
image: url(:/resources/win/light/ScrollRightPressed.png);
|
|
}
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
background: none;
|
|
}
|
|
|
|
/*TEXTEDIT*/
|
|
QTextEdit {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
font-size: 14px;
|
|
font-family: "Segoe UI", serif;
|
|
font-weight: 500;
|
|
border-radius: 7px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
padding: 5px;
|
|
}
|
|
|
|
QTextEdit:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
|
}
|
|
|
|
QTextEdit:focus {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border-top: 1px solid rgba(0, 0, 0, 13);
|
|
border-left: 1px solid rgba(0, 0, 0, 13);
|
|
border-right: 1px solid rgba(0, 0, 0, 13);
|
|
border-bottom: 2px solid %1;
|
|
}
|
|
|
|
QTextEdit:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border: 1px solid rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
/*CALENDAR*/
|
|
QCalendarWidget {
|
|
}
|
|
|
|
QCalendarWidget QToolButton {
|
|
height: 36px;
|
|
font-size: 14px;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
margin: 5px;
|
|
}
|
|
|
|
QCalendarWidget QWidget#qt_calendar_navigationbar {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
border-bottom-left-radius: 0px;
|
|
border-bottom-right-radius: 0px;
|
|
border-bottom: none;
|
|
}
|
|
|
|
QCalendarWidget QMenu {
|
|
background-color : #f3f3f3;
|
|
}
|
|
|
|
#qt_calendar_prevmonth {
|
|
qproperty-icon: url(:/resources/win/light/PrevMonth.png);
|
|
width: 32px;
|
|
}
|
|
|
|
#qt_calendar_nextmonth {
|
|
qproperty-icon: url(:/resources/win/light/NextMonth.png);
|
|
width: 32px;
|
|
}
|
|
|
|
#qt_calendar_prevmonth:hover, #qt_calendar_nextmonth:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#qt_calendar_prevmonth:pressed, #qt_calendar_nextmonth:pressed {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#qt_calendar_yearbutton, #qt_calendar_monthbutton {
|
|
color: rgb(0, 0, 0);
|
|
margin: 5px 0px;
|
|
padding: 0px 10px;
|
|
}
|
|
|
|
#qt_calendar_yearbutton:hover, #qt_calendar_monthbutton:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#qt_calendar_yearbutton:pressed, #qt_calendar_monthbutton:pressed {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QCalendarWidget QToolButton::menu-indicator#qt_calendar_monthbutton {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QCalendarWidget QSpinBox {
|
|
margin: 5px 0px;
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::focus {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
border: 1px solid rgba(0, 0, 0, 10);
|
|
color: rgba(0, 0, 0, 200);
|
|
border-bottom: 2px solid %1;
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::up-button {
|
|
image: url(:/resources/win/light/SpinBoxUp.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::up-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::up-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::down-button {
|
|
image: url(:/resources/win/light/SpinBoxDown.png);
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: 1px solid rgb(0, 0, 0, 0);
|
|
border-radius: 4px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
margin-right: 2px;
|
|
min-width: 30px;
|
|
max-width: 30px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::down-button:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
QCalendarWidget QSpinBox::down-button:pressed {
|
|
background-color: rgba(0, 0, 0, 5);
|
|
}
|
|
|
|
QCalendarWidget QWidget {
|
|
alternate-background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
QCalendarWidget QAbstractItemView:enabled {
|
|
color: rgb(0, 0, 0);
|
|
selection-background-color: %1;
|
|
selection-color: black;
|
|
border: 1px solid rgba(0, 0, 0, 10);
|
|
border-top-left-radius: 0px;
|
|
border-top-right-radius: 0px;
|
|
border-bottom-left-radius: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
outline: 0;
|
|
}
|
|
|
|
QCalendarWidget QAbstractItemView:disabled {
|
|
color: rgb(30, 30, 30);
|
|
selection-background-color: rgb(30, 30, 30);
|
|
selection-color: black;
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-top-left-radius: 0px;
|
|
border-top-right-radius: 0px;
|
|
border-bottom-left-radius: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
}
|
|
|
|
#qt_calendar_yearbutton:disabled, #qt_calendar_monthbutton:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
}
|
|
|
|
#qt_calendar_prevmonth:disabled {
|
|
qproperty-icon: url(:/resources/win/light/PrevMonthDisabled.png);
|
|
}
|
|
|
|
#qt_calendar_nextmonth:disabled {
|
|
qproperty-icon: url(:/resources/win/light/NextMonthDisabled.png);
|
|
}
|
|
|
|
/*TREEWIDGET*/
|
|
QTreeView {
|
|
background-color: transparent;
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
outline: 0;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
QTreeView::item {
|
|
padding: 7px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
QTreeView::item:selected {
|
|
color: rgb(0, 0, 0);
|
|
background-color: rgba(0, 0, 0, 7);
|
|
border-radius: 5px;
|
|
margin-bottom: 3px;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
QTreeView::item:!selected:hover {
|
|
background-color: rgba(0, 0, 0, 13);
|
|
border-radius: 5px;
|
|
margin-bottom: 3px;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
QTreeView::branch:has-children:!has-siblings:closed,
|
|
QTreeView::branch:closed:has-children:has-siblings {
|
|
image: url(:/resources/win/light/TreeViewClose.png);
|
|
}
|
|
|
|
QTreeView::branch:open:has-children:!has-siblings,
|
|
QTreeView::branch:open:has-children:has-siblings {
|
|
image: url(:/resources/win/light/TreeViewOpen.png);
|
|
}
|
|
|
|
QTreeView:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
}
|
|
|
|
/*TOGGLESWITCH*/
|
|
#toggleSwitch {
|
|
color: rgb(0, 0, 0);
|
|
font-size: 17px;
|
|
font-family: "Segoe UI Variable Small", serif;
|
|
font-weight: 400;
|
|
}
|
|
|
|
#toggleSwitch::indicator {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 13px;
|
|
border: 2px solid #999999;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
image: url(:/resources/win/light/ToggleSwitchOff.png);
|
|
margin-right: 5px;
|
|
padding-right: 25px;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
#toggleSwitch::indicator:hover {
|
|
background-color: rgba(0, 0, 0, 15);
|
|
image: url(:/resources/win/light/ToggleSwitchOffHover.png);
|
|
}
|
|
|
|
#toggleSwitch::indicator:pressed {
|
|
background-color: rgba(0, 0, 0, 24);
|
|
width: 26px;
|
|
padding-right: 21px;
|
|
image: url(:/resources/win/light/ToggleSwitchOffPressed.png);
|
|
}
|
|
|
|
#toggleSwitch::indicator:checked {
|
|
background-color: %1;
|
|
border: 2px solid %1;
|
|
image: url(:/resources/win/light/ToggleSwitchOn.png);
|
|
color: rgb(255, 255, 255);
|
|
padding-left: 25px;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
#toggleSwitch::indicator:checked:hover {
|
|
background-color: %1;
|
|
image: url(:/resources/win/light/ToggleSwitchOnHover.png);
|
|
}
|
|
|
|
#toggleSwitch::indicator:checked:pressed {
|
|
background-color: %1;
|
|
width: 26px;
|
|
padding-left: 21px;
|
|
image: url(:/resources/win/light/ToggleSwitchOnPressed.png);
|
|
}
|
|
|
|
#toggleSwitch:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
}
|
|
|
|
#toggleSwitch::indicator:disabled {
|
|
border: 2px solid #bbbbbb;
|
|
image: url(:/resources/win/light/ToggleSwitchDisabled.png);
|
|
}
|
|
|
|
/*HYPERLINKBUTTON*/
|
|
#hyperlinkButton {
|
|
color: %1;
|
|
font-size: 17px;
|
|
font-family: "Segoe UI Variable Small", serif;
|
|
border-radius: 5px;
|
|
background-color: rgb(0, 0, 0, 0);
|
|
border: none;
|
|
}
|
|
|
|
#hyperlinkButton:hover {
|
|
background-color: rgba(0, 0, 0, 10);
|
|
}
|
|
|
|
#hyperlinkButton::pressed {
|
|
background-color: rgba(0, 0, 0, 7);
|
|
color: %1;
|
|
}
|
|
|
|
#hyperlinkButton:disabled {
|
|
color: rgba(0, 0, 0, 110);
|
|
}
|
|
|
|
/*LISTVIEW*/
|
|
QListView {
|
|
background-color: transparent;
|
|
font-size: 14px;
|
|
font-family: "Segoe UI Variable Small", serif;
|
|
font-weight: 400;
|
|
padding: 7px;
|
|
border-radius: 10px;
|
|
outline: 0;
|
|
}
|
|
|
|
QListView::item {
|
|
height: 35px;
|
|
}
|
|
|
|
QListView::item:selected {
|
|
background-color: rgb(0, 0, 0, 13);
|
|
color: black;
|
|
border-radius: 5px;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
QWidget#navWidget {
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(0, 0, 0, 13);
|
|
background-color: rgba(0, 0, 0, 10);
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
QWidget#VirtualLocationWidget {
|
|
background-color: rgb(255, 255, 255);
|
|
}
|
|
|