aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.less
diff options
context:
space:
mode:
authorNikolay Shebanov <[email protected]>2014-03-31 12:37:55 +0400
committerNikolay Shebanov <[email protected]>2014-03-31 12:46:29 +0400
commitdffbf8ff780042d211835e68dc79ed6dbc24e779 (patch)
tree8ae7ae1018a18e6748a6d878467b395e85446016 /less/carousel.less
parenta419e41c325c20a024ad0abea3d7cc8b537d2b26 (diff)
downloadbootstrap-dffbf8ff780042d211835e68dc79ed6dbc24e779.tar.xz
bootstrap-dffbf8ff780042d211835e68dc79ed6dbc24e779.zip
Fix carousel control margin asymmetry
Diffstat (limited to 'less/carousel.less')
-rw-r--r--less/carousel.less13
1 files changed, 11 insertions, 2 deletions
diff --git a/less/carousel.less b/less/carousel.less
index 6f5023756..f06bc160a 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -110,20 +110,22 @@
.icon-prev,
.glyphicon-chevron-left {
left: 50%;
+ margin-left: -10px;
}
.icon-next,
.glyphicon-chevron-right {
right: 50%;
+ margin-right: -10px;
}
.icon-prev,
.icon-next {
width: 20px;
height: 20px;
margin-top: -10px;
- margin-left: -10px;
font-family: serif;
}
+
.icon-prev {
&:before {
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
@@ -213,9 +215,16 @@
width: 30px;
height: 30px;
margin-top: -15px;
- margin-left: -15px;
font-size: 30px;
}
+ .glyphicon-chevron-left,
+ .icon-prev {
+ margin-left: -15px;
+ }
+ .glyphicon-chevron-right,
+ .icon-next {
+ margin-right: -15px;
+ }
}
// Show and left align the captions