From 5fef637e840db4c11c0d68e99f880a11ab0e160e Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Wed, 3 Mar 2021 17:33:42 +0500 Subject: [PATCH 1/2] adwaita: Remove headerbar sheen on backdrop It's gone from active windows since c9807f5afed5b6a10987905eea331b926f436017, but was still there in backdrop. --- gtk/theme/Adwaita/_common.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 6b4a734954..3bd5af4506 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1437,7 +1437,6 @@ headerbar { border-color: $backdrop_borders_color; background-color: $bg_color; background-image: none; - box-shadow: inset 0 1px $top_hilight; transition: $backdrop_transition; } @@ -1566,7 +1565,6 @@ headerbar { background-image: none; border-style: none; border-color: transparent; - box-shadow: none; } separator { background-color: $borders_color; } // FIXME: use darker border? From aa693159dca2eeb477ec7d08fd5e8351cae98c64 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Wed, 3 Mar 2021 17:35:15 +0500 Subject: [PATCH 2/2] adwaita: Remove the nested headerbars hack We clip the window now, it's not necessary anymore. --- gtk/theme/Adwaita/_common.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 3bd5af4506..4c1b378a2d 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1544,16 +1544,6 @@ headerbar { margin-top: 10px; margin-bottom: 10px; } - - &.titlebar headerbar:not(.titlebar) { - // Drop the background of non-titlebar 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. - // See https://gitlab.gnome.org/GNOME/gtk/issues/1264 for more information. - background: none; - box-shadow: none; - } }