From 081e3162d02dd496e2a87e89c108f8de38341909 Mon Sep 17 00:00:00 2001 From: Megax Date: Sat, 23 Apr 2016 17:02:29 +0200 Subject: [PATCH] * Popup and messagedialog revert code. --- gtk-3.20/scss/widgets/_window.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk-3.20/scss/widgets/_window.scss b/gtk-3.20/scss/widgets/_window.scss index da2eed2..cd0b3d3 100755 --- a/gtk-3.20/scss/widgets/_window.scss +++ b/gtk-3.20/scss/widgets/_window.scss @@ -4,6 +4,8 @@ @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; @@ -38,7 +40,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 & { @@ -48,7 +50,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); } } }