styled objects plugin

Plugin details

styled_objects is a Rails plugin for simplifying stylesheet management on your application.

Instead of having one or more large stylesheets on your public folder, have many. Keep your CSS close to their respective templates. styled_objects will compile them into one file per page.

Websitehttp://wiki.github.com/pgte/styled_objects Repositorygit://github.com/pgte/styled_objects.git Author Pedro Teixeira Tags CSS, stylesheet, oo-css LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install git://github.com/pgte/styled_objects.git

Add this line inside your application layout template tag:

<%= so_stylesheet_link_tag %>

Every time you create one template or partial and need styling it, create a corresponding template alongside.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: pgte, 8 months ago