From: Marco Biedermann Date: Thu, 5 Feb 2015 22:25:32 +0000 (+0100) Subject: commas in list should follow a space X-Git-Tag: v5.5.2~133^2~7^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6257%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git commas in list should follow a space --- diff --git a/scss/foundation/_functions.scss b/scss/foundation/_functions.scss index 9572a77ad..9d7a99285 100644 --- a/scss/foundation/_functions.scss +++ b/scss/foundation/_functions.scss @@ -30,7 +30,7 @@ $modules: () !default; @if length($range) <= 0 { @return 0; } - @return nth($range,1); + @return nth($range, 1); } @function upper-bound($range) { diff --git a/scss/foundation/components/_block-grid.scss b/scss/foundation/components/_block-grid.scss index 9b8d873cf..962ef47ae 100644 --- a/scss/foundation/components/_block-grid.scss +++ b/scss/foundation/components/_block-grid.scss @@ -96,7 +96,7 @@ $block-grid-media-queries: true !default; @mixin block-grid-html-classes($size,$include-spacing) { @for $i from 1 through $block-grid-elements { .#{$size}-block-grid-#{($i)} { - @include block-grid($i,$block-grid-default-spacing,$include-spacing,false); + @include block-grid($i, $block-grid-default-spacing, $include-spacing, false); } } } diff --git a/scss/foundation/components/_forms.scss b/scss/foundation/components/_forms.scss index 87ce03892..37fa960e9 100644 --- a/scss/foundation/components/_forms.scss +++ b/scss/foundation/components/_forms.scss @@ -383,8 +383,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; /* Label Styles */ label { @include form-label; - &.right { @include form-label(right,false); } - &.inline { @include form-label(inline,false); } + &.right { @include form-label(right, false); } + &.inline { @include form-label(inline, false); } /* Styles for required inputs */ small { text-transform: $form-label-small-transform; @@ -397,8 +397,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; .postfix { @include prefix-postfix-base; } /* Adjust padding, alignment and radius if pre/post element is a button */ - .postfix.button { @include button-size(false,false); @include postfix(false, false, true); } - .prefix.button { @include button-size(false,false); @include prefix(false, false, true); } + .postfix.button { @include button-size(false, false); @include postfix(false, false, true); } + .prefix.button { @include button-size(false, false); @include prefix(false, false, true); } .prefix.button.radius { @include radius(0); @include side-radius($default-float, $button-radius); } .postfix.button.radius { @include radius(0); @include side-radius($opposite-direction, $button-radius); } @@ -406,8 +406,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; .postfix.button.round { @include radius(0); @include side-radius($opposite-direction, $button-round); } /* Separate prefix and postfix styles when on span or label so buttons keep their own */ - span.prefix,label.prefix { @include prefix(); } - span.postfix,label.postfix { @include postfix(); } + span.prefix, label.prefix { @include prefix(); } + span.postfix, label.postfix { @include postfix(); } /* We use this to get basic styling on all basic form elements */ #{text-inputs(all, 'input')} { diff --git a/scss/foundation/components/_offcanvas.scss b/scss/foundation/components/_offcanvas.scss index 8c8653203..640cf62c8 100644 --- a/scss/foundation/components/_offcanvas.scss +++ b/scss/foundation/components/_offcanvas.scss @@ -166,13 +166,13 @@ $menu-slide: "transform 500ms ease" !default; // z-index: 999; // Typography - h1,h2,h3,h4,h5,h6 { + h1, h2, h3, h4, h5, h6 { color: $tabbar-header-color; font-weight: $tabbar-header-weight; line-height: $tabbar-header-line-height; margin: $tabbar-header-margin; } - h1,h2,h3,h4 { font-size: $h5-font-size; } + h1, h2, h3, h4 { font-size: $h5-font-size; } } // SMALL SECTIONS diff --git a/scss/foundation/components/_panels.scss b/scss/foundation/components/_panels.scss index 503ba0026..085d6fcf5 100644 --- a/scss/foundation/components/_panels.scss +++ b/scss/foundation/components/_panels.scss @@ -58,15 +58,15 @@ $callout-panel-link-color-hover: scale-color($callout-panel-link-color, $lightne @if $adjust { // We set the font color based on the darkness of the bg. - @if $bg-lightness >= 50% { - h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color; } + @if $bg-lightness >= 50% { + h1, h2, h3, h4, h5, h6, p, li, dl { color: $panel-font-color; } } - @else { - h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color-alt; } + @else { + h1, h2, h3, h4, h5, h6, p, li, dl { color: $panel-font-color-alt; } } // reset header line-heights for panels - h1,h2,h3,h4,h5,h6 { + h1, h2, h3, h4, h5, h6 { line-height: 1; margin-bottom: rem-calc(20) / 2; &.subheader { line-height: 1.4; } } diff --git a/scss/foundation/components/_thumbs.scss b/scss/foundation/components/_thumbs.scss index 4a0596e60..67081592a 100644 --- a/scss/foundation/components/_thumbs.scss +++ b/scss/foundation/components/_thumbs.scss @@ -36,8 +36,8 @@ $thumb-transition-speed: 200ms !default; // $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow. // $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover. @mixin thumb( - $border-width:$thumb-border-width, - $box-shadow:$thumb-box-shadow, + $border-width:$thumb-border-width, + $box-shadow:$thumb-box-shadow, $box-shadow-hover:$thumb-box-shadow-hover) { line-height: 0; display: inline-block; @@ -58,9 +58,9 @@ $thumb-transition-speed: 200ms !default; /* Image Thumbnails */ .th { @include thumb; - @include single-transition(all,$thumb-transition-speed,ease-out); + @include single-transition(all, $thumb-transition-speed, ease-out); &.radius { @include radius($thumb-radius); } } } -} \ No newline at end of file +} diff --git a/scss/foundation/components/_type.scss b/scss/foundation/components/_type.scss index 15e4aed27..7beda3163 100644 --- a/scss/foundation/components/_type.scss +++ b/scss/foundation/components/_type.scss @@ -452,7 +452,7 @@ $align-class-breakpoints: @media #{$medium-up} { - h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; } + h1, h2, h3, h4, h5, h6 { line-height: $header-line-height; } h1 { font-size: $h1-font-size; } h2 { font-size: $h2-font-size; } h3 { font-size: $h3-font-size; }