mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Carousel no longer dependent on glyphicons
Used laquo/raquo for control buttons Updated docs
This commit is contained in:
+15
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user