mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
Dist.
This commit is contained in:
+3
-3
@@ -37,8 +37,8 @@ themes: https://themes.getbootstrap.com
|
||||
cdn:
|
||||
# See https://www.srihash.org for info on how to generate the hashes
|
||||
css: https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css
|
||||
css_hash: "sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
|
||||
css_hash: "sha384-PmY9l28YgO4JwMKbTvgaS7XNZJ30MK9FAZjjzXtlqyZCqBY6X6bXIkM++IkyinN+"
|
||||
css_theme: https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap-theme.min.css
|
||||
css_theme_hash: "sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
|
||||
css_theme_hash: "sha384-jzngWsPS6op3fgRCDTESqrEJwRKck+CILhJVO5VvaAZCq8JYf8HsR/HPpBOOPZfR"
|
||||
js: https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js
|
||||
js_hash: "sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
|
||||
js_hash: "sha384-vhJnz1OVIdLktyixHY4Uk3OHEwdQqPppqYR8+5mjsauETgLOcEynD9oPHhhz18Nw"
|
||||
|
||||
@@ -1,15 +1,8 @@
|
||||
/* stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors */
|
||||
/*!
|
||||
* Bootstrap v3.4.0 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Bootstrap v3.4.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
/* stylelint-disable value-keyword-case */
|
||||
/* stylelint-disable font-family-name-quotes, font-family-no-missing-generic-family-keyword */
|
||||
/* stylelint-disable media-feature-name-no-vendor-prefix, media-feature-parentheses-space-inside, media-feature-name-no-unknown, indentation, at-rule-name-space-after */
|
||||
/* stylelint-disable declaration-no-important */
|
||||
/* stylelint-disable indentation, property-no-vendor-prefix, selector-no-vendor-prefix */
|
||||
/* stylelint-disable value-no-vendor-prefix, selector-max-id */
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+562
-483
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+71
-55
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Bootstrap v3.4.0 (http://getbootstrap.com)
|
||||
* Bootstrap v3.4.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
@@ -18,9 +18,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: transition.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#transitions
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#transitions
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -28,7 +28,7 @@ if (typeof jQuery === 'undefined') {
|
||||
+function ($) {
|
||||
'use strict';
|
||||
|
||||
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
||||
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
|
||||
// ============================================================
|
||||
|
||||
function transitionEnd() {
|
||||
@@ -50,7 +50,7 @@ if (typeof jQuery === 'undefined') {
|
||||
return false // explicit for ie8 ( ._.)
|
||||
}
|
||||
|
||||
// http://blog.alexmaccaw.com/css-transitions
|
||||
// https://blog.alexmaccaw.com/css-transitions
|
||||
$.fn.emulateTransitionEnd = function (duration) {
|
||||
var called = false
|
||||
var $el = this
|
||||
@@ -78,9 +78,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: alert.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#alerts
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#alerts
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -174,9 +174,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: button.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#buttons
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#buttons
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -300,9 +300,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: carousel.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#carousel
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#carousel
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -547,9 +547,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: collapse.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#collapse
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#collapse
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -760,9 +760,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: dropdown.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#dropdowns
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#dropdowns
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -926,9 +926,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: modal.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#modals
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#modals
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -940,15 +940,16 @@ if (typeof jQuery === 'undefined') {
|
||||
// ======================
|
||||
|
||||
var Modal = function (element, options) {
|
||||
this.options = options
|
||||
this.$body = $(document.body)
|
||||
this.$element = $(element)
|
||||
this.$dialog = this.$element.find('.modal-dialog')
|
||||
this.$backdrop = null
|
||||
this.isShown = null
|
||||
this.originalBodyPad = null
|
||||
this.scrollbarWidth = 0
|
||||
this.options = options
|
||||
this.$body = $(document.body)
|
||||
this.$element = $(element)
|
||||
this.$dialog = this.$element.find('.modal-dialog')
|
||||
this.$backdrop = null
|
||||
this.isShown = null
|
||||
this.originalBodyPad = null
|
||||
this.scrollbarWidth = 0
|
||||
this.ignoreBackdropClick = false
|
||||
this.fixedContent = '.navbar-fixed-top, .navbar-fixed-bottom'
|
||||
|
||||
if (this.options.remote) {
|
||||
this.$element
|
||||
@@ -959,7 +960,7 @@ if (typeof jQuery === 'undefined') {
|
||||
}
|
||||
}
|
||||
|
||||
Modal.VERSION = '3.4.0'
|
||||
Modal.VERSION = '3.4.0'
|
||||
|
||||
Modal.TRANSITION_DURATION = 300
|
||||
Modal.BACKDROP_TRANSITION_DURATION = 150
|
||||
@@ -976,7 +977,7 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
Modal.prototype.show = function (_relatedTarget) {
|
||||
var that = this
|
||||
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
||||
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
||||
|
||||
this.$element.trigger(e)
|
||||
|
||||
@@ -1067,8 +1068,8 @@ if (typeof jQuery === 'undefined') {
|
||||
.off('focusin.bs.modal') // guard against infinite focus loop
|
||||
.on('focusin.bs.modal', $.proxy(function (e) {
|
||||
if (document !== e.target &&
|
||||
this.$element[0] !== e.target &&
|
||||
!this.$element.has(e.target).length) {
|
||||
this.$element[0] !== e.target &&
|
||||
!this.$element.has(e.target).length) {
|
||||
this.$element.trigger('focus')
|
||||
}
|
||||
}, this))
|
||||
@@ -1170,7 +1171,7 @@ if (typeof jQuery === 'undefined') {
|
||||
var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
|
||||
|
||||
this.$element.css({
|
||||
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
|
||||
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
|
||||
paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
|
||||
})
|
||||
}
|
||||
@@ -1195,11 +1196,26 @@ if (typeof jQuery === 'undefined') {
|
||||
Modal.prototype.setScrollbar = function () {
|
||||
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
|
||||
this.originalBodyPad = document.body.style.paddingRight || ''
|
||||
if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
|
||||
var scrollbarWidth = this.scrollbarWidth
|
||||
if (this.bodyIsOverflowing) {
|
||||
this.$body.css('padding-right', bodyPad + scrollbarWidth)
|
||||
$(this.fixedContent).each(function (index, element) {
|
||||
var actualPadding = element.style.paddingRight
|
||||
var calculatedPadding = $(element).css('padding-right')
|
||||
$(element)
|
||||
.data('padding-right', actualPadding)
|
||||
.css('padding-right', parseFloat(calculatedPadding) + scrollbarWidth + 'px')
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Modal.prototype.resetScrollbar = function () {
|
||||
this.$body.css('padding-right', this.originalBodyPad)
|
||||
$(this.fixedContent).each(function (index, element) {
|
||||
var padding = $(element).data('padding-right')
|
||||
$(element).removeData('padding-right')
|
||||
element.style.paddingRight = padding ? padding : ''
|
||||
})
|
||||
}
|
||||
|
||||
Modal.prototype.measureScrollbar = function () { // thx walsh
|
||||
@@ -1217,8 +1233,8 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
function Plugin(option, _relatedTarget) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
var data = $this.data('bs.modal')
|
||||
var $this = $(this)
|
||||
var data = $this.data('bs.modal')
|
||||
var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
||||
|
||||
if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
|
||||
@@ -1229,7 +1245,7 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
var old = $.fn.modal
|
||||
|
||||
$.fn.modal = Plugin
|
||||
$.fn.modal = Plugin
|
||||
$.fn.modal.Constructor = Modal
|
||||
|
||||
|
||||
@@ -1246,13 +1262,13 @@ if (typeof jQuery === 'undefined') {
|
||||
// ==============
|
||||
|
||||
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
|
||||
var $this = $(this)
|
||||
var href = $this.attr('href')
|
||||
var target = $this.attr('data-target') ||
|
||||
var $this = $(this)
|
||||
var href = $this.attr('href')
|
||||
var target = $this.attr('data-target') ||
|
||||
(href && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
|
||||
|
||||
var $target = $(document).find(target)
|
||||
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
||||
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
||||
|
||||
if ($this.is('a')) e.preventDefault()
|
||||
|
||||
@@ -1269,10 +1285,10 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: tooltip.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#tooltip
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#tooltip
|
||||
* Inspired by the original jQuery.tipsy by Jason Frame
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -1790,9 +1806,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: popover.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#popovers
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#popovers
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -1857,8 +1873,8 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
return $e.attr('data-content')
|
||||
|| (typeof o.content == 'function' ?
|
||||
o.content.call($e[0]) :
|
||||
o.content)
|
||||
o.content.call($e[0]) :
|
||||
o.content)
|
||||
}
|
||||
|
||||
Popover.prototype.arrow = function () {
|
||||
@@ -1899,9 +1915,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: scrollspy.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#scrollspy
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#scrollspy
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -2072,9 +2088,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: tab.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#tabs
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#tabs
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -2145,15 +2161,15 @@ if (typeof jQuery === 'undefined') {
|
||||
$active
|
||||
.removeClass('active')
|
||||
.find('> .dropdown-menu > .active')
|
||||
.removeClass('active')
|
||||
.removeClass('active')
|
||||
.end()
|
||||
.find('[data-toggle="tab"]')
|
||||
.attr('aria-expanded', false)
|
||||
.attr('aria-expanded', false)
|
||||
|
||||
element
|
||||
.addClass('active')
|
||||
.find('[data-toggle="tab"]')
|
||||
.attr('aria-expanded', true)
|
||||
.attr('aria-expanded', true)
|
||||
|
||||
if (transition) {
|
||||
element[0].offsetWidth // reflow for transition
|
||||
@@ -2165,10 +2181,10 @@ if (typeof jQuery === 'undefined') {
|
||||
if (element.parent('.dropdown-menu').length) {
|
||||
element
|
||||
.closest('li.dropdown')
|
||||
.addClass('active')
|
||||
.addClass('active')
|
||||
.end()
|
||||
.find('[data-toggle="tab"]')
|
||||
.attr('aria-expanded', true)
|
||||
.attr('aria-expanded', true)
|
||||
}
|
||||
|
||||
callback && callback()
|
||||
@@ -2228,9 +2244,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: affix.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#affix
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#affix
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
|
||||
Vendored
+6
-1
File diff suppressed because one or more lines are too long
+54
-56
@@ -1,10 +1,9 @@
|
||||
/*!
|
||||
* Bootstrap Docs (http://getbootstrap.com)
|
||||
* Copyright 2011-2017 Twitter, Inc.
|
||||
* Bootstrap Docs (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
||||
* details, see https://creativecommons.org/licenses/by/3.0/.
|
||||
*/
|
||||
/* stylelint-disable declaration-block-single-line-max-declarations */
|
||||
.hll {
|
||||
background-color: #ffc;
|
||||
}
|
||||
@@ -218,27 +217,25 @@
|
||||
display: inline-block;
|
||||
padding-right: 45px;
|
||||
}
|
||||
/* stylelint-disable at-rule-no-vendor-prefix */
|
||||
.language-bash:before {
|
||||
color: #033;
|
||||
content: "$ ";
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
/*!
|
||||
* IE10 viewport hack for Surface/desktop Windows 8 bug
|
||||
* Copyright 2014-2015 Twitter, Inc.
|
||||
* Copyright 2014-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
@-ms-viewport {
|
||||
width: device-width;
|
||||
}
|
||||
@-o-viewport {
|
||||
width: device-width;
|
||||
}
|
||||
@viewport {
|
||||
width: device-width;
|
||||
}
|
||||
/* stylelint-disable value-keyword-case */
|
||||
/* stylelint-disable font-family-name-quotes, font-family-no-missing-generic-family-keyword */
|
||||
/* stylelint-disable media-feature-name-no-vendor-prefix, media-feature-parentheses-space-inside, media-feature-name-no-unknown, indentation, at-rule-name-space-after */
|
||||
/* stylelint-disable declaration-no-important */
|
||||
/* stylelint-disable indentation, property-no-vendor-prefix, selector-no-vendor-prefix */
|
||||
/* stylelint-disable value-no-vendor-prefix, selector-max-id */
|
||||
.btn-outline {
|
||||
color: #563d7c;
|
||||
background-color: transparent;
|
||||
@@ -293,7 +290,6 @@
|
||||
background-color: transparent;
|
||||
border: 1px solid #cdbfe3;
|
||||
}
|
||||
/* stylelint-disable selector-max-id */
|
||||
#skippy {
|
||||
display: block;
|
||||
padding: 1em;
|
||||
@@ -302,7 +298,7 @@
|
||||
outline: 0;
|
||||
}
|
||||
#skippy .skiplink-text {
|
||||
padding: .5em;
|
||||
padding: 0.5em;
|
||||
outline: 1px dotted;
|
||||
}
|
||||
#content:focus {
|
||||
@@ -376,7 +372,6 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
/* stylelint-disable value-no-vendor-prefix, function-name-case */
|
||||
.bs-docs-masthead,
|
||||
.bs-docs-header {
|
||||
position: relative;
|
||||
@@ -471,7 +466,6 @@
|
||||
margin-right: 380px;
|
||||
}
|
||||
}
|
||||
/* stylelint-disable selector-max-id, declaration-no-important */
|
||||
#carbonads {
|
||||
display: block;
|
||||
padding: 15px 15px 15px 160px;
|
||||
@@ -582,18 +576,18 @@
|
||||
margin-right: -1px;
|
||||
margin-left: -1px;
|
||||
}
|
||||
.bs-docs-featured-sites .col-xs-6 {
|
||||
.bs-docs-featured-sites .col-xs-8 {
|
||||
padding: 1px;
|
||||
}
|
||||
.bs-docs-featured-sites .img-responsive {
|
||||
margin-top: 0;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.bs-docs-featured-sites .col-sm-3:first-child img {
|
||||
.bs-docs-featured-sites .col-sm-4:first-child img {
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.bs-docs-featured-sites .col-sm-3:last-child img {
|
||||
.bs-docs-featured-sites .col-sm-4:last-child img {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
@@ -617,7 +611,6 @@
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
/* stylelint-disable selector-max-compound-selectors */
|
||||
.bs-docs-sidebar.affix {
|
||||
position: static;
|
||||
}
|
||||
@@ -730,7 +723,6 @@
|
||||
width: 263px;
|
||||
}
|
||||
}
|
||||
/* stylelint-disable property-no-vendor-prefix, selector-max-id, selector-no-qualifying-type */
|
||||
.show-grid {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
@@ -752,7 +744,7 @@
|
||||
-webkit-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.bs-example::after {
|
||||
.bs-example:after {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
@@ -767,7 +759,7 @@
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.bs-example + .highlight,
|
||||
.bs-example + .zero-clipboard + .highlight {
|
||||
.bs-example + .bs-clipboard + .highlight {
|
||||
margin: -15px -15px 15px;
|
||||
border-width: 0 0 1px;
|
||||
border-radius: 0;
|
||||
@@ -784,7 +776,7 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
.bs-example + .highlight,
|
||||
.bs-example + .zero-clipboard + .highlight {
|
||||
.bs-example + .bs-clipboard + .highlight {
|
||||
margin-top: -16px;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
@@ -792,6 +784,10 @@
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.bs-example + .bs-clipboard .btn-clipboard {
|
||||
top: -15px;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
.bs-example-standalone {
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -891,7 +887,7 @@
|
||||
.bs-navbar-top-example {
|
||||
padding-bottom: 45px;
|
||||
}
|
||||
.bs-navbar-top-example::after {
|
||||
.bs-navbar-top-example:after {
|
||||
top: auto;
|
||||
bottom: 15px;
|
||||
}
|
||||
@@ -1112,7 +1108,6 @@
|
||||
margin-right: 10px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
/* stylelint-disable selector-no-qualifying-type, declaration-no-important */
|
||||
.table-responsive .highlight pre {
|
||||
white-space: normal;
|
||||
}
|
||||
@@ -1217,7 +1212,6 @@
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
/* stylelint-disable property-no-vendor-prefix, selector-max-id, selector-no-qualifying-type */
|
||||
.bs-customizer .toggle {
|
||||
float: right;
|
||||
margin-top: 25px;
|
||||
@@ -1300,7 +1294,7 @@
|
||||
.bs-dropzone .import-header {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.bs-dropzone .glyphicon-download-alt {
|
||||
.bs-dropzone .glyphicon-folder-open {
|
||||
font-size: 40px;
|
||||
}
|
||||
.bs-dropzone hr {
|
||||
@@ -1373,9 +1367,13 @@
|
||||
font-size: 60px;
|
||||
}
|
||||
}
|
||||
.zero-clipboard {
|
||||
.bs-clipboard {
|
||||
position: relative;
|
||||
display: none;
|
||||
float: right;
|
||||
}
|
||||
.bs-clipboard + .highlight {
|
||||
margin-top: 0;
|
||||
}
|
||||
.btn-clipboard {
|
||||
position: absolute;
|
||||
@@ -1383,29 +1381,24 @@
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
display: block;
|
||||
padding: 5px 8px;
|
||||
padding: 4px 8px;
|
||||
font-size: 12px;
|
||||
color: #767676;
|
||||
color: #818a91;
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e1e1e8;
|
||||
border-radius: 0 4px;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.btn-clipboard-hover {
|
||||
.btn-clipboard:hover {
|
||||
color: #fff;
|
||||
background-color: #563d7c;
|
||||
border-color: #563d7c;
|
||||
background-color: #027de7;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.zero-clipboard {
|
||||
.bs-clipboard {
|
||||
display: block;
|
||||
}
|
||||
.bs-example + .zero-clipboard .btn-clipboard {
|
||||
top: -16px;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
/* stylelint-disable property-no-vendor-prefix */
|
||||
.anchorjs-link {
|
||||
color: inherit;
|
||||
}
|
||||
@@ -1415,17 +1408,16 @@
|
||||
}
|
||||
}
|
||||
*:hover > .anchorjs-link {
|
||||
opacity: .75;
|
||||
-webkit-transition: color .16s linear;
|
||||
-o-transition: color .16s linear;
|
||||
transition: color .16s linear;
|
||||
opacity: 0.75;
|
||||
-webkit-transition: color 0.16s linear;
|
||||
-o-transition: color 0.16s linear;
|
||||
transition: color 0.16s linear;
|
||||
}
|
||||
*:hover > .anchorjs-link:hover,
|
||||
.anchorjs-link:focus {
|
||||
text-decoration: none;
|
||||
opacity: 1;
|
||||
}
|
||||
/* stylelint-disable declaration-no-important, selector-attribute-quotes */
|
||||
.algolia-autocomplete {
|
||||
display: block !important;
|
||||
}
|
||||
@@ -1438,17 +1430,18 @@
|
||||
background-clip: padding-box;
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
-webkit-box-shadow: 0 8px 15px rgba(0, 0, 0, 0.175);
|
||||
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.175);
|
||||
}
|
||||
@media min-width (768px) {
|
||||
@media (min-width: 768px) {
|
||||
.algolia-autocomplete .ds-dropdown-menu {
|
||||
width: 175%;
|
||||
}
|
||||
}
|
||||
.algolia-autocomplete .ds-dropdown-menu::before {
|
||||
.algolia-autocomplete .ds-dropdown-menu:before {
|
||||
display: none !important;
|
||||
}
|
||||
.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-] {
|
||||
.algolia-autocomplete .ds-dropdown-menu [class^="ds-dataset-"] {
|
||||
padding: 0 !important;
|
||||
overflow: visible !important;
|
||||
background-color: transparent !important;
|
||||
@@ -1457,6 +1450,10 @@
|
||||
.algolia-autocomplete .ds-dropdown-menu .ds-suggestions {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
.algolia-autocomplete .ds-dropdown-menu .ds-input {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.algolia-autocomplete .algolia-docsearch-suggestion {
|
||||
padding: 0 !important;
|
||||
overflow: visible !important;
|
||||
@@ -1484,7 +1481,7 @@
|
||||
width: auto !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.algolia-autocomplete .algolia-docsearch-suggestion--content::before {
|
||||
.algolia-autocomplete .algolia-docsearch-suggestion--content:before {
|
||||
display: none !important;
|
||||
}
|
||||
.algolia-autocomplete .ds-suggestion:not(:first-child) .algolia-docsearch-suggestion--category-header {
|
||||
@@ -1531,12 +1528,12 @@
|
||||
background-color: #eee;
|
||||
}
|
||||
.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight {
|
||||
-webkit-box-shadow: inset 0 -2px 0 0 rgba(95, 45, 171, 0.5) !important;
|
||||
box-shadow: inset 0 -2px 0 0 rgba(95, 45, 171, 0.5) !important;
|
||||
}
|
||||
.algolia-autocomplete .ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content {
|
||||
background-color: #e5e5e5 !important;
|
||||
}
|
||||
/* stylelint-disable selector-max-type, selector-no-qualifying-type, declaration-no-important */
|
||||
body {
|
||||
position: relative;
|
||||
}
|
||||
@@ -1587,6 +1584,7 @@ h1[id] {
|
||||
text-align: center;
|
||||
background-color: #0275d8;
|
||||
}
|
||||
.v4-tease:focus,
|
||||
.v4-tease:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
@@ -1594,7 +1592,7 @@ h1[id] {
|
||||
}
|
||||
/* Nullify ill-advised printing of hrefs; see #18711 */
|
||||
@media print {
|
||||
a[href]::after {
|
||||
a[href]:after {
|
||||
content: "" !important;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Vendored
+5
-5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* IE10 viewport hack for Surface/desktop Windows 8 bug
|
||||
* Copyright 2014-2015 Twitter, Inc.
|
||||
* Copyright 2014-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
@-ms-viewport {
|
||||
|
||||
Vendored
+16
-75
File diff suppressed because one or more lines are too long
Vendored
+12
-22
File diff suppressed because one or more lines are too long
Vendored
+3
-3
File diff suppressed because one or more lines are too long
@@ -1,15 +1,8 @@
|
||||
/* stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors */
|
||||
/*!
|
||||
* Bootstrap v3.4.0 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Bootstrap v3.4.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
/* stylelint-disable value-keyword-case */
|
||||
/* stylelint-disable font-family-name-quotes, font-family-no-missing-generic-family-keyword */
|
||||
/* stylelint-disable media-feature-name-no-vendor-prefix, media-feature-parentheses-space-inside, media-feature-name-no-unknown, indentation, at-rule-name-space-after */
|
||||
/* stylelint-disable declaration-no-important */
|
||||
/* stylelint-disable indentation, property-no-vendor-prefix, selector-no-vendor-prefix */
|
||||
/* stylelint-disable value-no-vendor-prefix, selector-max-id */
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+562
-483
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+71
-55
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Bootstrap v3.4.0 (http://getbootstrap.com)
|
||||
* Bootstrap v3.4.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
@@ -18,9 +18,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: transition.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#transitions
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#transitions
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -28,7 +28,7 @@ if (typeof jQuery === 'undefined') {
|
||||
+function ($) {
|
||||
'use strict';
|
||||
|
||||
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
||||
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
|
||||
// ============================================================
|
||||
|
||||
function transitionEnd() {
|
||||
@@ -50,7 +50,7 @@ if (typeof jQuery === 'undefined') {
|
||||
return false // explicit for ie8 ( ._.)
|
||||
}
|
||||
|
||||
// http://blog.alexmaccaw.com/css-transitions
|
||||
// https://blog.alexmaccaw.com/css-transitions
|
||||
$.fn.emulateTransitionEnd = function (duration) {
|
||||
var called = false
|
||||
var $el = this
|
||||
@@ -78,9 +78,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: alert.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#alerts
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#alerts
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -174,9 +174,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: button.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#buttons
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#buttons
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -300,9 +300,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: carousel.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#carousel
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#carousel
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -547,9 +547,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: collapse.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#collapse
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#collapse
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -760,9 +760,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: dropdown.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#dropdowns
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#dropdowns
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -926,9 +926,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: modal.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#modals
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#modals
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -940,15 +940,16 @@ if (typeof jQuery === 'undefined') {
|
||||
// ======================
|
||||
|
||||
var Modal = function (element, options) {
|
||||
this.options = options
|
||||
this.$body = $(document.body)
|
||||
this.$element = $(element)
|
||||
this.$dialog = this.$element.find('.modal-dialog')
|
||||
this.$backdrop = null
|
||||
this.isShown = null
|
||||
this.originalBodyPad = null
|
||||
this.scrollbarWidth = 0
|
||||
this.options = options
|
||||
this.$body = $(document.body)
|
||||
this.$element = $(element)
|
||||
this.$dialog = this.$element.find('.modal-dialog')
|
||||
this.$backdrop = null
|
||||
this.isShown = null
|
||||
this.originalBodyPad = null
|
||||
this.scrollbarWidth = 0
|
||||
this.ignoreBackdropClick = false
|
||||
this.fixedContent = '.navbar-fixed-top, .navbar-fixed-bottom'
|
||||
|
||||
if (this.options.remote) {
|
||||
this.$element
|
||||
@@ -959,7 +960,7 @@ if (typeof jQuery === 'undefined') {
|
||||
}
|
||||
}
|
||||
|
||||
Modal.VERSION = '3.4.0'
|
||||
Modal.VERSION = '3.4.0'
|
||||
|
||||
Modal.TRANSITION_DURATION = 300
|
||||
Modal.BACKDROP_TRANSITION_DURATION = 150
|
||||
@@ -976,7 +977,7 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
Modal.prototype.show = function (_relatedTarget) {
|
||||
var that = this
|
||||
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
||||
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
||||
|
||||
this.$element.trigger(e)
|
||||
|
||||
@@ -1067,8 +1068,8 @@ if (typeof jQuery === 'undefined') {
|
||||
.off('focusin.bs.modal') // guard against infinite focus loop
|
||||
.on('focusin.bs.modal', $.proxy(function (e) {
|
||||
if (document !== e.target &&
|
||||
this.$element[0] !== e.target &&
|
||||
!this.$element.has(e.target).length) {
|
||||
this.$element[0] !== e.target &&
|
||||
!this.$element.has(e.target).length) {
|
||||
this.$element.trigger('focus')
|
||||
}
|
||||
}, this))
|
||||
@@ -1170,7 +1171,7 @@ if (typeof jQuery === 'undefined') {
|
||||
var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
|
||||
|
||||
this.$element.css({
|
||||
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
|
||||
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
|
||||
paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
|
||||
})
|
||||
}
|
||||
@@ -1195,11 +1196,26 @@ if (typeof jQuery === 'undefined') {
|
||||
Modal.prototype.setScrollbar = function () {
|
||||
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
|
||||
this.originalBodyPad = document.body.style.paddingRight || ''
|
||||
if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
|
||||
var scrollbarWidth = this.scrollbarWidth
|
||||
if (this.bodyIsOverflowing) {
|
||||
this.$body.css('padding-right', bodyPad + scrollbarWidth)
|
||||
$(this.fixedContent).each(function (index, element) {
|
||||
var actualPadding = element.style.paddingRight
|
||||
var calculatedPadding = $(element).css('padding-right')
|
||||
$(element)
|
||||
.data('padding-right', actualPadding)
|
||||
.css('padding-right', parseFloat(calculatedPadding) + scrollbarWidth + 'px')
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Modal.prototype.resetScrollbar = function () {
|
||||
this.$body.css('padding-right', this.originalBodyPad)
|
||||
$(this.fixedContent).each(function (index, element) {
|
||||
var padding = $(element).data('padding-right')
|
||||
$(element).removeData('padding-right')
|
||||
element.style.paddingRight = padding ? padding : ''
|
||||
})
|
||||
}
|
||||
|
||||
Modal.prototype.measureScrollbar = function () { // thx walsh
|
||||
@@ -1217,8 +1233,8 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
function Plugin(option, _relatedTarget) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
var data = $this.data('bs.modal')
|
||||
var $this = $(this)
|
||||
var data = $this.data('bs.modal')
|
||||
var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
||||
|
||||
if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
|
||||
@@ -1229,7 +1245,7 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
var old = $.fn.modal
|
||||
|
||||
$.fn.modal = Plugin
|
||||
$.fn.modal = Plugin
|
||||
$.fn.modal.Constructor = Modal
|
||||
|
||||
|
||||
@@ -1246,13 +1262,13 @@ if (typeof jQuery === 'undefined') {
|
||||
// ==============
|
||||
|
||||
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
|
||||
var $this = $(this)
|
||||
var href = $this.attr('href')
|
||||
var target = $this.attr('data-target') ||
|
||||
var $this = $(this)
|
||||
var href = $this.attr('href')
|
||||
var target = $this.attr('data-target') ||
|
||||
(href && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
|
||||
|
||||
var $target = $(document).find(target)
|
||||
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
||||
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
||||
|
||||
if ($this.is('a')) e.preventDefault()
|
||||
|
||||
@@ -1269,10 +1285,10 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: tooltip.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#tooltip
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#tooltip
|
||||
* Inspired by the original jQuery.tipsy by Jason Frame
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -1790,9 +1806,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: popover.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#popovers
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#popovers
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -1857,8 +1873,8 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
return $e.attr('data-content')
|
||||
|| (typeof o.content == 'function' ?
|
||||
o.content.call($e[0]) :
|
||||
o.content)
|
||||
o.content.call($e[0]) :
|
||||
o.content)
|
||||
}
|
||||
|
||||
Popover.prototype.arrow = function () {
|
||||
@@ -1899,9 +1915,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: scrollspy.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#scrollspy
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#scrollspy
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -2072,9 +2088,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: tab.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#tabs
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#tabs
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
@@ -2145,15 +2161,15 @@ if (typeof jQuery === 'undefined') {
|
||||
$active
|
||||
.removeClass('active')
|
||||
.find('> .dropdown-menu > .active')
|
||||
.removeClass('active')
|
||||
.removeClass('active')
|
||||
.end()
|
||||
.find('[data-toggle="tab"]')
|
||||
.attr('aria-expanded', false)
|
||||
.attr('aria-expanded', false)
|
||||
|
||||
element
|
||||
.addClass('active')
|
||||
.find('[data-toggle="tab"]')
|
||||
.attr('aria-expanded', true)
|
||||
.attr('aria-expanded', true)
|
||||
|
||||
if (transition) {
|
||||
element[0].offsetWidth // reflow for transition
|
||||
@@ -2165,10 +2181,10 @@ if (typeof jQuery === 'undefined') {
|
||||
if (element.parent('.dropdown-menu').length) {
|
||||
element
|
||||
.closest('li.dropdown')
|
||||
.addClass('active')
|
||||
.addClass('active')
|
||||
.end()
|
||||
.find('[data-toggle="tab"]')
|
||||
.attr('aria-expanded', true)
|
||||
.attr('aria-expanded', true)
|
||||
}
|
||||
|
||||
callback && callback()
|
||||
@@ -2228,9 +2244,9 @@ if (typeof jQuery === 'undefined') {
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: affix.js v3.4.0
|
||||
* http://getbootstrap.com/javascript/#affix
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#affix
|
||||
* ========================================================================
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
|
||||
Vendored
+6
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user