aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMaurice Wahba <[email protected]>2013-07-06 22:20:56 +0400
committerMaurice Wahba <[email protected]>2013-07-06 22:26:40 +0400
commit8a84da6341e19011ce8f8e518d7b1cb7f0931da5 (patch)
treeb7c2809d0352fa4040bd3e8b8927fdbb6af6a009 /less
parent95655e72754b9450d04108593f60647cf2e2241c (diff)
downloadbootstrap-8a84da6341e19011ce8f8e518d7b1cb7f0931da5.tar.xz
bootstrap-8a84da6341e19011ce8f8e518d7b1cb7f0931da5.zip
Carousel no longer dependent on glyphicons
Used laquo/raquo for control buttons Updated docs
Diffstat (limited to 'less')
-rw-r--r--less/carousel.less17
1 files changed, 15 insertions, 2 deletions
diff --git a/less/carousel.less b/less/carousel.less
index 8834c6f7b..d41fc07ad 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -99,7 +99,7 @@
}
// Toggles
- .glyphicon {
+ .glyphicon, .icon-prev, .icon-next {
position: absolute;
top: 50%;
left: 50%;
@@ -110,6 +110,17 @@
margin-top: -10px;
margin-left: -10px;
}
+ // Non-glyphicon toggles
+ .icon-prev {
+ &:before {
+ content: '\00ab';
+ }
+ }
+ .icon-next {
+ &:before {
+ content: '\00bb';
+ }
+ }
}
// Optional indicator pips
@@ -167,7 +178,9 @@
@media screen and (min-width: @screen-tablet) {
// Scale up the controls a smidge
- .carousel-control .glyphicon {
+ .carousel-control .glyphicon,
+ .carousel-control .icon-prev,
+ .carousel-control .icon-next {
width: 30px;
height: 30px;
margin-top: -15px;