]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
commas in list should follow a space 6257/head
authorMarco Biedermann <marco.biedermann@gmx.de>
Thu, 5 Feb 2015 22:25:32 +0000 (23:25 +0100)
committerMarco Biedermann <marco.biedermann@gmx.de>
Thu, 5 Feb 2015 22:25:32 +0000 (23:25 +0100)
scss/foundation/_functions.scss
scss/foundation/components/_block-grid.scss
scss/foundation/components/_forms.scss
scss/foundation/components/_offcanvas.scss
scss/foundation/components/_panels.scss
scss/foundation/components/_thumbs.scss
scss/foundation/components/_type.scss

index 9572a77ad29dd3faca524564418b031e24553933..9d7a992859f23bde5e0d829f122e3935a7d388be 100644 (file)
@@ -30,7 +30,7 @@ $modules: () !default;
   @if length($range) <= 0 {
     @return 0;
   }
-  @return nth($range,1);
+  @return nth($range, 1);
 }
 
 @function upper-bound($range) {
index 9b8d873cf294b29e7439cc561b46d4252ed2d8ea..962ef47aef90f36c80ce76533d7fb3d4b9209ac6 100644 (file)
@@ -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);
     }
   }
 }
index 87ce03892963b9ce3b9e92d4ba55b382a992e522..37fa960e9fe9ee24da4d3b249a4cd3a592945554 100644 (file)
@@ -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')} {
index 8c8653203927450dc447f4608273933360cf8c86..640cf62c8ac7e3989553a9c33a48e8108af3c81b 100644 (file)
@@ -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
index 503ba0026fa580b5222e3ec15886339cc0a9e4b9..085d6fcf5e332d6a1dad3f83368abf53cba9d5d9 100644 (file)
@@ -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; }
       }
index 4a0596e60b0a6e1f89f50d215bf890adfeaca3db..67081592ad2bc2d7ac2dee221611bead707ac9ed 100644 (file)
@@ -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
+}
index 15e4aed270971a90429e84c839e90999af8cff3b..7beda316341e0692e010154dc8ef4234230766c7 100644 (file)
@@ -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; }