You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Autoprefixer is now required, and `autoprefixer-rails` is now a dependency for the ruby gem. [#824](https://github.com/twbs/bootstrap-sass/issues/824)
19
+
* Minimum precision reduced from 10 to 8 [#821](https://github.com/twbs/bootstrap-sass/issues/821)
20
+
* Requiring bootstrap JS from npm now works [#812](https://github.com/twbs/bootstrap-sass/issues/812)
Copy file name to clipboardExpand all lines: bower_components/bootstrap-sass-official/CONTRIBUTING.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
## Asset Changes
4
4
5
5
Any changes to `bootstrap-sass` assets (scss, javascripts, fonts) should be checked against the `convert` rake task.
6
-
For usage instructions, see the [README](https://github.com/twbs/bootstrap-sass/blob/3/README.md).
6
+
For usage instructions, see the [README](/README.md).
7
7
8
8
If something is broken in the converter, it's preferable to update the converter along with the asset itself.
9
9
@@ -57,7 +57,11 @@ Example:
57
57
58
58
**We will not accept pull requests that modify the SCSS beyond fixing bugs caused by *our* code!**
59
59
60
-
Most pull requests should go to [twbs/bootstrap](https://github.com/twbs/bootstrap) or [jlong/sass-twitter-bootstrap](https://github.com/jlong/sass-twitter-bootstrap)
60
+
We use a [converter script][converter-readme] to automatically convert upstream bootstrap, written in LESS, to Sass.
61
+
62
+
Issues related to styles or javascript but unrelated to the conversion process should go to [twbs/bootstrap][upstream].
63
+
64
+
Pull requests that fix bugs caused by our code should not modify the SCSS directly, but should patch the converter instead.
61
65
62
66
Good pull requests - patches, improvements, new features - are a fantastic
63
67
help. They should remain focused in scope and avoid containing unrelated
@@ -77,3 +81,6 @@ Please **do not** derail or troll issues. Keep the
77
81
discussion on topic and respect the opinions of others.
Copy file name to clipboardExpand all lines: bower_components/bootstrap-sass-official/README.md
+83-45Lines changed: 83 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,79 +1,116 @@
1
-
# Bootstrap for Sass [](http://badge.fury.io/rb/bootstrap-sass)[](http://badge.fury.io/bo/bootstrap-sass-official)[](http://travis-ci.org/twbs/bootstrap-sass)
1
+
# Bootstrap for Sass [](http://badge.fury.io/rb/bootstrap-sass)[](http://badge.fury.io/bo/bootstrap-sass)[](http://travis-ci.org/twbs/bootstrap-sass)
2
2
3
3
`bootstrap-sass` is a Sass-powered version of [Bootstrap](http://github.com/twbs/bootstrap), ready to drop right into your Sass powered applications.
4
4
5
5
## Installation
6
6
7
7
Please see the appropriate guide for your environment of choice:
8
8
9
+
*[Ruby on Rails](#a-ruby-on-rails).
10
+
*[Compass](#b-compass-without-rails) not on Rails.
11
+
*[Bower](#c-bower).
12
+
9
13
### a. Ruby on Rails
10
14
11
15
`bootstrap-sass` is easy to drop into Rails with the asset pipeline.
12
16
13
17
In your Gemfile you need to add the `bootstrap-sass` gem, and ensure that the `sass-rails` gem is present - it is added to new Rails applications by default.
14
18
15
19
```ruby
16
-
gem 'bootstrap-sass', '~> 3.2.0'
20
+
gem 'bootstrap-sass', '~> 3.3.3'
17
21
gem 'sass-rails', '>= 3.2'
18
22
```
19
23
20
-
It is also recommended to use [Autoprefixer](https://github.com/ai/autoprefixer-rails) with Bootstrap
21
-
to add browser vendor prefixes automatically. Simply add the gem:
22
-
23
-
```ruby
24
-
gem 'autoprefixer-rails'
25
-
```
26
-
27
24
`bundle install` and restart your server to make the files available through the pipeline.
Note that libsass and node-sass do not currently support the precision option, due to an open bug ([bug #364](https://github.com/sass/libsass/issues/364)) in libsass.
160
-
161
-
162
194
#### Sass: Autoprefixer
163
195
164
-
Using [Autoprefixer][autoprefixer] with Bootstrap is recommended.
196
+
Bootstrap requires the use of [Autoprefixer][autoprefixer].
165
197
[Autoprefixer][autoprefixer] adds vendor prefixes to CSS rules using values from [Can I Use](http://caniuse.com/).
0 commit comments