set success/failed hover color

This commit is contained in:
dries.k
2023-05-22 19:34:13 +02:00
parent 57d7ceb925
commit 42b5d6d098
2 changed files with 24 additions and 8 deletions

View File

@@ -6,19 +6,27 @@ QPushButton:default:hover, QPushButton:checked:hover {
background: #441b85;
}
QPushButton[state="success"] {
ServerInfoDialog QPushButton[state="success"] {
background-color: #960b7a0b;
color: white;
}
QPushButton[state="failed"] {
ServerInfoDialog QPushButton[state="success"]:!default:hover {
background: #960b7a0b;
}
ServerInfoDialog QPushButton[state="failed"] {
background-color: #8ebb2929;
color: white;
}
QLineEdit[state="success"] {}
ServerInfoDialog QPushButton[state="failed"]:!default:hover {
background: #8ebb2929;
}
QLineEdit[state="failed"] {
ServerInfoDialog QLineEdit[state="success"] {}
ServerInfoDialog QLineEdit[state="failed"] {
border: 1px solid red;
}