]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
prepend opening curly brace by one space 6256/head
authorMarco Biedermann <marco.biedermann@gmx.de>
Thu, 5 Feb 2015 22:16:59 +0000 (23:16 +0100)
committerMarco Biedermann <marco.biedermann@gmx.de>
Thu, 5 Feb 2015 22:16:59 +0000 (23:16 +0100)
scss/foundation/_functions.scss
scss/foundation/components/_accordion.scss
scss/foundation/components/_offcanvas.scss
scss/foundation/components/_top-bar.scss

index 9572a77ad29dd3faca524564418b031e24553933..c28d1448946b65375ebc08c445858f7eb5a3e7b2 100644 (file)
@@ -26,7 +26,7 @@ $modules: () !default;
 
 // RANGES
 // We use these functions to define ranges for various things, like media queries.
-@function lower-bound($range){
+@function lower-bound($range) {
   @if length($range) <= 0 {
     @return 0;
   }
@@ -88,7 +88,7 @@ $modules: () !default;
 }
 
 // CONVERT TO REM
-@function convert-to-rem($value, $base-value: $rem-base)  {
+@function convert-to-rem($value, $base-value: $rem-base) {
   $value: strip-unit($value) / strip-unit($base-value) * 1rem;
   @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
   @return $value;
@@ -135,12 +135,12 @@ $modules: () !default;
 
 // OLD EM CALC
 // Deprecated: We'll drop support for this in 5.1.0, use rem-calc()
-@function emCalc($values){
+@function emCalc($values) {
   @return rem-calc($values);
 }
 
 // OLD EM CALC
 // Deprecated: We'll drop support for this in 5.1.0, use rem-calc()
-@function em-calc($values){
+@function em-calc($values) {
   @return rem-calc($values);
 }
index fb57509576921bb4381cd0e49a904c56371e673a..f068ecaa85a633069dd25ce8f02a81b9856ae984 100644 (file)
@@ -32,7 +32,7 @@ $accordion-content-active-bg-color: $white !default;
   margin-bottom: 0;
 }
 
-//  Mixin: accordion-navigation( $bg, $hover-bg, $active-bg, $padding, $active_class,  $font-color, $font-size, $font-family){
+//  Mixin: accordion-navigation( $bg, $hover-bg, $active-bg, $padding, $active_class,  $font-color, $font-size, $font-family) {
 //    @params $bg-color: [ color or string ]: Specify the background color for the navigation element
 //    @params $hover-bg-color [ color or string ]: Specify the background color for the navigation element when hovered
 //    @params $active-bg [ color or string ]: Specify the background color for the navigation element when clicked and not released.
@@ -41,7 +41,7 @@ $accordion-content-active-bg-color: $white !default;
 //    @params $font-size [ number ]: Specifiy the font-size of the text inside the navigation element
 //    @params $font-family [ string ]: Specify the font family for the text of the navigation of the accorion
 
-@mixin accordion-navigation( $bg: $accordion-navigation-bg-color, $hover-bg: $accordion-navigation-hover-bg-color, $active-bg: $accordion-navigation-active-bg-color, $padding: $accordion-navigation-padding, $active_class: 'active',  $font-color: $accordion-navigation-font-color, $font-size: $accordion-navigation-font-size, $font-family: $accordion-navigation-font-family ){
+@mixin accordion-navigation( $bg: $accordion-navigation-bg-color, $hover-bg: $accordion-navigation-hover-bg-color, $active-bg: $accordion-navigation-active-bg-color, $padding: $accordion-navigation-padding, $active_class: 'active',  $font-color: $accordion-navigation-font-color, $font-size: $accordion-navigation-font-size, $font-family: $accordion-navigation-font-family ) {
   display: block;
   margin-bottom: 0 !important;
   @if type-of($active_class) != "string" {
@@ -98,7 +98,7 @@ $accordion-content-active-bg-color: $white !default;
 //    @params $bg [ color  ]: Background color for the content when it's visible
 //    @params $active_class [ string ]: Class name used to keep track of which accordion tab should be visible.
 
-@mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active'){
+@mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active') {
   display: none;
   @if type-of($padding) != "number" {
     @warn "#{$padding} was read as a #{type-of($padding)}";
index 8c8653203927450dc447f4608273933360cf8c86..b74077330f4b7c76e83deb077e863cde58ffd2ff 100644 (file)
@@ -462,7 +462,7 @@ $menu-slide: "transform 500ms ease" !default;
   }
 }
 //Left double angle quote or Right double angle quote chars
-@mixin icon-double-arrows ($position){
+@mixin icon-double-arrows ($position) {
   @if $position == left {
     content: "\AB";
     @if $text-direction == rtl {
index 2ed3068889f12592e2aef9031913781fd85d150f..0a87375571a904f7ccbd71433eb1e8c335d57af2 100644 (file)
@@ -169,11 +169,11 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
       form,
       input { margin-bottom: 0; }
 
-      input { 
-        height: $topbar-input-height; 
-        padding-top: .35rem; 
-        padding-bottom: .35rem; 
-        font-size: $topbar-button-font-size; 
+      input {
+        height: $topbar-input-height;
+        padding-top: .35rem;
+        padding-bottom: .35rem;
+        font-size: $topbar-button-font-size;
       }
 
       .button, button {
@@ -379,7 +379,7 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
 
         & > a {
           &:after {
-            @if ($topbar-arrows){
+            @if ($topbar-arrows) {
               @include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), $default-float);
             }
             margin-#{$opposite-direction}: $topbar-link-padding;
@@ -540,7 +540,7 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
         }
 
         .has-dropdown {
-          @if($topbar-arrows){
+          @if($topbar-arrows) {
             & > a {
               padding-#{$opposite-direction}: $topbar-link-padding + $topbar-link-dropdown-padding !important;
               &:after {
@@ -568,7 +568,7 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
 
           .dropdown li.has-dropdown {
             & > a {
-              @if ($topbar-dropdown-arrows){
+              @if ($topbar-dropdown-arrows) {
                 &:after {
                   border: none;
                   content: "\00bb";