bootstrap 4.0.0.beta3 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +15 -1
- data/CHANGELOG.md +2 -2
- data/README.md +2 -2
- data/Rakefile +4 -2
- data/assets/javascripts/bootstrap/alert.js +79 -68
- data/assets/javascripts/bootstrap/button.js +140 -78
- data/assets/javascripts/bootstrap/carousel.js +294 -158
- data/assets/javascripts/bootstrap/collapse.js +157 -133
- data/assets/javascripts/bootstrap/dropdown.js +257 -167
- data/assets/javascripts/bootstrap/modal.js +285 -204
- data/assets/javascripts/bootstrap/popover.js +101 -60
- data/assets/javascripts/bootstrap/scrollspy.js +127 -106
- data/assets/javascripts/bootstrap/tab.js +113 -101
- data/assets/javascripts/bootstrap/toast.js +267 -0
- data/assets/javascripts/bootstrap/tooltip.js +406 -188
- data/assets/javascripts/bootstrap/util.js +106 -55
- data/assets/javascripts/bootstrap-sprockets.js +1 -0
- data/assets/javascripts/bootstrap.js +1946 -1482
- data/assets/javascripts/bootstrap.min.js +4 -4
- data/assets/stylesheets/_bootstrap-grid.scss +7 -12
- data/assets/stylesheets/_bootstrap-reboot.scss +4 -4
- data/assets/stylesheets/_bootstrap.scss +6 -4
- data/assets/stylesheets/bootstrap/_alert.scss +3 -2
- data/assets/stylesheets/bootstrap/_badge.scss +8 -1
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +10 -6
- data/assets/stylesheets/bootstrap/_button-group.scss +17 -20
- data/assets/stylesheets/bootstrap/_buttons.scss +23 -28
- data/assets/stylesheets/bootstrap/_card.scss +77 -61
- data/assets/stylesheets/bootstrap/_carousel.scss +72 -63
- data/assets/stylesheets/bootstrap/_close.scss +15 -9
- data/assets/stylesheets/bootstrap/_code.scss +6 -14
- data/assets/stylesheets/bootstrap/_custom-forms.scss +287 -43
- data/assets/stylesheets/bootstrap/_dropdown.scss +70 -9
- data/assets/stylesheets/bootstrap/_forms.scss +56 -42
- data/assets/stylesheets/bootstrap/_functions.scss +117 -13
- data/assets/stylesheets/bootstrap/_grid.scss +32 -11
- data/assets/stylesheets/bootstrap/_images.scss +4 -4
- data/assets/stylesheets/bootstrap/_input-group.scss +80 -25
- data/assets/stylesheets/bootstrap/_jumbotron.scss +2 -1
- data/assets/stylesheets/bootstrap/_list-group.scss +63 -24
- data/assets/stylesheets/bootstrap/_mixins.scss +9 -4
- data/assets/stylesheets/bootstrap/_modal.scss +96 -24
- data/assets/stylesheets/bootstrap/_nav.scss +14 -7
- data/assets/stylesheets/bootstrap/_navbar.scss +66 -45
- data/assets/stylesheets/bootstrap/_pagination.scss +10 -8
- data/assets/stylesheets/bootstrap/_popover.scss +56 -69
- data/assets/stylesheets/bootstrap/_print.scss +41 -19
- data/assets/stylesheets/bootstrap/_progress.scss +20 -6
- data/assets/stylesheets/bootstrap/_reboot.scss +88 -109
- data/assets/stylesheets/bootstrap/_spinners.scss +65 -0
- data/assets/stylesheets/bootstrap/_tables.scss +19 -14
- data/assets/stylesheets/bootstrap/_toasts.scss +46 -0
- data/assets/stylesheets/bootstrap/_tooltip.scss +6 -6
- data/assets/stylesheets/bootstrap/_transitions.scss +10 -20
- data/assets/stylesheets/bootstrap/_type.scss +19 -19
- data/assets/stylesheets/bootstrap/_utilities.scss +4 -0
- data/assets/stylesheets/bootstrap/_variables.scss +492 -215
- data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +5 -3
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +8 -3
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +51 -10
- data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +16 -1
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +11 -9
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +35 -26
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +13 -16
- data/assets/stylesheets/bootstrap/mixins/_deprecate.scss +10 -0
- data/assets/stylesheets/bootstrap/mixins/_float.scss +6 -3
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +102 -40
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +7 -7
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +36 -25
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +34 -17
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +27 -51
- data/assets/stylesheets/bootstrap/mixins/_image.scss +4 -4
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +10 -13
- data/assets/stylesheets/bootstrap/mixins/_lists.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +3 -2
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +3 -3
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +5 -6
- data/assets/stylesheets/bootstrap/mixins/_size.scss +1 -0
- data/assets/stylesheets/bootstrap/mixins/_table-row.scss +11 -2
- data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +7 -4
- data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +3 -1
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +20 -3
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +1 -0
- data/assets/stylesheets/bootstrap/utilities/_background.scss +2 -2
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +23 -2
- data/assets/stylesheets/bootstrap/utilities/_display.scss +6 -36
- data/assets/stylesheets/bootstrap/utilities/_embed.scss +7 -20
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +5 -0
- data/assets/stylesheets/bootstrap/utilities/_float.scss +5 -3
- data/assets/stylesheets/bootstrap/utilities/_interactions.scss +5 -0
- data/assets/stylesheets/bootstrap/utilities/_overflow.scss +5 -0
- data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -4
- data/assets/stylesheets/bootstrap/utilities/_shadows.scss +6 -0
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +8 -0
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +23 -1
- data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +19 -0
- data/assets/stylesheets/bootstrap/utilities/_text.scss +28 -8
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +4 -2
- data/assets/stylesheets/bootstrap/vendor/_rfs.scss +228 -0
- data/bootstrap.gemspec +7 -4
- data/lib/bootstrap/engine.rb +3 -0
- data/lib/bootstrap/version.rb +4 -2
- data/lib/bootstrap.rb +10 -7
- data/tasks/updater/js.rb +18 -6
- data/tasks/updater/network.rb +8 -2
- data/test/dummy_rails/app/assets/config/manifest.js +3 -0
- data/test/dummy_rails/app/assets/stylesheets/.browserslistrc +1 -0
- data/test/gemfiles/rails_6_0.gemfile +7 -0
- data/test/support/dummy_rails_integration.rb +3 -1
- data/test/test_helper.rb +21 -15
- metadata +29 -16
- data/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +0 -10
|
@@ -1,30 +1,14 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
1
|
.fade {
|
|
4
|
-
opacity: 0;
|
|
5
2
|
@include transition($transition-fade);
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
opacity:
|
|
4
|
+
&:not(.show) {
|
|
5
|
+
opacity: 0;
|
|
9
6
|
}
|
|
10
7
|
}
|
|
11
8
|
|
|
12
9
|
.collapse {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
display: block;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
tr {
|
|
20
|
-
&.collapse.show {
|
|
21
|
-
display: table-row;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
tbody {
|
|
26
|
-
&.collapse.show {
|
|
27
|
-
display: table-row-group;
|
|
10
|
+
&:not(.show) {
|
|
11
|
+
display: none;
|
|
28
12
|
}
|
|
29
13
|
}
|
|
30
14
|
|
|
@@ -33,4 +17,10 @@ tbody {
|
|
|
33
17
|
height: 0;
|
|
34
18
|
overflow: hidden;
|
|
35
19
|
@include transition($transition-collapse);
|
|
20
|
+
|
|
21
|
+
&.width {
|
|
22
|
+
width: 0;
|
|
23
|
+
height: auto;
|
|
24
|
+
@include transition($transition-collapse-width);
|
|
25
|
+
}
|
|
36
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// stylelint-disable
|
|
1
|
+
// stylelint-disable selector-list-comma-newline-after
|
|
2
2
|
|
|
3
3
|
//
|
|
4
4
|
// Headings
|
|
@@ -13,36 +13,36 @@ h1, h2, h3, h4, h5, h6,
|
|
|
13
13
|
color: $headings-color;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
h1, .h1 { font-size
|
|
17
|
-
h2, .h2 { font-size
|
|
18
|
-
h3, .h3 { font-size
|
|
19
|
-
h4, .h4 { font-size
|
|
20
|
-
h5, .h5 { font-size
|
|
21
|
-
h6, .h6 { font-size
|
|
16
|
+
h1, .h1 { @include font-size($h1-font-size); }
|
|
17
|
+
h2, .h2 { @include font-size($h2-font-size); }
|
|
18
|
+
h3, .h3 { @include font-size($h3-font-size); }
|
|
19
|
+
h4, .h4 { @include font-size($h4-font-size); }
|
|
20
|
+
h5, .h5 { @include font-size($h5-font-size); }
|
|
21
|
+
h6, .h6 { @include font-size($h6-font-size); }
|
|
22
22
|
|
|
23
23
|
.lead {
|
|
24
|
-
font-size
|
|
24
|
+
@include font-size($lead-font-size);
|
|
25
25
|
font-weight: $lead-font-weight;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// Type display classes
|
|
29
29
|
.display-1 {
|
|
30
|
-
font-size
|
|
30
|
+
@include font-size($display1-size);
|
|
31
31
|
font-weight: $display1-weight;
|
|
32
32
|
line-height: $display-line-height;
|
|
33
33
|
}
|
|
34
34
|
.display-2 {
|
|
35
|
-
font-size
|
|
35
|
+
@include font-size($display2-size);
|
|
36
36
|
font-weight: $display2-weight;
|
|
37
37
|
line-height: $display-line-height;
|
|
38
38
|
}
|
|
39
39
|
.display-3 {
|
|
40
|
-
font-size
|
|
40
|
+
@include font-size($display3-size);
|
|
41
41
|
font-weight: $display3-weight;
|
|
42
42
|
line-height: $display-line-height;
|
|
43
43
|
}
|
|
44
44
|
.display-4 {
|
|
45
|
-
font-size
|
|
45
|
+
@include font-size($display4-size);
|
|
46
46
|
font-weight: $display4-weight;
|
|
47
47
|
line-height: $display-line-height;
|
|
48
48
|
}
|
|
@@ -66,7 +66,7 @@ hr {
|
|
|
66
66
|
|
|
67
67
|
small,
|
|
68
68
|
.small {
|
|
69
|
-
font-size
|
|
69
|
+
@include font-size($small-font-size);
|
|
70
70
|
font-weight: $font-weight-normal;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -82,12 +82,12 @@ mark,
|
|
|
82
82
|
//
|
|
83
83
|
|
|
84
84
|
.list-unstyled {
|
|
85
|
-
@include list-unstyled;
|
|
85
|
+
@include list-unstyled();
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
// Inline turns list items into inline-block
|
|
89
89
|
.list-inline {
|
|
90
|
-
@include list-unstyled;
|
|
90
|
+
@include list-unstyled();
|
|
91
91
|
}
|
|
92
92
|
.list-inline-item {
|
|
93
93
|
display: inline-block;
|
|
@@ -104,22 +104,22 @@ mark,
|
|
|
104
104
|
|
|
105
105
|
// Builds on `abbr`
|
|
106
106
|
.initialism {
|
|
107
|
-
font-size
|
|
107
|
+
@include font-size(90%);
|
|
108
108
|
text-transform: uppercase;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// Blockquotes
|
|
112
112
|
.blockquote {
|
|
113
113
|
margin-bottom: $spacer;
|
|
114
|
-
font-size
|
|
114
|
+
@include font-size($blockquote-font-size);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.blockquote-footer {
|
|
118
118
|
display: block;
|
|
119
|
-
font-size
|
|
119
|
+
@include font-size($blockquote-small-font-size);
|
|
120
120
|
color: $blockquote-small-color;
|
|
121
121
|
|
|
122
122
|
&::before {
|
|
123
|
-
content: "\2014
|
|
123
|
+
content: "\2014\00A0"; // em dash, nbsp
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -6,9 +6,13 @@
|
|
|
6
6
|
@import "utilities/embed";
|
|
7
7
|
@import "utilities/flex";
|
|
8
8
|
@import "utilities/float";
|
|
9
|
+
@import "utilities/interactions";
|
|
10
|
+
@import "utilities/overflow";
|
|
9
11
|
@import "utilities/position";
|
|
10
12
|
@import "utilities/screenreaders";
|
|
13
|
+
@import "utilities/shadows";
|
|
11
14
|
@import "utilities/sizing";
|
|
12
15
|
@import "utilities/spacing";
|
|
16
|
+
@import "utilities/stretched-link";
|
|
13
17
|
@import "utilities/text";
|
|
14
18
|
@import "utilities/visibility";
|