bootstrap 4.0.0.alpha1 → 4.0.0.alpha2

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.

Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/assets/javascripts/bootstrap.js +15 -15
  4. data/assets/javascripts/bootstrap.min.js +2 -215
  5. data/assets/javascripts/bootstrap/alert.js +0 -1
  6. data/assets/javascripts/bootstrap/button.js +0 -1
  7. data/assets/javascripts/bootstrap/carousel.js +0 -1
  8. data/assets/javascripts/bootstrap/collapse.js +0 -1
  9. data/assets/javascripts/bootstrap/dropdown.js +0 -1
  10. data/assets/javascripts/bootstrap/modal.js +1 -2
  11. data/assets/javascripts/bootstrap/popover.js +0 -1
  12. data/assets/javascripts/bootstrap/scrollspy.js +0 -1
  13. data/assets/javascripts/bootstrap/tab.js +0 -1
  14. data/assets/javascripts/bootstrap/tooltip.js +12 -13
  15. data/assets/javascripts/bootstrap/util.js +0 -1
  16. data/assets/stylesheets/_bootstrap.scss +1 -0
  17. data/assets/stylesheets/bootstrap/_alert.scss +1 -1
  18. data/assets/stylesheets/bootstrap/_buttons.scss +0 -1
  19. data/assets/stylesheets/bootstrap/_card.scss +8 -3
  20. data/assets/stylesheets/bootstrap/_carousel.scss +3 -3
  21. data/assets/stylesheets/bootstrap/_dropdown.scss +3 -1
  22. data/assets/stylesheets/bootstrap/_forms.scss +5 -5
  23. data/assets/stylesheets/bootstrap/_images.scss +25 -0
  24. data/assets/stylesheets/bootstrap/_labels.scss +3 -1
  25. data/assets/stylesheets/bootstrap/_nav.scss +2 -0
  26. data/assets/stylesheets/bootstrap/_reboot.scss +29 -0
  27. data/assets/stylesheets/bootstrap/_responsive-embed.scss +0 -3
  28. data/assets/stylesheets/bootstrap/_type.scss +1 -29
  29. data/assets/stylesheets/bootstrap/_utilities-background.scss +24 -0
  30. data/assets/stylesheets/bootstrap/_utilities-responsive.scss +1 -1
  31. data/assets/stylesheets/bootstrap/_utilities.scss +4 -35
  32. data/assets/stylesheets/bootstrap/_variables.scss +8 -6
  33. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +2 -2
  34. data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +10 -0
  35. data/assets/stylesheets/bootstrap/mixins/_forms.scss +1 -1
  36. data/assets/stylesheets/bootstrap/mixins/_image.scss +6 -5
  37. data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +1 -1
  38. data/lib/bootstrap.rb +10 -0
  39. data/lib/bootstrap/version.rb +2 -2
  40. data/tasks/updater/js.rb +4 -1
  41. data/templates/project/_bootstrap-variables.scss +8 -6
  42. data/test/dummy_rails/app/assets/stylesheets/application.sass +3 -0
  43. data/test/dummy_rails/config/application.rb +4 -1
  44. data/test/gemfiles/rails_head.gemfile +2 -1
  45. data/test/rails_test.rb +5 -0
  46. data/test/support/dummy_rails_integration.rb +8 -1
  47. metadata +3 -2
@@ -5,7 +5,7 @@
5
5
  .alert {
6
6
  padding: $alert-padding;
7
7
  margin-bottom: $spacer-y;
8
- border: 1px solid transparent;
8
+ border: $alert-border-width solid transparent;
9
9
  @include border-radius($alert-border-radius);
10
10
 
11
11
  // Improve alignment and spacing of inner content
@@ -8,7 +8,6 @@
8
8
  text-align: center;
9
9
  white-space: nowrap;
10
10
  vertical-align: middle;
11
- touch-action: manipulation;
12
11
  cursor: pointer;
13
12
  user-select: none;
14
13
  border: $border-width solid transparent;
@@ -4,6 +4,7 @@
4
4
 
5
5
  .card {
6
6
  position: relative;
7
+ display: block;
7
8
  margin-bottom: $card-spacer-y;
8
9
  background-color: $card-bg;
9
10
  border: $card-border-width solid $card-border-color;
@@ -135,7 +136,7 @@
135
136
  }
136
137
  .card-link {
137
138
  @include hover-focus {
138
- color: #fff;
139
+ color: $card-link-hover-color;
139
140
  }
140
141
  }
141
142
  }
@@ -169,10 +170,10 @@
169
170
 
170
171
  // Card image caps
171
172
  .card-img-top {
172
- @include border-radius(.25rem .25rem 0 0);
173
+ @include border-radius($card-border-radius-inner $card-border-radius-inner 0 0);
173
174
  }
174
175
  .card-img-bottom {
175
- @include border-radius(0 0 .25rem .25rem);
176
+ @include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner);
176
177
  }
177
178
 
178
179
 
@@ -246,6 +247,8 @@
246
247
  // Handle rounded corners
247
248
  @if $enable-rounded {
248
249
  &:first-child {
250
+ @include border-right-radius(0);
251
+
249
252
  .card-img-top {
250
253
  border-top-right-radius: 0;
251
254
  }
@@ -254,6 +257,8 @@
254
257
  }
255
258
  }
256
259
  &:last-child {
260
+ @include border-left-radius(0);
261
+
257
262
  .card-img-top {
258
263
  border-top-left-radius: 0;
259
264
  }
@@ -178,9 +178,9 @@
178
178
  cursor: pointer;
179
179
  // IE9 hack for event handling
180
180
  //
181
- // Internet Explorer 9 does not support clicks on elements without a set
182
- // `background-color`. We cannot use `filter` since that's not viewed as a
183
- // background color by the browser. Thus, a hack is needed.
181
+ // Internet Explorer 9 does not properly handle clicks on elements with a `background-color` of `transparent`,
182
+ // so we use `rgba(0,0,0,0)` instead since it's a non-buggy equivalent.
183
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
184
184
  background-color: rgba(0,0,0,0); // IE9
185
185
  border: 1px solid $carousel-indicator-border-color;
186
186
  border-radius: 10px;
@@ -10,6 +10,7 @@
10
10
  display: inline-block;
11
11
  width: 0;
12
12
  height: 0;
13
+ margin-right: .25rem;
13
14
  margin-left: .25rem;
14
15
  vertical-align: middle;
15
16
  content: "";
@@ -45,6 +46,7 @@
45
46
  padding: 5px 0;
46
47
  margin: 2px 0 0; // override default ul
47
48
  font-size: $font-size-base;
49
+ color: $body-color;
48
50
  text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
49
51
  list-style: none;
50
52
  background-color: $dropdown-bg;
@@ -170,7 +172,7 @@
170
172
 
171
173
  // Allow for dropdowns to go bottom up (aka, dropup-menu)
172
174
  //
173
- // Just add .dropup after the standard .dropdown class and you're set, bro.
175
+ // Just add .dropup after the standard .dropdown class and you're set.
174
176
  // TODO: abstract this so that the navbar fixed styles are not placed here?
175
177
 
176
178
  .dropup,
@@ -261,7 +261,7 @@ input[type="checkbox"] {
261
261
 
262
262
  .form-control-success,
263
263
  .form-control-warning,
264
- .form-control-error {
264
+ .form-control-danger {
265
265
  padding-right: ($input-padding-x * 3);
266
266
  background-repeat: no-repeat;
267
267
  background-position: center right ($input-height * .25);
@@ -285,11 +285,11 @@ input[type="checkbox"] {
285
285
  }
286
286
  }
287
287
 
288
- .has-error {
288
+ .has-danger {
289
289
  @include form-control-validation($brand-danger);
290
290
 
291
- .form-control-error {
292
- background-image: url($form-icon-error);
291
+ .form-control-danger {
292
+ background-image: url($form-icon-danger);
293
293
  }
294
294
  }
295
295
 
@@ -354,7 +354,7 @@ input[type="checkbox"] {
354
354
  // .has-warning {
355
355
  // @include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg);
356
356
  // }
357
- // .has-error {
357
+ // .has-danger {
358
358
  // @include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg);
359
359
  // }
360
360
  //
@@ -1,4 +1,10 @@
1
1
  // Responsive images (ensure images don't scale beyond their parents)
2
+ //
3
+ // This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
4
+ // We previously tried the "images are responsive by default" approach in Bootstrap v2,
5
+ // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
6
+ // which weren't expecting the images within themselves to be involuntarily resized.
7
+ // See also https://github.com/twbs/bootstrap/issues/18178
2
8
  .img-fluid {
3
9
  @include img-fluid();
4
10
  }
@@ -26,3 +32,22 @@
26
32
  .img-circle {
27
33
  border-radius: 50%;
28
34
  }
35
+
36
+ //
37
+ // Figures
38
+ //
39
+
40
+ .figure {
41
+ // Ensures the caption's text aligns with the image.
42
+ display: inline-block;
43
+ }
44
+
45
+ .figure-img {
46
+ margin-bottom: ($spacer-y / 2);
47
+ line-height: 1;
48
+ }
49
+
50
+ .figure-caption {
51
+ font-size: 90%;
52
+ color: $gray-light;
53
+ }
@@ -43,7 +43,9 @@ a.label {
43
43
  .label-pill {
44
44
  padding-right: .6em;
45
45
  padding-left: .6em;
46
- @include border-radius(1rem);
46
+ // Use a higher than normal value to ensure completely rounded edges when
47
+ // customizing padding or font-size on labels.
48
+ @include border-radius(10rem);
47
49
  }
48
50
 
49
51
  // Colors
@@ -91,6 +91,8 @@
91
91
  //
92
92
 
93
93
  .nav-pills {
94
+ @include clearfix();
95
+
94
96
  .nav-item {
95
97
  float: left;
96
98
 
@@ -191,6 +191,8 @@ img {
191
191
  // By default, `<img>`s are `inline-block`. This assumes that, and vertically
192
192
  // centers them. This won't apply should you reset them to `block` level.
193
193
  vertical-align: middle;
194
+ // Note: `<img>`s are deliberately not made responsive by default.
195
+ // For the rationale behind this, see the comments on the `.img-fluid` class.
194
196
  }
195
197
 
196
198
 
@@ -205,6 +207,28 @@ img {
205
207
  }
206
208
 
207
209
 
210
+ // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
211
+ //
212
+ // In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
213
+ // DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
214
+ // However, they DO support removing the click delay via `touch-action: manipulation`.
215
+ // See:
216
+ // * http://v4-alpha.getbootstrap.com/content/reboot/#click-delay-optimization-for-touch
217
+ // * http://caniuse.com/#feat=css-touch-action
218
+ // * http://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
219
+
220
+ a,
221
+ area,
222
+ button,
223
+ [role="button"],
224
+ input,
225
+ label,
226
+ select,
227
+ summary,
228
+ textarea {
229
+ touch-action: manipulation;
230
+ }
231
+
208
232
  //
209
233
  // Tables
210
234
  //
@@ -296,3 +320,8 @@ output {
296
320
  // line-height: $line-height;
297
321
  // color: $input-color;
298
322
  }
323
+
324
+ // Always hide an element with the `hidden` HTML attribute (from PureCSS).
325
+ [hidden] {
326
+ display: none !important;
327
+ }
@@ -22,17 +22,14 @@
22
22
  }
23
23
  }
24
24
 
25
- // Modifier class for 21:9 aspect ratio
26
25
  .embed-responsive-21by9 {
27
26
  padding-bottom: percentage(9 / 21);
28
27
  }
29
28
 
30
- // Modifier class for 16:9 aspect ratio
31
29
  .embed-responsive-16by9 {
32
30
  padding-bottom: percentage(9 / 16);
33
31
  }
34
32
 
35
- // Modifier class for 4:3 aspect ratio
36
33
  .embed-responsive-4by3 {
37
34
  padding-bottom: percentage(3 / 4);
38
35
  }
@@ -4,21 +4,13 @@
4
4
 
5
5
  h1, h2, h3, h4, h5, h6,
6
6
  .h1, .h2, .h3, .h4, .h5, .h6 {
7
+ margin-bottom: $headings-margin-bottom;
7
8
  font-family: $headings-font-family;
8
9
  font-weight: $headings-font-weight;
9
10
  line-height: $headings-line-height;
10
11
  color: $headings-color;
11
12
  }
12
13
 
13
- h1, .h1,
14
- h2, .h2,
15
- h3, .h3,
16
- h4, .h4,
17
- h5, .h5,
18
- h6, .h6 {
19
- margin-bottom: $headings-margin-bottom;
20
- }
21
-
22
14
  h1 { font-size: $font-size-h1; }
23
15
  h2 { font-size: $font-size-h2; }
24
16
  h3 { font-size: $font-size-h3; }
@@ -170,23 +162,3 @@ mark,
170
162
  }
171
163
  }
172
164
  }
173
-
174
- //
175
- // Figures
176
- //
177
-
178
- .figure {
179
- // Ensures the caption's text aligns with the image.
180
- display: inline-block;
181
-
182
- > img {
183
- @extend .img-fluid;
184
- margin-bottom: ($spacer-y / 2);
185
- line-height: 1;
186
- }
187
- }
188
-
189
- .figure-caption {
190
- font-size: 90%;
191
- color: $gray-light;
192
- }
@@ -0,0 +1,24 @@
1
+ //
2
+ // Contextual backgrounds
3
+ //
4
+
5
+ // Inverse
6
+ // TODO: redo this as a proper class
7
+ .bg-inverse {
8
+ color: $gray-lighter;
9
+ background-color: $gray-dark;
10
+ }
11
+
12
+ .bg-faded {
13
+ background-color: $gray-lightest;
14
+ }
15
+
16
+ @include bg-variant('.bg-primary', $brand-primary);
17
+
18
+ @include bg-variant('.bg-success', $brand-success);
19
+
20
+ @include bg-variant('.bg-info', $brand-info);
21
+
22
+ @include bg-variant('.bg-warning', $brand-warning);
23
+
24
+ @include bg-variant('.bg-danger', $brand-danger);
@@ -1,5 +1,5 @@
1
1
  //
2
- // Mixins
2
+ // Responsive utilities
3
3
  //
4
4
 
5
5
  @each $bp in map-keys($grid-breakpoints) {
@@ -31,13 +31,8 @@
31
31
  @include sr-only-focusable();
32
32
  }
33
33
 
34
- // Always hide an element with the `hidden` HTML attribute (from PureCSS).
35
- [hidden] {
36
- display: none !important;
37
- }
38
-
39
34
  .invisible {
40
- visibility: hidden;
35
+ visibility: hidden !important;
41
36
  }
42
37
 
43
38
  .text-hide {
@@ -70,9 +65,9 @@
70
65
 
71
66
  // Transformation
72
67
 
73
- .text-lowercase { text-transform: lowercase; }
74
- .text-uppercase { text-transform: uppercase; }
75
- .text-capitalize { text-transform: capitalize; }
68
+ .text-lowercase { text-transform: lowercase !important; }
69
+ .text-uppercase { text-transform: uppercase !important; }
70
+ .text-capitalize { text-transform: capitalize !important; }
76
71
 
77
72
  // Contextual colors
78
73
 
@@ -89,29 +84,3 @@
89
84
  @include text-emphasis-variant('.text-warning', $brand-warning);
90
85
 
91
86
  @include text-emphasis-variant('.text-danger', $brand-danger);
92
-
93
-
94
- // Contextual backgrounds
95
- // For now we'll leave these alongside the text classes until v4 when we can
96
- // safely shift things around (per SemVer rules).
97
-
98
- // Inverse
99
- // Todo: redo this as a proper class
100
- .bg-inverse {
101
- color: $gray-lighter;
102
- background-color: $gray-dark;
103
- }
104
-
105
- .bg-faded {
106
- background-color: $gray-lightest;
107
- }
108
-
109
- @include bg-variant('.bg-primary', $brand-primary);
110
-
111
- @include bg-variant('.bg-success', $brand-success);
112
-
113
- @include bg-variant('.bg-info', $brand-info);
114
-
115
- @include bg-variant('.bg-warning', $brand-warning);
116
-
117
- @include bg-variant('.bg-danger', $brand-danger);
@@ -134,7 +134,7 @@ $font-size-root: 16px !default;
134
134
 
135
135
  $font-size-base: 1rem !default;
136
136
  $font-size-lg: 1.25rem !default;
137
- $font-size-sm: .85rem !default;
137
+ $font-size-sm: .875rem !default;
138
138
  $font-size-xs: .75rem !default;
139
139
 
140
140
  $font-size-h1: 2.5rem !default;
@@ -295,9 +295,9 @@ $input-group-addon-border-color: $input-border !default;
295
295
  $cursor-disabled: not-allowed !default;
296
296
 
297
297
  // Form validation icons
298
- $form-icon-success: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNoZWNrIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDYxMiA3OTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYxMiA3OTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiM1Q0I4NUMiIGQ9Ik0yMzMuOCw2MTAuMWMtMTMuMywwLTI1LjktNi4yLTM0LTE2LjlMOTAuNSw0NDguOEM3Ni4zLDQzMCw4MCw0MDMuMyw5OC44LDM4OS4xYzE4LjgtMTQuMyw0NS41LTEwLjUsNTkuOCw4LjNsNzEuOSw5NWwyMjAuOS0yNTAuNWMxMi41LTIwLDM4LjgtMjYuMSw1OC44LTEzLjZjMjAsMTIuNCwyNi4xLDM4LjcsMTMuNiw1OC44TDI3MCw1OTBjLTcuNCwxMi0yMC4yLDE5LjQtMzQuMywyMC4xQzIzNS4xLDYxMC4xLDIzNC41LDYxMC4xLDIzMy44LDYxMC4xeiIvPjwvc3ZnPg==" !default;
299
- $form-icon-warning: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9Ildhc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E4LjUgMTAuNkw5IDY0MC4yYy0zLjcgNi41LTMuNiAxNC40LjIgMjAuOCAzLjggNi41IDEwLjggMTAuNCAxOC4zIDEwLjRoNTU3YzcuNiAwIDE0LjYtNCAxOC40LTEwLjQgMy41LTYuNCAzLjYtMTQuNCAwLTIwLjh6bS0yNjYuNC0zMGgtNjEuMlY1NDloNjEuMnY2MS4yem0wLTEwN2gtNjEuMlYzMDRoNjEuMnYxOTl6Ii8+PC9zdmc+";
300
+ $form-icon-danger: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZDk1MzRmIiBkPSJNNDQ3IDU0NC40Yy0xNC40IDE0LjQtMzcuNiAxNC40LTUyIDBsLTg5LTkyLjctODkgOTIuN2MtMTQuNSAxNC40LTM3LjcgMTQuNC01MiAwLTE0LjQtMTQuNC0xNC40LTM3LjYgMC01Mmw5Mi40LTk2LjMtOTIuNC05Ni4zYy0xNC40LTE0LjQtMTQuNC0zNy42IDAtNTJzMzcuNi0xNC4zIDUyIDBsODkgOTIuOCA4OS4yLTkyLjdjMTQuNC0xNC40IDM3LjYtMTQuNCA1MiAwIDE0LjMgMTQuNCAxNC4zIDM3LjYgMCA1MkwzNTQuNiAzOTZsOTIuNCA5Ni40YzE0LjQgMTQuNCAxNC40IDM3LjYgMCA1MnoiLz48L3N2Zz4=";
301
301
 
302
302
 
303
303
  // Dropdowns
@@ -456,6 +456,9 @@ $card-border-radius-inner: ($card-border-radius - $card-border-width) !default;
456
456
  $card-cap-bg: #f5f5f5 !default;
457
457
  $card-bg: #fff !default;
458
458
 
459
+ $card-link-hover-color: #fff !default;
460
+
461
+
459
462
  // Tooltips
460
463
 
461
464
  $tooltip-max-width: 200px !default;
@@ -472,7 +475,6 @@ $tooltip-arrow-color: $tooltip-bg !default;
472
475
  $popover-bg: #fff !default;
473
476
  $popover-max-width: 276px !default;
474
477
  $popover-border-color: rgba(0,0,0,.2) !default;
475
- $popover-fallback-border-color: #ccc !default;
476
478
 
477
479
  $popover-title-bg: darken($popover-bg, 3%) !default;
478
480
 
@@ -481,7 +483,6 @@ $popover-arrow-color: $popover-bg !default;
481
483
 
482
484
  $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
483
485
  $popover-arrow-outer-color: fade-in($popover-border-color, 0.05) !default;
484
- $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
485
486
 
486
487
 
487
488
  // Labels
@@ -525,6 +526,7 @@ $modal-sm: 300px !default;
525
526
  $alert-padding: 15px !default;
526
527
  $alert-border-radius: $border-radius !default;
527
528
  $alert-link-font-weight: bold !default;
529
+ $alert-border-width: $border-width !default;
528
530
 
529
531
  $alert-success-bg: $state-success-bg !default;
530
532
  $alert-success-text: $state-success-text !default;