Commit d51c617e authored by Emmanuele Bassi's avatar Emmanuele Bassi
Browse files

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.
parent cb498c21
...@@ -4022,6 +4022,11 @@ gtk_css_provider_get_default (void) ...@@ -4022,6 +4022,11 @@ gtk_css_provider_get_default (void)
" border-color: shade (@bg_color, 0.8);\n" " border-color: shade (@bg_color, 0.8);\n"
"}\n" "}\n"
"\n" "\n"
"GtkSwitch.trough:active {\n"
" background-color: @selected_bg_color;\n"
" color: @selected_fg_color;\n"
"GtkToggleButton.button:inconsistent {\n" "GtkToggleButton.button:inconsistent {\n"
" border-style: outset;\n" " border-style: outset;\n"
" border-width: 1px;\n" " border-width: 1px;\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment