[gtk+] HighContrast: Fix shadow size
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HighContrast: Fix shadow size
- Date: Sat, 14 Nov 2015 23:35:29 +0000 (UTC)
commit afab635f9d09b6c6c2f2a3ca9bacd1002646dc0f
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 14 18:05:06 2015 -0500
HighContrast: Fix shadow size
Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.
gtk/theme/HighContrast/_common.scss | 1 +
gtk/theme/HighContrast/gtk.css | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 1c5cc59..d17f8b0 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2462,6 +2462,7 @@ decoration {
&:backdrop {
box-shadow: 0 2px 6px 2px transparentize(black, 0.8),
+ 0 3px 9px 1px transparent,
0 0 0 1px $_wm_border_backdrop;
}
&.tiled {
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index d2a83b9..9deffdc 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -2739,7 +2739,7 @@ decoration {
/* this is used for the resize cursor area */
margin: 10px; }
decoration:backdrop {
- box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); }
+ box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
decoration.tiled {
border-radius: 0; }
decoration.csd.popup {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]