]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
remove leading zero 6268/head
authorMarco Biedermann <marco.biedermann@gmx.de>
Sat, 7 Feb 2015 16:08:35 +0000 (17:08 +0100)
committerMarco Biedermann <marco.biedermann@gmx.de>
Sat, 7 Feb 2015 16:08:35 +0000 (17:08 +0100)
15 files changed:
scss/foundation/_settings.scss
scss/foundation/components/_alert-boxes.scss
scss/foundation/components/_button-groups.scss
scss/foundation/components/_buttons.scss
scss/foundation/components/_clearing.scss
scss/foundation/components/_forms.scss
scss/foundation/components/_icon-bar.scss
scss/foundation/components/_offcanvas.scss
scss/foundation/components/_orbit.scss
scss/foundation/components/_range-slider.scss
scss/foundation/components/_side-nav.scss
scss/foundation/components/_switches.scss
scss/foundation/components/_toolbar.scss
scss/foundation/components/_top-bar.scss
scss/foundation/components/_visibility.scss

index 6fcd317b2700750220ae28d67b2af517bff44c52..830407812f2331dd3f2639e544b88d65368c4c90 100644 (file)
@@ -360,8 +360,8 @@ $include-html-global-classes: $include-html-classes;
 // $alert-close-top: 50%;
 // $alert-close-position: rem-calc(4);
 // $alert-close-font-size: rem-calc(22);
-// $alert-close-opacity: 0.3;
-// $alert-close-opacity-hover: 0.5;
+// $alert-close-opacity: .3;
+// $alert-close-opacity-hover: .5;
 // $alert-close-padding: 9px 6px 4px;
 // $alert-close-background: inherit;
 
@@ -469,7 +469,7 @@ $include-html-global-classes: $include-html-classes;
 // $button-round: $global-rounded;
 
 // We use this to set default opacity and cursor for disabled buttons.
-// $button-disabled-opacity: 0.7;
+// $button-disabled-opacity: .7;
 // $button-disabled-cursor: $cursor-default-value;
 
 // 06. Button Groups
@@ -502,7 +502,7 @@ $include-html-global-classes: $include-html-classes;
 
 // We use these to style captions
 // $clearing-caption-font-color: $iron;
-// $clearing-caption-font-size: 0.875em;
+// $clearing-caption-font-size: .875em;
 // $clearing-caption-padding: 10px 30px 20px;
 
 // We use these to make the image and carousel height and style
@@ -680,7 +680,7 @@ $include-html-global-classes: $include-html-classes;
 // $input-error-message-font-color-alt: $oil;
 
 // We use this to style the glowing effect of inputs when focused
-// $glowing-effect-fade-time: 0.45s;
+// $glowing-effect-fade-time: .45s;
 // $glowing-effect-color: $input-focus-border-color;
 
 // Select variables
@@ -706,7 +706,7 @@ $include-html-global-classes: $include-html-classes;
 // $icon-bar-item-padding: 1.25rem;
 
 // We use this to set default opacity and cursor for disabled icons.
-// $icon-bar-disabled-opacity: 0.7;
+// $icon-bar-disabled-opacity: .7;
 
 // 13. Inline Lists
 // - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -840,7 +840,7 @@ $include-html-global-classes: $include-html-classes;
 // $off-canvas-bg: $oil;
 
 // Off Canvas Menu List Variables
-// $off-canvas-label-padding: 0.3rem rem-calc(15);
+// $off-canvas-label-padding: .3rem rem-calc(15);
 // $off-canvas-label-color: $aluminum;
 // $off-canvas-label-text-transform: uppercase;
 // $off-canvas-label-font-size: rem-calc(12);
@@ -850,7 +850,7 @@ $include-html-global-classes: $include-html-classes;
 // $off-canvas-label-border-bottom: none;
 // $off-canvas-label-margin:0;
 // $off-canvas-link-padding: rem-calc(10, 15);
-// $off-canvas-link-color: rgba($white, 0.7);
+// $off-canvas-link-color: rgba($white, .7);
 // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
 // $off-canvas-back-bg: #444;
 // $off-canvas-back-border-top: $off-canvas-label-border-top;
@@ -877,9 +877,9 @@ $include-html-global-classes: $include-html-classes;
 // Off Canvas Back-Link Overlay
 // $off-canvas-overlay-transition: background 300ms ease;
 // $off-canvas-overlay-cursor: pointer;
-// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5);
-// $off-canvas-overlay-background: rgba($white, 0.2);
-// $off-canvas-overlay-background-hover: rgba($white, 0.05);
+// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, .5), 4px 0 4px rgba($black, .5);
+// $off-canvas-overlay-background: rgba($white, .2);
+// $off-canvas-overlay-background-hover: rgba($white, .05);
 
 // Transition Variables
 // $menu-slide: "transform 500ms ease";
@@ -891,7 +891,7 @@ $include-html-global-classes: $include-html-classes;
 
 // We use these to control the caption styles
 // $orbit-container-bg: none;
-// $orbit-caption-bg: rgba(51,51,51, 0.8);
+// $orbit-caption-bg: rgba(51,51,51, .8);
 // $orbit-caption-font-color: $white;
 // $orbit-caption-font-size: rem-calc(14);
 // $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
@@ -925,7 +925,7 @@ $include-html-global-classes: $include-html-classes;
 // Hide controls on small
 // $orbit-nav-hide-for-small: true;
 // $orbit-bullet-hide-for-small: true;
-// $orbit-timer-hide-for-small: true; 
+// $orbit-timer-hide-for-small: true;
 
 // 20. Pagination
 // - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -1098,7 +1098,7 @@ $include-html-global-classes: $include-html-classes;
 // $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
 // $range-slider-handle-cursor: pointer;
 
-// $range-slider-disabled-opacity: 0.7;
+// $range-slider-disabled-opacity: .7;
 // $range-slider-disabled-cursor: $cursor-disabled-value;
 
 // 25. Reveal
@@ -1154,7 +1154,7 @@ $include-html-global-classes: $include-html-classes;
 // $side-nav-link-color: $primary-color;
 // $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
 // $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
-// $side-nav-link-bg-hover: hsla(0, 0, 0, 0.025);
+// $side-nav-link-bg-hover: hsla(0, 0, 0, .025);
 // $side-nav-link-margin: 0;
 // $side-nav-link-padding: rem-calc(7 14);
 // $side-nav-font-size: rem-calc(14);
@@ -1264,7 +1264,7 @@ $include-html-global-classes: $include-html-classes;
 // $switch-paddle-bg: $white;
 // $switch-paddle-transition-speed: .15s;
 // $switch-paddle-transition-ease: ease-out;
-// $switch-active-color: $primary-color; 
+// $switch-active-color: $primary-color;
 
 // 30. Tables
 // - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -1409,7 +1409,7 @@ $include-html-global-classes: $include-html-classes;
 // $topbar-link-padding: ($topbar-height / 3);
 // $topbar-back-link-size: rem-calc(18);
 // $topbar-link-dropdown-padding: rem-calc(20);
-// $topbar-button-font-size: 0.75rem;
+// $topbar-button-font-size: .75rem;
 // $topbar-button-top: 7px;
 
 // Style the top bar dropdown elements
@@ -1421,7 +1421,7 @@ $include-html-global-classes: $include-html-classes;
 // $topbar-dropdown-link-weight: $font-weight-normal;
 // $topbar-dropdown-toggle-size: 5px;
 // $topbar-dropdown-toggle-color: $white;
-// $topbar-dropdown-toggle-alpha: 0.4;
+// $topbar-dropdown-toggle-alpha: .4;
 
 // $topbar-dropdown-label-color: $monsoon;
 // $topbar-dropdown-label-text-transform: uppercase;
@@ -1455,7 +1455,7 @@ $include-html-global-classes: $include-html-classes;
 // Sticky Class
 // $topbar-sticky-class: ".sticky";
 // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
-// $topbar-dropdown-arrows: true; //Set false to remove the \00bb >> text from dropdown subnavigation li// 
+// $topbar-dropdown-arrows: true; //Set false to remove the \00bb >> text from dropdown subnavigation li//
 
 // 36. Visibility Classes
 // - - - - - - - - - - - - - - - - - - - - - - - - -
index 6d192793fa78d59d0b45924fa5e9c0a20c4f17e4..239bc6a677f5cec29217423118d38512c3aa24ce 100644 (file)
@@ -35,8 +35,8 @@ $alert-close-color: $oil !default;
 $alert-close-top: 50% !default;
 $alert-close-position: rem-calc(4) !default;
 $alert-close-font-size: rem-calc(22) !default;
-$alert-close-opacity: 0.3 !default;
-$alert-close-opacity-hover: 0.5 !default;
+$alert-close-opacity: .3 !default;
+$alert-close-opacity-hover: .5 !default;
 $alert-close-padding: 0 6px 4px !default;
 $alert-close-background: inherit !default;
 
index 8de47154bc834f04a90aa511550fd4837d29977c..6ec2a4613b5bdca9a924543bc60cc182d5eb391e 100644 (file)
@@ -38,7 +38,7 @@ $button-group-border-width: 1px !default;
 
   > button, .button {
     border-#{$default-float}: $button-group-border-width solid;
-    border-color: rgba(255, 255, 255, 0.5);
+    border-color: rgba(255, 255, 255, .5);
   }
 
   &:first-child {
@@ -68,7 +68,7 @@ $button-group-border-width: 1px !default;
     $button-group-margin: 0;
     > button, .button {
       border-top: $button-group-border-width solid;
-      border-color: rgba(255, 255, 255, 0.5);
+      border-color: rgba(255, 255, 255, .5);
       border-left-width: 0;
       margin:0;
       display: block;
@@ -160,7 +160,7 @@ $button-group-border-width: 1px !default;
       @for $i from 2 through 8 {
         &.even-#{$i} li { @include button-group-style($even:$i, $float:null); }
       }
-      
+
       & > li { @include button-group-style(); }
 
       &.stack {
index 8da206908361ae8d9131f39a31b962ed9d35daf8..02137b7e0d08a31901fa98bdd35dec1b21a8a7e7 100644 (file)
@@ -55,7 +55,7 @@ $button-radius: $global-radius !default;
 $button-round: $global-rounded !default;
 
 // We use this to set default opacity and cursor for disabled buttons.
-$button-disabled-opacity: 0.7 !default;
+$button-disabled-opacity: .7 !default;
 $button-disabled-cursor: $cursor-default-value !default;
 
 
index 7c38654d7fa131d837f81c57852f62f00ebe64e8..40d3e0ac43eaece654e7dda21dc1da3bce6af2cc 100644 (file)
@@ -25,7 +25,7 @@ $clearing-arrow-color: $clearing-close-color !default;
 
 // We use these to style captions
 $clearing-caption-font-color: $iron !default;
-$clearing-caption-font-size: 0.875em !default;
+$clearing-caption-font-size: .875em !default;
 $clearing-caption-padding: 10px 30px 20px !default;
 
 // We use these to make the image and carousel height and style
@@ -82,7 +82,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
       top: 50%;
       left: 50%;
       color: $base;
-      font-size: 0.6em;
+      font-size: .6em;
     }
 
     .visible-img {
@@ -166,7 +166,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
           width: 0;
           height: 0;
           border: solid $clearing-arrow-size;
-          &:hover { opacity: 0.8; }
+          &:hover { opacity: .8; }
         }
       }
       .clearing-main-prev {
@@ -186,7 +186,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
       }
 
       .clearing-main-prev.disabled,
-      .clearing-main-next.disabled { opacity: 0.3; }
+      .clearing-main-next.disabled { opacity: .3; }
 
       .clearing-assembled .clearing-container {
 
@@ -213,7 +213,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
               padding: 0;
               position: relative;
               cursor: $cursor-pointer-value;
-              opacity: 0.4;
+              opacity: .4;
               clear: none;
 
               &.fix-height {
@@ -235,7 +235,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
               }
 
               &.visible { opacity: 1; }
-              &:hover { opacity: 0.8; }
+              &:hover { opacity: .8; }
             }
           }
         }
index 37fa960e9fe9ee24da4d3b249a4cd3a592945554..cb8c1854ae2c1cd8da1287374e4e296d1e0169be 100644 (file)
@@ -71,7 +71,7 @@ $input-error-message-bg-color: $alert-color !default;
 $input-error-message-font-color-alt: $oil !default;
 
 // We use this to style the glowing effect of inputs when focused
-$glowing-effect-fade-time: 0.45s !default;
+$glowing-effect-fade-time: .45s !default;
 $glowing-effect-color: $input-focus-border-color !default;
 
 // Select variables
@@ -284,7 +284,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
 // $color - Default: $alert-color (found in settings file)
 @mixin form-error-color($color:$alert-color) {
   border-color: $color;
-  background-color: rgba($color, 0.1);
+  background-color: rgba($color, .1);
 
   // Go back to normal on focus
   &:focus {
@@ -415,7 +415,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
       border-radius: 0;
       @include form-element;
       @if $input-include-glowing-effect == false {
-          @include single-transition(all, 0.15s, linear);
+          @include single-transition(all, .15s, linear);
       }
       &.radius {
         @include radius($input-border-radius);
index 6e3608a335d09b29c60b40e9c38019a864bed188..ebbdcda3984e242516948275ecb8807c4f330892 100644 (file)
@@ -27,7 +27,7 @@ $icon-bar-active-color: $primary-color !default;
 $icon-bar-item-padding: 1.25rem !default;
 
 // We use this to set default opacity and cursor for disabled icons.
-$icon-bar-disabled-opacity: 0.7 !default;
+$icon-bar-disabled-opacity: .7 !default;
 $icon-bar-disabled-cursor: $cursor-disabled-value !default;
 
 
index 97d3cfe6e5272ce90d49f4e90a039732c7cee6f0..71784479a335a75257bc41a77843769f83eeda64 100644 (file)
@@ -32,7 +32,7 @@ $off-canvas-bg: $oil !default;
 $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%) !default;
 
 // Off Canvas Menu List Variables
-$off-canvas-label-padding: 0.3rem rem-calc(15) !default;
+$off-canvas-label-padding: .3rem rem-calc(15) !default;
 $off-canvas-label-color: $aluminum !default;
 $off-canvas-label-text-transform: uppercase !default;
 $off-canvas-label-font-size: rem-calc(12) !default;
@@ -42,7 +42,7 @@ $off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $light
 $off-canvas-label-border-bottom: none !default;
 $off-canvas-label-margin:0 !default;
 $off-canvas-link-padding: rem-calc(10, 15) !default;
-$off-canvas-link-color: rgba($white, 0.7) !default;
+$off-canvas-link-color: rgba($white, .7) !default;
 $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%) !default;
 $off-canvas-back-bg: #444 !default;
 $off-canvas-back-border-top: $off-canvas-label-border-top !default;
@@ -69,9 +69,9 @@ $tabbar-hamburger-icon-gap: 6px !default;
 // Off Canvas Back-Link Overlay
 $off-canvas-overlay-transition: background 300ms ease !default;
 $off-canvas-overlay-cursor: pointer !default;
-$off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5) !default;
-$off-canvas-overlay-background: rgba($white, 0.2) !default;
-$off-canvas-overlay-background-hover: rgba($white, 0.05) !default;
+$off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, .5), 4px 0 4px rgba($black, .5) !default;
+$off-canvas-overlay-background: rgba($white, .2) !default;
+$off-canvas-overlay-background-hover: rgba($white, .05) !default;
 
 // Transition Variables
 $menu-slide: "transform 500ms ease" !default;
@@ -466,17 +466,17 @@ $menu-slide: "transform 500ms ease" !default;
   @if $position == left {
     content: "\AB";
     @if $text-direction == rtl {
-      margin-left: 0.5rem;
+      margin-left: .5rem;
     } @else {
-      margin-right: 0.5rem;
+      margin-right: .5rem;
     }
   }
   @if $position == right {
     content: "\BB";
     @if $text-direction == rtl {
-      margin-right: 0.5rem;
+      margin-right: .5rem;
     } @else {
-      margin-left: 0.5rem;
+      margin-left: .5rem;
     }
   }
   display: inline;
index 3228d8a7a7d447c93b3de08ec58036b54db494f7..e357b889358215363906f041deac87ee2a90ddfb 100644 (file)
@@ -10,7 +10,7 @@ $include-html-orbit-classes: $include-html-classes !default;
 
 // We use these to control the caption styles
 $orbit-container-bg: none !default;
-$orbit-caption-bg: rgba(51,51,51, 0.8) !default;
+$orbit-caption-bg: rgba(51,51,51, .8) !default;
 $orbit-caption-font-color: $white !default;
 $orbit-caption-font-size: rem-calc(14) !default;
 $orbit-caption-position: "bottom" !default; // Supported values: "bottom", "under"
index 1acc3ae6b2735ec2e5a14d5007b1924fea5d6225..914836712265f7a8caee0972be90708c29eb7ba2 100644 (file)
@@ -44,7 +44,7 @@ $range-slider-handle-round: $global-rounded !default;
 $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%) !default;
 $range-slider-handle-cursor: pointer !default;
 
-$range-slider-disabled-opacity: 0.7 !default;
+$range-slider-disabled-opacity: .7 !default;
 $range-slider-disabled-cursor: $cursor-disabled-value !default;
 
 //
index d16be157135a73816615959dac615424d3bd68e7..8e11a38b8052e17780b7881eb30ecf7214e2fb11 100644 (file)
@@ -22,7 +22,7 @@ $side-nav-list-margin: rem-calc(0 0 7 0) !default;
 $side-nav-link-color: $primary-color !default;
 $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%) !default;
 $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%) !default;
-$side-nav-link-bg-hover: hsla(0, 0, 0, 0.025) !default;
+$side-nav-link-bg-hover: hsla(0, 0, 0, .025) !default;
 $side-nav-link-margin: 0 !default;
 $side-nav-link-padding: rem-calc(7 14) !default;
 $side-nav-font-size: rem-calc(14) !default;
index 33f428464ee20af9721d3c68fff26288f5ba0b09..7ffade9cbbf3f4d92e40cf2a2a3d5b38823da1cd 100644 (file)
@@ -90,8 +90,8 @@ $switch-active-color: $primary-color !default;
     position: absolute;
     top: .25rem;
     left: .25rem;
-    width: $switch-height-med - 0.5rem;
-    height: $switch-height-med - 0.5rem;
+    width: $switch-height-med - .5rem;
+    height: $switch-height-med - .5rem;
 
     -webkit-transition: left $transition-speed $transition-ease;
     -moz-transition: left $transition-speed $transition-ease;
@@ -109,7 +109,7 @@ $switch-active-color: $primary-color !default;
   }
 
   input:checked + label:after {
-    left: $switch-height-med + 0.25rem;
+    left: $switch-height-med + .25rem;
   }
 }
 
@@ -126,12 +126,12 @@ $switch-active-color: $primary-color !default;
   }
 
   label:after {
-    width: $height - 0.5rem;
-    height: $height - 0.5rem;
+    width: $height - .5rem;
+    height: $height - .5rem;
   }
 
   input:checked + label:after {
-    left: $height + 0.25rem;
+    left: $height + .25rem;
   }
 
 }
index 0d98865403582174451f0d0179e1e6135207a4f5..94b34facda8c97fd055b9881bcd6631ed660ea3f 100644 (file)
@@ -44,7 +44,7 @@
                float: left;
 
                &:hover {
-                       background: rgba($white, 0.1);
+                       background: rgba($white, .1);
                }
        }
 }
index 2590701cbbacca2343acecc8bc346f94b86679e2..e75480d548bf42498e7874b264cd8ba332467ddf 100644 (file)
@@ -42,7 +42,7 @@ $topbar-link-text-transform: none !default;
 $topbar-link-padding: ($topbar-height / 3) !default;
 $topbar-back-link-size: rem-calc(18) !default;
 $topbar-link-dropdown-padding: rem-calc(20) !default;
-$topbar-button-font-size: 0.75rem !default;
+$topbar-button-font-size: .75rem !default;
 $topbar-button-top: 7px !default;
 
 // Style the top bar dropdown elements
@@ -54,7 +54,7 @@ $topbar-dropdown-link-bg-hover: $oil !default;
 $topbar-dropdown-link-weight: $font-weight-normal !default;
 $topbar-dropdown-toggle-size: 5px !default;
 $topbar-dropdown-toggle-color: $white !default;
-$topbar-dropdown-toggle-alpha: 0.4 !default;
+$topbar-dropdown-toggle-alpha: .4 !default;
 
 $topbar-dropdown-label-color: $monsoon !default;
 $topbar-dropdown-label-text-transform: uppercase !default;
index 1a6575ce63d8716219f67ea51b472b61fc74636e..832c10813c54d4ac054cfb125b1eb0c0b2e6b1cb 100644 (file)
@@ -440,7 +440,7 @@ $visibility-breakpoint-queries:
 
         img { max-width: 100% !important; }
 
-        @page { margin: 0.5cm; }
+        @page { margin: .5cm; }
 
         p,
         h2,