Closed (works as designed)
Project:
CSS Rules
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2008 at 22:18 UTC
Updated:
14 Aug 2009 at 19:47 UTC
Hi there, just wondering how is this different from http://drupal.org/project/css_injector?
Comments
Comment #1
andypostThis one for 5.x - so what is the difference in aproach?
Comment #2
drupalninja99 commentedYa CSS Injector is not bad if you want to tweak but I don't like that it makes you code the CSS right there. I like to have separate CSS stylesheets. I don't want to have to go in and manage all my styles from within the CSS, I'd much rather modify the CSS in stylesheets with the editor of my choice.
I think that module is ok if you want to do tweaks, but for myself I have sometimes dozens of styles for 1 layout and then I'll have many layouts so this module I think works better for that.
I wouldn't be opposed though to merging the modules or adding features like his deal where you could optionally inject CSS instead of supplying a path to a CSS file.
Comment #3
marko b commentedI hope css rules would be able to select which stylsheet you add to which node type and view.
Comment #4
drupalninja99 commentedwhat do you mean? right now you give the path relative to your current theme folder
Comment #5
marko b commentedI mean like if i have types like page, book and i dont knot page_special that i can select which CSS i add to which type. As i have now one CSS which ic 60 kb and its loaded everytime and for lets say page_special i need only 8 kb of that css. So if i could select customly which one is loaded it can be nice little optimization.
Comment #6
drupalninja99 commentedya i need to add an option that lets you select a node type instead of just a path.
Comment #7
drupalninja99 commented