]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Sass lint: Sort utils properties
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 8 Nov 2016 02:07:57 +0000 (03:07 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 12 Nov 2016 14:58:17 +0000 (15:58 +0100)
Sort utils properties following the Specific property sort order.

See : https://gist.github.com/ncoden/d42f55df7c7970f548a02cd3468f9c86

scss/util/_mixins.scss

index 5c386379fb7893ee21475fcae99849fe651d30f0..4666e3eefde2326b141693e37592f2ee97c931e1 100644 (file)
   $triangle-color,
   $triangle-direction
 ) {
-  content: '';
   display: block;
   width: 0;
   height: 0;
+
   border: inset $triangle-size;
 
+  content: '';
+
   @if ($triangle-direction == down) {
     border-color: $triangle-color transparent transparent;
     border-top-style: solid;
   position: relative;
   display: inline-block;
   vertical-align: middle;
-  cursor: pointer;
   width: $width;
   height: $height;
+  cursor: pointer;
 
   // Icon bars
   &::after {
-    content: '';
     position: absolute;
+    top: 0;
+    left: 0;
+
     display: block;
     width: 100%;
     height: $weight;
+
     background: $color;
-    top: 0;
-    left: 0;
+
+    content: '';
 
     @for $i from 2 through $bars {
       $offset: ($weight + $spacing) * ($i - 1);
 @mixin clearfix {
   &::before,
   &::after {
-    content: ' ';
     display: table;
+    content: ' ';
+
     @if $global-flexbox {
       flex-basis: 0;
       order: 1;