Created
April 25, 2010 01:26
-
-
Save ravinggenius/378081 to your computer and use it in GitHub Desktop.
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 is dynamically generated. node_extensions and templates are located in | |
the lib/ directory of a Rails application. I don't want the styles that apply | |
to specific node_extensions to be allowed to "bleed". I know I can use mixins | |
that get around the problem, but the the styles have to be written just so | |
for everything to work. You can find the application at | |
http://github.com/ravinggenius/scratch_pad | |
Maybe a second boolean parameter (on @import) could be used to override the | |
current behavior? | |
@import 'reset' | |
@media print | |
.post | |
@import 'node_extensions/post/stylesheets/print' | |
.text_block | |
@import 'node_extensions/text_block/stylesheets/print' | |
.list | |
@import 'node_extensions/list/stylesheets/print' | |
@media screen | |
.post | |
@import 'node_extensions/post/stylesheets/screen' | |
.text_block | |
@import 'node_extensions/text_block/stylesheets/screen' | |
.table | |
@import 'node_extensions/table/stylesheets/screen' | |
.list | |
@import 'node_extensions/list/stylesheets/screen' | |
@media screen | |
@import 'templates/default/stylesheets/screen' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment