You are here: Browse Railsplugins Style
= Style Plugin
Extends ActionController::Base with style handling and adds a helper class for working with styles.
The idea of a style is simply a convention on where to load CSS and images from. Styles are located in subdirectories of “public/styles” and in turn contain subdirectories “images” and stylesheets>
public/ styles/ standard/ images/ image1.png image2.png stylesheets/ standard.css print.css funky/ images/ image2.png stylesheets/ standard.css
The style defaults to “standard” and falls back to this style whenever a file can not be found in the currently set style. In this sample, stylesheet “print.css” and image “image1.png” is read from “standard” even if “funky” is set…
See Style::StyleApplication for more information till better documentation can be found in this README…
NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly