mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge branch 'master' of github.com:twbs/bootstrap
This commit is contained in:
commit
892f6e35b8
5 changed files with 509 additions and 414 deletions
File diff suppressed because it is too large
Load diff
|
@ -8,8 +8,10 @@ each section in sections
|
|||
if subsection.heading
|
||||
h3(id=subsection.id)= subsection.heading
|
||||
div.row
|
||||
each variable in subsection.variables
|
||||
div.bs-customizer-input
|
||||
each variable, index in subsection.variables
|
||||
if index > 0 && index % 3 === 0
|
||||
div.clearfix
|
||||
div.col-xs-4
|
||||
label(for="input-" + variable.name)= variable.name
|
||||
input.form-control(
|
||||
id="input-" + variable.name
|
||||
|
|
|
@ -1342,13 +1342,6 @@ h1[id] {
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
.bs-customizer-input {
|
||||
float: left;
|
||||
width: 33.333333%;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
/* Downloads */
|
||||
.bs-customize-download .btn-outline {
|
||||
padding: 20px;
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
{
|
||||
browserName: "iphone",
|
||||
platform: "OS X 10.9",
|
||||
version: "7.1"
|
||||
version: "8.0"
|
||||
},
|
||||
|
||||
# iOS Chrome not currently supported by Sauce Labs
|
||||
|
|
|
@ -803,16 +803,16 @@ $(function () {
|
|||
|
||||
var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.bootstrapTooltip({ delay: 15 })
|
||||
.bootstrapTooltip({ delay: 150 })
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '10ms: tooltip is not faded in')
|
||||
}, 10)
|
||||
ok(!$('.tooltip').is('.fade.in'), '100ms: tooltip is not faded in')
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
ok($('.tooltip').is('.fade.in'), '20ms: tooltip is faded in')
|
||||
ok($('.tooltip').is('.fade.in'), '200ms: tooltip is faded in')
|
||||
start()
|
||||
}, 20)
|
||||
}, 200)
|
||||
|
||||
$tooltip.trigger('mouseenter')
|
||||
})
|
||||
|
@ -822,17 +822,17 @@ $(function () {
|
|||
|
||||
var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.bootstrapTooltip({ delay: 15 })
|
||||
.bootstrapTooltip({ delay: 150 })
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '10ms: tooltip not faded in')
|
||||
ok(!$('.tooltip').is('.fade.in'), '100ms: tooltip not faded in')
|
||||
$tooltip.trigger('mouseout')
|
||||
}, 10)
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '20ms: tooltip not faded in')
|
||||
ok(!$('.tooltip').is('.fade.in'), '200ms: tooltip not faded in')
|
||||
start()
|
||||
}, 20)
|
||||
}, 200)
|
||||
|
||||
$tooltip.trigger('mouseenter')
|
||||
})
|
||||
|
@ -842,21 +842,21 @@ $(function () {
|
|||
|
||||
var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.bootstrapTooltip({ delay: { show: 0, hide: 15 }})
|
||||
.bootstrapTooltip({ delay: { show: 0, hide: 150 }})
|
||||
|
||||
setTimeout(function () {
|
||||
ok($('.tooltip').is('.fade.in'), '1ms: tooltip faded in')
|
||||
$tooltip.trigger('mouseout')
|
||||
|
||||
setTimeout(function () {
|
||||
ok($('.tooltip').is('.fade.in'), '10ms: tooltip still faded in')
|
||||
ok($('.tooltip').is('.fade.in'), '100ms: tooltip still faded in')
|
||||
$tooltip.trigger('mouseenter')
|
||||
}, 10)
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
ok($('.tooltip').is('.fade.in'), '20ms: tooltip still faded in')
|
||||
ok($('.tooltip').is('.fade.in'), '200ms: tooltip still faded in')
|
||||
start()
|
||||
}, 20)
|
||||
}, 200)
|
||||
}, 0)
|
||||
|
||||
$tooltip.trigger('mouseenter')
|
||||
|
@ -867,17 +867,17 @@ $(function () {
|
|||
|
||||
var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.bootstrapTooltip({ delay: 15 })
|
||||
.bootstrapTooltip({ delay: 150 })
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '10ms: tooltip not faded in')
|
||||
ok(!$('.tooltip').is('.fade.in'), '100ms: tooltip not faded in')
|
||||
$tooltip.trigger('mouseout')
|
||||
}, 10)
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '20ms: tooltip not faded in')
|
||||
ok(!$('.tooltip').is('.fade.in'), '200ms: tooltip not faded in')
|
||||
start()
|
||||
}, 20)
|
||||
}, 200)
|
||||
|
||||
$tooltip.trigger('mouseenter')
|
||||
})
|
||||
|
@ -887,27 +887,27 @@ $(function () {
|
|||
|
||||
var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.bootstrapTooltip({ delay: { show: 15, hide: 0 }})
|
||||
.bootstrapTooltip({ delay: { show: 150, hide: 0 }})
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '10ms: tooltip not faded in')
|
||||
ok(!$('.tooltip').is('.fade.in'), '100ms: tooltip not faded in')
|
||||
$tooltip.trigger('mouseout')
|
||||
}, 10)
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$('.tooltip').is('.fade.in'), '25ms: tooltip not faded in')
|
||||
ok(!$('.tooltip').is('.fade.in'), '250ms: tooltip not faded in')
|
||||
start()
|
||||
}, 25)
|
||||
}, 250)
|
||||
|
||||
$tooltip.trigger('mouseenter')
|
||||
})
|
||||
|
||||
test('should wait 20ms before hiding the tooltip', function () {
|
||||
test('should wait 200ms before hiding the tooltip', function () {
|
||||
stop()
|
||||
|
||||
var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.bootstrapTooltip({ delay: { show: 0, hide: 15 }})
|
||||
.bootstrapTooltip({ delay: { show: 0, hide: 150 }})
|
||||
|
||||
setTimeout(function () {
|
||||
ok($tooltip.data('bs.tooltip').$tip.is('.fade.in'), '1ms: tooltip faded in')
|
||||
|
@ -915,13 +915,13 @@ $(function () {
|
|||
$tooltip.trigger('mouseout')
|
||||
|
||||
setTimeout(function () {
|
||||
ok($tooltip.data('bs.tooltip').$tip.is('.fade.in'), '10ms: tooltip still faded in')
|
||||
}, 10)
|
||||
ok($tooltip.data('bs.tooltip').$tip.is('.fade.in'), '100ms: tooltip still faded in')
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
ok(!$tooltip.data('bs.tooltip').$tip.is('.in'), '20ms: tooltip removed')
|
||||
ok(!$tooltip.data('bs.tooltip').$tip.is('.in'), '200ms: tooltip removed')
|
||||
start()
|
||||
}, 20)
|
||||
}, 200)
|
||||
|
||||
}, 0)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue