mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Extract $carousel-icon-width variable
[skip sauce] [skip validator]
This commit is contained in:
parent
4d62aa41c7
commit
3003f530c9
@ -125,19 +125,19 @@
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 20px;
|
width: $carousel-icon-width;
|
||||||
height: 20px;
|
height: $carousel-icon-width;
|
||||||
margin-top: -10px;
|
margin-top: -($carousel-icon-width / 2);
|
||||||
font-family: serif;
|
font-family: serif;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
.icon-prev {
|
.icon-prev {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -10px;
|
margin-left: -($carousel-icon-width / 2);
|
||||||
}
|
}
|
||||||
.icon-next {
|
.icon-next {
|
||||||
right: 50%;
|
right: 50%;
|
||||||
margin-right: -10px;
|
margin-right: -($carousel-icon-width / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-prev {
|
.icon-prev {
|
||||||
|
@ -768,6 +768,8 @@ $carousel-indicator-border-color: #fff !default;
|
|||||||
|
|
||||||
$carousel-caption-color: #fff !default;
|
$carousel-caption-color: #fff !default;
|
||||||
|
|
||||||
|
$carousel-icon-width: 20px !default;
|
||||||
|
|
||||||
|
|
||||||
// Close
|
// Close
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user