0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00

Extract $carousel-indicators-width variable

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-02-16 21:28:20 -08:00
parent 702041e0c5
commit 105bfbc5f9
2 changed files with 4 additions and 2 deletions

View File

@ -163,9 +163,9 @@
bottom: 10px; bottom: 10px;
left: 50%; left: 50%;
z-index: 15; z-index: 15;
width: 60%; width: $carousel-indicators-width;
padding-left: 0; padding-left: 0;
margin-left: -30%; margin-left: -($carousel-indicators-width / 2);
text-align: center; text-align: center;
list-style: none; list-style: none;

View File

@ -780,6 +780,8 @@ $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;
$carousel-indicators-width: 60% !default;
$carousel-indicator-size: 10px !default; $carousel-indicator-size: 10px !default;
$carousel-indicator-active-size: 12px !default; $carousel-indicator-active-size: 12px !default;
$carousel-indicator-active-bg: #fff !default; $carousel-indicator-active-bg: #fff !default;