aboutsummaryrefslogtreecommitdiffstats
path: root/bower_components/bootstrap/less/carousel.less
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/less/carousel.less')
-rw-r--r--bower_components/bootstrap/less/carousel.less13
1 files changed, 7 insertions, 6 deletions
diff --git a/bower_components/bootstrap/less/carousel.less b/bower_components/bootstrap/less/carousel.less
index 87ed696..252011e 100644
--- a/bower_components/bootstrap/less/carousel.less
+++ b/bower_components/bootstrap/less/carousel.less
@@ -101,6 +101,7 @@
color: @carousel-control-color;
text-align: center;
text-shadow: @carousel-text-shadow;
+ background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug
// We can't have this transition here because WebKit cancels the carousel
// animation if you trip this while in the middle of another animation.
@@ -240,18 +241,18 @@
.glyphicon-chevron-right,
.icon-prev,
.icon-next {
- width: 30px;
- height: 30px;
- margin-top: -15px;
- font-size: 30px;
+ width: (@carousel-control-font-size * 1.5);
+ height: (@carousel-control-font-size * 1.5);
+ margin-top: (@carousel-control-font-size / -2);
+ font-size: (@carousel-control-font-size * 1.5);
}
.glyphicon-chevron-left,
.icon-prev {
- margin-left: -15px;
+ margin-left: (@carousel-control-font-size / -2);
}
.glyphicon-chevron-right,
.icon-next {
- margin-right: -15px;
+ margin-right: (@carousel-control-font-size / -2);
}
}