bootstrap 4.4.1 → 4.5.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.

Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +11 -1
  3. data/README.md +1 -1
  4. data/assets/javascripts/bootstrap-sprockets.js +7 -7
  5. data/assets/javascripts/bootstrap.js +516 -617
  6. data/assets/javascripts/bootstrap.min.js +3 -3
  7. data/assets/javascripts/bootstrap/alert.js +19 -27
  8. data/assets/javascripts/bootstrap/button.js +50 -56
  9. data/assets/javascripts/bootstrap/carousel.js +88 -99
  10. data/assets/javascripts/bootstrap/collapse.js +43 -53
  11. data/assets/javascripts/bootstrap/dropdown.js +75 -93
  12. data/assets/javascripts/bootstrap/modal.js +87 -91
  13. data/assets/javascripts/bootstrap/popover.js +15 -21
  14. data/assets/javascripts/bootstrap/scrollspy.js +39 -53
  15. data/assets/javascripts/bootstrap/tab.js +44 -52
  16. data/assets/javascripts/bootstrap/toast.js +33 -41
  17. data/assets/javascripts/bootstrap/tooltip.js +53 -65
  18. data/assets/javascripts/bootstrap/util.js +9 -5
  19. data/assets/stylesheets/_bootstrap-grid.scss +3 -3
  20. data/assets/stylesheets/_bootstrap-reboot.scss +3 -3
  21. data/assets/stylesheets/_bootstrap.scss +3 -3
  22. data/assets/stylesheets/bootstrap/_breadcrumb.scss +2 -0
  23. data/assets/stylesheets/bootstrap/_buttons.scss +10 -7
  24. data/assets/stylesheets/bootstrap/_card.scss +11 -7
  25. data/assets/stylesheets/bootstrap/_close.scss +0 -1
  26. data/assets/stylesheets/bootstrap/_custom-forms.scss +2 -1
  27. data/assets/stylesheets/bootstrap/_dropdown.scss +2 -1
  28. data/assets/stylesheets/bootstrap/_forms.scss +9 -0
  29. data/assets/stylesheets/bootstrap/_functions.scss +12 -5
  30. data/assets/stylesheets/bootstrap/_grid.scss +9 -1
  31. data/assets/stylesheets/bootstrap/_input-group.scss +2 -1
  32. data/assets/stylesheets/bootstrap/_list-group.scss +9 -13
  33. data/assets/stylesheets/bootstrap/_modal.scss +2 -0
  34. data/assets/stylesheets/bootstrap/_nav.scss +1 -0
  35. data/assets/stylesheets/bootstrap/_pagination.scss +1 -0
  36. data/assets/stylesheets/bootstrap/_progress.scss +1 -0
  37. data/assets/stylesheets/bootstrap/_reboot.scss +10 -12
  38. data/assets/stylesheets/bootstrap/_spinners.scss +1 -0
  39. data/assets/stylesheets/bootstrap/_utilities.scss +2 -1
  40. data/assets/stylesheets/bootstrap/_variables.scss +4 -0
  41. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +2 -1
  42. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +26 -13
  43. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +6 -6
  44. data/assets/stylesheets/bootstrap/mixins/_forms.scss +2 -2
  45. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +25 -15
  46. data/assets/stylesheets/bootstrap/mixins/_transition.scss +17 -7
  47. data/assets/stylesheets/bootstrap/utilities/_background.scss +1 -1
  48. data/assets/stylesheets/bootstrap/utilities/_interactions.scss +5 -0
  49. data/assets/stylesheets/bootstrap/utilities/_text.scss +1 -2
  50. data/lib/bootstrap/version.rb +2 -2
  51. data/tasks/updater/network.rb +2 -2
  52. data/test/gemfiles/rails_6_0.gemfile +7 -0
  53. metadata +6 -3
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap tooltip.js v4.4.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap tooltip.js v4.5.0 (https://getbootstrap.com/)
3
+ * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -9,9 +9,9 @@
9
9
  (global = global || self, global.Tooltip = factory(global.jQuery, global.Popper, global.Util));
10
10
  }(this, (function ($, Popper, Util) { 'use strict';
11
11
 
12
- $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
13
- Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
14
- Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util;
12
+ $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
13
+ Popper = Popper && Object.prototype.hasOwnProperty.call(Popper, 'default') ? Popper['default'] : Popper;
14
+ Util = Util && Object.prototype.hasOwnProperty.call(Util, 'default') ? Util['default'] : Util;
15
15
 
16
16
  function _defineProperties(target, props) {
17
17
  for (var i = 0; i < props.length; i++) {
@@ -80,7 +80,7 @@
80
80
 
81
81
  /**
82
82
  * --------------------------------------------------------------------------
83
- * Bootstrap (v4.4.1): tools/sanitizer.js
83
+ * Bootstrap (v4.5.0): tools/sanitizer.js
84
84
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
85
85
  * --------------------------------------------------------------------------
86
86
  */
@@ -105,7 +105,7 @@
105
105
  h5: [],
106
106
  h6: [],
107
107
  i: [],
108
- img: ['src', 'alt', 'title', 'width', 'height'],
108
+ img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],
109
109
  li: [],
110
110
  ol: [],
111
111
  p: [],
@@ -125,14 +125,14 @@
125
125
  * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts
126
126
  */
127
127
 
128
- var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;
128
+ var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi;
129
129
  /**
130
130
  * A pattern that matches safe data URLs. Only matches image, video and audio types.
131
131
  *
132
132
  * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts
133
133
  */
134
134
 
135
- var DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;
135
+ var DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;
136
136
 
137
137
  function allowedAttribute(attr, allowedAttributeList) {
138
138
  var attrName = attr.nodeName.toLowerCase();
@@ -149,7 +149,7 @@
149
149
  return attrRegex instanceof RegExp;
150
150
  }); // Check if a regular expression validates the attribute.
151
151
 
152
- for (var i = 0, l = regExp.length; i < l; i++) {
152
+ for (var i = 0, len = regExp.length; i < len; i++) {
153
153
  if (attrName.match(regExp[i])) {
154
154
  return true;
155
155
  }
@@ -206,7 +206,7 @@
206
206
  */
207
207
 
208
208
  var NAME = 'tooltip';
209
- var VERSION = '4.4.1';
209
+ var VERSION = '4.5.0';
210
210
  var DATA_KEY = 'bs.tooltip';
211
211
  var EVENT_KEY = "." + DATA_KEY;
212
212
  var JQUERY_NO_CONFLICT = $.fn[NAME];
@@ -256,10 +256,8 @@
256
256
  whiteList: DefaultWhitelist,
257
257
  popperConfig: null
258
258
  };
259
- var HoverState = {
260
- SHOW: 'show',
261
- OUT: 'out'
262
- };
259
+ var HOVER_STATE_SHOW = 'show';
260
+ var HOVER_STATE_OUT = 'out';
263
261
  var Event = {
264
262
  HIDE: "hide" + EVENT_KEY,
265
263
  HIDDEN: "hidden" + EVENT_KEY,
@@ -272,30 +270,21 @@
272
270
  MOUSEENTER: "mouseenter" + EVENT_KEY,
273
271
  MOUSELEAVE: "mouseleave" + EVENT_KEY
274
272
  };
275
- var ClassName = {
276
- FADE: 'fade',
277
- SHOW: 'show'
278
- };
279
- var Selector = {
280
- TOOLTIP: '.tooltip',
281
- TOOLTIP_INNER: '.tooltip-inner',
282
- ARROW: '.arrow'
283
- };
284
- var Trigger = {
285
- HOVER: 'hover',
286
- FOCUS: 'focus',
287
- CLICK: 'click',
288
- MANUAL: 'manual'
289
- };
273
+ var CLASS_NAME_FADE = 'fade';
274
+ var CLASS_NAME_SHOW = 'show';
275
+ var SELECTOR_TOOLTIP_INNER = '.tooltip-inner';
276
+ var SELECTOR_ARROW = '.arrow';
277
+ var TRIGGER_HOVER = 'hover';
278
+ var TRIGGER_FOCUS = 'focus';
279
+ var TRIGGER_CLICK = 'click';
280
+ var TRIGGER_MANUAL = 'manual';
290
281
  /**
291
282
  * ------------------------------------------------------------------------
292
283
  * Class Definition
293
284
  * ------------------------------------------------------------------------
294
285
  */
295
286
 
296
- var Tooltip =
297
- /*#__PURE__*/
298
- function () {
287
+ var Tooltip = /*#__PURE__*/function () {
299
288
  function Tooltip(element, config) {
300
289
  if (typeof Popper === 'undefined') {
301
290
  throw new TypeError('Bootstrap\'s tooltips require Popper.js (https://popper.js.org/)');
@@ -353,7 +342,7 @@
353
342
  context._leave(null, context);
354
343
  }
355
344
  } else {
356
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
345
+ if ($(this.getTipElement()).hasClass(CLASS_NAME_SHOW)) {
357
346
  this._leave(null, this);
358
347
 
359
348
  return;
@@ -413,7 +402,7 @@
413
402
  this.setContent();
414
403
 
415
404
  if (this.config.animation) {
416
- $(tip).addClass(ClassName.FADE);
405
+ $(tip).addClass(CLASS_NAME_FADE);
417
406
  }
418
407
 
419
408
  var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
@@ -432,7 +421,7 @@
432
421
 
433
422
  $(this.element).trigger(this.constructor.Event.INSERTED);
434
423
  this._popper = new Popper(this.element, tip, this._getPopperConfig(attachment));
435
- $(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
424
+ $(tip).addClass(CLASS_NAME_SHOW); // If this is a touch-enabled device we add extra
436
425
  // empty mouseover listeners to the body's immediate children;
437
426
  // only needed because of broken event delegation on iOS
438
427
  // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
@@ -450,12 +439,12 @@
450
439
  _this._hoverState = null;
451
440
  $(_this.element).trigger(_this.constructor.Event.SHOWN);
452
441
 
453
- if (prevHoverState === HoverState.OUT) {
442
+ if (prevHoverState === HOVER_STATE_OUT) {
454
443
  _this._leave(null, _this);
455
444
  }
456
445
  };
457
446
 
458
- if ($(this.tip).hasClass(ClassName.FADE)) {
447
+ if ($(this.tip).hasClass(CLASS_NAME_FADE)) {
459
448
  var transitionDuration = Util.getTransitionDurationFromElement(this.tip);
460
449
  $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
461
450
  } else {
@@ -471,7 +460,7 @@
471
460
  var hideEvent = $.Event(this.constructor.Event.HIDE);
472
461
 
473
462
  var complete = function complete() {
474
- if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
463
+ if (_this2._hoverState !== HOVER_STATE_SHOW && tip.parentNode) {
475
464
  tip.parentNode.removeChild(tip);
476
465
  }
477
466
 
@@ -496,18 +485,18 @@
496
485
  return;
497
486
  }
498
487
 
499
- $(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra
488
+ $(tip).removeClass(CLASS_NAME_SHOW); // If this is a touch-enabled device we remove the extra
500
489
  // empty mouseover listeners we added for iOS support
501
490
 
502
491
  if ('ontouchstart' in document.documentElement) {
503
492
  $(document.body).children().off('mouseover', null, $.noop);
504
493
  }
505
494
 
506
- this._activeTrigger[Trigger.CLICK] = false;
507
- this._activeTrigger[Trigger.FOCUS] = false;
508
- this._activeTrigger[Trigger.HOVER] = false;
495
+ this._activeTrigger[TRIGGER_CLICK] = false;
496
+ this._activeTrigger[TRIGGER_FOCUS] = false;
497
+ this._activeTrigger[TRIGGER_HOVER] = false;
509
498
 
510
- if ($(this.tip).hasClass(ClassName.FADE)) {
499
+ if ($(this.tip).hasClass(CLASS_NAME_FADE)) {
511
500
  var transitionDuration = Util.getTransitionDurationFromElement(tip);
512
501
  $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
513
502
  } else {
@@ -539,8 +528,8 @@
539
528
 
540
529
  _proto.setContent = function setContent() {
541
530
  var tip = this.getTipElement();
542
- this.setElementContent($(tip.querySelectorAll(Selector.TOOLTIP_INNER)), this.getTitle());
543
- $(tip).removeClass(ClassName.FADE + " " + ClassName.SHOW);
531
+ this.setElementContent($(tip.querySelectorAll(SELECTOR_TOOLTIP_INNER)), this.getTitle());
532
+ $(tip).removeClass(CLASS_NAME_FADE + " " + CLASS_NAME_SHOW);
544
533
  };
545
534
 
546
535
  _proto.setElementContent = function setElementContent($element, content) {
@@ -590,7 +579,7 @@
590
579
  behavior: this.config.fallbackPlacement
591
580
  },
592
581
  arrow: {
593
- element: Selector.ARROW
582
+ element: SELECTOR_ARROW
594
583
  },
595
584
  preventOverflow: {
596
585
  boundariesElement: this.config.boundary
@@ -605,7 +594,7 @@
605
594
  return _this3._handlePopperPlacementChange(data);
606
595
  }
607
596
  };
608
- return _objectSpread2({}, defaultBsConfig, {}, this.config.popperConfig);
597
+ return _objectSpread2(_objectSpread2({}, defaultBsConfig), this.config.popperConfig);
609
598
  };
610
599
 
611
600
  _proto._getOffset = function _getOffset() {
@@ -615,7 +604,7 @@
615
604
 
616
605
  if (typeof this.config.offset === 'function') {
617
606
  offset.fn = function (data) {
618
- data.offsets = _objectSpread2({}, data.offsets, {}, _this4.config.offset(data.offsets, _this4.element) || {});
607
+ data.offsets = _objectSpread2(_objectSpread2({}, data.offsets), _this4.config.offset(data.offsets, _this4.element) || {});
619
608
  return data;
620
609
  };
621
610
  } else {
@@ -650,9 +639,9 @@
650
639
  $(_this5.element).on(_this5.constructor.Event.CLICK, _this5.config.selector, function (event) {
651
640
  return _this5.toggle(event);
652
641
  });
653
- } else if (trigger !== Trigger.MANUAL) {
654
- var eventIn = trigger === Trigger.HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;
655
- var eventOut = trigger === Trigger.HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;
642
+ } else if (trigger !== TRIGGER_MANUAL) {
643
+ var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;
644
+ var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;
656
645
  $(_this5.element).on(eventIn, _this5.config.selector, function (event) {
657
646
  return _this5._enter(event);
658
647
  }).on(eventOut, _this5.config.selector, function (event) {
@@ -670,7 +659,7 @@
670
659
  $(this.element).closest('.modal').on('hide.bs.modal', this._hideModalHandler);
671
660
 
672
661
  if (this.config.selector) {
673
- this.config = _objectSpread2({}, this.config, {
662
+ this.config = _objectSpread2(_objectSpread2({}, this.config), {}, {
674
663
  trigger: 'manual',
675
664
  selector: ''
676
665
  });
@@ -698,16 +687,16 @@
698
687
  }
699
688
 
700
689
  if (event) {
701
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
690
+ context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;
702
691
  }
703
692
 
704
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
705
- context._hoverState = HoverState.SHOW;
693
+ if ($(context.getTipElement()).hasClass(CLASS_NAME_SHOW) || context._hoverState === HOVER_STATE_SHOW) {
694
+ context._hoverState = HOVER_STATE_SHOW;
706
695
  return;
707
696
  }
708
697
 
709
698
  clearTimeout(context._timeout);
710
- context._hoverState = HoverState.SHOW;
699
+ context._hoverState = HOVER_STATE_SHOW;
711
700
 
712
701
  if (!context.config.delay || !context.config.delay.show) {
713
702
  context.show();
@@ -715,7 +704,7 @@
715
704
  }
716
705
 
717
706
  context._timeout = setTimeout(function () {
718
- if (context._hoverState === HoverState.SHOW) {
707
+ if (context._hoverState === HOVER_STATE_SHOW) {
719
708
  context.show();
720
709
  }
721
710
  }, context.config.delay.show);
@@ -731,7 +720,7 @@
731
720
  }
732
721
 
733
722
  if (event) {
734
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
723
+ context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = false;
735
724
  }
736
725
 
737
726
  if (context._isWithActiveTrigger()) {
@@ -739,7 +728,7 @@
739
728
  }
740
729
 
741
730
  clearTimeout(context._timeout);
742
- context._hoverState = HoverState.OUT;
731
+ context._hoverState = HOVER_STATE_OUT;
743
732
 
744
733
  if (!context.config.delay || !context.config.delay.hide) {
745
734
  context.hide();
@@ -747,7 +736,7 @@
747
736
  }
748
737
 
749
738
  context._timeout = setTimeout(function () {
750
- if (context._hoverState === HoverState.OUT) {
739
+ if (context._hoverState === HOVER_STATE_OUT) {
751
740
  context.hide();
752
741
  }
753
742
  }, context.config.delay.hide);
@@ -770,7 +759,7 @@
770
759
  delete dataAttributes[dataAttr];
771
760
  }
772
761
  });
773
- config = _objectSpread2({}, this.constructor.Default, {}, dataAttributes, {}, typeof config === 'object' && config ? config : {});
762
+ config = _objectSpread2(_objectSpread2(_objectSpread2({}, this.constructor.Default), dataAttributes), typeof config === 'object' && config ? config : {});
774
763
 
775
764
  if (typeof config.delay === 'number') {
776
765
  config.delay = {
@@ -820,8 +809,7 @@
820
809
  };
821
810
 
822
811
  _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {
823
- var popperInstance = popperData.instance;
824
- this.tip = popperInstance.popper;
812
+ this.tip = popperData.instance.popper;
825
813
 
826
814
  this._cleanTipClass();
827
815
 
@@ -836,7 +824,7 @@
836
824
  return;
837
825
  }
838
826
 
839
- $(tip).removeClass(ClassName.FADE);
827
+ $(tip).removeClass(CLASS_NAME_FADE);
840
828
  this.config.animation = false;
841
829
  this.hide();
842
830
  this.show();
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap util.js v4.4.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap util.js v4.5.0 (https://getbootstrap.com/)
3
+ * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
@@ -9,11 +9,11 @@
9
9
  (global = global || self, global.Util = factory(global.jQuery));
10
10
  }(this, (function ($) { 'use strict';
11
11
 
12
- $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
12
+ $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
13
13
 
14
14
  /**
15
15
  * --------------------------------------------------------------------------
16
- * Bootstrap (v4.4.1): util.js
16
+ * Bootstrap (v4.5.0): util.js
17
17
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
18
18
  * --------------------------------------------------------------------------
19
19
  */
@@ -28,6 +28,10 @@
28
28
  var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
29
29
 
30
30
  function toType(obj) {
31
+ if (obj === null || typeof obj === 'undefined') {
32
+ return "" + obj;
33
+ }
34
+
31
35
  return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase();
32
36
  }
33
37
 
@@ -40,7 +44,7 @@
40
44
  return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
41
45
  }
42
46
 
43
- return undefined; // eslint-disable-line no-undefined
47
+ return undefined;
44
48
  }
45
49
  };
46
50
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * Bootstrap Grid v4.4.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2019 The Bootstrap Authors
4
- * Copyright 2011-2019 Twitter, Inc.
2
+ * Bootstrap Grid v4.5.0 (https://getbootstrap.com/)
3
+ * Copyright 2011-2020 The Bootstrap Authors
4
+ * Copyright 2011-2020 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2019 The Bootstrap Authors
4
- * Copyright 2011-2019 Twitter, Inc.
2
+ * Bootstrap Reboot v4.5.0 (https://getbootstrap.com/)
3
+ * Copyright 2011-2020 The Bootstrap Authors
4
+ * Copyright 2011-2020 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
6
  * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * Bootstrap v4.4.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2019 The Bootstrap Authors
4
- * Copyright 2011-2019 Twitter, Inc.
2
+ * Bootstrap v4.5.0 (https://getbootstrap.com/)
3
+ * Copyright 2011-2020 The Bootstrap Authors
4
+ * Copyright 2011-2020 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
6
  */
7
7
 
@@ -10,6 +10,8 @@
10
10
  }
11
11
 
12
12
  .breadcrumb-item {
13
+ display: flex;
14
+
13
15
  // The separator between breadcrumbs (by default, a forward-slash: "/")
14
16
  + .breadcrumb-item {
15
17
  padding-left: $breadcrumb-item-padding;
@@ -10,9 +10,9 @@
10
10
  font-weight: $btn-font-weight;
11
11
  color: $body-color;
12
12
  text-align: center;
13
+ text-decoration: if($link-decoration == none, null, none);
13
14
  white-space: $btn-white-space;
14
15
  vertical-align: middle;
15
- cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
16
16
  user-select: none;
17
17
  background-color: transparent;
18
18
  border: $btn-border-width solid transparent;
@@ -37,12 +37,16 @@
37
37
  @include box-shadow(none);
38
38
  }
39
39
 
40
- &:not(:disabled):not(.disabled):active,
41
- &:not(:disabled):not(.disabled).active {
42
- @include box-shadow($btn-active-box-shadow);
40
+ &:not(:disabled):not(.disabled) {
41
+ cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
43
42
 
44
- &:focus {
45
- @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
43
+ &:active,
44
+ &.active {
45
+ @include box-shadow($btn-active-box-shadow);
46
+
47
+ &:focus {
48
+ @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
49
+ }
46
50
  }
47
51
  }
48
52
  }
@@ -89,7 +93,6 @@ fieldset:disabled a.btn {
89
93
  &:focus,
90
94
  &.focus {
91
95
  text-decoration: $link-hover-decoration;
92
- box-shadow: none;
93
96
  }
94
97
 
95
98
  &:disabled,