mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
Variable carousel indicator opacity (#29468)
This commit is contained in:
parent
0a3aa08b89
commit
46e8f1a34f
@ -171,12 +171,12 @@
|
|||||||
// Use transparent borders to increase the hit area by 10px on top and bottom.
|
// Use transparent borders to increase the hit area by 10px on top and bottom.
|
||||||
border-top: $carousel-indicator-hit-area-height solid transparent;
|
border-top: $carousel-indicator-hit-area-height solid transparent;
|
||||||
border-bottom: $carousel-indicator-hit-area-height solid transparent;
|
border-bottom: $carousel-indicator-hit-area-height solid transparent;
|
||||||
opacity: .5;
|
opacity: $carousel-indicator-opacity;
|
||||||
@include transition($carousel-indicator-transition);
|
@include transition($carousel-indicator-transition);
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
opacity: 1;
|
opacity: $carousel-indicator-active-opacity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1070,7 +1070,9 @@ $carousel-indicator-width: 30px !default;
|
|||||||
$carousel-indicator-height: 3px !default;
|
$carousel-indicator-height: 3px !default;
|
||||||
$carousel-indicator-hit-area-height: 10px !default;
|
$carousel-indicator-hit-area-height: 10px !default;
|
||||||
$carousel-indicator-spacer: 3px !default;
|
$carousel-indicator-spacer: 3px !default;
|
||||||
|
$carousel-indicator-opacity: .5 !default;
|
||||||
$carousel-indicator-active-bg: $white !default;
|
$carousel-indicator-active-bg: $white !default;
|
||||||
|
$carousel-indicator-active-opacity: 1 !default;
|
||||||
$carousel-indicator-transition: opacity .6s ease !default;
|
$carousel-indicator-transition: opacity .6s ease !default;
|
||||||
|
|
||||||
$carousel-caption-width: 70% !default;
|
$carousel-caption-width: 70% !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user