[gtk/popup-shadow-width] Adwaita: don't cast shadows for halt-tiled windows



commit d32fb0b777278a2b694e9e6cae67b56ad99c5ba0
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Feb 9 18:57:31 2021 +0100

    Adwaita: don't cast shadows for halt-tiled windows
    
    - while the case of a single half tiled window casting shadow is valid,
      the main use case for half tiled windows is when they have a neighbor.
      The :backdrop should be enough of a focus indicator and we avoid shadow
      casting on neighbors that are on the same Z level.

 gtk/theme/Adwaita/_common.scss | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index e7c33f8d19..03bd00f154 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4100,9 +4100,6 @@ window {
 
       &:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
     }
-
-    &.maximized,
-    &.fullscreen { box-shadow: none; }
   }
 
   &.maximized,
@@ -4111,7 +4108,7 @@ window {
   &.tiled-top,
   &.tiled-left,
   &.tiled-right,
-  &.tiled-bottom { border-radius: 0; }
+  &.tiled-bottom { border-radius: 0; box-shadow: none; }
 
   &.popup { box-shadow: none; }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]