Como alguém carrega uma estrutura CSS no Rails 3.

stou tentando carregar uma estrutura CSS, Blueprint, no meu aplicativo Rails 3.

o Rails 3.0+, eu teria algo parecido com isto em meus views / layouts / application.html.erb:

  <%= stylesheet_link_tag 'blueprint/screen', 'application' %>
  <%= stylesheet_link_tag 'blueprint/print', 'media' => 'print' %>

  <!--[if lt IE 8]>
    <%= stylesheet_link_tag 'blueprint/ie' %>
  <![endif]-->

No entanto, o Rails 3.1 agora usa o SASS. Qual seria a maneira correta de carregar esses arquivos CSS do Blueprint?

Atualmente, tenho o diretório blueprint em app / assets / stylesheets /

My app / assets / stylesheets / application.css é semelhante a:

/*
 * This is a manifest file that'll automatically include all the stylesheets available in this directory
 * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
 * the top of the compiled file, but it's generally better to create a new file per style scope.
 *= require_self
 *= require_tree . 
*/

Devo fazer algo com application.css para carregar os arquivos Blueprint necessários? Se sim, como?

egundo, como eu forneceria algum tipo de condição para verificar o IE8 e carregar o blueprint / ie.cs

EDITAR

Hmmm, recarregando a página da web do aplicativo novamente. O Rails 3.1 inclui os arquivos do Blueprint. Mesmo se os arquivos css estiverem em uma pasta (neste caso: app / assets / stylesheets / blueprint.)

Que me deixa com duas perguntas

Como aplicar ose lt IE 8 condição usando SASS?Como carregar um arquivo css para o formato de impressão (ou seja, <% = stylesheet_link_tag 'blueprint / print', 'media' => 'print'%>) usando SASS?

questionAnswers(7)

yourAnswerToTheQuestion