]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Removed negative margin classes, as not so much useful
authorharry <harmanmanchanda182@gmail.com>
Wed, 8 Feb 2017 14:33:16 +0000 (20:03 +0530)
committerharry <harmanmanchanda182@gmail.com>
Wed, 8 Feb 2017 14:33:16 +0000 (20:03 +0530)
scss/prototype/_spacing.scss

index c606fee05cf63bb2fcbf1c5c78119439afdcee12..49daffd7aab30abe37e62676e0837cabb54a3f5a 100644 (file)
@@ -56,7 +56,7 @@ $prototype-spacers-count: 5 !default;
       
       $size: ($size * $prototype-spacing-multiplier);
 
-      // Positive Margin & Padding
+      // Margin & Padding
       .#{$abbrev}-a-#{$size} { 
         #{$prop}: $length-y $length-x !important; 
       } // a = All sides
@@ -82,36 +82,6 @@ $prototype-spacers-count: 5 !default;
         #{$prop}-top: $length-y !important;
         #{$prop}-bottom: $length-y !important;
       } // y = vertical line
-
-      // Negative margin
-      @if ($prop == margin ) {
-
-        .#{$abbrev}-a-#{$size}n { 
-          #{$prop}: ($length-y * -1) ($length-x * -1) !important; 
-        } // a = All sides
-        .#{$abbrev}-t-#{$size}n { 
-          #{$prop}-top: ($length-y * -1) !important; 
-        } // t = top
-        .#{$abbrev}-r-#{$size}n { 
-          #{$prop}-right: ($length-x * -1) !important; 
-        } // r = right
-        .#{$abbrev}-b-#{$size}n { 
-          #{$prop}-bottom: ($length-y * -1) !important; 
-        } // b = bottom
-        .#{$abbrev}-l-#{$size}n { 
-          #{$prop}-left: ($length-x * -1) !important; 
-        } // l = left
-
-        // Axes
-        .#{$abbrev}-x-#{$size}n {
-          #{$prop}-right: ($length-x * -1) !important;
-          #{$prop}-left: ($length-x * -1) !important;
-        } // x = Horizontal Line
-        .#{$abbrev}-y-#{$size}n {
-          #{$prop}-top: ($length-y * -1) !important;
-          #{$prop}-bottom: ($length-y * -1) !important;
-        } // y = vertical line
-      }
     }
   }
 }