mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Extract $carousel-control-sm-up-size variable
[skip sauce] [skip validator]
This commit is contained in:
parent
4d62aa41c7
commit
9f85c6e1d1
2 changed files with 7 additions and 6 deletions
|
@ -225,16 +225,16 @@
|
||||||
.carousel-control {
|
.carousel-control {
|
||||||
.icon-prev,
|
.icon-prev,
|
||||||
.icon-next {
|
.icon-next {
|
||||||
width: 30px;
|
width: $carousel-control-sm-up-size;
|
||||||
height: 30px;
|
height: $carousel-control-sm-up-size;
|
||||||
margin-top: -15px;
|
margin-top: -($carousel-control-sm-up-size / 2);
|
||||||
font-size: 30px;
|
font-size: $carousel-control-sm-up-size;
|
||||||
}
|
}
|
||||||
.icon-prev {
|
.icon-prev {
|
||||||
margin-left: -15px;
|
margin-left: -($carousel-control-sm-up-size / 2);
|
||||||
}
|
}
|
||||||
.icon-next {
|
.icon-next {
|
||||||
margin-right: -15px;
|
margin-right: -($carousel-control-sm-up-size / 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -760,6 +760,7 @@ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
||||||
|
|
||||||
$carousel-control-color: #fff !default;
|
$carousel-control-color: #fff !default;
|
||||||
$carousel-control-width: 15% !default;
|
$carousel-control-width: 15% !default;
|
||||||
|
$carousel-control-sm-up-size: 30px !default;
|
||||||
$carousel-control-opacity: .5 !default;
|
$carousel-control-opacity: .5 !default;
|
||||||
$carousel-control-font-size: 20px !default;
|
$carousel-control-font-size: 20px !default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue