[gtk+] Adwata: fix switch slider border clash



commit 08f928a4ea78fc256b5cc50582723d200c9aa632
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Dec 23 18:57:04 2015 +0100

    Adwata: fix switch slider border clash

 gtk/theme/Adwaita/_common.scss           |    1 +
 gtk/theme/Adwaita/gtk-contained-dark.css |    1 +
 gtk/theme/Adwaita/gtk-contained.css      |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2c9e36f..df4a05e 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2040,6 +2040,7 @@ switch {
         background-color: $insensitive_bg_color;
   }
   slider {
+    margin: -1px;
     min-width: 45px;
     min-height: 27px;
     border: 1px solid;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 45b255a..0c196d9 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2590,6 +2590,7 @@ switch {
     background-image: none;
     background-color: #333636; }
   switch slider {
+    margin: -1px;
     min-width: 45px;
     min-height: 27px;
     border: 1px solid;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 970ac06..0aac5d8 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2597,6 +2597,7 @@ switch {
     background-image: none;
     background-color: #f1f1f1; }
   switch slider {
+    margin: -1px;
     min-width: 45px;
     min-height: 27px;
     border: 1px solid;


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