Files
edx-platform/sass
Kyle Fiedler 02f99ec65c Remove old Sass readme and add new onw
--HG--
branch : close_sidebar
2012-02-14 11:05:16 -05:00
..
2012-02-06 14:22:48 -05:00
2012-01-26 18:00:28 -05:00
2012-01-25 12:30:11 -05:00
2012-02-06 17:25:04 -05:00
2012-01-31 14:45:44 -05:00
2012-02-06 16:51:14 -05:00
2012-01-31 14:45:44 -05:00
2012-02-14 11:05:16 -05:00

This project is using Sass to generate it's CSS. Sass is a CSS preprocessor that allows for faster development of CSS. For more information about sass: http://sass-lang.com

To use sass all you need to do is enter:
$ gem install sass

We are also using Bourbon with sass. They are a generic set of mixins, and functions that allow for more rapid development of CSS3. Find out more about bourbon here: https://github.com/thoughtbot/bourbon

Then to generate Sass files cd to templates directory and watch the sass files for developement: 

$ sass --watch sass:../static/css/ -r ./sass/bourbon/lib/bourbon.rb

To generate a compressed css file for production:

$ sass --watch sass:../static/css/ -r ./sass/bourbon/lib/bourbon.rb --style :compressed

These will automatically generate the CSS files on save.