[gnome-shell-sass] switch: Drop separate handling for US



commit 1a569565e6a53d912b3216c752d7fddfeaee70b5
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Apr 16 17:21:02 2019 +0000

    switch: Drop separate handling for US
    
    The switches no longer use ON/OFF or o/|, so just use the
    same class and artwork everywhere.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/496

 _common.scss | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 2d48007..a6357ba 100644
--- a/_common.scss
+++ b/_common.scss
@@ -160,15 +160,10 @@ StScrollBar {
   width: 46px;
   height: 22px;
   background-size: contain;
+  background-image: url("resource:///org/gnome/shell/theme/toggle-off-intl.svg");
+  &:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-intl.svg"); }
 }
 
-  @each $v in us, intl {
-    .toggle-switch-#{$v} {
-      background-image: url("resource:///org/gnome/shell/theme/toggle-off-#{$v}.svg");
-      &:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-#{$v}.svg"); }
-    }
-  }
-
 /* links */
 .shell-link {
   color: $link_color;


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