From 65500eb2c688bbdd8ec3e7f92526a6c0aad3d5cd Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 19 Feb 2016 11:06:17 +0100 Subject: [PATCH] move ssd class --- common/gtk-3.0/3.20/gtk-dark.css | 4 ++-- common/gtk-3.0/3.20/gtk-darker.css | 4 ++-- common/gtk-3.0/3.20/gtk-solid-dark.css | 4 ++-- common/gtk-3.0/3.20/gtk-solid-darker.css | 4 ++-- common/gtk-3.0/3.20/gtk-solid.css | 4 ++-- common/gtk-3.0/3.20/gtk.css | 4 ++-- common/gtk-3.0/3.20/sass/_common.scss | 1 + 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index 376d8cf..3285967 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -2770,10 +2770,10 @@ decoration { decoration.popup { box-shadow: none; border-radius: 0; } - decoration.ssd { + .ssd decoration, decoration.ssd { border-radius: 3px 3px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } - decoration.ssd.maximized { + .ssd decoration.maximized, decoration.ssd.maximized { border-radius: 0; } .csd.popup decoration { border-radius: 2px; diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index 94a1597..01c3d14 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -2769,10 +2769,10 @@ decoration { decoration.popup { box-shadow: none; border-radius: 0; } - decoration.ssd { + .ssd decoration, decoration.ssd { border-radius: 3px 3px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } - decoration.ssd.maximized { + .ssd decoration.maximized, decoration.ssd.maximized { border-radius: 0; } .csd.popup decoration { border-radius: 2px; diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index 2da06ea..013d674 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -2770,10 +2770,10 @@ decoration { decoration.popup { box-shadow: none; border-radius: 0; } - decoration.ssd { + .ssd decoration, decoration.ssd { border-radius: 3px 3px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } - decoration.ssd.maximized { + .ssd decoration.maximized, decoration.ssd.maximized { border-radius: 0; } .csd.popup decoration { border-radius: 2px; diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index 575d2cd..eb0735f 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -2769,10 +2769,10 @@ decoration { decoration.popup { box-shadow: none; border-radius: 0; } - decoration.ssd { + .ssd decoration, decoration.ssd { border-radius: 3px 3px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65); } - decoration.ssd.maximized { + .ssd decoration.maximized, decoration.ssd.maximized { border-radius: 0; } .csd.popup decoration { border-radius: 2px; diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index af66efa..8590239 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -2773,10 +2773,10 @@ decoration { decoration.popup { box-shadow: none; border-radius: 0; } - decoration.ssd { + .ssd decoration, decoration.ssd { border-radius: 4px 4px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); } - decoration.ssd.maximized { + .ssd decoration.maximized, decoration.ssd.maximized { border-radius: 0; } .csd.popup decoration { border-radius: 2px; diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index 837126d..b5920a8 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -2773,10 +2773,10 @@ decoration { decoration.popup { box-shadow: none; border-radius: 0; } - decoration.ssd { + .ssd decoration, decoration.ssd { border-radius: 4px 4px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); } - decoration.ssd.maximized { + .ssd decoration.maximized, decoration.ssd.maximized { border-radius: 0; } .csd.popup decoration { border-radius: 2px; diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 05b7bf9..602b782 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -2865,6 +2865,7 @@ decoration { border-radius: 0; } // server-side decorations as used by mutter + .ssd &, &.ssd { border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0); box-shadow: 0 0 0 1px if($darker=='true' or $variant == 'dark', transparentize(black, 0.35), $_wm_border);