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:
parent
7d5c11de2d
commit
3909c311f1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user