bootstrap 4.1.2 → 4.1.3
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 +1 -1
- data/assets/javascripts/bootstrap-sprockets.js +5 -5
- data/assets/javascripts/bootstrap.js +23 -23
- data/assets/javascripts/bootstrap.min.js +2 -2
- data/assets/javascripts/bootstrap/alert.js +159 -133
- data/assets/javascripts/bootstrap/button.js +149 -124
- data/assets/javascripts/bootstrap/carousel.js +463 -407
- data/assets/javascripts/bootstrap/collapse.js +338 -282
- data/assets/javascripts/bootstrap/dropdown.js +439 -382
- data/assets/javascripts/bootstrap/modal.js +502 -446
- data/assets/javascripts/bootstrap/popover.js +223 -163
- data/assets/javascripts/bootstrap/scrollspy.js +307 -251
- data/assets/javascripts/bootstrap/tab.js +217 -191
- data/assets/javascripts/bootstrap/tooltip.js +582 -525
- data/assets/javascripts/bootstrap/util.js +129 -116
- 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/_buttons.scss +0 -1
- data/assets/stylesheets/bootstrap/_custom-forms.scss +13 -19
- data/assets/stylesheets/bootstrap/_forms.scss +13 -15
- data/assets/stylesheets/bootstrap/_input-group.scss +15 -2
- data/assets/stylesheets/bootstrap/_modal.scss +18 -6
- data/assets/stylesheets/bootstrap/_reboot.scss +4 -2
- data/assets/stylesheets/bootstrap/_tables.scss +0 -1
- data/assets/stylesheets/bootstrap/_variables.scss +10 -9
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +7 -7
- data/lib/bootstrap/version.rb +2 -2
- metadata +2 -2
@@ -4,9 +4,14 @@
|
|
4
4
|
// .modal-content - actual modal w/ bg and corners and stuff
|
5
5
|
|
6
6
|
|
7
|
-
// Kill the scroll on the body
|
8
7
|
.modal-open {
|
8
|
+
// Kill the scroll on the body
|
9
9
|
overflow: hidden;
|
10
|
+
|
11
|
+
.modal {
|
12
|
+
overflow-x: hidden;
|
13
|
+
overflow-y: auto;
|
14
|
+
}
|
10
15
|
}
|
11
16
|
|
12
17
|
// Container that the modal scrolls within
|
@@ -25,11 +30,6 @@
|
|
25
30
|
// We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
|
26
31
|
// gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
|
27
32
|
// See also https://github.com/twbs/bootstrap/issues/17695
|
28
|
-
|
29
|
-
.modal-open & {
|
30
|
-
overflow-x: hidden;
|
31
|
-
overflow-y: auto;
|
32
|
-
}
|
33
33
|
}
|
34
34
|
|
35
35
|
// Shell div to position the modal with bottom padding
|
@@ -54,6 +54,13 @@
|
|
54
54
|
display: flex;
|
55
55
|
align-items: center;
|
56
56
|
min-height: calc(100% - (#{$modal-dialog-margin} * 2));
|
57
|
+
|
58
|
+
// Ensure `modal-dialog-centered` extends the full height of the view (IE10/11)
|
59
|
+
&::before {
|
60
|
+
display: block; // IE10
|
61
|
+
height: calc(100vh - (#{$modal-dialog-margin} * 2));
|
62
|
+
content: "";
|
63
|
+
}
|
57
64
|
}
|
58
65
|
|
59
66
|
// Actual modal
|
@@ -153,6 +160,11 @@
|
|
153
160
|
|
154
161
|
.modal-dialog-centered {
|
155
162
|
min-height: calc(100% - (#{$modal-dialog-margin-y-sm-up} * 2));
|
163
|
+
|
164
|
+
&::before {
|
165
|
+
height: calc(100vh - (#{$modal-dialog-margin-y-sm-up} * 2));
|
166
|
+
}
|
167
|
+
|
156
168
|
}
|
157
169
|
|
158
170
|
.modal-content {
|
@@ -272,8 +272,10 @@ img {
|
|
272
272
|
border-style: none; // Remove the border on images inside links in IE 10-.
|
273
273
|
}
|
274
274
|
|
275
|
-
svg
|
276
|
-
|
275
|
+
svg {
|
276
|
+
// Workaround for the SVG overflow bug in IE10/11 is still required.
|
277
|
+
// See https://github.com/twbs/bootstrap/issues/26878
|
278
|
+
overflow: hidden;
|
277
279
|
vertical-align: middle;
|
278
280
|
}
|
279
281
|
|
@@ -248,7 +248,7 @@ $transition-collapse: height .35s ease !default;
|
|
248
248
|
// Font, line-height, and color for body text, headings, and more.
|
249
249
|
|
250
250
|
// stylelint-disable value-keyword-case
|
251
|
-
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
251
|
+
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
252
252
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
253
253
|
$font-family-base: $font-family-sans-serif !default;
|
254
254
|
// stylelint-enable value-keyword-case
|
@@ -537,14 +537,15 @@ $custom-range-track-bg: $gray-300 !default;
|
|
537
537
|
$custom-range-track-border-radius: 1rem !default;
|
538
538
|
$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
539
539
|
|
540
|
-
$custom-range-thumb-width:
|
541
|
-
$custom-range-thumb-height:
|
542
|
-
$custom-range-thumb-bg:
|
543
|
-
$custom-range-thumb-border:
|
544
|
-
$custom-range-thumb-border-radius:
|
545
|
-
$custom-range-thumb-box-shadow:
|
546
|
-
$custom-range-thumb-focus-box-shadow:
|
547
|
-
$custom-range-thumb-
|
540
|
+
$custom-range-thumb-width: 1rem !default;
|
541
|
+
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
542
|
+
$custom-range-thumb-bg: $component-active-bg !default;
|
543
|
+
$custom-range-thumb-border: 0 !default;
|
544
|
+
$custom-range-thumb-border-radius: 1rem !default;
|
545
|
+
$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
546
|
+
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
|
547
|
+
$custom-range-thumb-focus-box-shadow-width: $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge
|
548
|
+
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
548
549
|
|
549
550
|
$custom-file-height: $input-height !default;
|
550
551
|
$custom-file-height-inner: $input-height-inner !default;
|
@@ -41,13 +41,13 @@
|
|
41
41
|
z-index: 5;
|
42
42
|
display: none;
|
43
43
|
max-width: 100%; // Contain to parent when possible
|
44
|
-
padding:
|
44
|
+
padding: $tooltip-padding-y $tooltip-padding-x;
|
45
45
|
margin-top: .1rem;
|
46
|
-
font-size:
|
47
|
-
line-height:
|
48
|
-
color: $
|
49
|
-
background-color: rgba($color,
|
50
|
-
border-radius
|
46
|
+
font-size: $tooltip-font-size;
|
47
|
+
line-height: $line-height-base;
|
48
|
+
color: color-yiq($color);
|
49
|
+
background-color: rgba($color, $tooltip-opacity);
|
50
|
+
@include border-radius($tooltip-border-radius);
|
51
51
|
}
|
52
52
|
|
53
53
|
.form-control,
|
@@ -129,7 +129,7 @@
|
|
129
129
|
~ .custom-file-label {
|
130
130
|
border-color: $color;
|
131
131
|
|
132
|
-
&::
|
132
|
+
&::after { border-color: inherit; }
|
133
133
|
}
|
134
134
|
|
135
135
|
~ .#{$state}-feedback,
|
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.1.
|
4
|
+
version: 4.1.3
|
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-07-
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: popper_js
|