1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-24 03:40:10 +00:00
This commit is contained in:
Jacob Thornton 2012-01-28 15:14:57 -08:00
parent 29b1e86bf9
commit 6493cd22c0
2 changed files with 11 additions and 10 deletions

View File

@ -3195,11 +3195,6 @@ a.thumbnail:hover {
border-radius: 23px; border-radius: 23px;
opacity: 0.5; opacity: 0.5;
filter: alpha(opacity=50); filter: alpha(opacity=50);
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-ms-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
} }
.carousel-control.right { .carousel-control.right {
left: auto; left: auto;

View File

@ -26,15 +26,15 @@
line-height: 1; line-height: 1;
} }
.active, .active,
.next, .next,
.prev { display: block; } .prev { display: block; }
.active { .active {
left: 0; left: 0;
} }
.next, .next,
.prev { .prev {
position: absolute; position: absolute;
top: 0; top: 0;
@ -47,7 +47,7 @@
.prev { .prev {
left: -100%; left: -100%;
} }
.next.left, .next.left,
.prev.right { .prev.right {
left: 0; left: 0;
} }
@ -80,7 +80,13 @@
border: 3px solid @white; border: 3px solid @white;
.border-radius(23px); .border-radius(23px);
.opacity(50); .opacity(50);
.transition(all .2s linear);
// we can't have this transition here
// because webkit cancels the carousel
// animation if you trip this while
// in the middle of another animation
// ;_;
// .transition(opacity .2s linear);
// Reposition the right one // Reposition the right one
&.right { &.right {