Plugin details

Styler is designed to DRY up the process of including and generating stylesheets, so you can think less about stylesheet configuration and more about styling.

Websitehttp://the.railsi.st/2007/5/3/styler-stylesheets-made-easy Repositoryhttp://the.railsi.st/svn/repo/plugins/styler/ Author Patrick Crowley Tags CSS LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://the.railsi.st/svn/repo/plugins/styler/

Usage
=====

To use Styler, just update your layout(s) with this code:

< head>
< title>the.rails.ist< /title>
<%= stylesheets %>
< /head>


Styler will then include your stylesheets automatically:

< head>
< title>the.rails.ist< /title>
< link href="/stylesheets/application.css?1170968897" />
< !--[if IE 7]>
< link href="/stylesheets/ie7.css?1170968897" />
< ![endif]-->
< !--[if IE 6]>
< link href="/stylesheets/ie6.css?1170968897" />
< ![endif]-->
< /head>


Styler will also dynamically include stylesheets for each of your controllers (if such stylesheets are present), so you can keep your styles organized into logical sections.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 7 months ago