Adwaita: Fix ineffective theming of switch slider
authorDaniel Boles <dboles@src.gnome.org>
Sun, 3 Sep 2017 12:53:48 +0000 (13:53 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Sun, 3 Sep 2017 13:01:17 +0000 (14:01 +0100)
commit56027e079dd077a535818f9dd72dc27789b76f9c
tree39fd6bef19197ef7554664de8001d14881f78679
parent70b61973fc0214dab7771fd2b339103592e7358f
Adwaita: Fix ineffective theming of switch slider

in a specific case, which was applying .slider as a class on the parent
switch, instead of correctly selecting on its child node named slider.

This makes the border on the outside of a switch in a selected listbox
row look better in the light variant. Since the code was never removed,
it was clearly meant to work, and making it work is a clear improvement.
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained.css