bootstrap 4.0.0.alpha5 → 4.0.0.alpha6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bootstrap might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/assets/javascripts/bootstrap.js +312 -207
- data/assets/javascripts/bootstrap.min.js +4 -4
- data/assets/javascripts/bootstrap/alert.js +9 -5
- data/assets/javascripts/bootstrap/button.js +5 -5
- data/assets/javascripts/bootstrap/carousel.js +52 -28
- data/assets/javascripts/bootstrap/collapse.js +19 -11
- data/assets/javascripts/bootstrap/dropdown.js +21 -19
- data/assets/javascripts/bootstrap/modal.js +69 -43
- data/assets/javascripts/bootstrap/popover.js +4 -4
- data/assets/javascripts/bootstrap/scrollspy.js +20 -11
- data/assets/javascripts/bootstrap/tab.js +19 -14
- data/assets/javascripts/bootstrap/tooltip.js +54 -22
- data/assets/javascripts/bootstrap/util.js +7 -12
- data/assets/stylesheets/_bootstrap-grid.scss +23 -3
- data/assets/stylesheets/_bootstrap-reboot.scss +2 -3
- data/assets/stylesheets/_bootstrap.scss +6 -6
- data/assets/stylesheets/bootstrap/_alert.scss +3 -4
- data/assets/stylesheets/bootstrap/_badge.scss +77 -0
- data/assets/stylesheets/bootstrap/_button-group.scss +18 -51
- data/assets/stylesheets/bootstrap/_buttons.scss +14 -20
- data/assets/stylesheets/bootstrap/_card.scss +30 -76
- data/assets/stylesheets/bootstrap/_carousel.scss +96 -171
- data/assets/stylesheets/bootstrap/_close.scss +3 -3
- data/assets/stylesheets/bootstrap/_code.scss +7 -0
- data/assets/stylesheets/bootstrap/_custom-forms.scss +13 -12
- data/assets/stylesheets/bootstrap/_dropdown.scss +17 -36
- data/assets/stylesheets/bootstrap/_forms.scss +61 -47
- data/assets/stylesheets/bootstrap/_grid.scss +13 -0
- data/assets/stylesheets/bootstrap/_images.scss +2 -2
- data/assets/stylesheets/bootstrap/_input-group.scss +17 -27
- data/assets/stylesheets/bootstrap/_list-group.scss +79 -63
- data/assets/stylesheets/bootstrap/_media.scss +5 -78
- data/assets/stylesheets/bootstrap/_mixins.scss +8 -5
- data/assets/stylesheets/bootstrap/_modal.scss +21 -13
- data/assets/stylesheets/bootstrap/_nav.scss +30 -68
- data/assets/stylesheets/bootstrap/_navbar.scss +131 -178
- data/assets/stylesheets/bootstrap/_normalize.scss +133 -94
- data/assets/stylesheets/bootstrap/_pagination.scss +16 -22
- data/assets/stylesheets/bootstrap/_popover.scss +3 -3
- data/assets/stylesheets/bootstrap/_print.scss +5 -8
- data/assets/stylesheets/bootstrap/_progress.scss +14 -127
- data/assets/stylesheets/bootstrap/_reboot.scss +16 -15
- data/assets/stylesheets/bootstrap/_responsive-embed.scss +18 -5
- data/assets/stylesheets/bootstrap/_tables.scss +13 -56
- data/assets/stylesheets/bootstrap/_tooltip.scss +1 -1
- data/assets/stylesheets/bootstrap/{_animation.scss → _transitions.scss} +6 -8
- data/assets/stylesheets/bootstrap/_type.scss +5 -12
- data/assets/stylesheets/bootstrap/_utilities.scss +2 -0
- data/assets/stylesheets/bootstrap/_variables.scss +320 -216
- data/assets/stylesheets/bootstrap/mixins/{_tag.scss → _badge.scss} +2 -2
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +25 -16
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +31 -58
- data/assets/stylesheets/bootstrap/mixins/_cards.scss +3 -0
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_float.scss +3 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +3 -5
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +1 -7
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +19 -23
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +19 -26
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +3 -5
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_transforms.scss +14 -0
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +5 -0
- data/assets/stylesheets/bootstrap/utilities/_align.scss +5 -5
- data/assets/stylesheets/bootstrap/utilities/_background.scss +1 -1
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +10 -3
- data/assets/stylesheets/bootstrap/utilities/_display.scss +13 -8
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +42 -31
- data/assets/stylesheets/bootstrap/utilities/_float.scss +5 -9
- data/assets/stylesheets/bootstrap/utilities/_position.scss +23 -0
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +10 -0
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +36 -37
- data/assets/stylesheets/bootstrap/utilities/_text.scss +14 -12
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +1 -1
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/scss.rb +3 -5
- data/templates/project/_bootstrap-variables.scss +321 -217
- metadata +10 -10
- data/assets/stylesheets/_bootstrap-flex.scss +0 -8
- data/assets/stylesheets/bootstrap/_tags.scss +0 -77
- data/assets/stylesheets/bootstrap/mixins/_progress.scss +0 -23
- data/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
- data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.alpha6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twitter, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -248,12 +248,11 @@ files:
|
|
248
248
|
- assets/javascripts/bootstrap/tab.js
|
249
249
|
- assets/javascripts/bootstrap/tooltip.js
|
250
250
|
- assets/javascripts/bootstrap/util.js
|
251
|
-
- assets/stylesheets/_bootstrap-flex.scss
|
252
251
|
- assets/stylesheets/_bootstrap-grid.scss
|
253
252
|
- assets/stylesheets/_bootstrap-reboot.scss
|
254
253
|
- assets/stylesheets/_bootstrap.scss
|
255
254
|
- assets/stylesheets/bootstrap/_alert.scss
|
256
|
-
- assets/stylesheets/bootstrap/
|
255
|
+
- assets/stylesheets/bootstrap/_badge.scss
|
257
256
|
- assets/stylesheets/bootstrap/_breadcrumb.scss
|
258
257
|
- assets/stylesheets/bootstrap/_button-group.scss
|
259
258
|
- assets/stylesheets/bootstrap/_buttons.scss
|
@@ -283,13 +282,14 @@ files:
|
|
283
282
|
- assets/stylesheets/bootstrap/_reboot.scss
|
284
283
|
- assets/stylesheets/bootstrap/_responsive-embed.scss
|
285
284
|
- assets/stylesheets/bootstrap/_tables.scss
|
286
|
-
- assets/stylesheets/bootstrap/_tags.scss
|
287
285
|
- assets/stylesheets/bootstrap/_tooltip.scss
|
286
|
+
- assets/stylesheets/bootstrap/_transitions.scss
|
288
287
|
- assets/stylesheets/bootstrap/_type.scss
|
289
288
|
- assets/stylesheets/bootstrap/_utilities.scss
|
290
289
|
- assets/stylesheets/bootstrap/_variables.scss
|
291
290
|
- assets/stylesheets/bootstrap/mixins/_alert.scss
|
292
291
|
- assets/stylesheets/bootstrap/mixins/_background-variant.scss
|
292
|
+
- assets/stylesheets/bootstrap/mixins/_badge.scss
|
293
293
|
- assets/stylesheets/bootstrap/mixins/_border-radius.scss
|
294
294
|
- assets/stylesheets/bootstrap/mixins/_breakpoints.scss
|
295
295
|
- assets/stylesheets/bootstrap/mixins/_buttons.scss
|
@@ -307,18 +307,16 @@ files:
|
|
307
307
|
- assets/stylesheets/bootstrap/mixins/_nav-divider.scss
|
308
308
|
- assets/stylesheets/bootstrap/mixins/_navbar-align.scss
|
309
309
|
- assets/stylesheets/bootstrap/mixins/_pagination.scss
|
310
|
-
- assets/stylesheets/bootstrap/mixins/_progress.scss
|
311
|
-
- assets/stylesheets/bootstrap/mixins/_reset-filter.scss
|
312
310
|
- assets/stylesheets/bootstrap/mixins/_reset-text.scss
|
313
311
|
- assets/stylesheets/bootstrap/mixins/_resize.scss
|
314
312
|
- assets/stylesheets/bootstrap/mixins/_screen-reader.scss
|
315
313
|
- assets/stylesheets/bootstrap/mixins/_size.scss
|
316
|
-
- assets/stylesheets/bootstrap/mixins/_tab-focus.scss
|
317
314
|
- assets/stylesheets/bootstrap/mixins/_table-row.scss
|
318
|
-
- assets/stylesheets/bootstrap/mixins/_tag.scss
|
319
315
|
- assets/stylesheets/bootstrap/mixins/_text-emphasis.scss
|
320
316
|
- assets/stylesheets/bootstrap/mixins/_text-hide.scss
|
321
317
|
- assets/stylesheets/bootstrap/mixins/_text-truncate.scss
|
318
|
+
- assets/stylesheets/bootstrap/mixins/_transforms.scss
|
319
|
+
- assets/stylesheets/bootstrap/mixins/_visibility.scss
|
322
320
|
- assets/stylesheets/bootstrap/utilities/_align.scss
|
323
321
|
- assets/stylesheets/bootstrap/utilities/_background.scss
|
324
322
|
- assets/stylesheets/bootstrap/utilities/_borders.scss
|
@@ -326,7 +324,9 @@ files:
|
|
326
324
|
- assets/stylesheets/bootstrap/utilities/_display.scss
|
327
325
|
- assets/stylesheets/bootstrap/utilities/_flex.scss
|
328
326
|
- assets/stylesheets/bootstrap/utilities/_float.scss
|
327
|
+
- assets/stylesheets/bootstrap/utilities/_position.scss
|
329
328
|
- assets/stylesheets/bootstrap/utilities/_screenreaders.scss
|
329
|
+
- assets/stylesheets/bootstrap/utilities/_sizing.scss
|
330
330
|
- assets/stylesheets/bootstrap/utilities/_spacing.scss
|
331
331
|
- assets/stylesheets/bootstrap/utilities/_text.scss
|
332
332
|
- assets/stylesheets/bootstrap/utilities/_visibility.scss
|
@@ -398,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
398
398
|
version: 1.3.1
|
399
399
|
requirements: []
|
400
400
|
rubyforge_project:
|
401
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.6.8
|
402
402
|
signing_key:
|
403
403
|
specification_version: 4
|
404
404
|
summary: The most popular HTML, CSS, and JavaScript framework for developing responsive,
|
@@ -1,77 +0,0 @@
|
|
1
|
-
// Base class
|
2
|
-
//
|
3
|
-
// Requires one of the contextual, color modifier classes for `color` and
|
4
|
-
// `background-color`.
|
5
|
-
|
6
|
-
.tag {
|
7
|
-
display: inline-block;
|
8
|
-
padding: $tag-padding-y $tag-padding-x;
|
9
|
-
font-size: $tag-font-size;
|
10
|
-
font-weight: $tag-font-weight;
|
11
|
-
line-height: 1;
|
12
|
-
color: $tag-color;
|
13
|
-
text-align: center;
|
14
|
-
white-space: nowrap;
|
15
|
-
vertical-align: baseline;
|
16
|
-
@include border-radius();
|
17
|
-
|
18
|
-
// Empty tags collapse automatically
|
19
|
-
&:empty {
|
20
|
-
display: none;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
// Quick fix for tags in buttons
|
25
|
-
.btn .tag {
|
26
|
-
position: relative;
|
27
|
-
top: -1px;
|
28
|
-
}
|
29
|
-
|
30
|
-
// scss-lint:disable QualifyingElement
|
31
|
-
// Add hover effects, but only for links
|
32
|
-
a.tag {
|
33
|
-
@include hover-focus {
|
34
|
-
color: $tag-link-hover-color;
|
35
|
-
text-decoration: none;
|
36
|
-
cursor: pointer;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
// scss-lint:enable QualifyingElement
|
40
|
-
|
41
|
-
// Pill tags
|
42
|
-
//
|
43
|
-
// Make them extra rounded with a modifier to replace v3's badges.
|
44
|
-
|
45
|
-
.tag-pill {
|
46
|
-
padding-right: $tag-pill-padding-x;
|
47
|
-
padding-left: $tag-pill-padding-x;
|
48
|
-
@include border-radius($tag-pill-border-radius);
|
49
|
-
}
|
50
|
-
|
51
|
-
// Colors
|
52
|
-
//
|
53
|
-
// Contextual variations (linked tags get darker on :hover).
|
54
|
-
|
55
|
-
.tag-default {
|
56
|
-
@include tag-variant($tag-default-bg);
|
57
|
-
}
|
58
|
-
|
59
|
-
.tag-primary {
|
60
|
-
@include tag-variant($tag-primary-bg);
|
61
|
-
}
|
62
|
-
|
63
|
-
.tag-success {
|
64
|
-
@include tag-variant($tag-success-bg);
|
65
|
-
}
|
66
|
-
|
67
|
-
.tag-info {
|
68
|
-
@include tag-variant($tag-info-bg);
|
69
|
-
}
|
70
|
-
|
71
|
-
.tag-warning {
|
72
|
-
@include tag-variant($tag-warning-bg);
|
73
|
-
}
|
74
|
-
|
75
|
-
.tag-danger {
|
76
|
-
@include tag-variant($tag-danger-bg);
|
77
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
// Progress bars
|
2
|
-
|
3
|
-
@mixin progress-variant($color) {
|
4
|
-
&[value]::-webkit-progress-value {
|
5
|
-
background-color: $color;
|
6
|
-
}
|
7
|
-
|
8
|
-
&[value]::-moz-progress-bar {
|
9
|
-
background-color: $color;
|
10
|
-
}
|
11
|
-
|
12
|
-
// IE10+, Microsoft Edge
|
13
|
-
&[value]::-ms-fill {
|
14
|
-
background-color: $color;
|
15
|
-
}
|
16
|
-
|
17
|
-
// IE9
|
18
|
-
@media screen and (min-width:0\0) {
|
19
|
-
.progress-bar {
|
20
|
-
background-color: $color;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// WebKit-style focus
|
2
|
-
|
3
|
-
@mixin tab-focus() {
|
4
|
-
// WebKit-specific. Other browsers will keep their default outline style.
|
5
|
-
// (Initially tried to also force default via `outline: initial`,
|
6
|
-
// but that seems to erroneously remove the outline in Firefox altogether.)
|
7
|
-
outline: 5px auto -webkit-focus-ring-color;
|
8
|
-
outline-offset: -2px;
|
9
|
-
}
|