From a457b8fd5bc04d3778bb676277b55338f3ac652c Mon Sep 17 00:00:00 2001 From: Csaba Jakosa Date: Fri, 21 Oct 2016 20:14:48 +0200 Subject: [PATCH] [GTK-3.20] Fix backdrop mode in Ubuntu. Fixes #585 This fixes backdrop mode for merged headerbar+titlebar apps in Ubuntu. No more white dots between headerbar and titlebar corner. --- src/gtk-3.20/scss/widgets/_toolbar.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/gtk-3.20/scss/widgets/_toolbar.scss b/src/gtk-3.20/scss/widgets/_toolbar.scss index 133773a..bd650a5 100644 --- a/src/gtk-3.20/scss/widgets/_toolbar.scss +++ b/src/gtk-3.20/scss/widgets/_toolbar.scss @@ -218,4 +218,15 @@ border-top-right-radius: $roundness; } } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/585 + // workaround for ugly Ubuntu-related CSD patches + .background:not(.csd):not(.ssd):not(.solid-csd) headerbar { + &, &:backdrop { + &, &:not(:last-child) { + border-radius: 0; + border-top-color: transparent; + } + } + } }