mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Carousel indicators transition (#26902)
This commit is contained in:
parent
bbee41431d
commit
4f926671e9
@ -190,7 +190,9 @@
|
||||
margin-left: $carousel-indicator-spacer;
|
||||
text-indent: -999px;
|
||||
cursor: pointer;
|
||||
background-color: rgba($carousel-indicator-active-bg, .5);
|
||||
background-color: $carousel-indicator-active-bg;
|
||||
opacity: .5;
|
||||
@include transition($carousel-indicator-transition);
|
||||
|
||||
// Use pseudo classes to increase the hit area by 10px on top and bottom.
|
||||
&::before {
|
||||
@ -214,7 +216,7 @@
|
||||
}
|
||||
|
||||
.active {
|
||||
background-color: $carousel-indicator-active-bg;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -917,6 +917,7 @@ $carousel-indicator-width: 30px !default;
|
||||
$carousel-indicator-height: 3px !default;
|
||||
$carousel-indicator-spacer: 3px !default;
|
||||
$carousel-indicator-active-bg: $white !default;
|
||||
$carousel-indicator-transition: opacity .6s ease !default;
|
||||
|
||||
$carousel-caption-width: 70% !default;
|
||||
$carousel-caption-color: $white !default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user