Files
edx-platform/sass
2012-02-15 17:25:50 -05:00
..
2012-02-14 13:55:06 -05:00
2012-02-15 14:16:01 -05:00
2012-02-14 13:55:06 -05:00
2012-02-15 10:08:14 -05:00
2012-02-14 13:55:06 -05:00
2012-02-06 14:22:48 -05:00
2012-02-06 17:25:04 -05:00
2012-02-15 10:37:05 -05:00
2012-01-31 14:45:44 -05:00
2012-02-14 13:55:06 -05:00
2012-02-14 13:55:06 -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.