bootstrap 4.6.2.1 → 5.3.5
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 +4 -4
- data/.github/workflows/ci.yml +61 -0
- data/CHANGELOG.md +7 -2
- data/Gemfile +1 -0
- data/README.md +33 -15
- data/Rakefile +1 -2
- data/assets/javascripts/bootstrap/alert.js +50 -147
- data/assets/javascripts/bootstrap/base-component.js +83 -0
- data/assets/javascripts/bootstrap/button.js +40 -190
- data/assets/javascripts/bootstrap/carousel.js +282 -537
- data/assets/javascripts/bootstrap/collapse.js +166 -314
- data/assets/javascripts/bootstrap/dom/data.js +62 -0
- data/assets/javascripts/bootstrap/dom/event-handler.js +236 -0
- data/assets/javascripts/bootstrap/dom/manipulator.js +71 -0
- data/assets/javascripts/bootstrap/dom/selector-engine.js +103 -0
- data/assets/javascripts/bootstrap/dropdown.js +297 -455
- data/assets/javascripts/bootstrap/modal.js +223 -566
- data/assets/javascripts/bootstrap/offcanvas.js +245 -0
- data/assets/javascripts/bootstrap/popover.js +59 -208
- data/assets/javascripts/bootstrap/scrollspy.js +213 -276
- data/assets/javascripts/bootstrap/tab.js +222 -200
- data/assets/javascripts/bootstrap/toast.js +137 -206
- data/assets/javascripts/bootstrap/tooltip.js +403 -747
- data/assets/javascripts/bootstrap/util/backdrop.js +138 -0
- data/assets/javascripts/bootstrap/util/component-functions.js +41 -0
- data/assets/javascripts/bootstrap/util/config.js +67 -0
- data/assets/javascripts/bootstrap/util/focustrap.js +112 -0
- data/assets/javascripts/bootstrap/util/index.js +280 -0
- data/assets/javascripts/bootstrap/util/sanitizer.js +113 -0
- data/assets/javascripts/bootstrap/util/scrollbar.js +112 -0
- data/assets/javascripts/bootstrap/util/swipe.js +134 -0
- data/assets/javascripts/bootstrap/util/template-factory.js +150 -0
- data/assets/javascripts/bootstrap-global-this-define.js +6 -0
- data/assets/javascripts/bootstrap-global-this-undefine.js +2 -0
- data/assets/javascripts/bootstrap-sprockets.js +21 -5
- data/assets/javascripts/bootstrap.js +3625 -3488
- data/assets/javascripts/bootstrap.min.js +3 -3
- data/assets/stylesheets/_bootstrap-grid.scss +53 -21
- data/assets/stylesheets/_bootstrap-reboot.scss +5 -7
- data/assets/stylesheets/_bootstrap-utilities.scss +19 -0
- data/assets/stylesheets/_bootstrap.scss +21 -13
- data/assets/stylesheets/bootstrap/_accordion.scss +153 -0
- data/assets/stylesheets/bootstrap/_alert.scss +32 -16
- data/assets/stylesheets/bootstrap/_badge.scss +15 -31
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +22 -24
- data/assets/stylesheets/bootstrap/_button-group.scss +32 -48
- data/assets/stylesheets/bootstrap/_buttons.scss +145 -71
- data/assets/stylesheets/bootstrap/_card.scss +67 -115
- data/assets/stylesheets/bootstrap/_carousel.scss +63 -37
- data/assets/stylesheets/bootstrap/_close.scss +53 -27
- data/assets/stylesheets/bootstrap/_containers.scss +41 -0
- data/assets/stylesheets/bootstrap/_dropdown.scss +129 -71
- data/assets/stylesheets/bootstrap/_forms.scss +9 -347
- data/assets/stylesheets/bootstrap/_functions.scss +135 -23
- data/assets/stylesheets/bootstrap/_grid.scss +18 -52
- data/assets/stylesheets/bootstrap/_helpers.scss +12 -0
- data/assets/stylesheets/bootstrap/_list-group.scss +93 -48
- data/assets/stylesheets/bootstrap/_maps.scss +174 -0
- data/assets/stylesheets/bootstrap/_mixins.scss +10 -15
- data/assets/stylesheets/bootstrap/_modal.scss +112 -112
- data/assets/stylesheets/bootstrap/_nav.scss +100 -28
- data/assets/stylesheets/bootstrap/_navbar.scss +130 -173
- data/assets/stylesheets/bootstrap/_offcanvas.scss +147 -0
- data/assets/stylesheets/bootstrap/_pagination.scss +72 -37
- data/assets/stylesheets/bootstrap/_placeholders.scss +51 -0
- data/assets/stylesheets/bootstrap/_popover.scss +99 -73
- data/assets/stylesheets/bootstrap/_progress.scss +35 -14
- data/assets/stylesheets/bootstrap/_reboot.scss +319 -192
- data/assets/stylesheets/bootstrap/_root.scss +177 -9
- data/assets/stylesheets/bootstrap/_spinners.scss +43 -23
- data/assets/stylesheets/bootstrap/_tables.scss +101 -115
- data/assets/stylesheets/bootstrap/_toasts.scss +54 -27
- data/assets/stylesheets/bootstrap/_tooltip.scss +67 -63
- data/assets/stylesheets/bootstrap/_transitions.scss +3 -2
- data/assets/stylesheets/bootstrap/_type.scss +40 -59
- data/assets/stylesheets/bootstrap/_utilities.scss +806 -18
- data/assets/stylesheets/bootstrap/_variables-dark.scss +102 -0
- data/assets/stylesheets/bootstrap/_variables.scss +1210 -606
- data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +97 -0
- data/assets/stylesheets/bootstrap/forms/_form-check.scss +189 -0
- data/assets/stylesheets/bootstrap/forms/_form-control.scss +214 -0
- data/assets/stylesheets/bootstrap/forms/_form-range.scss +91 -0
- data/assets/stylesheets/bootstrap/forms/_form-select.scss +80 -0
- data/assets/stylesheets/bootstrap/forms/_form-text.scss +11 -0
- data/assets/stylesheets/bootstrap/forms/_input-group.scss +132 -0
- data/assets/stylesheets/bootstrap/forms/_labels.scss +36 -0
- data/assets/stylesheets/bootstrap/forms/_validation.scss +12 -0
- data/assets/stylesheets/bootstrap/helpers/_color-bg.scss +7 -0
- data/assets/stylesheets/bootstrap/helpers/_colored-links.scss +30 -0
- data/assets/stylesheets/bootstrap/helpers/_focus-ring.scss +5 -0
- data/assets/stylesheets/bootstrap/helpers/_icon-link.scss +25 -0
- data/assets/stylesheets/bootstrap/helpers/_position.scss +36 -0
- data/assets/stylesheets/bootstrap/helpers/_ratio.scss +26 -0
- data/assets/stylesheets/bootstrap/helpers/_stacks.scss +15 -0
- data/assets/stylesheets/bootstrap/helpers/_stretched-link.scss +15 -0
- data/assets/stylesheets/bootstrap/helpers/_text-truncation.scss +7 -0
- data/assets/stylesheets/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/assets/stylesheets/bootstrap/helpers/_vr.scss +8 -0
- data/assets/stylesheets/bootstrap/mixins/_alert.scss +11 -6
- data/assets/stylesheets/bootstrap/mixins/_backdrop.scss +14 -0
- data/assets/stylesheets/bootstrap/mixins/_banner.scss +7 -0
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +10 -8
- data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +7 -9
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +20 -16
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +60 -100
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +34 -27
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_color-mode.scss +21 -0
- data/assets/stylesheets/bootstrap/mixins/_color-scheme.scss +7 -0
- data/assets/stylesheets/bootstrap/mixins/_container.scss +11 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +64 -96
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +13 -11
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +118 -36
- data/assets/stylesheets/bootstrap/mixins/_image.scss +1 -21
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +7 -2
- data/assets/stylesheets/bootstrap/mixins/_lists.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +7 -19
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +24 -0
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_utilities.scss +97 -0
- data/assets/stylesheets/bootstrap/mixins/_visually-hidden.scss +33 -0
- data/assets/stylesheets/bootstrap/utilities/_api.scss +47 -0
- data/assets/stylesheets/bootstrap/vendor/_rfs.scss +211 -91
- data/bootstrap.gemspec +6 -6
- data/lib/bootstrap/engine.rb +0 -1
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +17 -5
- data/tasks/updater/network.rb +2 -2
- data/tasks/updater/scss.rb +2 -2
- data/tasks/updater.rb +2 -2
- data/test/dummy_rails/app/assets/javascripts/application.js +4 -3
- data/test/dummy_rails/app/views/layouts/application.html.erb +3 -1
- data/test/dummy_rails/app/views/pages/root.html +89 -0
- data/test/dummy_rails/config/application.rb +0 -5
- data/test/dummy_rails/public/favicon.ico +0 -0
- data/test/gemfiles/rails_4_2.gemfile +2 -1
- data/test/gemfiles/rails_5_0.gemfile +1 -2
- data/test/gemfiles/rails_5_1.gemfile +1 -2
- data/test/gemfiles/rails_5_2.gemfile +7 -0
- data/test/gemfiles/rails_6_0.gemfile +1 -1
- data/test/gemfiles/rails_6_1.gemfile +7 -0
- data/test/gemfiles/rails_7_0_dartsass.gemfile +0 -1
- data/test/gemfiles/rails_7_0_sassc.gemfile +0 -1
- data/test/rails_test.rb +0 -5
- data/test/test_helper.rb +3 -2
- metadata +92 -86
- data/.travis.yml +0 -31
- data/assets/javascripts/bootstrap/util.js +0 -189
- data/assets/stylesheets/bootstrap/_code.scss +0 -48
- data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -526
- data/assets/stylesheets/bootstrap/_input-group.scss +0 -211
- data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -17
- data/assets/stylesheets/bootstrap/_media.scss +0 -8
- data/assets/stylesheets/bootstrap/_print.scss +0 -132
- data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -23
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_float.scss +0 -14
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -80
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -34
- data/assets/stylesheets/bootstrap/mixins/_size.scss +0 -7
- data/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -39
- data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -75
- data/assets/stylesheets/bootstrap/utilities/_display.scss +0 -26
- data/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -39
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -51
- data/assets/stylesheets/bootstrap/utilities/_float.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_interactions.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_overflow.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -32
- data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_shadows.scss +0 -6
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -20
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -73
- data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_text.scss +0 -72
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -13
- data/test/dummy_rails/app/views/pages/root.html.slim +0 -58
- /data/assets/stylesheets/bootstrap/{utilities → helpers}/_clearfix.scss +0 -0
data/.travis.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
addons:
|
4
|
-
apt:
|
5
|
-
packages:
|
6
|
-
- chromium-browser
|
7
|
-
rvm:
|
8
|
-
- 2.5
|
9
|
-
- 2.6
|
10
|
-
- 2.7
|
11
|
-
|
12
|
-
gemfile:
|
13
|
-
- test/gemfiles/rails_4_2.gemfile
|
14
|
-
- test/gemfiles/rails_5_0.gemfile
|
15
|
-
- test/gemfiles/rails_5_1.gemfile
|
16
|
-
- test/gemfiles/rails_6_0.gemfile
|
17
|
-
|
18
|
-
jobs:
|
19
|
-
exclude:
|
20
|
-
rvm: 2.7
|
21
|
-
gemfile: test/gemfiles/rails_4_2.gemfile
|
22
|
-
|
23
|
-
cache: bundler
|
24
|
-
bundler_args: --path ../../vendor/bundle --without debug
|
25
|
-
notifications:
|
26
|
-
slack: heybb:3n88HHilXn76ji9vV4gL819Y
|
27
|
-
env:
|
28
|
-
global:
|
29
|
-
- VERBOSE=1
|
30
|
-
script:
|
31
|
-
bundle exec rake --trace
|
@@ -1,189 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Bootstrap util.js v4.6.2 (https://getbootstrap.com/)
|
3
|
-
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5
|
-
*/
|
6
|
-
(function (global, factory) {
|
7
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
9
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Util = factory(global.jQuery));
|
10
|
-
})(this, (function ($) { 'use strict';
|
11
|
-
|
12
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
13
|
-
|
14
|
-
var $__default = /*#__PURE__*/_interopDefaultLegacy($);
|
15
|
-
|
16
|
-
/**
|
17
|
-
* --------------------------------------------------------------------------
|
18
|
-
* Bootstrap (v4.6.2): util.js
|
19
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
20
|
-
* --------------------------------------------------------------------------
|
21
|
-
*/
|
22
|
-
/**
|
23
|
-
* Private TransitionEnd Helpers
|
24
|
-
*/
|
25
|
-
|
26
|
-
var TRANSITION_END = 'transitionend';
|
27
|
-
var MAX_UID = 1000000;
|
28
|
-
var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
|
29
|
-
|
30
|
-
function toType(obj) {
|
31
|
-
if (obj === null || typeof obj === 'undefined') {
|
32
|
-
return "" + obj;
|
33
|
-
}
|
34
|
-
|
35
|
-
return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase();
|
36
|
-
}
|
37
|
-
|
38
|
-
function getSpecialTransitionEndEvent() {
|
39
|
-
return {
|
40
|
-
bindType: TRANSITION_END,
|
41
|
-
delegateType: TRANSITION_END,
|
42
|
-
handle: function handle(event) {
|
43
|
-
if ($__default["default"](event.target).is(this)) {
|
44
|
-
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
|
45
|
-
}
|
46
|
-
|
47
|
-
return undefined;
|
48
|
-
}
|
49
|
-
};
|
50
|
-
}
|
51
|
-
|
52
|
-
function transitionEndEmulator(duration) {
|
53
|
-
var _this = this;
|
54
|
-
|
55
|
-
var called = false;
|
56
|
-
$__default["default"](this).one(Util.TRANSITION_END, function () {
|
57
|
-
called = true;
|
58
|
-
});
|
59
|
-
setTimeout(function () {
|
60
|
-
if (!called) {
|
61
|
-
Util.triggerTransitionEnd(_this);
|
62
|
-
}
|
63
|
-
}, duration);
|
64
|
-
return this;
|
65
|
-
}
|
66
|
-
|
67
|
-
function setTransitionEndSupport() {
|
68
|
-
$__default["default"].fn.emulateTransitionEnd = transitionEndEmulator;
|
69
|
-
$__default["default"].event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
|
70
|
-
}
|
71
|
-
/**
|
72
|
-
* Public Util API
|
73
|
-
*/
|
74
|
-
|
75
|
-
|
76
|
-
var Util = {
|
77
|
-
TRANSITION_END: 'bsTransitionEnd',
|
78
|
-
getUID: function getUID(prefix) {
|
79
|
-
do {
|
80
|
-
// eslint-disable-next-line no-bitwise
|
81
|
-
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
|
82
|
-
} while (document.getElementById(prefix));
|
83
|
-
|
84
|
-
return prefix;
|
85
|
-
},
|
86
|
-
getSelectorFromElement: function getSelectorFromElement(element) {
|
87
|
-
var selector = element.getAttribute('data-target');
|
88
|
-
|
89
|
-
if (!selector || selector === '#') {
|
90
|
-
var hrefAttr = element.getAttribute('href');
|
91
|
-
selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : '';
|
92
|
-
}
|
93
|
-
|
94
|
-
try {
|
95
|
-
return document.querySelector(selector) ? selector : null;
|
96
|
-
} catch (_) {
|
97
|
-
return null;
|
98
|
-
}
|
99
|
-
},
|
100
|
-
getTransitionDurationFromElement: function getTransitionDurationFromElement(element) {
|
101
|
-
if (!element) {
|
102
|
-
return 0;
|
103
|
-
} // Get transition-duration of the element
|
104
|
-
|
105
|
-
|
106
|
-
var transitionDuration = $__default["default"](element).css('transition-duration');
|
107
|
-
var transitionDelay = $__default["default"](element).css('transition-delay');
|
108
|
-
var floatTransitionDuration = parseFloat(transitionDuration);
|
109
|
-
var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found
|
110
|
-
|
111
|
-
if (!floatTransitionDuration && !floatTransitionDelay) {
|
112
|
-
return 0;
|
113
|
-
} // If multiple durations are defined, take the first
|
114
|
-
|
115
|
-
|
116
|
-
transitionDuration = transitionDuration.split(',')[0];
|
117
|
-
transitionDelay = transitionDelay.split(',')[0];
|
118
|
-
return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;
|
119
|
-
},
|
120
|
-
reflow: function reflow(element) {
|
121
|
-
return element.offsetHeight;
|
122
|
-
},
|
123
|
-
triggerTransitionEnd: function triggerTransitionEnd(element) {
|
124
|
-
$__default["default"](element).trigger(TRANSITION_END);
|
125
|
-
},
|
126
|
-
supportsTransitionEnd: function supportsTransitionEnd() {
|
127
|
-
return Boolean(TRANSITION_END);
|
128
|
-
},
|
129
|
-
isElement: function isElement(obj) {
|
130
|
-
return (obj[0] || obj).nodeType;
|
131
|
-
},
|
132
|
-
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
|
133
|
-
for (var property in configTypes) {
|
134
|
-
if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
|
135
|
-
var expectedTypes = configTypes[property];
|
136
|
-
var value = config[property];
|
137
|
-
var valueType = value && Util.isElement(value) ? 'element' : toType(value);
|
138
|
-
|
139
|
-
if (!new RegExp(expectedTypes).test(valueType)) {
|
140
|
-
throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
},
|
145
|
-
findShadowRoot: function findShadowRoot(element) {
|
146
|
-
if (!document.documentElement.attachShadow) {
|
147
|
-
return null;
|
148
|
-
} // Can find the shadow root otherwise it'll return the document
|
149
|
-
|
150
|
-
|
151
|
-
if (typeof element.getRootNode === 'function') {
|
152
|
-
var root = element.getRootNode();
|
153
|
-
return root instanceof ShadowRoot ? root : null;
|
154
|
-
}
|
155
|
-
|
156
|
-
if (element instanceof ShadowRoot) {
|
157
|
-
return element;
|
158
|
-
} // when we don't find a shadow root
|
159
|
-
|
160
|
-
|
161
|
-
if (!element.parentNode) {
|
162
|
-
return null;
|
163
|
-
}
|
164
|
-
|
165
|
-
return Util.findShadowRoot(element.parentNode);
|
166
|
-
},
|
167
|
-
jQueryDetection: function jQueryDetection() {
|
168
|
-
if (typeof $__default["default"] === 'undefined') {
|
169
|
-
throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
|
170
|
-
}
|
171
|
-
|
172
|
-
var version = $__default["default"].fn.jquery.split(' ')[0].split('.');
|
173
|
-
var minMajor = 1;
|
174
|
-
var ltMajor = 2;
|
175
|
-
var minMinor = 9;
|
176
|
-
var minPatch = 1;
|
177
|
-
var maxMajor = 4;
|
178
|
-
|
179
|
-
if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
|
180
|
-
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0');
|
181
|
-
}
|
182
|
-
}
|
183
|
-
};
|
184
|
-
Util.jQueryDetection();
|
185
|
-
setTransitionEndSupport();
|
186
|
-
|
187
|
-
return Util;
|
188
|
-
|
189
|
-
}));
|
@@ -1,48 +0,0 @@
|
|
1
|
-
// Inline code
|
2
|
-
code {
|
3
|
-
@include font-size($code-font-size);
|
4
|
-
color: $code-color;
|
5
|
-
word-wrap: break-word;
|
6
|
-
|
7
|
-
// Streamline the style when inside anchors to avoid broken underline and more
|
8
|
-
a > & {
|
9
|
-
color: inherit;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
// User input typically entered via keyboard
|
14
|
-
kbd {
|
15
|
-
padding: $kbd-padding-y $kbd-padding-x;
|
16
|
-
@include font-size($kbd-font-size);
|
17
|
-
color: $kbd-color;
|
18
|
-
background-color: $kbd-bg;
|
19
|
-
@include border-radius($border-radius-sm);
|
20
|
-
@include box-shadow($kbd-box-shadow);
|
21
|
-
|
22
|
-
kbd {
|
23
|
-
padding: 0;
|
24
|
-
@include font-size(100%);
|
25
|
-
font-weight: $nested-kbd-font-weight;
|
26
|
-
@include box-shadow(none);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
// Blocks of code
|
31
|
-
pre {
|
32
|
-
display: block;
|
33
|
-
@include font-size($code-font-size);
|
34
|
-
color: $pre-color;
|
35
|
-
|
36
|
-
// Account for some code outputs that place code tags in pre tags
|
37
|
-
code {
|
38
|
-
@include font-size(inherit);
|
39
|
-
color: inherit;
|
40
|
-
word-break: normal;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
// Enable scrollable blocks of code
|
45
|
-
.pre-scrollable {
|
46
|
-
max-height: $pre-scrollable-max-height;
|
47
|
-
overflow-y: scroll;
|
48
|
-
}
|