From: Nicolas Coden Date: Tue, 15 Nov 2016 18:12:00 +0000 (+0100) Subject: Sass lint: fix various lint errors X-Git-Tag: v6.3-rc1~2^2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9364%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Sass lint: fix various lint errors --- diff --git a/scss/components/_orbit.scss b/scss/components/_orbit.scss index 20cdea7fc..1ff700186 100644 --- a/scss/components/_orbit.scss +++ b/scss/components/_orbit.scss @@ -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; diff --git a/scss/components/_top-bar.scss b/scss/components/_top-bar.scss index e216c2aa1..05c1936b1 100644 --- a/scss/components/_top-bar.scss +++ b/scss/components/_top-bar.scss @@ -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; } diff --git a/scss/forms/_meter.scss b/scss/forms/_meter.scss index 5ee017304..c3862ad15 100644 --- a/scss/forms/_meter.scss +++ b/scss/forms/_meter.scss @@ -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; } } diff --git a/scss/forms/_progress.scss b/scss/forms/_progress.scss index 02a24460d..4dd37f1f3 100644 --- a/scss/forms/_progress.scss +++ b/scss/forms/_progress.scss @@ -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; } diff --git a/scss/grid/_classes.scss b/scss/grid/_classes.scss index e2c46c00b..bb15aa03c 100644 --- a/scss/grid/_classes.scss +++ b/scss/grid/_classes.scss @@ -118,7 +118,7 @@ // Block grid @for $i from 1 through $block-grid-max { .#{$-zf-size}-up-#{$i} { - @include grid-layout($i, ".#{$column}"); + @include grid-layout($i, '.#{$column}'); } } diff --git a/scss/util/_flex.scss b/scss/util/_flex.scss index 4437c56ee..cd24dd719 100644 --- a/scss/util/_flex.scss +++ b/scss/util/_flex.scss @@ -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.'; } }