From 25390716ea2a0bf9cd476858c826775d68c2f1cf Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 24 Dec 2013 17:20:52 +0100 Subject: [PATCH] Reflect sass readme change in css.html --- css.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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