Skip to content

Commit

Permalink
Removed $ie-property-hack-fix
Browse files Browse the repository at this point in the history
Reverted to a hard-coded IE6/7 hack prefix, but now using a start-hack
instead of bang-hack.
  • Loading branch information
djessup committed Feb 27, 2013
1 parent 63dbe49 commit dcd3daa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
10 changes: 0 additions & 10 deletions docs/source/guides/reference.html.md
Expand Up @@ -10,7 +10,6 @@ side_content: >
<li><a href="#ref-column-width">$column-width</a></li>
<li><a href="#ref-gutter-width">$gutter-width</a></li>
<li><a href="#ref-grid-padding">$grid-padding</a></li>
<li><a href="#ref-ie-property-hack-prefix">$ie-property-hack-prefix</a></li>
</ul>
<h3><a href="#ref-basic-mixins">Basic Mixins</a></h3>
<ul>
Expand Down Expand Up @@ -138,15 +137,6 @@ Padding on the left and right of a Grid Container.
- `<length>`: Units should match the container width
(`$column-width` unless `$container-width` is set directly).

#### <a href="#ref-ie-property-hack-prefix" id="ref-ie-property-hack-prefix">IE6/7 Property Hack Prefix</a>
This string is prefixed to properties targeting IE6 and IE7 only.

:::scss
// $ie-property-hack-prefix: <prefix>;
$ie-property-hack-prefix: '#';

- `<prefix>`: String to prepend to IE6/7 specific properties

### <a href="#ref-basic-mixins" id="ref-basic-mixins">Basic Mixins</a>

#### <a href="#ref-container" id="ref-container">Container</a>
Expand Down
6 changes: 3 additions & 3 deletions sass/susy/_grid.scss
Expand Up @@ -163,7 +163,7 @@
margin-#{$to}: 0;

@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
#{$ie-property-hack-prefix}margin-#{$hack}: - $gutter-width;
*margin-#{$hack}: - $gutter-width;
@if $legacy-support-for-ie6 { display: inline; }
}
}
Expand Down Expand Up @@ -203,7 +203,7 @@
margin-#{$to}: auto;

@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
#{$ie-property-hack-prefix}margin-#{$hack}: auto;
*margin-#{$hack}: auto;
@if $legacy-support-for-ie6 { display: block; }
}
}
Expand All @@ -227,7 +227,7 @@
margin-#{$to}: gutter($context, $style);

@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
#{$ie-property-hack-prefix}margin-#{$hack}: auto;
*margin-#{$hack}: auto;
}
}

Expand Down
3 changes: 0 additions & 3 deletions sass/susy/_settings.scss
Expand Up @@ -54,6 +54,3 @@ $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 dcd3daa

Please sign in to comment.