diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2018-07-25 07:15:05 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2018-07-25 07:15:05 +0300 |
commit | 4f926671e942658b6aaca969614fc5f00dce612e (patch) | |
tree | 9355a32d2e9f2ea9e586eaa2796b511e2ca37e3a /scss/_carousel.scss | |
parent | bbee41431d51f6d7d7160d9dc4d112b54d13904b (diff) |
Carousel indicators transition (#26902)
Diffstat (limited to 'scss/_carousel.scss')
-rw-r--r-- | scss/_carousel.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scss/_carousel.scss b/scss/_carousel.scss index 91c23e5fc3..b7114e9637 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -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; } } |