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
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
bootstrap-sass-nuget (v 3.3.6)
1
+
bootstrap-sass-nuget (v 3.3.7)
2
2
==============================
3
3
4
4
Unofficial bootstrap-sass [NuGet package](https://www.nuget.org/packages/Twitter.Bootstrap.Sass/) ... well it's the only NuGet package at the moment for Bootstrap SASS!
@@ -12,7 +12,9 @@ I was going to make this "*official*" and hopefully pull it into the [bootstrap
12
12
13
13
## Release Notes
14
14
15
-
**Release Notes (v3.3.6):** Updated for release of Bootstrap 3.3.6 (source and sass).
15
+
**Release Notes (v3.3.7)**: Updated for release of Bootstrap 3.3.6 (source and sass).
16
+
17
+
Release Notes (v3.3.6): Updated for release of Bootstrap 3.3.6 (source and sass).
16
18
17
19
Release Notes (v3.3.5): Updated for release of Bootstrap 3.3.5 (source and sass).
Bootstrap requires the use of [Autoprefixer][autoprefixer].
208
214
[Autoprefixer][autoprefixer] adds vendor prefixes to CSS rules using values from [Can I Use](http://caniuse.com/).
209
215
210
-
#### JavaScript
216
+
To match [upstream Bootstrap's level of browser compatibility](http://getbootstrap.com/getting-started/#support), set Autoprefixer's `browsers` option to:
217
+
```json
218
+
[
219
+
"Android 2.3",
220
+
"Android >= 4",
221
+
"Chrome >= 20",
222
+
"Firefox >= 24",
223
+
"Explorer >= 8",
224
+
"iOS >= 6",
225
+
"Opera >= 12",
226
+
"Safari >= 6"
227
+
]
228
+
```
229
+
230
+
### JavaScript
211
231
212
-
[`assets/javascripts/bootstrap.js`](/assets/javascripts/bootstrap.js) contains all of Bootstrap JavaScript,
232
+
[`assets/javascripts/bootstrap.js`](/assets/javascripts/bootstrap.js) contains all of Bootstrap's JavaScript,
213
233
concatenated in the [correct order](/assets/javascripts/bootstrap-sprockets.js).
214
234
215
235
@@ -231,7 +251,7 @@ You can check dependencies in the [Bootstrap JS documentation][jsdocs].
231
251
//= require bootstrap/dropdown
232
252
```
233
253
234
-
#### Fonts
254
+
### Fonts
235
255
236
256
The fonts are referenced as:
237
257
@@ -252,19 +272,19 @@ When using bootstrap-sass with Compass, Sprockets, or Mincer, you **must** impor
252
272
253
273
### Sass
254
274
255
-
Import Bootstrap into a Sass file (for example, application.scss) to get all of Bootstrap's styles, mixins and variables!
275
+
Import Bootstrap into a Sass file (for example, `application.scss`) to get all of Bootstrap's styles, mixins and variables!
256
276
257
277
```scss
258
278
@import "bootstrap";
259
279
```
260
280
261
-
You can also include optional bootstraptheme:
281
+
You can also include optional Bootstraptheme:
262
282
263
283
```scss
264
284
@import "bootstrap/theme";
265
285
```
266
286
267
-
The full list of bootstrap variables can be found [here](http://getbootstrap.com/customize/#less-variables). You can override these by simply redefining the variable before the `@import` directive, e.g.:
287
+
The full list of Bootstrap variables can be found [here](http://getbootstrap.com/customize/#less-variables). You can override these by simply redefining the variable before the `@import` directive, e.g.:
Bootstrap is available as an [Eyeglass](https://github.com/sass-eyeglass/eyeglass) module. After installing Bootstrap via NPM you can import the Bootstrap library via:
300
+
301
+
```scss
302
+
@import "bootstrap-sass/bootstrap"
303
+
```
304
+
305
+
or import only the parts of Bootstrap you need:
306
+
307
+
```scss
308
+
@import "bootstrap-sass/bootstrap/variables";
309
+
@import "bootstrap-sass/bootstrap/mixins";
310
+
@import "bootstrap-sass/bootstrap/carousel";
311
+
```
312
+
277
313
## Version
278
314
279
315
BootstrapforSass version may differ from the upstream version in the last number, known as
@@ -287,9 +323,7 @@ The upstream versions vs the Bootstrap for Sass versions are:
287
323
288
324
|Upstream|Sass|
289
325
|---------:|--------:|
290
-
|3.3.6|3.3.6|
291
-
|3.3.5|3.3.5|
292
-
|3.3.4|3.3.4|
326
+
|3.3.4+| same |
293
327
|3.3.2|3.3.3|
294
328
|<=3.3.1|3.3.1.x |
295
329
@@ -320,7 +354,7 @@ To convert a specific branch or version, pass the branch name or the commit hash
320
354
321
355
The latest converter script is located [here][converter] and does the following:
322
356
323
-
* Converts upstream bootstrap LESS files to its matching SCSS file.
357
+
* Converts upstream Bootstrap LESS files to its matching SCSS file.
324
358
* Copies all upstream JavaScript into `assets/javascripts/bootstrap`, a Sprockets manifest at `assets/javascripts/bootstrap-sprockets.js`, and a concatenation at `assets/javascripts/bootstrap.js`.
325
359
* Copies all upstream font files into `assets/fonts/bootstrap`.
326
360
* Sets `Bootstrap::BOOTSTRAP_SHA` in [version.rb][version] to the branch sha.
0 commit comments