2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Carousel no longer dependent on glyphicons

Used laquo/raquo for control buttons
Updated docs
This commit is contained in:
Maurice Wahba
2013-07-06 22:20:56 +04:00
parent 95655e7275
commit 8a84da6341
3 changed files with 39 additions and 10 deletions
+15 -2
View File
@@ -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;