diff options
| author | Gleb Mazovetskiy <[email protected]> | 2013-12-24 17:20:52 +0100 |
|---|---|---|
| committer | Gleb Mazovetskiy <[email protected]> | 2013-12-24 17:20:52 +0100 |
| commit | 25390716ea2a0bf9cd476858c826775d68c2f1cf (patch) | |
| tree | a2ac8c31c3208731baf6bd121308bc2027a0cb11 | |
| parent | 237b85a7c10ab961c9f193e46d16a862522ebac9 (diff) | |
| download | bootstrap-25390716ea2a0bf9cd476858c826775d68c2f1cf.tar.xz bootstrap-25390716ea2a0bf9cd476858c826775d68c2f1cf.zip | |
Reflect sass readme change in css.html
| -rw-r--r-- | css.html | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3476,8 +3476,10 @@ $navbar-default-color: $light-orange; <p>You can also import components explicitly. To start with a full list of modules copy this file from the gem:</p> {% highlight bash %} -cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.scss \ - app/assets/stylesheets/bootstrap-custom.scss +# copy and prepend "bootstrap/" to the @import paths: +sed 's/@import "/@import "bootstrap\//' \ +$(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.scss > \ +app/assets/stylesheets/bootstrap-custom.scss {% endhighlight %} <p>In your <code>application.sass</code>, replace <code>@import 'bootstrap'</code> with:</p> @@ -3486,7 +3488,7 @@ cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.s @import 'bootstrap-custom'; {% endhighlight %} - <p>Comment out any modules you don't need from <code>bootstrap-custom</code>.</p> + <p>Comment out any components you do not want from <code>bootstrap-custom</code>.</p> <h3 id="sass-usage-js">JavaScript</h3> |
