]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Changed the variable name $paddle-left-active to $paddle-active-offest 9288/head
authorAbdullah Salem <abdullahsalem@outlook.com>
Fri, 4 Nov 2016 11:31:46 +0000 (14:31 +0300)
committerAbdullah Salem <abdullahsalem@outlook.com>
Fri, 4 Nov 2016 11:31:46 +0000 (14:31 +0300)
scss/components/_switch.scss

index 331975043f96b91351493ab9cbe83a7c9e9fbc03..f31fff6d30f831768c3646cbafc37edcd5e79f16 100644 (file)
@@ -83,7 +83,7 @@ $switch-paddle-transition: all 0.25s ease-out !default;
   $switch-width: $switch-height * 2;
   $paddle-height: $switch-height - ($switch-paddle-offset * 2);
   $paddle-width: $switch-height - ($switch-paddle-offset * 2);
-  $paddle-left-active: $switch-width - $paddle-width - $switch-paddle-offset;
+  $paddle-active-offest: $switch-width - $paddle-width - $switch-paddle-offset;
 
   background: $switch-background;
   cursor: pointer;
@@ -123,7 +123,7 @@ $switch-paddle-transition: all 0.25s ease-out !default;
     background: $switch-background-active;
 
     &::after {
-      #{$global-left}: $paddle-left-active;
+      #{$global-left}: $paddle-active-offest;
     }
   }
 
@@ -171,7 +171,7 @@ $switch-paddle-transition: all 0.25s ease-out !default;
   $switch-width: $switch-height * 2;
   $paddle-width: $switch-height - ($paddle-offset * 2);
   $paddle-height: $switch-height - ($paddle-offset * 2);
-  $paddle-left-active: $switch-width - $paddle-width - $paddle-offset;
+  $paddle-active-offest: $switch-width - $paddle-width - $paddle-offset;
 
   height: $switch-height;
   
@@ -189,7 +189,7 @@ $switch-paddle-transition: all 0.25s ease-out !default;
   }
 
   input:checked ~ .switch-paddle::after {
-    #{$global-left}: $paddle-left-active;
+    #{$global-left}: $paddle-active-offest;
   }
 }