forked from Compass/compass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to disable the hacks surrounding IE6&7 by disabling legac…
…y support for IE.
- Loading branch information
1 parent
00fe777
commit 60fc4b7
Showing
4 changed files
with
58 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Usually compass hacks apply to both ie6 & 7 -- set this to false to disable support for both. | ||
$legacy-support-for-ie: true !default; | ||
|
||
// Setting this to false will result in smaller output, but no support for ie6 | ||
$legacy-support-for-ie6: $legacy-support-for-ie !default; | ||
|
||
// Setting this to false will result in smaller output, but no support for ie7 | ||
$legacy-support-for-ie7: $legacy-support-for-ie !default; | ||
|
||
// @doc off | ||
// The user can simply set $legacy-support-for-ie and 6 & 7 will be set accordingly, | ||
// But in case the user set either of those explicitly, we need to sync the value of | ||
// this combined variable. | ||
$legacy-support-for-ie: $legacy-support-for-ie6 or $legacy-support-for-ie7; | ||
// @doc on | ||
|
||
// Support for mozilla in experimental css3 properties. | ||
$experimental-support-for-mozilla : true !default; | ||
// Support for webkit in experimental css3 properties. | ||
$experimental-support-for-webkit : true !default; | ||
// Support for opera in experimental css3 properties. | ||
$experimental-support-for-opera : true !default; | ||
// Support for microsoft in experimental css3 properties. | ||
$experimental-support-for-microsoft : true !default; | ||
// Support for khtml in experimental css3 properties. | ||
$experimental-support-for-khtml : true !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters