0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00
This commit is contained in:
Mark Otto 2018-02-24 12:44:44 -08:00
parent b8bfd26358
commit f3cec5e7f9
23 changed files with 61 additions and 41 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4816,6 +4816,26 @@ tbody.collapse.show {
}
}
.accordion .card:not(:first-of-type):not(:last-of-type) {
border-bottom: 0;
border-radius: 0;
}
.accordion .card:not(:first-of-type) .card-header:first-child {
border-radius: 0;
}
.accordion .card:first-of-type {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.accordion .card:last-of-type {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.breadcrumb {
display: -webkit-box;
display: -ms-flexbox;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4001,7 +4001,7 @@ var Dropdown = function ($$$1) {
if ('ontouchstart' in document.documentElement && $$$1(parent).closest(Selector.NAVBAR_NAV).length === 0) {
$$$1('body').children().on('mouseover', null, $$$1.noop);
$$$1(document.body).children().on('mouseover', null, $$$1.noop);
}
this._element.focus();
@ -4184,7 +4184,7 @@ var Dropdown = function ($$$1) {
if ('ontouchstart' in document.documentElement) {
$$$1('body').children().off('mouseover', null, $$$1.noop);
$$$1(document.body).children().off('mouseover', null, $$$1.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
@ -4757,8 +4757,8 @@ var Modal = function ($$$1) {
}); // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $$$1('body').css('padding-right');
$$$1('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
var calculatedPadding = $$$1(document.body).css('padding-right');
$$$1(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
@ -4780,10 +4780,10 @@ var Modal = function ($$$1) {
}
}); // Restore body padding
var padding = $$$1('body').data('padding-right');
var padding = $$$1(document.body).data('padding-right');
if (typeof padding !== 'undefined') {
$$$1('body').css('padding-right', padding).removeData('padding-right');
$$$1(document.body).css('padding-right', padding).removeData('padding-right');
}
};
@ -5153,7 +5153,7 @@ var Tooltip = function ($$$1) {
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
if ('ontouchstart' in document.documentElement) {
$$$1('body').children().on('mouseover', null, $$$1.noop);
$$$1(document.body).children().on('mouseover', null, $$$1.noop);
}
var complete = function complete() {
@ -5214,7 +5214,7 @@ var Tooltip = function ($$$1) {
// empty mouseover listeners we added for iOS support
if ('ontouchstart' in document.documentElement) {
$$$1('body').children().off('mouseover', null, $$$1.noop);
$$$1(document.body).children().off('mouseover', null, $$$1.noop);
}
this._activeTrigger[Trigger.CLICK] = false;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1567,7 +1567,7 @@ var Dropdown = function ($$$1) {
if ('ontouchstart' in document.documentElement && $$$1(parent).closest(Selector.NAVBAR_NAV).length === 0) {
$$$1('body').children().on('mouseover', null, $$$1.noop);
$$$1(document.body).children().on('mouseover', null, $$$1.noop);
}
this._element.focus();
@ -1750,7 +1750,7 @@ var Dropdown = function ($$$1) {
if ('ontouchstart' in document.documentElement) {
$$$1('body').children().off('mouseover', null, $$$1.noop);
$$$1(document.body).children().off('mouseover', null, $$$1.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
@ -2323,8 +2323,8 @@ var Modal = function ($$$1) {
}); // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $$$1('body').css('padding-right');
$$$1('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
var calculatedPadding = $$$1(document.body).css('padding-right');
$$$1(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
@ -2346,10 +2346,10 @@ var Modal = function ($$$1) {
}
}); // Restore body padding
var padding = $$$1('body').data('padding-right');
var padding = $$$1(document.body).data('padding-right');
if (typeof padding !== 'undefined') {
$$$1('body').css('padding-right', padding).removeData('padding-right');
$$$1(document.body).css('padding-right', padding).removeData('padding-right');
}
};
@ -2719,7 +2719,7 @@ var Tooltip = function ($$$1) {
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
if ('ontouchstart' in document.documentElement) {
$$$1('body').children().on('mouseover', null, $$$1.noop);
$$$1(document.body).children().on('mouseover', null, $$$1.noop);
}
var complete = function complete() {
@ -2780,7 +2780,7 @@ var Tooltip = function ($$$1) {
// empty mouseover listeners we added for iOS support
if ('ontouchstart' in document.documentElement) {
$$$1('body').children().off('mouseover', null, $$$1.noop);
$$$1(document.body).children().off('mouseover', null, $$$1.noop);
}
this._activeTrigger[Trigger.CLICK] = false;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
js/dist/dropdown.js vendored
View File

@ -172,7 +172,7 @@ var Dropdown = function ($) {
if ('ontouchstart' in document.documentElement && $(parent).closest(Selector.NAVBAR_NAV).length === 0) {
$('body').children().on('mouseover', null, $.noop);
$(document.body).children().on('mouseover', null, $.noop);
}
this._element.focus();
@ -355,7 +355,7 @@ var Dropdown = function ($) {
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
$(document.body).children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');

File diff suppressed because one or more lines are too long

8
js/dist/modal.js vendored
View File

@ -447,8 +447,8 @@ var Modal = function ($) {
}); // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $('body').css('padding-right');
$('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
var calculatedPadding = $(document.body).css('padding-right');
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
@ -470,10 +470,10 @@ var Modal = function ($) {
}
}); // Restore body padding
var padding = $('body').data('padding-right');
var padding = $(document.body).data('padding-right');
if (typeof padding !== 'undefined') {
$('body').css('padding-right', padding).removeData('padding-right');
$(document.body).css('padding-right', padding).removeData('padding-right');
}
};

File diff suppressed because one or more lines are too long

4
js/dist/tooltip.js vendored
View File

@ -267,7 +267,7 @@ var Tooltip = function ($) {
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
if ('ontouchstart' in document.documentElement) {
$('body').children().on('mouseover', null, $.noop);
$(document.body).children().on('mouseover', null, $.noop);
}
var complete = function complete() {
@ -328,7 +328,7 @@ var Tooltip = function ($) {
// empty mouseover listeners we added for iOS support
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
$(document.body).children().off('mouseover', null, $.noop);
}
this._activeTrigger[Trigger.CLICK] = false;

File diff suppressed because one or more lines are too long