]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Do not mix quote styles 7131/head
authorHugo Giraudel <hugo.giraudel@gmail.com>
Sun, 22 Nov 2015 22:34:00 +0000 (23:34 +0100)
committerHugo Giraudel <hugo.giraudel@gmail.com>
Sun, 22 Nov 2015 22:34:00 +0000 (23:34 +0100)
27 files changed:
docs/assets/scss/_anchor.scss
docs/assets/scss/_footer.scss
docs/assets/scss/_newsletter.scss
docs/assets/scss/_reference.scss
docs/assets/scss/_search.scss
docs/assets/scss/_typography.scss
scss/_global.scss
scss/components/_accordion-menu.scss
scss/components/_pagination.scss
scss/components/_tabs.scss
scss/components/_visibility.scss
scss/forms/_checkbox.scss
scss/forms/_text.scss
scss/foundation.scss
scss/grid/_column.scss
scss/settings/_settings.scss
scss/typography/_base.scss
scss/typography/_print.scss
scss/util/_breakpoint.scss
scss/util/_mixins.scss
scss/util/_selector.scss
scss/util/_value.scss
test/sass/_breakpoint.scss
test/sass/_color.scss
test/sass/_selector.scss
test/sass/_unit.scss
test/sass/_value.scss

index 195af9a931d2e2502fe762e56f1bb46191c2d657..61e9bdf6ca9e6b7916ccfeb87863bce82ab2a9d7 100644 (file)
@@ -16,8 +16,8 @@
 
   // Link icon
   &::before {
-    font-family: "foundation-icons";
-    content: "\f165";
+    font-family: 'foundation-icons';
+    content: '\f165';
     color: #999;
   }
 
@@ -39,4 +39,4 @@
     top: 0.25rem;
     margin-right: -0.3rem;
   }
-}
\ No newline at end of file
+}
index 55fb24bc48d8fa8986f9d1448fe18a1c322f99fa..35cf891f78d109c3112f78767a5dfab55cfa2235 100644 (file)
@@ -25,7 +25,7 @@
 
       a {
         transition: all .25s ease-in-out;
-        font-family: "zurb-logo";
+        font-family: 'zurb-logo';
         font-weight: normal;
         font-size: em-calc(18px);
         padding: 0;
@@ -81,7 +81,7 @@
   .connect-links {
     padding: 50px 0 0 0;
     border-left: 1px solid rgba(255, 255, 255, 0.2);
-    background: url("../img/icons/footer-top-icons.png") no-repeat center 0;
+    background: url('../img/icons/footer-top-icons.png') no-repeat center 0;
     height: 220px;
     margin-bottom: 30px;
 
       margin: 30px 0 0 0;
 
       &.services {
-        background: url("../img/icons/footer-studios.png") left top no-repeat;
+        background: url('../img/icons/footer-studios.png') left top no-repeat;
       }
 
       &.foundation {
-        background: url("../img/icons/footer-foundation.png") left top no-repeat;
+        background: url('../img/icons/footer-foundation.png') left top no-repeat;
       }
 
       &.apps {
-        background: url("../img/icons/footer-products.png") left top no-repeat;
+        background: url('../img/icons/footer-products.png') left top no-repeat;
       }
 
       &.expo {
-        background: url("../img/icons/footer-expo.png") left top no-repeat;
+        background: url('../img/icons/footer-expo.png') left top no-repeat;
       }
 
       span {
   .zurb-logo {
     color: #858585;
     font-weight: normal;
-    background: url("../img/icons/footer-icons.png") no-repeat 0 3px;
+    background: url('../img/icons/footer-icons.png') no-repeat 0 3px;
     padding: 23px 0 0 0 !important;
     font-size: em-calc(16px);
     display: inline-block;
       display: block;
       height: 50px;
       width: 50px;
-      background: url("../img/icons/social.png") no-repeat center 0;
+      background: url('../img/icons/social.png') no-repeat center 0;
 
       &:hover {
         opacity: 0.8;
@@ -407,11 +407,11 @@ only screen and (-o-min-device-pixel-ratio: 2 / 1),
 only screen and (-webkit-min-device-pixel-ratio: 2),
 only screen and (min-device-pixel-ratio: 2) {
   .zurb-footer-top .info-padding {
-    background-image: url("../img/icons/footer-large-icon-retina.png");
+    background-image: url('../img/icons/footer-large-icon-retina.png');
     background-size: 100px 400px;
   }
   .zurb-footer-bottom ul.home-social li a {
-    background-image: url("../img/icons/social-retina.png");
+    background-image: url('../img/icons/social-retina.png');
     background-size: 50px 600px;
   }
   .zurb-footer-top .global .footer-link-block {
@@ -420,31 +420,31 @@ only screen and (min-device-pixel-ratio: 2) {
     margin: 30px 0 0 0;
 
     &.services {
-      background: url("../img/icons/footer-studios-retina.png") left top no-repeat;
+      background: url('../img/icons/footer-studios-retina.png') left top no-repeat;
     }
 
     &.foundation {
-      background-image: url("../img/icons/footer-foundation-retina.png") left top no-repeat;
+      background-image: url('../img/icons/footer-foundation-retina.png') left top no-repeat;
     }
 
     &.apps {
-      background-image: url("../img/icons/footer-products-retina.png") left top no-repeat;
+      background-image: url('../img/icons/footer-products-retina.png') left top no-repeat;
     }
 
     &.expo {
-      background-image: url("../img/icons/footer-expo-retina.png") left top no-repeat;
+      background-image: url('../img/icons/footer-expo-retina.png') left top no-repeat;
     }
   }
 
   .zurb-footer-bottom a.zurb-logo {
-    background-image: url("../img/icons/footer-icons-retina.png");
+    background-image: url('../img/icons/footer-icons-retina.png');
     background-size: 100px 1400px;
   }
 
   .zurb-footer-top .property .learn-links,
   .zurb-footer-top .property .support-links,
   .zurb-footer-top .property .connect-links {
-    background-image: url("../img/icons/footer-top-icons-retina.png");
+    background-image: url('../img/icons/footer-top-icons-retina.png');
     background-size: 100px 1400px;
   }
 }
@@ -455,12 +455,12 @@ only screen and (min-device-pixel-ratio: 2) {
   only screen and (-webkit-min-device-pixel-ratio: 2),
   only screen and (min-device-pixel-ratio: 2) {
   .zurb-footer-top .info-padding {
-    background-image: url("../img/icons/footer-large-icon-retina.png");
+    background-image: url('../img/icons/footer-large-icon-retina.png');
     background-size: 100px 400px;
   }
 
   .zurb-footer-bottom ul.home-social li a {
-    background-image: url("../img/icons/social-retina.png");
+    background-image: url('../img/icons/social-retina.png');
     background-size: 50px 600px;
   }
 
@@ -470,34 +470,34 @@ only screen and (min-device-pixel-ratio: 2) {
     margin: 30px 0 0 0;
 
     &.services {
-      background: url("../img/icons/footer-studios-retina.png") left top no-repeat;
+      background: url('../img/icons/footer-studios-retina.png') left top no-repeat;
       background-size: 30px;
     }
 
     &.foundation {
-      background: url("../img/icons/footer-foundation-retina.png") left top no-repeat;
+      background: url('../img/icons/footer-foundation-retina.png') left top no-repeat;
       background-size: 30px;
     }
 
     &.apps {
-      background: url("../img/icons/footer-products-retina.png") left top no-repeat;
+      background: url('../img/icons/footer-products-retina.png') left top no-repeat;
       background-size: 30px;
     }
 
     &.expo {
-      background: url("../img/icons/footer-expo-retina.png") left top no-repeat;
+      background: url('../img/icons/footer-expo-retina.png') left top no-repeat;
       background-size: 30px;
     }
   }
 
   .zurb-footer-bottom .zurb-logo {
-    background-image: url("../img/icons/footer-icons-retina.png");
+    background-image: url('../img/icons/footer-icons-retina.png');
     background-size: 100px 1400px;
   }
 
   .zurb-footer-top .property .support-links,
   .zurb-footer-top .property .connect-links {
-    background-image: url("../img/icons/footer-top-icons-retina.png");
+    background-image: url('../img/icons/footer-top-icons-retina.png');
     background-size: 100px 1400px;
   }
 }
index 64c79d030c24c2a2e9cc61b33cea98cc7a7772c0..bd85e64d7770b64b7795f5e4caee581f1b2f927d 100644 (file)
@@ -8,7 +8,7 @@
 
   h5 {
     font-size: 20px;
-    font-family: "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif;
+    font-family: 'Helvetica Neue', 'Helvetica', Arial, Verdana, sans-serif;
     font-weight: 400;
     margin-bottom: 0px;
     margin-top: 10px;
@@ -28,7 +28,7 @@
   }
 
   .row.collapse form {
-    input[type="text"] {
+    input[type='text'] {
       font-size: 17px;
       font-weight: 200;
       color: #999;
index 6fd3b56021b553ea3b5b8d5e1741aefc2afc5d71..ce2664471f5344223bbab3f3205e7020bd003ffa 100644 (file)
@@ -50,7 +50,7 @@
     margin-bottom: 0;
   }
 
-  // For when a cell has the text "None" and no actual value
+  // For when a cell has the text “None” and no actual value
   code > span {
     font-family: $body-font-family;
   }
index f403a69aed5ce0eb66a5d130509107e4fe4d2711..544c42afd8a89d5b8388c49109fb5ce983b3b17b 100644 (file)
@@ -5,7 +5,7 @@
   position: relative;
 
   &::before {
-    content: "\f16c";
+    content: '\f16c';
     display: block;
     position: absolute;
     top: 0.4rem;
index 9373ade010e032c34af3a0d883c405a42cf197d6..d1af237ea93b089d3ef5e42884343bec291464cb 100644 (file)
@@ -10,7 +10,7 @@
 .docs-big-index strong,
 .docs-small-index h4,
 .twitter-typeahead {
-  font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
+  font-family: 'Proxima Nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
 }
 
 a > code {
index 928137d787b2a367662c0ded8bb25c07bdc9491d..298557cb7ecf9216609acd64e6123c2b168bd2e1 100644 (file)
@@ -68,7 +68,7 @@ $body-font-color: $black !default;
 
 /// Font stack of the body.
 /// @type List
-$body-font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !default;
+$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif !default;
 
 /// Set to `true` to enable antialiased type, using the `-webkit-font-smoothing` and `-moz-osx-font-smoothing` CSS properties.
 /// @type Boolean
index af48090860bf472153d42f651c2e2894f7744aa7..bb5b862991d85e93875ff99a7bcc00a123d6c1f8 100644 (file)
@@ -20,7 +20,7 @@ $accordionmenu-arrows: true;
       }
     }
 
-    .is-accordion-submenu-parent[aria-expanded="true"] > a::after {
+    .is-accordion-submenu-parent[aria-expanded='true'] > a::after {
       transform-origin: 50% 50%;
       transform: scaleY(-1);
     }
index 9d3ef46710cc21d0d26dd91e130d958ac0f85afa..72aba4e57ff9db7cd900228d7469145710b638cc 100644 (file)
@@ -98,7 +98,7 @@ $pagination-arrows: true !default;
 
   // Symbols
   @if $pagination-arrows {
-    [aria-label="previous"] {
+    [aria-label='previous'] {
       &::before {
         content: '«';
         display: inline-block;
@@ -106,7 +106,7 @@ $pagination-arrows: true !default;
       }
     }
 
-    [aria-label="next"] {
+    [aria-label='next'] {
       &::after {
         content: '»';
         display: inline-block;
index c0d4a5b01a51bab2bf2d045126097e4978780c99..9a73704eeffcd18ca18d858942b5dd43a4bf249c 100644 (file)
@@ -108,7 +108,7 @@ $tab-content-padding: 1rem !default;
 
       &:hover,
       &:focus,
-      &[aria-selected="true"] {
+      &[aria-selected='true'] {
         background: $tab-background-active;
       }
     }
index 871b67271e4cdc3b231cbea9eb9680fcb0422a2f..2c191a72bbb296d638242f42dd4073d5cf482b5e 100644 (file)
@@ -88,7 +88,7 @@
   }
 
   // Screen reader visibility classes
-  // Need a "hide-for-sr" class? Add aria-hidden="true" to the element
+  // Need a “hide-for-sr” class? Add aria-hidden='true' to the element
   .show-for-sr,
   .show-on-focus {
     @include element-invisible;
index 0f70dd77e86de1c27b3a0eb4d2f76396269a1ffe..3bb4339ffa411b4be7b5c3a8b3d4ebed0bfb0c03 100644 (file)
@@ -7,15 +7,15 @@
 ////
 
 @mixin foundation-form-checkbox {
-  [type="file"],
-  [type="checkbox"],
-  [type="radio"] {
+  [type='file'],
+  [type='checkbox'],
+  [type='radio'] {
     margin: 0 0 $form-spacing;
   }
 
   // Styles for input/label siblings
-  [type="checkbox"] + label,
-  [type="radio"] + label {
+  [type='checkbox'] + label,
+  [type='radio'] + label {
     display: inline-block;
     margin-#{$global-left}: $form-spacing * 0.5;
     margin-#{$global-right}: $form-spacing;
   }
 
   // Styles for inputs inside labels
-  label > [type="checkbox"],
-  label > [type="label"] {
+  label > [type='checkbox'],
+  label > [type='label'] {
     margin-#{$global-right}: $form-spacing * 0.5;
   }
 
   // Normalize file input width
-  [type="file"] {
+  [type='file'] {
     width: 100%;
   }
 }
index 11b6b0f3160f86483d4200bd02a6be23d49d53d3..a623cdd6fe5291765a3e4a38d7dd4f127063015f 100644 (file)
@@ -54,7 +54,7 @@ $input-cursor-disabled: default !default;
 /// @type Transition
 $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out !default;
 
-/// Enables the up/down buttons that Chrome and Firefox add to `<input type="number">` elements.
+/// Enables the up/down buttons that Chrome and Firefox add to `<input type='number'>` elements.
 /// @type Boolean
 $input-number-spinners: true !default;
 
@@ -126,15 +126,15 @@ $input-radius: $global-radius !default;
   }
 
   // Reset styles on button-like inputs
-  [type="submit"],
-  [type="button"] {
+  [type='submit'],
+  [type='button'] {
     border-radius: $global-radius;
     -webkit-appearance: none;
     -moz-appearance: none;
   }
 
   // Reset Normalize setting content-box to search elements
-  input[type="search"] {
+  input[type='search'] {
     box-sizing: border-box;
   }
 
index 64360a2f13dcda70c3d89634ea9e8f5176c6c2d3..1c96b87daf69afff7f019b635149d7fcf349df96 100644 (file)
@@ -49,7 +49,7 @@
 
 // These styles are applied to <meta> tags, which are read by the Foundation JavaScript
 .foundation-mq {
-  font-family: "#{-zf-bp-serialize($breakpoints)}";
+  font-family: '#{-zf-bp-serialize($breakpoints)}';
 }
 
 @mixin foundation-everything {
index 821fe8168d5dd6578fc5e806eda08b952aaa3920..009176f54b3eb9027ae61fc4d01ff4f343eda8eb 100644 (file)
@@ -12,7 +12,7 @@
 ///   Width of the column. Accepts multiple values:
 ///   - A percentage value will make the column that exact size.
 ///   - A single digit will make the column span that number of columns wide, taking into account the column count of the parent row.
-///   - A string of the format "x of y" will make a column that is *x* columns wide, assuming *y* total columns for the parent.
+///   - A string of the format “x of y” will make a column that is *x* columns wide, assuming *y* total columns for the parent.
 ///
 /// @return {Number} A calculated percentage value.
 @function grid-column($columns) {
     }
   }
 
-  // Parsing "n of n" expressions
+  // Parsing “n of n” expressions
   @else if type-of($columns) == 'list' {
     @if length($columns) != 3 {
-      @error 'Wrong syntax for grid-column(). Use the format "n of n".';
+      @error 'Wrong syntax for grid-column(). Use the format “n of n”.';
     }
     @else {
       $width: percentage(nth($columns, 1) / nth($columns, 3));
@@ -43,7 +43,7 @@
 
   // Anything else is incorrect
   @else {
-    @error 'Wrong syntax for grid-column(). Use a number, decimal, percentage, or "n of n".';
+    @error 'Wrong syntax for grid-column(). Use a number, decimal, percentage, or “n of n”.';
   }
 
   @return $width;
index b600abd0a81527b44e0b110c2570072f73002cc3..f91c36833c42fd4fce0aa724d7b9f739fc1b4a26 100644 (file)
@@ -58,7 +58,7 @@ $black: #0a0a0a;
 $white: #fefefe;
 $body-background: $white;
 $body-font-color: $black;
-$body-font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
+$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
 $body-antialiased: true;
 $text-direction: ltr;
 $global-margin: 1rem;
@@ -97,7 +97,7 @@ $block-grid-max: 6;
 $header-font-family: $body-font-family;
 $header-font-weight: $global-weight-normal;
 $header-font-style: normal;
-$font-family-monospace: Consolas, "Liberation Mono", Courier, monospace;
+$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
 $header-sizes: (
   small: (
     'h1': 24,
index 983a5acbbb82ffa82e52be9cc11dad86ab3a2fee..0f40f17bbd4188eaa414a381732a8e9012748f55 100644 (file)
@@ -36,7 +36,7 @@ $header-font-style: normal !default;
 
 /// Font stack used for elements that use monospaced type, such as code samples
 /// @type String | List
-$font-family-monospace: Consolas, "Liberation Mono", Courier, monospace !default;
+$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace !default;
 
 /// Sizes of headings at various screen sizes. Each key is a breakpoint, and each value is a map of heading sizes.
 /// @type Map
index cf3b21d20a14a72306e73f3548ef9fbf03670b6c..244bbcfa9257095a115c88828b0aaed6f7d65ebb 100644 (file)
@@ -32,7 +32,7 @@
     // Display the URL of a link after the text
     a,
     a:visited { text-decoration: underline;}
-    a[href]:after { content: " (" attr(href) ")"; }
+    a[href]:after { content: ' (' attr(href) ')'; }
 
     // Don't display the URL for images or JavaScript/internal links
     .ir a:after,
@@ -40,7 +40,7 @@
     a[href^='#']:after { content: ''; }
 
     // Display what an abbreviation stands for after the text
-    abbr[title]:after { content: " (" attr(title) ")"; }
+    abbr[title]:after { content: ' (' attr(title) ')'; }
 
     // Prevent page breaks in the middle of a blockquote or preformatted text block
     pre,
index 50384a2fca243cfbe36570bd805c01447879b87b..38fb6218ffff82658e6648f2981d75045fc4f0e7 100644 (file)
@@ -72,9 +72,9 @@ $breakpoint-classes: (small medium large) !default;
     $bp-max: -zf-bp-to-em($bp-max) - (1/16);
   }
 
-  // Skip media query creation if the input is "0 up" or "0 down"
+  // Skip media query creation if the input is “0 up” or “0 down”
   @if $bp > 0 or $dir == 'only' {
-    // "Only" ranges use the format "(min-width: n) and (max-width: n)"
+    // `only` ranges use the format `(min-width: n) and (max-width: n)`
     @if $dir == 'only' {
       @if $named == true {
         $str: $str + '(min-width: #{$bp})';
@@ -84,15 +84,15 @@ $breakpoint-classes: (small medium large) !default;
         }
       }
       @else {
-        @warn 'Only named media queries can have an "only" range.';
+        @warn 'Only named media queries can have an `only` range.';
       }
     }
 
-    // "Down" ranges use the format "(max-width: n)"
+    // `down` ranges use the format `(max-width: n)`
     @else if $dir == 'down' {
       $max: 0;
 
-      // For named breakpoints, subtract the breakpoint value by one "pixel", or 1/16em.
+      // For named breakpoints, subtract the breakpoint value by one “pixel”, or 1/16em.
       @if $named {
         $max: $bp-max;
       }
@@ -103,7 +103,7 @@ $breakpoint-classes: (small medium large) !default;
       $str: $str + '(max-width: #{$max})';
     }
 
-    // "Up" ranges use the format "(min-width: n)"
+    // `up` ranges use the format `(min-width: n)`
     @else if strip-unit($bp) > 0 {
       $str: $str + '(min-width: #{$bp})';
     }
@@ -119,7 +119,7 @@ $breakpoint-classes: (small medium large) !default;
 ///  - If an em value is passed, the value will be used as-is.
 /// @content
 /// @param {Keyword|Number} $value - Breakpoint name, or px, rem, or em value to process.
-/// @output If the breakpoint is "0px and larger", outputs the content as-is. Otherwise, outputs the content wrapped in a media query.
+/// @output If the breakpoint is “0px and larger”, outputs the content as-is. Otherwise, outputs the content wrapped in a media query.
 @mixin breakpoint($value) {
   $str: breakpoint($value);
 
index 882e19a2f0d026f0e5aa525cd4dac66ca7229624..144f362fe7e6ec9537ebb4783f1a28e15c3d9bb2 100644 (file)
@@ -39,7 +39,7 @@
   }
 }
 
-/// Creates a menu icon with a set width, height, number of bars, and colors. The mixin uses the height of the icon and the weight of the bars to determine spacing. <div class="docs-example-burger"></div>
+/// Creates a menu icon with a set width, height, number of bars, and colors. The mixin uses the height of the icon and the weight of the bars to determine spacing. <div class='docs-example-burger'></div>
 /// @param {Color} $color - Color to use for the icon.
 /// @param {Color} $color-hover - Color to use when the icon is hovered over.
 /// @param {Number} $width - Width of the icon.
 @mixin background-triangle($color: $black) {
   $rgb: 'rgb(#{red($color)}, #{green($color)}, #{blue($color)})';
 
-  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="24" viewBox="0 0 32 24"><polygon points="0,0 32,0 16,24" style="fill: #{$rgb}"></polygon></svg>');
+  background-image: url('data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: #{$rgb}'></polygon></svg>');
 
   @media screen and (min-width:0\0) {
     @if lightness($color) < 50% {
   }
 }
 
-/// Adds CSS for a "quantity query" selector that automatically sizes elements based on how many there are inside a container.
+/// Adds CSS for a “quantity query” selector that automatically sizes elements based on how many there are inside a container.
 /// @param {Number} $max - Maximum number of items to detect. The higher this number is, the more CSS that's required to cover each number of items.
 /// @param {Keyword} $elem [li] - Tag to use for sibling selectors.
 /// @link http://alistapart.com/article/quantity-queries-for-css Quantity Queries for CSS
 
 /// Removes the focus ring around an element when a mouse input is detected.
 @mixin disable-mouse-outline {
-  [data-whatinput="mouse"] & {
+  [data-whatinput='mouse'] & {
     outline: 0;
   }
 }
index cf85359ad5fdf3d9340e3b289077e57134f93e4b..cc1b8b298440da0c53f71f26038e0ca30092e3c2 100644 (file)
@@ -32,7 +32,7 @@
   }
 
   @each $type in $types {
-    $return: append($return, unquote('[type="#{$type}"]'), comma);
+    $return: append($return, unquote('[type=\'#{$type}\']'), comma);
   }
 
   @return $return;
index 9935b4c014290ae83dbfa8a73dbd7f8fe8fef11d..af7228fa3d5a8b73d913c68b5f35beb3aeef598f 100644 (file)
@@ -23,7 +23,7 @@
 }
 
 /// Determine a top/right/bottom/right value on a padding, margin, etc. property, no matter how many values were passed in. Use this function if you need to know the specific side of a value, but don't know if the value is using a shorthand format.
-/// @param {List|Number} $val - Value to analyze. Should be a shorthand sizing property, e.g. "1em 2em 1em"
+/// @param {List|Number} $val - Value to analyze. Should be a shorthand sizing property, e.g. `1em 2em 1em`
 /// @param {Keyword} $side - Side to return. Should be `top`, `right`, `bottom`, or `left`.
 /// @returns {Number} A single value based on `$val` and `$side`.
 @function get-side($val, $side) {
index 0368f886f8a269d75f17c7ee1043ff646b2880d9..cd268b3dee458987b94090915acecefb3594d9c1 100755 (executable)
@@ -1,36 +1,36 @@
-@import "util/unit";
-@import "util/breakpoint";
+@import 'util/unit';
+@import 'util/breakpoint';
 
-@include describe("Breakpoint") {
-  @include it("converts a named breakpoint to an em value") {
+@include describe('Breakpoint') {
+  @include it('converts a named breakpoint to an em value') {
     $actual: breakpoint(medium);
     $expected: '(min-width: 32em)';
 
     @include should(expect($actual), to(be($expected)));
   }
 
-  @include it("converts a pixel or rem breakpoint to em") {
+  @include it('converts a pixel or rem breakpoint to em') {
     $expected: '(min-width: 1em)';
 
     @include should(expect(breakpoint(16px)), to(be($expected)));
     @include should(expect(breakpoint(1rem)), to(be($expected)));
   }
 
-  @include it("creates an only range out of a named breakpoint") {
+  @include it('creates an only range out of a named breakpoint') {
     $actual: breakpoint(medium only);
     $expected: '(min-width: 32em) and (max-width: 63.9375em)';
 
     @include should(expect($actual), to(be($expected)));
   }
 
-  @include it("creates a down range out of a named breakpoint") {
+  @include it('creates a down range out of a named breakpoint') {
     $actual: breakpoint(medium down);
     $expected: '(max-width: 63.9375em)';
 
     @include should(expect($actual), to(be($expected)));
   }
 
-  @include it("creates a down range out of a pixel, rem or em value") {
+  @include it('creates a down range out of a pixel, rem or em value') {
     $expected: '(max-width: 1em)';
 
     @include should(expect(breakpoint(16px down)), to(be($expected)));
@@ -38,7 +38,7 @@
     @include should(expect(breakpoint(1em down)), to(be($expected)));
   }
 
-  @include it("returns an empty string for the values zero down or zero up") {
+  @include it('returns an empty string for the values zero down or zero up') {
     $expected: '';
 
     @include should(expect(breakpoint(small down)), to(be($expected)));
     @include should(expect(breakpoint(0 up)), to(be($expected)));
   }
 
-  @include it("creates special media queries for landscape, portrait, and retina") {
+  @include it('creates special media queries for landscape, portrait, and retina') {
     @include should(expect(breakpoint(landscape)), to(be('(orientation: landscape)')));
     @include should(expect(breakpoint(portrait)), to(be('(orientation: portrait)')));
     @include should(expect(breakpoint(retina)), to(be('(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)')));
   }
 }
 
-@include describe("Map Serialize") {
-  @include it("converts a Sass map into a string") {
+@include describe('Map Serialize') {
+  @include it('converts a Sass map into a string') {
     $input: (
       small: 1em,
       medium: 2em,
@@ -68,8 +68,8 @@
   }
 }
 
-@include describe("Map Next") {
-  @include it("returns the next value in a map") {
+@include describe('Map Next') {
+  @include it('returns the next value in a map') {
     $input: (
       one: 'One',
       two: 'Two',
@@ -81,7 +81,7 @@
     @include should(expect($actual), to(be($expected)));
   }
 
-  @include it("returns null if the key is last in the map") {
+  @include it('returns null if the key is last in the map') {
     $input: (
       one: 'One',
       two: 'Two',
@@ -93,7 +93,7 @@
     @include should(expect($actual), to(be($expected)));
   }
 
-  @include it("returns null if the key is not in the map") {
+  @include it('returns null if the key is not in the map') {
     $input: (
       one: 'One',
       two: 'Two',
index e9b7e9f5fca6ed1f601dfc1648accfb94447a627..1b984f8e813c67d18a5e949cb5c77b14d246f9cd 100755 (executable)
@@ -1,14 +1,14 @@
-@import "util/color";
+@import 'util/color';
 
-@include describe("Foreground") {
-  @include it("returns black if the input color is light") {
+@include describe('Foreground') {
+  @include it('returns black if the input color is light') {
     $actual: foreground($white);
     $expected: $black;
 
     @include should(expect($actual), to(be($expected)));
   }
 
-  @include it("returns white if the input color is dark") {
+  @include it('returns white if the input color is dark') {
     $actual: foreground($black);
     $expected: $white;
 
@@ -16,8 +16,8 @@
   }
 }
 
-@include describe("Smart Scale") {
-  @include it("darkens a light color") {
+@include describe('Smart Scale') {
+  @include it('darkens a light color') {
     $color: $white;
     $scale: 5%;
     $threshold: 60%;
@@ -27,7 +27,7 @@
 
     @include should(expect($actual), to(be($expected)));
   }
-  @include it("lightens a dark color") {
+  @include it('lightens a dark color') {
     $color: $black;
     $scale: 5%;
     $threshold: 60%;
index fe9f5e4182cccb5e4feddb33c92d4d563ed26ba7..96e67f29f9be67eabd6cd74aa44ea2f1cc793625 100755 (executable)
@@ -1,9 +1,9 @@
-@import "util/selector";
+@import 'util/selector';
 
-@include describe("Text inputs") {
-  @include it("creates a selector out of a list of text input types") {
+@include describe('Text inputs') {
+  @include it('creates a selector out of a list of text input types') {
     $actual: #{text-inputs(text password)};
-    $expected: '[type="text"], [type="password"]';
+    $expected: '[type='text'], [type='password']';
 
     @debug $actual;
 
index 41570fe9863ce9abba19e9ff6b4c87059767beed..34c1accce882b7651724883ed8618e45fd8931c2 100755 (executable)
@@ -1,13 +1,13 @@
-@import "util/unit";
+@import 'util/unit';
 
-@include describe("Strip Unit") {
-  @include it("strips the unit from a number") {
+@include describe('Strip Unit') {
+  @include it('strips the unit from a number') {
     $actual: strip-unit(20px);
     $expected: 20;
 
     @include should(expect($actual), to(be($expected)));
   }
-  @include it("returns the same number when given a unitless value") {
+  @include it('returns the same number when given a unitless value') {
     $actual: strip-unit(20);
     $expected: 20;
 
@@ -15,8 +15,8 @@
   }
 }
 
-@include describe("Convert to Rem") {
-  @include it("converts a unit to the equivalent in rems") {
+@include describe('Convert to Rem') {
+  @include it('converts a unit to the equivalent in rems') {
     $actual: -zf-to-rem(32, 16);
     $expected: 2rem;
 
@@ -24,8 +24,8 @@
   }
 }
 
-@include describe("Convert Rem to Rem") {
-  @include it("keeps rem values the same") {
+@include describe('Convert Rem to Rem') {
+  @include it('keeps rem values the same') {
     $actual: -zf-to-rem(3rem, 16);
     $expected: 3rem;
 
@@ -33,8 +33,8 @@
   }
 }
 
-@include describe("Rem Calculator") {
-  @include it("converts an arbitrary number of values into rem equivalents") {
+@include describe('Rem Calculator') {
+  @include it('converts an arbitrary number of values into rem equivalents') {
     $actual: rem-calc((8 16 32 64), 16);
     $expected: 0.5rem 1rem 2rem 4rem;
 
@@ -42,8 +42,8 @@
   }
 }
 
-@include describe("Breakpoint to Em") {
-  @include it("converts a unitless, pixel, or rem value to em") {
+@include describe('Breakpoint to Em') {
+  @include it('converts a unitless, pixel, or rem value to em') {
     @include should(expect(-zf-bp-to-em(16)), to(be(1em)));
     @include should(expect(-zf-bp-to-em(16px)), to(be(1em)));
     @include should(expect(-zf-bp-to-em(1rem)), to(be(1em)));
index ec4d5d53a303d641da8da72a7f1b043beccd5f72..d7a7e68897c6caa647a29c6168ad3786426d87a4 100755 (executable)
@@ -1,7 +1,7 @@
-@import "util/value";
+@import 'util/value';
 
-@include describe("Has Value") {
-  @include it("returns false if the value is not falsey") {
+@include describe('Has Value') {
+  @include it('returns false if the value is not falsey') {
     $boolean: hasvalue(true);
     $number:  hasvalue(1px);
     $color:   hasvalue(#000);
@@ -12,7 +12,7 @@
     @include should(expect($color),   to(be(true)));
     @include should(expect($list),    to(be(true)));
   }
-  @include it("returns false if the value is falsey") {
+  @include it('returns false if the value is falsey') {
     $zero:   hasvalue(0px);
     $null:   hasvalue(null);
     $none:   hasvalue(none);
@@ -25,8 +25,8 @@
   }
 }
 
-@include describe("Get Side") {
-  @include it("returns correct sides when given one side value") {
+@include describe('Get Side') {
+  @include it('returns correct sides when given one side value') {
     $value: 1rem;
     $actual: (
       get-side($value, top),
@@ -38,7 +38,7 @@
 
     @include should(expect($actual), to(be($expected)));
   }
-  @include it("returns correct sides when given two side values") {
+  @include it('returns correct sides when given two side values') {
     $value: 1rem 2rem;
     $actual: (
       get-side($value, top),
@@ -50,7 +50,7 @@
 
     @include should(expect($actual), to(be($expected)));
   }
-  @include it("returns correct sides when given three side values") {
+  @include it('returns correct sides when given three side values') {
     $value: 1rem 2rem 3rem;
     $actual: (
       get-side($value, top),
@@ -62,7 +62,7 @@
 
     @include should(expect($actual), to(be($expected)));
   }
-  @include it("returns correct sides when given four side values") {
+  @include it('returns correct sides when given four side values') {
     $value: 1rem 2rem 3rem 4rem;
     $actual: (
       get-side($value, top),
@@ -76,8 +76,8 @@
   }
 }
 
-@include describe("Get Border Value") {
-  @include it("returns the right value of a border property") {
+@include describe('Get Border Value') {
+  @include it('returns the right value of a border property') {
     $value: 10px dashed green;
     $width: get-border-value($value, width);
     $style: get-border-value($value, style);
@@ -87,7 +87,7 @@
     @include should(expect($style), to(be(dashed)));
     @include should(expect($color), to(be(green)));
   }
-  @include it("returns a default value if a property is missing") {
+  @include it('returns a default value if a property is missing') {
     $defaultWidth: get-border-value(solid black, width);
     $defaultStyle: get-border-value(10px black, style);
     $defaultColor: get-border-value(10px solid, color);