aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-01 17:32:07 -0700
committerMark Otto <[email protected]>2013-07-01 17:32:07 -0700
commita27ecfccf301f8996d7ddf6bd6f7f46f358a5a31 (patch)
tree7e5a7ac7bddc034a800f79646d022b775aa79f19 /less/carousel.less
parent2d2828d36ccaca2f6db42352d59ab4906a7439f6 (diff)
downloadbootstrap-a27ecfccf301f8996d7ddf6bd6f7f46f358a5a31.tar.xz
bootstrap-a27ecfccf301f8996d7ddf6bd6f7f46f358a5a31.zip
Make more components mixin-friendly
Diffstat (limited to 'less/carousel.less')
-rw-r--r--less/carousel.less14
1 files changed, 2 insertions, 12 deletions
diff --git a/less/carousel.less b/less/carousel.less
index 13159db41..d0f636cf8 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -8,15 +8,10 @@
position: relative;
}
-// Wrap all slides, but only show the active one
.carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
-}
-
-// Immediate parent of all slides
-.carousel-inner {
> .item {
display: none;
@@ -80,13 +75,8 @@
color: #fff;
text-align: center;
text-shadow: 0 1px 2px rgba(0,0,0,.6);
-
- // 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);
+ // We can't have this transition here because webkit cancels the carousel
+ // animation if you trip this while in the middle of another animation.
// Set gradients for backgrounds
&.left {