diff --git a/frameworks/blueprint/templates/project/manifest.rb b/frameworks/blueprint/templates/project/manifest.rb index 80324ef9..9e0f7ede 100644 --- a/frameworks/blueprint/templates/project/manifest.rb +++ b/frameworks/blueprint/templates/project/manifest.rb @@ -1,5 +1,5 @@ stylesheet 'screen.sass', :media => 'screen, projection' stylesheet 'print.sass', :media => 'print' -stylesheet 'ie.sass', :media => 'screen, projection', :ie => true +stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8" image 'grid.png' diff --git a/frameworks/compass/templates/project/manifest.rb b/frameworks/compass/templates/project/manifest.rb index 34e18ab0..03604fe2 100644 --- a/frameworks/compass/templates/project/manifest.rb +++ b/frameworks/compass/templates/project/manifest.rb @@ -1,3 +1,3 @@ stylesheet 'screen.sass', :media => 'screen, projection' stylesheet 'print.sass', :media => 'print' -stylesheet 'ie.sass', :media => 'screen, projection', :ie => true \ No newline at end of file +stylesheet 'ie.sass', :media => 'screen, projection', :condition => "IE" \ No newline at end of file diff --git a/lib/compass/installers/base.rb b/lib/compass/installers/base.rb index 5a3081a4..43dd2ef3 100644 --- a/lib/compass/installers/base.rb +++ b/lib/compass/installers/base.rb @@ -131,8 +131,8 @@ module Compass %Q{ media="#{stylesheet.options[:media]}"} end ss_line = %Q{ } - if stylesheet.options[:ie] - ss_line = " " + if stylesheet.options[:condition] + ss_line = " " end html << ss_line + "\n" end