From: Gleb Mazovetskiy Date: Tue, 24 Dec 2013 16:20:52 +0000 (+0100) Subject: Reflect sass readme change in css.html X-Git-Tag: v3.1.0~136^2~31^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25390716ea2a0bf9cd476858c826775d68c2f1cf;p=thirdparty%2Fbootstrap.git Reflect sass readme change in css.html --- diff --git a/css.html b/css.html index 8b257fe2dc..6520efdfac 100644 --- a/css.html +++ b/css.html @@ -3476,8 +3476,10 @@ $navbar-default-color: $light-orange;

You can also import components explicitly. To start with a full list of modules copy this file from the gem:

{% 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 %}

In your application.sass, replace @import 'bootstrap' with:

@@ -3486,7 +3488,7 @@ cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.s @import 'bootstrap-custom'; {% endhighlight %} -

Comment out any modules you don't need from bootstrap-custom.

+

Comment out any components you do not want from bootstrap-custom.

JavaScript