[gtk+/wip/baedert/gtkimageview] Adwaita: Move .ssd class around



commit 11608ea2b176ec2019a7a3650ca48c97aaab5c3d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 22 19:23:54 2016 -0500

    Adwaita: Move .ssd class around
    
    Make the theme follow our documentation for the various .csd and
    .ssd style classes: They all go on the window node. For now, just
    add the new selector; the old one will be removed when mutter has
    been updated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760714

 gtk/theme/Adwaita/_common.scss           |    1 +
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 08f5286..f5a039e 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3557,6 +3557,7 @@ decoration {
   .popup & { box-shadow: none; }
 
   // server-side decorations as used by mutter
+  .ssd &,
   &.ssd { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows
 
   .csd.popup & {
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 3ea6508..ed61d44 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -4557,7 +4557,7 @@ decoration {
     border-radius: 0; }
   .popup decoration {
     box-shadow: none; }
-  decoration.ssd {
+  .ssd decoration, decoration.ssd {
     box-shadow: 0 0 0 1px rgba(28, 31, 31, 0.9); }
   .csd.popup decoration {
     border-radius: 0;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 00c31b0..451b9e0 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -4698,7 +4698,7 @@ decoration {
     border-radius: 0; }
   .popup decoration {
     box-shadow: none; }
-  decoration.ssd {
+  .ssd decoration, decoration.ssd {
     box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); }
   .csd.popup decoration {
     border-radius: 0;


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