[gnome-themes-standard] GtkSwitch: increased the size



commit 40eac57a36cdf183f40749e31745b9899218ddc5
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Thu May 29 13:52:55 2014 +0200

    GtkSwitch: increased the size

 themes/Adwaita/gtk-3.0/_common.scss           |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index b6913c6..74af6b9 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -726,9 +726,9 @@ GtkPopover {
  **********/
 
 GtkSwitch {
+    -GtkSwitch-slider-width: 47px;
     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;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 262f442..f5e20ae 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -817,9 +817,9 @@ GtkPopover {
  * Switch *
  **********/
 GtkSwitch {
+  -GtkSwitch-slider-width: 47px;
   font: bold condensed 9;
   outline-offset: -4px;
-  padding: 0;
   box-shadow: 0 1px 0 rgba(238, 238, 236, 0.1); }
   GtkSwitch.trough {
     border-width: 1px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 0a80103..45f3806 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -817,9 +817,9 @@ GtkPopover {
  * Switch *
  **********/
 GtkSwitch {
+  -GtkSwitch-slider-width: 47px;
   font: bold condensed 9;
   outline-offset: -4px;
-  padding: 0;
   box-shadow: 0 1px 0 white; }
   GtkSwitch.trough {
     border-width: 1px;


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