mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-19 11:52:21 +01:00
grunt
This commit is contained in:
parent
0018723cce
commit
6020bb06f2
15
dist/css/bootstrap.css
vendored
15
dist/css/bootstrap.css
vendored
@ -5549,10 +5549,9 @@ button.close {
|
|||||||
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
|
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
|
||||||
}
|
}
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
@ -5674,14 +5673,16 @@ button.close {
|
|||||||
border-top-color: #000;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
.tooltip.top-left .tooltip-arrow {
|
.tooltip.top-left .tooltip-arrow {
|
||||||
|
right: 5px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 5px;
|
margin-bottom: -5px;
|
||||||
border-width: 5px 5px 0;
|
border-width: 5px 5px 0;
|
||||||
border-top-color: #000;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
.tooltip.top-right .tooltip-arrow {
|
.tooltip.top-right .tooltip-arrow {
|
||||||
right: 5px;
|
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
left: 5px;
|
||||||
|
margin-bottom: -5px;
|
||||||
border-width: 5px 5px 0;
|
border-width: 5px 5px 0;
|
||||||
border-top-color: #000;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
@ -5708,13 +5709,15 @@ button.close {
|
|||||||
}
|
}
|
||||||
.tooltip.bottom-left .tooltip-arrow {
|
.tooltip.bottom-left .tooltip-arrow {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 5px;
|
right: 5px;
|
||||||
|
margin-top: -5px;
|
||||||
border-width: 0 5px 5px;
|
border-width: 0 5px 5px;
|
||||||
border-bottom-color: #000;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
.tooltip.bottom-right .tooltip-arrow {
|
.tooltip.bottom-right .tooltip-arrow {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 5px;
|
left: 5px;
|
||||||
|
margin-top: -5px;
|
||||||
border-width: 0 5px 5px;
|
border-width: 0 5px 5px;
|
||||||
border-bottom-color: #000;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
18
dist/js/bootstrap.js
vendored
18
dist/js/bootstrap.js
vendored
@ -963,6 +963,7 @@ if (typeof jQuery === 'undefined') {
|
|||||||
|
|
||||||
this.setScrollbar()
|
this.setScrollbar()
|
||||||
this.escape()
|
this.escape()
|
||||||
|
if (this.options.backdrop) this.resize()
|
||||||
|
|
||||||
this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
||||||
|
|
||||||
@ -977,6 +978,8 @@ if (typeof jQuery === 'undefined') {
|
|||||||
.show()
|
.show()
|
||||||
.scrollTop(0)
|
.scrollTop(0)
|
||||||
|
|
||||||
|
if (that.options.backdrop) that.setBackdropHeight()
|
||||||
|
|
||||||
if (transition) {
|
if (transition) {
|
||||||
that.$element[0].offsetWidth // force reflow
|
that.$element[0].offsetWidth // force reflow
|
||||||
}
|
}
|
||||||
@ -1011,6 +1014,7 @@ if (typeof jQuery === 'undefined') {
|
|||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
|
if (this.options.backdrop) this.resize()
|
||||||
|
|
||||||
$(document).off('focusin.bs.modal')
|
$(document).off('focusin.bs.modal')
|
||||||
|
|
||||||
@ -1046,6 +1050,14 @@ if (typeof jQuery === 'undefined') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Modal.prototype.resize = function () {
|
||||||
|
if (this.isShown) {
|
||||||
|
$(window).on('resize.bs.modal', $.proxy(this.setBackdropHeight, this))
|
||||||
|
} else {
|
||||||
|
$(window).off('resize.bs.modal')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Modal.prototype.hideModal = function () {
|
Modal.prototype.hideModal = function () {
|
||||||
var that = this
|
var that = this
|
||||||
this.$element.hide()
|
this.$element.hide()
|
||||||
@ -1107,6 +1119,12 @@ if (typeof jQuery === 'undefined') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Modal.prototype.setBackdropHeight = function () {
|
||||||
|
this.$backdrop
|
||||||
|
.css('height', 0)
|
||||||
|
.css('height', this.$element[0].scrollHeight)
|
||||||
|
}
|
||||||
|
|
||||||
Modal.prototype.checkScrollbar = function () {
|
Modal.prototype.checkScrollbar = function () {
|
||||||
this.scrollbarWidth = this.measureScrollbar()
|
this.scrollbarWidth = this.measureScrollbar()
|
||||||
}
|
}
|
||||||
|
4
dist/js/bootstrap.min.js
vendored
4
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
20
docs/assets/js/customize.min.js
vendored
20
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/js/docs.min.js
vendored
2
docs/assets/js/docs.min.js
vendored
@ -23,4 +23,4 @@ License: http://opensource.org/licenses/MIT
|
|||||||
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
||||||
* details, see http://creativecommons.org/licenses/by/3.0/.
|
* details, see http://creativecommons.org/licenses/by/3.0/.
|
||||||
*/
|
*/
|
||||||
!function(a){"use strict";a(function(){var b=a(window),c=a(document.body);c.scrollspy({target:".bs-docs-sidebar"}),b.on("load",function(){c.scrollspy("refresh")}),a(".bs-docs-container [href=#]").click(function(a){a.preventDefault()}),setTimeout(function(){var b=a(".bs-docs-sidebar");b.affix({offset:{top:function(){var c=b.offset().top,d=parseInt(b.children(0).css("margin-top"),10),e=a(".bs-docs-nav").height();return this.top=c-e-d},bottom:function(){return this.bottom=a(".bs-docs-footer").outerHeight(!0)}}})},100),setTimeout(function(){a(".bs-top").affix()},100),function(){var b=a("#bs-theme-stylesheet"),c=a(".bs-docs-theme-toggle"),d=function(){b.attr("href",b.attr("data-href")),c.text("Disable theme preview"),localStorage.setItem("previewTheme",!0)};localStorage.getItem("previewTheme")&&d(),c.click(function(){var a=b.attr("href");a&&0!==a.indexOf("data")?(b.attr("href",""),c.text("Preview theme"),localStorage.removeItem("previewTheme")):d()})}(),a(".tooltip-demo").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),a(".popover-demo").popover({selector:'[data-toggle="popover"]',container:"body"}),a(".tooltip-test").tooltip(),a(".popover-test").popover(),a(".bs-docs-popover").popover(),a("#loading-example-btn").on("click",function(){var b=a(this);b.button("loading"),setTimeout(function(){b.button("reset")},3e3)}),a(".bs-docs-activate-animated-progressbar").on("click",function(){a(this).siblings(".progress").find(".progress-bar-striped").toggleClass("active")}),ZeroClipboard.config({moviePath:"/assets/flash/ZeroClipboard.swf",hoverClass:"btn-clipboard-hover"}),a(".highlight").each(function(){var b='<div class="zero-clipboard"><span class="btn-clipboard">Copy</span></div>';a(this).before(b)});var d=new ZeroClipboard(a(".btn-clipboard")),e=a("#global-zeroclipboard-html-bridge");d.on("load",function(){e.data("placement","top").attr("title","Copy to clipboard").tooltip()}),d.on("dataRequested",function(b){var c=a(this).parent().nextAll(".highlight").first();b.setText(c.text())}),d.on("complete",function(){e.attr("title","Copied!").tooltip("fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("fixTitle")}),d.on("noflash wrongflash",function(){e.attr("title","Flash required").tooltip("fixTitle").tooltip("show")})})}(jQuery);
|
!function(a){"use strict";a(function(){var b=a(window),c=a(document.body);c.scrollspy({target:".bs-docs-sidebar"}),b.on("load",function(){c.scrollspy("refresh")}),a(".bs-docs-container [href=#]").click(function(a){a.preventDefault()}),setTimeout(function(){var b=a(".bs-docs-sidebar");b.affix({offset:{top:function(){var c=b.offset().top,d=parseInt(b.children(0).css("margin-top"),10),e=a(".bs-docs-nav").height();return this.top=c-e-d},bottom:function(){return this.bottom=a(".bs-docs-footer").outerHeight(!0)}}})},100),setTimeout(function(){a(".bs-top").affix()},100),function(){var b=a("#bs-theme-stylesheet"),c=a(".bs-docs-theme-toggle"),d=function(){b.attr("href",b.attr("data-href")),c.text("Disable theme preview"),localStorage.setItem("previewTheme",!0)};localStorage.getItem("previewTheme")&&d(),c.click(function(){var a=b.attr("href");a&&0!==a.indexOf("data")?(b.attr("href",""),c.text("Preview theme"),localStorage.removeItem("previewTheme")):d()})}(),a(".tooltip-demo").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),a(".popover-demo").popover({selector:'[data-toggle="popover"]',container:"body"}),a(".tooltip-test").tooltip(),a(".popover-test").popover(),a(".bs-docs-popover").popover(),a("#loading-example-btn").on("click",function(){var b=a(this);b.button("loading"),setTimeout(function(){b.button("reset")},3e3)}),a("#exampleModal").on("show.bs.modal",function(b){var c=a(b.relatedTarget),d=c.data("whatever"),e=a(this);e.find(".modal-title").text("New message to "+d),e.find(".modal-body input").val(d)}),a(".bs-docs-activate-animated-progressbar").on("click",function(){a(this).siblings(".progress").find(".progress-bar-striped").toggleClass("active")}),ZeroClipboard.config({moviePath:"/assets/flash/ZeroClipboard.swf",hoverClass:"btn-clipboard-hover"}),a(".highlight").each(function(){var b='<div class="zero-clipboard"><span class="btn-clipboard">Copy</span></div>';a(this).before(b)});var d=new ZeroClipboard(a(".btn-clipboard")),e=a("#global-zeroclipboard-html-bridge");d.on("load",function(){e.data("placement","top").attr("title","Copy to clipboard").tooltip()}),d.on("dataRequested",function(b){var c=a(this).parent().nextAll(".highlight").first();b.setText(c.text())}),d.on("complete",function(){e.attr("title","Copied!").tooltip("fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("fixTitle")}),d.on("noflash wrongflash",function(){e.attr("title","Flash required").tooltip("fixTitle").tooltip("show")})})}(jQuery);
|
4
docs/assets/js/raw-files.min.js
vendored
4
docs/assets/js/raw-files.min.js
vendored
File diff suppressed because one or more lines are too long
15
docs/dist/css/bootstrap.css
vendored
15
docs/dist/css/bootstrap.css
vendored
@ -5549,10 +5549,9 @@ button.close {
|
|||||||
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
|
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
|
||||||
}
|
}
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
@ -5674,14 +5673,16 @@ button.close {
|
|||||||
border-top-color: #000;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
.tooltip.top-left .tooltip-arrow {
|
.tooltip.top-left .tooltip-arrow {
|
||||||
|
right: 5px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 5px;
|
margin-bottom: -5px;
|
||||||
border-width: 5px 5px 0;
|
border-width: 5px 5px 0;
|
||||||
border-top-color: #000;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
.tooltip.top-right .tooltip-arrow {
|
.tooltip.top-right .tooltip-arrow {
|
||||||
right: 5px;
|
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
left: 5px;
|
||||||
|
margin-bottom: -5px;
|
||||||
border-width: 5px 5px 0;
|
border-width: 5px 5px 0;
|
||||||
border-top-color: #000;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
@ -5708,13 +5709,15 @@ button.close {
|
|||||||
}
|
}
|
||||||
.tooltip.bottom-left .tooltip-arrow {
|
.tooltip.bottom-left .tooltip-arrow {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 5px;
|
right: 5px;
|
||||||
|
margin-top: -5px;
|
||||||
border-width: 0 5px 5px;
|
border-width: 0 5px 5px;
|
||||||
border-bottom-color: #000;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
.tooltip.bottom-right .tooltip-arrow {
|
.tooltip.bottom-right .tooltip-arrow {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 5px;
|
left: 5px;
|
||||||
|
margin-top: -5px;
|
||||||
border-width: 0 5px 5px;
|
border-width: 0 5px 5px;
|
||||||
border-bottom-color: #000;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
18
docs/dist/js/bootstrap.js
vendored
18
docs/dist/js/bootstrap.js
vendored
@ -963,6 +963,7 @@ if (typeof jQuery === 'undefined') {
|
|||||||
|
|
||||||
this.setScrollbar()
|
this.setScrollbar()
|
||||||
this.escape()
|
this.escape()
|
||||||
|
if (this.options.backdrop) this.resize()
|
||||||
|
|
||||||
this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
||||||
|
|
||||||
@ -977,6 +978,8 @@ if (typeof jQuery === 'undefined') {
|
|||||||
.show()
|
.show()
|
||||||
.scrollTop(0)
|
.scrollTop(0)
|
||||||
|
|
||||||
|
if (that.options.backdrop) that.setBackdropHeight()
|
||||||
|
|
||||||
if (transition) {
|
if (transition) {
|
||||||
that.$element[0].offsetWidth // force reflow
|
that.$element[0].offsetWidth // force reflow
|
||||||
}
|
}
|
||||||
@ -1011,6 +1014,7 @@ if (typeof jQuery === 'undefined') {
|
|||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
|
if (this.options.backdrop) this.resize()
|
||||||
|
|
||||||
$(document).off('focusin.bs.modal')
|
$(document).off('focusin.bs.modal')
|
||||||
|
|
||||||
@ -1046,6 +1050,14 @@ if (typeof jQuery === 'undefined') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Modal.prototype.resize = function () {
|
||||||
|
if (this.isShown) {
|
||||||
|
$(window).on('resize.bs.modal', $.proxy(this.setBackdropHeight, this))
|
||||||
|
} else {
|
||||||
|
$(window).off('resize.bs.modal')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Modal.prototype.hideModal = function () {
|
Modal.prototype.hideModal = function () {
|
||||||
var that = this
|
var that = this
|
||||||
this.$element.hide()
|
this.$element.hide()
|
||||||
@ -1107,6 +1119,12 @@ if (typeof jQuery === 'undefined') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Modal.prototype.setBackdropHeight = function () {
|
||||||
|
this.$backdrop
|
||||||
|
.css('height', 0)
|
||||||
|
.css('height', this.$element[0].scrollHeight)
|
||||||
|
}
|
||||||
|
|
||||||
Modal.prototype.checkScrollbar = function () {
|
Modal.prototype.checkScrollbar = function () {
|
||||||
this.scrollbarWidth = this.measureScrollbar()
|
this.scrollbarWidth = this.measureScrollbar()
|
||||||
}
|
}
|
||||||
|
4
docs/dist/js/bootstrap.min.js
vendored
4
docs/dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user