1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
This commit is contained in:
Mark Otto 2016-11-26 19:17:23 -08:00
parent 23301b21cd
commit 0b8a281920
22 changed files with 44 additions and 116 deletions

View file

@ -5256,6 +5256,7 @@ a.badge:focus, a.badge:hover {
width: 100%;
height: 1rem;
margin-bottom: 1rem;
overflow: hidden;
}
.progress[value] {
@ -5274,35 +5275,19 @@ a.badge:focus, a.badge:hover {
.progress[value]::-moz-progress-bar {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value]::-webkit-progress-value {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value="100"]::-moz-progress-bar {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value="100"]::-webkit-progress-value {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value]::-webkit-progress-bar {
background-color: #eee;
border-radius: 0.25rem;
}
base::-moz-progress-bar,
.progress[value] {
background-color: #eee;
border-radius: 0.25rem;
}
@media screen and (min-width: 0\0) {
@ -5315,12 +5300,6 @@ base::-moz-progress-bar,
height: 1rem;
text-indent: -999rem;
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[width="100%"] {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
}

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

@ -4928,6 +4928,7 @@ a.badge:focus, a.badge:hover {
width: 100%;
height: 1rem;
margin-bottom: 1rem;
overflow: hidden;
}
.progress[value] {
@ -4946,35 +4947,19 @@ a.badge:focus, a.badge:hover {
.progress[value]::-moz-progress-bar {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value]::-webkit-progress-value {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value="100"]::-moz-progress-bar {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value="100"]::-webkit-progress-value {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value]::-webkit-progress-bar {
background-color: #eee;
border-radius: 0.25rem;
}
base::-moz-progress-bar,
.progress[value] {
background-color: #eee;
border-radius: 0.25rem;
}
@media screen and (min-width: 0\0) {
@ -4987,12 +4972,6 @@ base::-moz-progress-bar,
height: 1rem;
text-indent: -999rem;
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[width="100%"] {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
}

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

@ -5,7 +5,7 @@
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
+function ($) {
@ -2732,7 +2732,8 @@ var Tooltip = function ($) {
selector: false,
placement: 'top',
offset: '0 0',
constraints: []
constraints: [],
container: false
};
var DefaultType = {
@ -2745,7 +2746,8 @@ var Tooltip = function ($) {
selector: '(string|boolean)',
placement: '(string|function)',
offset: 'string',
constraints: 'array'
constraints: 'array',
container: '(string|element|boolean)'
};
var AttachmentMap = {
@ -2921,7 +2923,9 @@ var Tooltip = function ($) {
var attachment = this._getAttachment(placement);
$(tip).data(this.constructor.DATA_KEY, this).appendTo(document.body);
var container = this.config.container === false ? document.body : $(this.config.container);
$(tip).data(this.constructor.DATA_KEY, this).appendTo(container);
$(this.element).trigger(this.constructor.Event.INSERTED);

File diff suppressed because one or more lines are too long

View file

@ -5256,6 +5256,7 @@ a.badge:focus, a.badge:hover {
width: 100%;
height: 1rem;
margin-bottom: 1rem;
overflow: hidden;
}
.progress[value] {
@ -5274,35 +5275,19 @@ a.badge:focus, a.badge:hover {
.progress[value]::-moz-progress-bar {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value]::-webkit-progress-value {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value="100"]::-moz-progress-bar {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value="100"]::-webkit-progress-value {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value]::-webkit-progress-bar {
background-color: #eee;
border-radius: 0.25rem;
}
base::-moz-progress-bar,
.progress[value] {
background-color: #eee;
border-radius: 0.25rem;
}
@media screen and (min-width: 0\0) {
@ -5315,12 +5300,6 @@ base::-moz-progress-bar,
height: 1rem;
text-indent: -999rem;
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[width="100%"] {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
}

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

@ -4928,6 +4928,7 @@ a.badge:focus, a.badge:hover {
width: 100%;
height: 1rem;
margin-bottom: 1rem;
overflow: hidden;
}
.progress[value] {
@ -4946,35 +4947,19 @@ a.badge:focus, a.badge:hover {
.progress[value]::-moz-progress-bar {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value]::-webkit-progress-value {
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[value="100"]::-moz-progress-bar {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value="100"]::-webkit-progress-value {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.progress[value]::-webkit-progress-bar {
background-color: #eee;
border-radius: 0.25rem;
}
base::-moz-progress-bar,
.progress[value] {
background-color: #eee;
border-radius: 0.25rem;
}
@media screen and (min-width: 0\0) {
@ -4987,12 +4972,6 @@ base::-moz-progress-bar,
height: 1rem;
text-indent: -999rem;
background-color: #0074d9;
border-bottom-left-radius: 0.25rem;
border-top-left-radius: 0.25rem;
}
.progress[width="100%"] {
border-bottom-right-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
}

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

@ -5,7 +5,7 @@
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
+function ($) {
@ -2732,7 +2732,8 @@ var Tooltip = function ($) {
selector: false,
placement: 'top',
offset: '0 0',
constraints: []
constraints: [],
container: false
};
var DefaultType = {
@ -2745,7 +2746,8 @@ var Tooltip = function ($) {
selector: '(string|boolean)',
placement: '(string|function)',
offset: 'string',
constraints: 'array'
constraints: 'array',
container: '(string|element|boolean)'
};
var AttachmentMap = {
@ -2921,7 +2923,9 @@ var Tooltip = function ($) {
var attachment = this._getAttachment(placement);
$(tip).data(this.constructor.DATA_KEY, this).appendTo(document.body);
var container = this.config.container === false ? document.body : $(this.config.container);
$(tip).data(this.constructor.DATA_KEY, this).appendTo(container);
$(this.element).trigger(this.constructor.Event.INSERTED);

File diff suppressed because one or more lines are too long

10
js/dist/tooltip.js vendored
View file

@ -45,7 +45,8 @@ var Tooltip = function ($) {
selector: false,
placement: 'top',
offset: '0 0',
constraints: []
constraints: [],
container: false
};
var DefaultType = {
@ -58,7 +59,8 @@ var Tooltip = function ($) {
selector: '(string|boolean)',
placement: '(string|function)',
offset: 'string',
constraints: 'array'
constraints: 'array',
container: '(string|element|boolean)'
};
var AttachmentMap = {
@ -234,7 +236,9 @@ var Tooltip = function ($) {
var attachment = this._getAttachment(placement);
$(tip).data(this.constructor.DATA_KEY, this).appendTo(document.body);
var container = this.config.container === false ? document.body : $(this.config.container);
$(tip).data(this.constructor.DATA_KEY, this).appendTo(container);
$(this.element).trigger(this.constructor.Event.INSERTED);

File diff suppressed because one or more lines are too long