Permalink
Browse files

Added $ie-property-hack-prefix option

Added setting to allow the prefix used for IE6/7 propery hacks to be
customised.
  • Loading branch information...
1 parent 68a84c6 commit 0381086603aca0b4865546df76697e313fe2ea55 @djessup djessup committed Feb 21, 2013
Showing with 6 additions and 3 deletions.
  1. +3 −3 sass/susy/_grid.scss
  2. +3 −0 sass/susy/_settings.scss
@@ -163,7 +163,7 @@
margin-#{$to}: 0;
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
- #margin-#{$hack}: - $gutter-width;
+ #{$ie-property-hack-prefix}margin-#{$hack}: - $gutter-width;
@if $legacy-support-for-ie6 { display: inline; }
}
}
@@ -203,7 +203,7 @@
margin-#{$to}: auto;
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
- #margin-#{$hack}: auto;
+ #{$ie-property-hack-prefix}margin-#{$hack}: auto;
@if $legacy-support-for-ie6 { display: block; }
}
}
@@ -227,7 +227,7 @@
margin-#{$to}: gutter($context, $style);
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
- #margin-#{$hack}: auto;
+ #{$ie-property-hack-prefix}margin-#{$hack}: auto;
}
}
@@ -54,3 +54,6 @@ $breakpoint-ie-output : true !default;
// Danger Zone! Only set as 'true' in IE-specific style sheets.
$breakpoint-raw-output : false !default;
+
+// Prefix used on IE6/7 property hacks
+$ie-property-hack-prefix : '#' !default;

0 comments on commit 0381086

Please sign in to comment.