UI: Update dark theme button styling

Reorder styling so that checked buttons can still
get hover styling.

Add a distinct background color for disabled
buttons. Fixes the text being the same color
as the button when disabled.
This commit is contained in:
Warchamp7 2021-09-11 16:27:42 -04:00 committed by Matt Gajownik
parent 7d5c11de2d
commit 3909c311f1

View File

@ -478,6 +478,10 @@ QPushButton::flat {
background-color: palette(window);
}
QPushButton:checked {
background-color: palette(base);
}
QPushButton:hover {
background-color: rgb(122,121,122); /* light */
}
@ -486,8 +490,8 @@ QPushButton:pressed {
background-color: palette(base);
}
QPushButton:checked {
background-color: rgb(122,121,122); /* light */
QPushButton:disabled {
background-color: rgb(46,45,46);
}
QPushButton::menu-indicator {