ui overhaul

This commit is contained in:
2019-10-14 15:13:05 +02:00
parent 77e61ec029
commit d9f9d24165
6 changed files with 178 additions and 901 deletions

View File

@@ -12,6 +12,10 @@ QMainWindow {
border-color: #edf2f4;
}
QPushButton {
padding-bottom: 5px;
}
QPushButton[on=true] {
background-color: #d63429;
color: #edf2f4;
@@ -22,39 +26,44 @@ QPushButton[on=false] {
color: #404040;
}
QPushButton:hover {
QPushButton::hover {
border: 1px solid #edf2f4;
}
QRadioButton {
color: #edf2f4;
background-color: #404040;
}
QSpinBox {
QComboBox {
color: #edf2f4;
background-color: #404040;
padding-top: 10px;
padding-bottom: 10px;
}
QSpinBox::up-button {
color: #404040;
QComboBox:hover {
border: 1px solid #edf2f4;
}
QSpinBox::down-button {
color: #404040;
QComboBox::drop-down {
color: #edf2f4;
background-color: #999999;
margin: 2px;
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
}
QSpinBox:hover {
border: 1px solid #0077fd;
QComboBox::down-arrow
{
image: url(:/mwicon.png);
width: 48px;
height: 48px;
}
QLineEdit {
QComboBox QAbstractItemView{
background-color: #404040;
color: #edf2f4;
border: 1px solid #0077fd;
}
QLineEdit:hover {
selection-background-color: #999999;
selection-color: #24e895;
}
QLabel {
@@ -62,25 +71,10 @@ QLabel {
}
QLabel#lbl_timer[on=false] {
border: 1px solid #d63429;
}
QLabel#lbl_timer[on=true] {
border: 1px solid #24e895;
}
QGroupBox {
color: #edf2f4;
border: 1px solid #edf2f4;
margin-top: 5px;
QLabel#lbl_timer[on=true] {
border: 1px solid #d63429;
}
QGroupBox::title {
subcontrol-origin: margin;
left: 5px;
padding: 0px 5px 0px 5px;
}
/*
QLabel#lbl_volume:hover {
border: 1px solid var(--highlight-blue);
}*/