mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Fix the carousel after we scoped selectors
This commit is contained in:
parent
cb69aa976f
commit
78390d12af
28
docs/assets/css/bootstrap.css
vendored
28
docs/assets/css/bootstrap.css
vendored
@ -5913,7 +5913,7 @@ a.badge:hover {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.carousel > .item {
|
||||
.carousel-inner > .item {
|
||||
position: relative;
|
||||
display: none;
|
||||
-webkit-transition: 0.6s ease-in-out left;
|
||||
@ -5922,46 +5922,46 @@ a.badge:hover {
|
||||
transition: 0.6s ease-in-out left;
|
||||
}
|
||||
|
||||
.carousel > .item > img {
|
||||
.carousel-inner > .item > img {
|
||||
display: block;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.carousel > .active,
|
||||
.carousel > .next,
|
||||
.carousel > .prev {
|
||||
.carousel-inner > .active,
|
||||
.carousel-inner > .next,
|
||||
.carousel-inner > .prev {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.carousel > .active {
|
||||
.carousel-inner > .active {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.carousel > .next,
|
||||
.carousel > .prev {
|
||||
.carousel-inner > .next,
|
||||
.carousel-inner > .prev {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.carousel > .next {
|
||||
.carousel-inner > .next {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.carousel > .prev {
|
||||
.carousel-inner > .prev {
|
||||
left: -100%;
|
||||
}
|
||||
|
||||
.carousel > .next.left,
|
||||
.carousel > .prev.right {
|
||||
.carousel-inner > .next.left,
|
||||
.carousel-inner > .prev.right {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.carousel > .active.left {
|
||||
.carousel-inner > .active.left {
|
||||
left: -100%;
|
||||
}
|
||||
|
||||
.carousel > .active.right {
|
||||
.carousel-inner > .active.right {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.carousel {
|
||||
.carousel-inner {
|
||||
|
||||
> .item {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user