aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorfat <[email protected]>2013-12-24 12:35:24 -0800
committerfat <[email protected]>2013-12-24 12:35:24 -0800
commit558b6a478d6dfdc5a8ee579c93d1080b553ac9a0 (patch)
tree4739563ddfbd59ed5fc49dd9bdd736cf1fbe93e7 /css.html
parent50bd4edb8c2f498ac10a07250c57570489c427b0 (diff)
parent1da3a8c6b131102f7e04a08f15783ca596634694 (diff)
downloadbootstrap-558b6a478d6dfdc5a8ee579c93d1080b553ac9a0.tar.xz
bootstrap-558b6a478d6dfdc5a8ee579c93d1080b553ac9a0.zip
Merge branch 'master' of github.com:twbs/bootstrap
Conflicts: dist/js/bootstrap.min.js docs-assets/js/raw-files.js
Diffstat (limited to 'css.html')
-rw-r--r--css.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/css.html b/css.html
index 8b257fe2d..6520efdfa 100644
--- a/css.html
+++ b/css.html
@@ -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>