mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Merge branch '2.3.0-wip' into 3.0.0-wip
Conflicts: docs/assets/css/bootstrap.css docs/templates/pages/base-css.mustache less/dropdowns.less less/forms.less
This commit is contained in:
commit
a5e04c0799
12
docs/assets/css/bootstrap.css
vendored
12
docs/assets/css/bootstrap.css
vendored
@ -2328,7 +2328,7 @@ table th[class*="span"] {
|
|||||||
border-bottom: 1px solid #ffffff;
|
border-bottom: 1px solid #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu li > a {
|
.dropdown-menu > li > a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 3px 20px;
|
padding: 3px 20px;
|
||||||
clear: both;
|
clear: both;
|
||||||
@ -2352,8 +2352,8 @@ table th[class*="span"] {
|
|||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu .active > a,
|
.dropdown-menu > .active > a,
|
||||||
.dropdown-menu .active > a:hover {
|
.dropdown-menu > .active > a:hover {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: #0077b3;
|
background-color: #0077b3;
|
||||||
@ -2367,12 +2367,12 @@ table th[class*="span"] {
|
|||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu .disabled > a,
|
.dropdown-menu > .disabled > a,
|
||||||
.dropdown-menu .disabled > a:hover {
|
.dropdown-menu > .disabled > a:hover {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu .disabled > a:hover {
|
.dropdown-menu > .disabled > a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
2
docs/assets/js/bootstrap-carousel.js
vendored
2
docs/assets/js/bootstrap-carousel.js
vendored
@ -164,7 +164,7 @@
|
|||||||
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
||||||
if (typeof option == 'number') data.to(option)
|
if (typeof option == 'number') data.to(option)
|
||||||
else if (action) data[action]()
|
else if (action) data[action]()
|
||||||
else if (options.interval) data.cycle()
|
else if (options.interval) data.pause().cycle()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
docs/assets/js/bootstrap-collapse.js
vendored
2
docs/assets/js/bootstrap-collapse.js
vendored
@ -52,7 +52,7 @@
|
|||||||
, actives
|
, actives
|
||||||
, hasData
|
, hasData
|
||||||
|
|
||||||
if (this.transitioning) return
|
if (this.transitioning || this.$element.hasClass('in')) return
|
||||||
|
|
||||||
dimension = this.dimension()
|
dimension = this.dimension()
|
||||||
scroll = $.camelCase(['scroll', dimension].join('-'))
|
scroll = $.camelCase(['scroll', dimension].join('-'))
|
||||||
|
4
docs/assets/js/bootstrap.js
vendored
4
docs/assets/js/bootstrap.js
vendored
@ -425,7 +425,7 @@
|
|||||||
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
||||||
if (typeof option == 'number') data.to(option)
|
if (typeof option == 'number') data.to(option)
|
||||||
else if (action) data[action]()
|
else if (action) data[action]()
|
||||||
else if (options.interval) data.cycle()
|
else if (options.interval) data.pause().cycle()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -510,7 +510,7 @@
|
|||||||
, actives
|
, actives
|
||||||
, hasData
|
, hasData
|
||||||
|
|
||||||
if (this.transitioning) return
|
if (this.transitioning || this.$element.hasClass('in')) return
|
||||||
|
|
||||||
dimension = this.dimension()
|
dimension = this.dimension()
|
||||||
scroll = $.camelCase(['scroll', dimension].join('-'))
|
scroll = $.camelCase(['scroll', dimension].join('-'))
|
||||||
|
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
2
js/bootstrap-carousel.js
vendored
2
js/bootstrap-carousel.js
vendored
@ -164,7 +164,7 @@
|
|||||||
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
||||||
if (typeof option == 'number') data.to(option)
|
if (typeof option == 'number') data.to(option)
|
||||||
else if (action) data[action]()
|
else if (action) data[action]()
|
||||||
else if (options.interval) data.cycle()
|
else if (options.interval) data.pause().cycle()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
js/bootstrap-collapse.js
vendored
2
js/bootstrap-collapse.js
vendored
@ -52,7 +52,7 @@
|
|||||||
, actives
|
, actives
|
||||||
, hasData
|
, hasData
|
||||||
|
|
||||||
if (this.transitioning) return
|
if (this.transitioning || this.$element.hasClass('in')) return
|
||||||
|
|
||||||
dimension = this.dimension()
|
dimension = this.dimension()
|
||||||
scroll = $.camelCase(['scroll', dimension].join('-'))
|
scroll = $.camelCase(['scroll', dimension].join('-'))
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Links within the dropdown menu
|
// Links within the dropdown menu
|
||||||
li > a {
|
> li > a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 3px 20px;
|
padding: 3px 20px;
|
||||||
clear: both;
|
clear: both;
|
||||||
@ -86,8 +86,8 @@
|
|||||||
|
|
||||||
// Active state
|
// Active state
|
||||||
// ------------
|
// ------------
|
||||||
.dropdown-menu .active > a,
|
.dropdown-menu > .active > a,
|
||||||
.dropdown-menu .active > a:hover {
|
.dropdown-menu > .active > a:hover {
|
||||||
color: @dropdown-link-color-active;
|
color: @dropdown-link-color-active;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
@ -97,12 +97,12 @@
|
|||||||
// Disabled state
|
// Disabled state
|
||||||
// --------------
|
// --------------
|
||||||
// Gray out text and ensure the hover state remains gray
|
// Gray out text and ensure the hover state remains gray
|
||||||
.dropdown-menu .disabled > a,
|
.dropdown-menu > .disabled > a,
|
||||||
.dropdown-menu .disabled > a:hover {
|
.dropdown-menu > .disabled > a:hover {
|
||||||
color: @grayLight;
|
color: @grayLight;
|
||||||
}
|
}
|
||||||
// Nuke hover effects
|
// Nuke hover effects
|
||||||
.dropdown-menu .disabled > a:hover {
|
.dropdown-menu > .disabled > a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none; // Remove CSS gradient
|
background-image: none; // Remove CSS gradient
|
||||||
|
Loading…
x
Reference in New Issue
Block a user