From a5d1f78bf279297188ad4e4a7340d33acf5c2cd3 Mon Sep 17 00:00:00 2001 From: Joonas Henriksson Date: Thu, 27 Jan 2022 05:50:06 +0200 Subject: [PATCH 1/2] theme: Fix drop shadow for tiled windows Misplaced curly bracket prevented the :backdrop styling from getting applied. Also fix the indentation while at it. --- gtk/theme/Default/_common.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index ab04b3cc83..4b3ca5b51e 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -4138,12 +4138,13 @@ window { &.tiled-left, &.tiled-right, &.tiled-bottom { - border-radius: 0; - box-shadow: 0 0 0 1px $_wm_border_backdrop, - 0 0 0 20px transparent; //transparent control workaround -- #3670 - } - &:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop, - 0 0 0 20px transparent; // #3670 + border-radius: 0; + box-shadow: 0 0 0 1px $_wm_border_backdrop, + 0 0 0 20px transparent; //transparent control workaround -- #3670 + + &:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop, + 0 0 0 20px transparent; // #3670 + } } &.popup { box-shadow: none; } From b4d0235a055025a1016ab1e50464ca6ec7bd10af Mon Sep 17 00:00:00 2001 From: Joonas Henriksson Date: Thu, 27 Jan 2022 06:08:40 +0200 Subject: [PATCH 2/2] theme: Fix incorrect border color for tiled windows --- gtk/theme/Default/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 4b3ca5b51e..5309e59855 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -4139,7 +4139,7 @@ window { &.tiled-right, &.tiled-bottom { border-radius: 0; - box-shadow: 0 0 0 1px $_wm_border_backdrop, + box-shadow: 0 0 0 1px $_wm_border, 0 0 0 20px transparent; //transparent control workaround -- #3670 &:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop,