From aa2c9936eb370da8078e522b136ea520bb77ce8b Mon Sep 17 00:00:00 2001 From: Megax Date: Sat, 23 Apr 2016 14:35:18 +0200 Subject: [PATCH] * Popup menu shadow fix. --- gtk-3.20/scss/widgets/_window.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gtk-3.20/scss/widgets/_window.scss b/gtk-3.20/scss/widgets/_window.scss index fd75a80..8bcae7c 100755 --- a/gtk-3.20/scss/widgets/_window.scss +++ b/gtk-3.20/scss/widgets/_window.scss @@ -1,9 +1,7 @@ -/************** - ! Window frame -***************/ - @include exports("window") { decoration { + $_wm_border: if($variant == 'light', transparentize($black, .77), transparentize($borders_color, .1)); + border-radius: $roundness $roundness 0 0; // lamefun trick to get rounded borders regardless of CSD use border-width: 0; @@ -40,7 +38,7 @@ .csd.popup & { border-radius: 0; - box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($wm_border_focused, .1); + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); } tooltip.csd & { @@ -50,7 +48,7 @@ messagedialog.csd & { border-radius: $roundness; - box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($wm_border_focused, .1); + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); } } }