]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Sass lint: fix various properties sort order
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 15 Nov 2016 18:08:50 +0000 (19:08 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 15 Nov 2016 18:19:20 +0000 (19:19 +0100)
See: https://github.com/zurb/foundation-sites/pull/9333

scss/components/_orbit.scss
scss/components/_switch.scss

index 11a627673a2f65e1331149963945d077df1e6eaf..20cdea7fce2fefded2b920acb77b2f87bffcf456 100644 (file)
@@ -82,9 +82,9 @@ $orbit-control-zindex: 10 !default;
 
 /// Adds styles for a slide containing an image. These styles are used on the `.orbit-image` class.
 @mixin orbit-image {
-  margin: 0;
   width: 100%;
   max-width: 100%;
+  margin: 0;
 }
 
 /// Adds styles for an orbit slide caption. These styles are used on the `.orbit-caption` class.
index a2099f164d9ef7c2f2d5e181397a41a4b0538c69..a2211c6e740502f1bd330825775a707ec0b804e1 100644 (file)
@@ -187,10 +187,10 @@ $switch-paddle-transition: all 0.25s ease-out !default;
   }
 
   .switch-paddle::after {
-    width: $paddle-width;
-    height: $paddle-height;
     top: $paddle-offset;
     #{$global-left}: $paddle-offset;
+    width: $paddle-width;
+    height: $paddle-height;
   }
 
   input:checked ~ .switch-paddle::after {