Improve button hover effect for checked buttons

This commit is contained in:
Jonathan White 2020-08-13 22:34:20 -04:00 committed by Janek Bevendorff
parent 8a7bdd5b95
commit c0c0ef9fe8
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ QPushButton:!default:hover {
background: palette(mid);
}
PasswordGeneratorWidget QPushButton:checked {
QPushButton:checked {
background: palette(highlight);
color: palette(highlighted-text);
}

View File

@ -13,7 +13,7 @@ QPushButton:!default:hover {
background: #252528;
}
QPushButton:default:hover {
QPushButton:default:hover, QPushButton:checked:hover {
/* Using slightly lighter shade from palette(highlight) */
background: #2E582E;
}

View File

@ -8,7 +8,7 @@ EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled {
background-color: #EDEDED;
}
QPushButton:default:hover {
QPushButton:default:hover, QPushButton:checked:hover {
/* Using slightly lighter shade from palette(highlight) */
background: #568821;
}