From ccfadad6d54799df4906ac84e4ed4b9bb58ed1a2 Mon Sep 17 00:00:00 2001 From: tista500 Date: Wed, 29 Aug 2018 03:42:06 +0900 Subject: [PATCH] Gtk-3.22&3.24&4.0: [WhiskerMenuApplet] Add some workarounds (2) Enforce dimming ugly resize-grip in both top/bottom panel layouts. --- gtk/sass/3.22/_3rd-party.scss | 7 +++++-- gtk/sass/3.24/_3rd-party.scss | 7 +++++-- gtk/sass/4.0/_3rd-party.scss | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/gtk/sass/3.22/_3rd-party.scss b/gtk/sass/3.22/_3rd-party.scss index 03ab6dd05..e240816fc 100644 --- a/gtk/sass/3.22/_3rd-party.scss +++ b/gtk/sass/3.22/_3rd-party.scss @@ -2435,8 +2435,11 @@ window#whiskermenu-window { // why wasn't .popup class implemented in this window node? :/ > decoration { box-shadow: $z-depth-3; } - stack > box > box.horizontal:first-child { // ugly resize-grip - widget { color: $outline_track_color; } + stack > box > box.horizontal { + &:first-child widget, + &:last-child > widget:last-child { // ugly resize-grip + color: $outline_track_color; + } } scrolledwindow { diff --git a/gtk/sass/3.24/_3rd-party.scss b/gtk/sass/3.24/_3rd-party.scss index a10caeb71..01d9ed0e3 100644 --- a/gtk/sass/3.24/_3rd-party.scss +++ b/gtk/sass/3.24/_3rd-party.scss @@ -2435,8 +2435,11 @@ window#whiskermenu-window { // why wasn't .popup class implemented in this window node? :/ > decoration { box-shadow: $z-depth-3; } - stack > box > box.horizontal:first-child { // ugly resize-grip - widget { color: $outline_track_color; } + stack > box > box.horizontal { + &:first-child widget, + &:last-child > widget:last-child { // ugly resize-grip + color: $outline_track_color; + } } scrolledwindow { diff --git a/gtk/sass/4.0/_3rd-party.scss b/gtk/sass/4.0/_3rd-party.scss index b33b61774..7c1a7e56d 100644 --- a/gtk/sass/4.0/_3rd-party.scss +++ b/gtk/sass/4.0/_3rd-party.scss @@ -2414,8 +2414,11 @@ window#whiskermenu-window { // why wasn't .popup class implemented in this window node? :/ > decoration { box-shadow: $z-depth-3; } - stack > box > box.horizontal:first-child { // ugly resize-grip - widget { color: $outline_track_color; } + stack > box > box.horizontal { + &:first-child widget, + &:last-child > widget:last-child { // ugly resize-grip + color: $outline_track_color; + } } scrolledwindow {