This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Jun 04 09:41:15 -0700 2009 | |
| |
README | Fri Feb 13 00:19:08 -0800 2009 | |
| |
Rakefile | Wed Oct 01 19:49:09 -0700 2008 | |
| |
app/ | Thu Jun 04 09:34:55 -0700 2009 | |
| |
config/ | Thu Jun 04 09:34:55 -0700 2009 | |
| |
db/ | Thu Oct 02 00:30:07 -0700 2008 | |
| |
doc/ | Wed Oct 01 19:49:09 -0700 2008 | |
| |
public/ | Thu Jun 04 09:34:55 -0700 2009 | |
| |
script/ | Sat May 30 08:13:13 -0700 2009 | |
| |
test/ | Thu Oct 02 00:30:07 -0700 2008 | |
| |
vendor/ | Thu Jun 04 09:34:55 -0700 2009 |
README
== Compass Sample Application for Rail From scratch you must do the following steps. From there, follow the commit history to see the changes that were made. $ git clone git://github.com/nex3/haml.git $ cd haml $ rake install $ cd .. $ sudo gem install --source http://gems.github.com/ chriseppstein-compass $ rails compass-rails-sample-application $ cd compass-rails-sample-application $ haml --rails . $ compass --rails -f blueprint . Compass recommends that you keep your stylesheets in app/stylesheets instead of the Sass default location of public/stylesheets/sass. Is this OK? (Y/n) y Compass recommends that you keep your compiled css in public/stylesheets/compiled/ instead the Sass default of public/stylesheets/. However, if you're exclusively using Sass, then public/stylesheets/ is recommended. Emit compiled stylesheets to public/stylesheets/compiled/? (Y/n) y directory ./public/stylesheets/compiled/ directory ./app/stylesheets/ create ./config/initializers/compass.rb create ./app/stylesheets/screen.sass create ./app/stylesheets/print.sass create ./app/stylesheets/ie.sass create ./public/images/grid.png Congratulations! Your rails project has been configured to use Compass. Sass will automatically compile your stylesheets during the next page request and keep them up to date when they change. Make sure you restart your server! Next add these lines to the head of your layouts: %head = stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection' = stylesheet_link_tag 'compiled/print.css', :media => 'print' /[if IE] = stylesheet_link_tag 'compiled/ie.css', :media => 'screen, projection' (You are using haml, aren't you?)







