Adwaita: Remove wildcards
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jan 2020 06:27:31 +0000 (01:27 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jan 2020 06:30:02 +0000 (01:30 -0500)
commit0d9a7fe0894bc6772724774a3b7ea678ed9b7976
tree5fb5b2c6d43d99599e7cc29cb2f2fc567c02bef6
parent03883b8b1a58e6c5695b3c13ffe5add638a94605
Adwaita: Remove wildcards

Selectors like *:disabled or *:link have bad performance
implications, since they cause all styles to be recomputed
when the state of the window changes. Replace these by a
list of the elements that are actually affected.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2380
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css