]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Reposition some code lines 9454/head
authorAbdullah Salem <abdullhsalem@outlook.com>
Mon, 5 Dec 2016 16:04:25 +0000 (19:04 +0300)
committerAbdullah Salem <abdullhsalem@outlook.com>
Mon, 5 Dec 2016 16:04:25 +0000 (19:04 +0300)
scss/util/_mixins.scss

index 0278d52db32c5c42ae7bd7f20ca98b8feda983eb..fa38c72df08e185fe8343eccfff1f061cd3f399a 100644 (file)
     $spacing: floor($spacing);
   }
 
+  @for $i from 2 through $bars {
+    $offset: ($weight + $spacing) * ($i - 1);
+    $shadow: append($shadow, 0 $offset 0 $color, comma);
+  }
+
   // Icon container
   position: relative;
   display: inline-block;
     height: $weight;
 
     background: $color;
-
-    content: '';
-
-    @for $i from 2 through $bars {
-      $offset: ($weight + $spacing) * ($i - 1);
-      $shadow: append($shadow, 0 $offset 0 $color, comma);
-    }
-
     box-shadow: $shadow;
+
+    content: '';    
   }
 
   // Hover state