[gnome-themes-standard/wip/sass] FIXME: no edge highlight for switches



commit d1e23508e289495fbc36b7b1b0f3fc53e49a4ec7
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue May 27 20:37:21 2014 +0200

    FIXME: no edge highlight for switches

 themes/Adwaita/gtk-3.0/_common.scss           |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    3 ++-
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 8b19065..48ff3c0 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -745,7 +745,7 @@ GtkSwitch {
     font: bold condensed 9;
     outline-offset: -4px;
     padding: 0;
-    
+    @include _shadows(0 1px 0 $borders_edge); // FIXME doesn't seem to draw the edge highlight outside the 
box
     &.trough {
       border-width: 1px;
       border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index ed44177..6be6be5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -768,7 +768,8 @@ GtkPopover {
 GtkSwitch {
   font: bold condensed 9;
   outline-offset: -4px;
-  padding: 0; }
+  padding: 0;
+  box-shadow: 0 1px 0 rgba(238, 238, 236, 0.1); }
   GtkSwitch.trough {
     border-width: 1px;
     border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index b640254..bea7f7d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -768,7 +768,8 @@ GtkPopover {
 GtkSwitch {
   font: bold condensed 9;
   outline-offset: -4px;
-  padding: 0; }
+  padding: 0;
+  box-shadow: 0 1px 0 white; }
   GtkSwitch.trough {
     border-width: 1px;
     border-style: solid;


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