D
Dave Myron
INFO:
A collection of shortcuts and helpers for leveraging a request's env
in Rails, such as including a browser-specific stylesheet or putting a
short version of the user agent in the CSS classes of the body tag.
This removes the need for most hacks or conditional comments since you
can now get browser-specific with your CSS rules. You can either go
full-bore with CSS files (public/stylesheets/browsers/ie6.css for
example) or just do <body classes="<%= user_agent_for_css %>"> and
make rules like body.ie6 div { ... }
INSTALL:
sudo gem install quartermaster
then simply require 'quartermaster' in your environment config
quartermaster version 1.0.0 has been released!
http://contentfree.rubyforge.org/quartermaster
A collection of shortcuts and helpers for leveraging a request's env
in Rails, such as including a browser-specific stylesheet or putting a
short version of the user agent in the CSS classes of the body tag.
This removes the need for most hacks or conditional comments since you
can now get browser-specific with your CSS rules. You can either go
full-bore with CSS files (public/stylesheets/browsers/ie6.css for
example) or just do <body classes="<%= user_agent_for_css %>"> and
make rules like body.ie6 div { ... }
INSTALL:
sudo gem install quartermaster
then simply require 'quartermaster' in your environment config
quartermaster version 1.0.0 has been released!
http://contentfree.rubyforge.org/quartermaster