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