]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Sass lint: fix various lint errors 9364/head
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 15 Nov 2016 18:12:00 +0000 (19:12 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 15 Nov 2016 18:19:20 +0000 (19:19 +0100)
scss/components/_orbit.scss
scss/components/_top-bar.scss
scss/forms/_meter.scss
scss/forms/_progress.scss
scss/grid/_classes.scss
scss/util/_flex.scss

index 20cdea7fce2fefded2b920acb77b2f87bffcf456..1ff7001860b0a4d6d53ade690507a791be890e76 100644 (file)
@@ -58,7 +58,7 @@ $orbit-control-zindex: 10 !default;
 /// Adds styles for the inner Orbit slide container. These styles are used on the `.orbit-container` class.
 @mixin orbit-container {
   position: relative;
-  height: 0px; // Prevent FOUC by not showing until JS sets height
+  height: 0; // Prevent FOUC by not showing until JS sets height
   margin: 0;
   list-style: none;
   overflow: hidden;
index e216c2aa1f061daca79231e66ad6d7e72c04cf0d..05c1936b1173c80e4747414cc3bce7f97e8ee402 100644 (file)
@@ -153,7 +153,7 @@ $topbar-unstack-breakpoint: medium !default;
   }
   @else {
     .top-bar-title {
-      display:inline-block;
+      display: inline-block;
       float: left;
       margin: $topbar-title-spacing;
     }
index 5ee017304ef7306da387d563bb6639e201895d8e..c3862ad159ad1f27e2d35063766176fd4f3b1181 100644 (file)
@@ -95,15 +95,15 @@ $meter-fill-bad: $alert-color !default;
       }
     }
 
-    &:-moz-meter-optimum::-moz-meter-bar {
+    &:-moz-meter-optimum::-moz-meter-bar { // sass-lint:disable-line force-pseudo-nesting
       background: $meter-fill-good;
     }
 
-    &:-moz-meter-sub-optimum::-moz-meter-bar {
+    &:-moz-meter-sub-optimum::-moz-meter-bar { // sass-lint:disable-line force-pseudo-nesting
       background: $meter-fill-medium;
     }
 
-    &:-moz-meter-sub-sub-optimum::-moz-meter-bar {
+    &:-moz-meter-sub-sub-optimum::-moz-meter-bar { // sass-lint:disable-line force-pseudo-nesting
       background: $meter-fill-bad;
     }
   }
index 02a24460d375f39106012f3161973af32b91a470..4dd37f1f35143e430cca581596f5efdf58fe0d5d 100644 (file)
@@ -83,7 +83,7 @@ $progress-radius: $global-radius !default;
     }
 
     // For IE and Edge
-    &::-ms-fill{
+    &::-ms-fill {
       @if hasvalue($progress-radius) {
         border-radius: $progress-radius;
       }
index e2c46c00ba0d7721d073e2da7ea82f6d47c67272..bb15aa03cc7cd2dd85343d1ef4056ce137e72f2c 100644 (file)
     // Block grid
     @for $i from 1 through $block-grid-max {
       .#{$-zf-size}-up-#{$i} {
-        @include grid-layout($i, ".#{$column}");
+        @include grid-layout($i, '.#{$column}');
       }
     }
 
index 4437c56ee2b0dc8cf2adaf5df9f9a431aa6959da..cd24dd719785a4e7ead11fc4eb1cab1ef99b640d 100644 (file)
@@ -35,7 +35,7 @@ $-zf-flex-direction: (
       $x: map-get($-zf-flex-justify, $x);
     }
     @else {
-      @warn 'flex-grid-row-align(): #{$x} is not a valid value for horizontal alignment. Use left, right, center, justify, or spaced.'
+      @warn 'flex-grid-row-align(): #{$x} is not a valid value for horizontal alignment. Use left, right, center, justify, or spaced.';
     }
   }
 
@@ -44,7 +44,7 @@ $-zf-flex-direction: (
       $y: map-get($-zf-flex-align, $y);
     }
     @else {
-      @warn 'flex-grid-row-align(): #{$y} is not a valid value for vertical alignment. Use top, bottom, middle, or stretch.'
+      @warn 'flex-grid-row-align(): #{$y} is not a valid value for vertical alignment. Use top, bottom, middle, or stretch.';
     }
   }
 
@@ -61,7 +61,7 @@ $-zf-flex-direction: (
       $y: map-get($-zf-flex-align, $y);
     }
     @else {
-      @warn 'flex-grid-column-align(): #{$y} is not a valid value for alignment. Use top, bottom, middle, or stretch.'
+      @warn 'flex-grid-column-align(): #{$y} is not a valid value for alignment. Use top, bottom, middle, or stretch.';
     }
   }