bootstrap 4.0.0 → 4.1.0
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.
Potentially problematic release.
This version of bootstrap might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/Rakefile +2 -0
- data/assets/javascripts/bootstrap-sprockets.js +6 -6
- data/assets/javascripts/bootstrap.js +3075 -3044
- data/assets/javascripts/bootstrap.min.js +2 -2
- data/assets/javascripts/bootstrap/alert.js +5 -5
- data/assets/javascripts/bootstrap/button.js +2 -2
- data/assets/javascripts/bootstrap/carousel.js +13 -11
- data/assets/javascripts/bootstrap/collapse.js +11 -19
- data/assets/javascripts/bootstrap/dropdown.js +34 -16
- data/assets/javascripts/bootstrap/modal.js +27 -24
- data/assets/javascripts/bootstrap/popover.js +7 -5
- data/assets/javascripts/bootstrap/scrollspy.js +6 -4
- data/assets/javascripts/bootstrap/tab.js +5 -5
- data/assets/javascripts/bootstrap/tooltip.js +15 -12
- data/assets/javascripts/bootstrap/util.js +28 -35
- data/assets/stylesheets/_bootstrap-grid.scss +1 -1
- data/assets/stylesheets/_bootstrap-reboot.scss +1 -1
- data/assets/stylesheets/_bootstrap.scss +1 -1
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +9 -6
- data/assets/stylesheets/bootstrap/_button-group.scss +7 -1
- data/assets/stylesheets/bootstrap/_buttons.scss +1 -0
- data/assets/stylesheets/bootstrap/_card.scss +33 -2
- data/assets/stylesheets/bootstrap/_carousel.scss +48 -4
- data/assets/stylesheets/bootstrap/_custom-forms.scss +126 -3
- data/assets/stylesheets/bootstrap/_dropdown.scss +36 -1
- data/assets/stylesheets/bootstrap/_forms.scss +3 -1
- data/assets/stylesheets/bootstrap/_functions.scss +1 -1
- data/assets/stylesheets/bootstrap/_input-group.scss +2 -2
- data/assets/stylesheets/bootstrap/_mixins.scss +0 -1
- data/assets/stylesheets/bootstrap/_modal.scss +2 -2
- data/assets/stylesheets/bootstrap/_navbar.scss +0 -12
- data/assets/stylesheets/bootstrap/_pagination.scss +2 -1
- data/assets/stylesheets/bootstrap/_print.scss +6 -6
- data/assets/stylesheets/bootstrap/_progress.scss +1 -0
- data/assets/stylesheets/bootstrap/_reboot.scss +3 -3
- data/assets/stylesheets/bootstrap/_tables.scss +11 -3
- data/assets/stylesheets/bootstrap/_transitions.scss +4 -18
- data/assets/stylesheets/bootstrap/_utilities.scss +1 -0
- data/assets/stylesheets/bootstrap/_variables.scss +75 -41
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +1 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +7 -7
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +1 -3
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +1 -3
- data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +4 -0
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +5 -0
- data/assets/stylesheets/bootstrap/utilities/_position.scss +1 -0
- data/assets/stylesheets/bootstrap/utilities/_shadows.scss +6 -0
- data/assets/stylesheets/bootstrap/utilities/_text.scss +7 -1
- data/lib/bootstrap/version.rb +2 -2
- metadata +3 -3
- data/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +0 -10
@@ -16,6 +16,11 @@
|
|
16
16
|
.flex#{$infix}-wrap { flex-wrap: wrap !important; }
|
17
17
|
.flex#{$infix}-nowrap { flex-wrap: nowrap !important; }
|
18
18
|
.flex#{$infix}-wrap-reverse { flex-wrap: wrap-reverse !important; }
|
19
|
+
.flex#{$infix}-fill { flex: 1 1 auto !important; }
|
20
|
+
.flex#{$infix}-grow-0 { flex-grow: 0 !important; }
|
21
|
+
.flex#{$infix}-grow-1 { flex-grow: 1 !important; }
|
22
|
+
.flex#{$infix}-shrink-0 { flex-shrink: 0 !important; }
|
23
|
+
.flex#{$infix}-shrink-1 { flex-shrink: 1 !important; }
|
19
24
|
|
20
25
|
.justify-content#{$infix}-start { justify-content: flex-start !important; }
|
21
26
|
.justify-content#{$infix}-end { justify-content: flex-end !important; }
|
@@ -4,6 +4,8 @@
|
|
4
4
|
// Text
|
5
5
|
//
|
6
6
|
|
7
|
+
.text-monospace { font-family: $font-family-monospace; }
|
8
|
+
|
7
9
|
// Alignment
|
8
10
|
|
9
11
|
.text-justify { text-align: justify !important; }
|
@@ -37,14 +39,18 @@
|
|
37
39
|
|
38
40
|
// Contextual colors
|
39
41
|
|
40
|
-
.text-white { color:
|
42
|
+
.text-white { color: $white !important; }
|
41
43
|
|
42
44
|
@each $color, $value in $theme-colors {
|
43
45
|
@include text-emphasis-variant(".text-#{$color}", $value);
|
44
46
|
}
|
45
47
|
|
48
|
+
.text-body { color: $body-color !important; }
|
46
49
|
.text-muted { color: $text-muted !important; }
|
47
50
|
|
51
|
+
.text-black-50 { color: rgba($black, .5) !important; }
|
52
|
+
.text-white-50 { color: rgba($white, .5) !important; }
|
53
|
+
|
48
54
|
// Misc
|
49
55
|
|
50
56
|
.text-hide {
|
data/lib/bootstrap/version.rb
CHANGED
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.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twitter, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: popper_js
|
@@ -311,7 +311,6 @@ files:
|
|
311
311
|
- assets/stylesheets/bootstrap/mixins/_list-group.scss
|
312
312
|
- assets/stylesheets/bootstrap/mixins/_lists.scss
|
313
313
|
- assets/stylesheets/bootstrap/mixins/_nav-divider.scss
|
314
|
-
- assets/stylesheets/bootstrap/mixins/_navbar-align.scss
|
315
314
|
- assets/stylesheets/bootstrap/mixins/_pagination.scss
|
316
315
|
- assets/stylesheets/bootstrap/mixins/_reset-text.scss
|
317
316
|
- assets/stylesheets/bootstrap/mixins/_resize.scss
|
@@ -333,6 +332,7 @@ files:
|
|
333
332
|
- assets/stylesheets/bootstrap/utilities/_float.scss
|
334
333
|
- assets/stylesheets/bootstrap/utilities/_position.scss
|
335
334
|
- assets/stylesheets/bootstrap/utilities/_screenreaders.scss
|
335
|
+
- assets/stylesheets/bootstrap/utilities/_shadows.scss
|
336
336
|
- assets/stylesheets/bootstrap/utilities/_sizing.scss
|
337
337
|
- assets/stylesheets/bootstrap/utilities/_spacing.scss
|
338
338
|
- assets/stylesheets/bootstrap/utilities/_text.scss
|
@@ -1,10 +0,0 @@
|
|
1
|
-
// Navbar vertical align
|
2
|
-
//
|
3
|
-
// Vertically center elements in the navbar.
|
4
|
-
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);`
|
5
|
-
// to calculate the appropriate top margin.
|
6
|
-
|
7
|
-
// @mixin navbar-vertical-align($element-height) {
|
8
|
-
// margin-top: (($navbar-height - $element-height) / 2);
|
9
|
-
// margin-bottom: (($navbar-height - $element-height) / 2);
|
10
|
-
// }
|