Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2018-07-25 07:15:05 +0300
committerMark Otto <otto@github.com>2018-07-25 07:15:05 +0300
commit4f926671e942658b6aaca969614fc5f00dce612e (patch)
tree9355a32d2e9f2ea9e586eaa2796b511e2ca37e3a /scss/_carousel.scss
parentbbee41431d51f6d7d7160d9dc4d112b54d13904b (diff)
Carousel indicators transition (#26902)
Diffstat (limited to 'scss/_carousel.scss')
-rw-r--r--scss/_carousel.scss6
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;
}
}