From 4cb943413ff40d985ea23b14f3f16e791634de9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ruiz=20de=20Alegr=C3=ADa?= Date: Thu, 14 Oct 2021 12:34:49 +0200 Subject: [PATCH] GTK3: Improve decoration round corners --- src/themes/Kali/sass/gtk3/_common-tweaks.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/themes/Kali/sass/gtk3/_common-tweaks.scss b/src/themes/Kali/sass/gtk3/_common-tweaks.scss index 1f314e13..6fe83590 100644 --- a/src/themes/Kali/sass/gtk3/_common-tweaks.scss +++ b/src/themes/Kali/sass/gtk3/_common-tweaks.scss @@ -551,8 +551,12 @@ placessidebar { *********************/ decoration { $_border_width: 1px; - border-radius: $window_radius+$_border_width $window_radius+$_border_width $button_radius+$_border_width $button_radius+$_border_width; + $_top_window_radius: $window_radius+$_border_width; + $_bottom_window_radius: min($button_radius+$_border_width, 6px); + border-radius: $_top_window_radius $_top_window_radius $_bottom_window_radius $_bottom_window_radius; border: $_border_width solid $base_color; + border-bottom-width: 2px; + background: $bg_color; box-shadow: 0 2px 8px 0 transparentize(black, 0.6), 0 0 0 1px $_wm_border;