]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Adding `!important` to **sensible** areas.
authorharry <harmanmanchanda182@gmail.com>
Mon, 13 Feb 2017 15:40:46 +0000 (21:10 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 13 Feb 2017 15:40:46 +0000 (21:10 +0530)
scss/prototype/_font-styling.scss
scss/prototype/_list-style-type.scss
scss/prototype/_overflow.scss
scss/prototype/_position.scss
scss/prototype/_rounded.scss
scss/prototype/_sizing.scss
scss/prototype/_text-decoration.scss
scss/prototype/_text-transformation.scss
scss/prototype/_text-utilities.scss

index 4947770feae46ec96b6f6348f8602855ec14c45b..b16cb8d9d1a8bdbb712d3af8b385d22e9a665940 100644 (file)
@@ -48,7 +48,7 @@ $prototype-font-bold: $global-weight-bold !default;
 
 /// Font Style Italic
 @mixin font-italic {
-  font-style: italic;
+  font-style: italic !important;
 }
 
 @mixin foundation-prototype-font-styling {
index ef988ab5ec9b3a8f434139fe62777bb1e8f269c2..12d2128015fe6af93d1df6028b23f67c4f1bd17f 100644 (file)
@@ -26,13 +26,13 @@ $prototype-style-type-ordered: (
 /// Style type for unordered Lists, by default coming through a map `$prototype-style-type-unordered`
 /// @param {String} $style-type-unordered [] Style type for unordered Lists
 @mixin style-type-unordered($style-type-unordered) {
-  list-style-type: $style-type-unordered;
+  list-style-type: $style-type-unordered !important;
 }
 
 /// Style type for ordered Lists, by default coming through a map `$prototype-style-type-ordered`
 /// @param {String} $style-type-ordered [] Style type for ordered Lists
 @mixin style-type-ordered($style-type-ordered) {
-  list-style-type: $style-type-ordered;
+  list-style-type: $style-type-ordered !important;
 }
 
 @mixin list-unordered {
index af469b536b3b61b7b630e1665a3ad4612e2d8e5c..dc47d2b620e1e91aa8293c4deb7d8ab088b88bec 100644 (file)
@@ -19,19 +19,19 @@ $prototype-overflow: (
 /// Overflow classes, by default coming through a map `$prototype-overflow`
 /// @param {String} $overflow [] Overflow classes
 @mixin overflow($overflow) {
-    overflow: $overflow;
+    overflow: $overflow !important;
 }
 
 /// Overflow classes on horizontal axis, by default coming through a map `$prototype-overflow`
 /// @param {String} $overflow [] Overflow classes (horizontal axis)
 @mixin overflow-x($overflow) {
-    overflow-x: $overflow;
+    overflow-x: $overflow !important;
 }
 
 /// Overflow classes on vertical axis, by default coming through a map `$prototype-overflow`
 /// @param {String} $overflow [] Overflow classes (vertical axis)
 @mixin overflow-y($overflow) {
-    overflow-y: $overflow;
+    overflow-y: $overflow !important;
 }
 
 @mixin foundation-prototype-overflow {
index d78e6ac56dd83102d205825fe6ea7af8a65692cc..7367d1db9b502711c740275ac5d057aa03ab90a8 100644 (file)
@@ -23,7 +23,7 @@ $prototype-position-z-index: 975 !default;
 /// Position classes, by default coming through a map `$prototype-position`
 /// @param {String} $position [] Position classes
 @mixin position($position) {
-  position: $position;
+  position: $position !important;
 }
 
 /// Position Fixed on top corners
@@ -32,9 +32,9 @@ $prototype-position-z-index: 975 !default;
   $z-index: $prototype-position-z-index
 ) {
   @include position(fixed);
-  top: 0;
-  right: 0;
-  left: 0;
+  top: 0 !important;
+  right: 0 !important;
+  left: 0 !important;
   z-index: $z-index;
 }
 
@@ -44,9 +44,9 @@ $prototype-position-z-index: 975 !default;
   $z-index: $prototype-position-z-index
 ) {
   @include position(fixed);
-  right: 0;
-  bottom: 0;
-  left: 0;
+  right: 0 !important;
+  bottom: 0 !important;
+  left: 0 !important;
   z-index: $z-index;
 } 
 
index 863604dbfa0f36ac631ab550d94688f62d24ccff..e6bfb70f84590fbd899d849b9fde9bc0d2efbd2a 100644 (file)
@@ -60,7 +60,7 @@ $prototype-border-radius: rem-calc(4px) !default;
 
 /// Rounded circle utility
 @mixin rounded-circle {
-  border-radius: 50%;
+  border-radius: 50% !important;
 }
 
 @mixin foundation-prototype-rounded {
index f7c9a0284a7e2466784b805b02a97455d15e087d..31345f84a86bd01709cad346257dad7236628dda 100644 (file)
@@ -23,12 +23,12 @@ $prototype-sizes: (
 
 /// Max Width 100 utility.
 @mixin max-width-100 {
-  max-width: 100%;
+  max-width: 100% !important;
 }
 
 /// Max Height 100 utility.
 @mixin max-height-100 {
-  max-height: 100%;
+  max-height: 100% !important;
 }
 
 @mixin foundation-prototype-sizing {
@@ -36,7 +36,7 @@ $prototype-sizes: (
   @each $sizing in $prototype-sizing {
     @each $size, $percentage in $prototype-sizes {
       .#{$sizing}-#{$size} { 
-        #{$sizing}: $percentage; 
+        #{$sizing}: $percentage !important
       }
     }
   }
index 388e882d57fd395e5e228d18678a0a3851482fa6..3f38986db5c34c0a69e0f9c40b21602cbfe291f7 100644 (file)
@@ -19,7 +19,7 @@ $prototype-text-decoration: (
 /// Text Decoration, by default coming through a map `$prototype-text-decoration`
 /// @param {String} $decoration [] Text Decoration
 @mixin text-decoration($decoration) {
-  text-decoration: $decoration;
+  text-decoration: $decoration !important;
 } 
 
 @mixin foundation-prototype-text-decoration {
index e8a29987b35db152370f84487eff302a53f18e03..8aff83e2f7e5b532167ce9158fb6a1bd3eef4e04 100644 (file)
@@ -19,7 +19,7 @@ $prototype-text-transformation: (
 /// Text Transformation, by default coming through a map `$prototype-text-transformation`
 /// @param {String} $transformation [] Text Transformation
 @mixin text-transform($transformation) {
-  text-transform: $transformation;
+  text-transform: $transformation !important;
 } 
 
 @mixin foundation-prototype-text-transformation {
index a7bd9fa912c7c682a2993dccf76c5343529350bf..be4deb8b4d898d88a59e8b00247d6497c1904c25 100644 (file)
@@ -16,11 +16,11 @@ $prototype-text-overflow: ellipsis !default;
 
 /// Image Replacement utility. `text-hide`
 @mixin text-hide {
-  font: 0/0 a;
-  color: transparent;
-  text-shadow: none;
-  background-color: transparent;
-  border: 0;
+  font: 0/0 a !important;
+  color: transparent !important;
+  text-shadow: none !important;
+  background-color: transparent !important;
+  border: 0 !important;
 }
 
 /// Truncating the text, elipsis by default.
@@ -28,19 +28,19 @@ $prototype-text-overflow: ellipsis !default;
 @mixin text-truncate(
   $overflow: $prototype-text-overflow
 ) {
-  overflow: hidden;
+  overflow: hidden !important;
   text-overflow: $overflow; 
-  white-space: nowrap;
+  white-space: nowrap !important;
 }
 
 /// No wrapping of the text. `text-nowrap`
 @mixin text-nowrap {
-  white-space: nowrap;
+  white-space: nowrap !important;
 }
 
 /// Wrapping of the text. `text-wrap`
 @mixin text-wrap {
-  word-wrap: break-word;
+  word-wrap: break-word !important;
 }
 
 @mixin foundation-prototype-text-utilities {