set success/failed hover color
This commit is contained in:
@@ -6,19 +6,27 @@ QPushButton:default:hover, QPushButton:checked:hover {
|
|||||||
background: #441b85;
|
background: #441b85;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton[state="success"] {
|
ServerInfoDialog QPushButton[state="success"] {
|
||||||
background-color: #960b7a0b;
|
background-color: #960b7a0b;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton[state="failed"] {
|
ServerInfoDialog QPushButton[state="success"]:!default:hover {
|
||||||
|
background: #960b7a0b;
|
||||||
|
}
|
||||||
|
|
||||||
|
ServerInfoDialog QPushButton[state="failed"] {
|
||||||
background-color: #8ebb2929;
|
background-color: #8ebb2929;
|
||||||
color: white;
|
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;
|
border: 1px solid red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,19 +6,27 @@ QPushButton:default:hover, QPushButton:checked:hover {
|
|||||||
background: #5c24b6;
|
background: #5c24b6;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton[state="success"] {
|
ServerInfoDialog QPushButton[state="success"] {
|
||||||
background-color: #6400FF00;
|
background-color: #6400FF00;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton[state="failed"] {
|
ServerInfoDialog QPushButton[state="success"]:!default:hover {
|
||||||
|
background: #6400FF00;
|
||||||
|
}
|
||||||
|
|
||||||
|
ServerInfoDialog QPushButton[state="failed"] {
|
||||||
background-color: #64FF0000;
|
background-color: #64FF0000;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit[state="success"] {}
|
ServerInfoDialog QPushButton[state="failed"]:!default:hover {
|
||||||
|
background: #64FF0000;
|
||||||
|
}
|
||||||
|
|
||||||
QLineEdit[state="failed"] {
|
ServerInfoDialog QLineEdit[state="success"] {}
|
||||||
|
|
||||||
|
ServerInfoDialog QLineEdit[state="failed"] {
|
||||||
border: 1px solid red;
|
border: 1px solid red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user