[gtk/wip/chergert/fix-maximized-shadows] Adwaita: don't cast shadows for halt-tiled windows
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/fix-maximized-shadows] Adwaita: don't cast shadows for halt-tiled windows
- Date: Tue, 9 Feb 2021 17:59:26 +0000 (UTC)
commit da64856f3701db49951cc96105db456480decc15
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]