aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-28 15:14:57 -0800
committerJacob Thornton <[email protected]>2012-01-28 15:14:57 -0800
commit6493cd22c0c72c60354ebbd6d7887bcbbf4e263a (patch)
tree11f5819de8397437fa1724144be3903bac7d9fdf /less/carousel.less
parent29b1e86bf967e1cfbf869c0eed1a46655d8db126 (diff)
downloadbootstrap-6493cd22c0c72c60354ebbd6d7887bcbbf4e263a.tar.xz
bootstrap-6493cd22c0c72c60354ebbd6d7887bcbbf4e263a.zip
blah
Diffstat (limited to 'less/carousel.less')
-rw-r--r--less/carousel.less16
1 files changed, 11 insertions, 5 deletions
diff --git a/less/carousel.less b/less/carousel.less
index 254a9f60c..4163b069f 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -26,15 +26,15 @@
line-height: 1;
}
- .active,
- .next,
+ .active,
+ .next,
.prev { display: block; }
.active {
left: 0;
}
- .next,
+ .next,
.prev {
position: absolute;
top: 0;
@@ -47,7 +47,7 @@
.prev {
left: -100%;
}
- .next.left,
+ .next.left,
.prev.right {
left: 0;
}
@@ -80,7 +80,13 @@
border: 3px solid @white;
.border-radius(23px);
.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
&.right {