mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 12:20:10 +00:00
css-provider: Fix up the Switch style
As it was with the old style, when the Switch is in the "on" state the trough should be using the selected background color.
This commit is contained in:
parent
cb498c2101
commit
d51c617e13
@ -4022,6 +4022,11 @@ gtk_css_provider_get_default (void)
|
||||
" border-color: shade (@bg_color, 0.8);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"GtkSwitch.trough:active {\n"
|
||||
" background-color: @selected_bg_color;\n"
|
||||
" color: @selected_fg_color;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"GtkToggleButton.button:inconsistent {\n"
|
||||
" border-style: outset;\n"
|
||||
" border-width: 1px;\n"
|
||||
|
Loading…
Reference in New Issue
Block a user