aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-04-08 14:05:33 -0700
committerMark Otto <[email protected]>2017-04-08 14:40:35 -0700
commitfba27befef3c63f523a681230358cc996bc037aa (patch)
tree9ce5eba11eaf14cadd41c0dc28f6537cdeaf4abb
parent050aab338b3f6bac15337b79feed0a1c54bdcc6d (diff)
downloadbootstrap-fba27befef3c63f523a681230358cc996bc037aa.tar.xz
bootstrap-fba27befef3c63f523a681230358cc996bc037aa.zip
Add transition to .progress-bar
- Pulls in values from v3 - Closes #22371 which didn't use a transition include
-rw-r--r--scss/_progress.scss1
-rw-r--r--scss/_variables.scss1
2 files changed, 2 insertions, 0 deletions
diff --git a/scss/_progress.scss b/scss/_progress.scss
index ccca51e8d..66571843c 100644
--- a/scss/_progress.scss
+++ b/scss/_progress.scss
@@ -18,6 +18,7 @@
line-height: $progress-height;
color: $progress-bar-color;
background-color: $progress-bar-bg;
+ @include transition($progress-bar-transition);
}
.progress-bar-striped {
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 3af5205a4..beb8b9c13 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -828,6 +828,7 @@ $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
$progress-bar-color: $white !default;
$progress-bar-bg: $brand-primary !default;
$progress-bar-animation-timing: 1s linear infinite !default;
+$progress-bar-transition: width .6s ease !default;
// List group