diff options
author | Adrien Plazas <kekun.plazas@laposte.net> | 2018-09-07 13:04:59 +0200 |
---|---|---|
committer | Adrien Plazas <kekun.plazas@laposte.net> | 2018-09-07 13:07:46 +0200 |
commit | f0696dfae03ba070f5436877e321f0392596a5b5 (patch) | |
tree | f46ac68523c2195e54c4ac6261a114a2a50a50e3 /gtk/theme/Adwaita/gtk-contained.css | |
parent | 47122288b82e50b88e3185d960e2ba5ee8a27a36 (diff) | |
download | gtk+-f0696dfae03ba070f5436877e321f0392596a5b5.tar.gz |
Adwaita: Drop the background of nested headerbars
This is needed to work around headerbar sliding animation issues without
refactoring Adwaita's support of titlebars and headerbars as it may
break applications.
https://gitlab.gnome.org/GNOME/gtk/issues/1264
Diffstat (limited to 'gtk/theme/Adwaita/gtk-contained.css')
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index e4e2ed5be8..6858a38635 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -668,6 +668,8 @@ searchbar > revealer > box { margin: -6px; padding: 6px; } .solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd headerbar:backdrop:dir(rtl), .solid-csd headerbar:backdrop:dir(ltr), .solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { margin-left: -1px; margin-right: -1px; margin-top: -1px; border-radius: 0; box-shadow: none; } +.titlebar:not(headerbar) headerbar:not(.titlebar), headerbar.titlebar headerbar:not(.titlebar) { background-color: rgba 0, 0, 0, 0; background-image: none; box-shadow: none; } + headerbar entry, headerbar spinbutton, headerbar separator, headerbar button { margin-top: 6px; margin-bottom: 6px; } headerbar switch { margin-top: 9px; margin-bottom: 9px; } |