aboutsummaryrefslogtreecommitdiff
path: root/scss/_variables.scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2018-10-29 21:11:50 +0100
committerXhmikosR <[email protected]>2018-10-30 08:57:02 +0200
commit5aed968750177ec35f99dc03e71eec3632beb844 (patch)
treee4a3c6c0dab1dfe588b7ed6e779d4b9754ed804e /scss/_variables.scss
parent5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7 (diff)
downloadbootstrap-5aed968750177ec35f99dc03e71eec3632beb844.tar.xz
bootstrap-5aed968750177ec35f99dc03e71eec3632beb844.zip
Prevent the background to be shown when transitioning
Diffstat (limited to 'scss/_variables.scss')
-rw-r--r--scss/_variables.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index a16ea1fbb..a3538ff6b 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -1006,7 +1006,8 @@ $carousel-control-icon-width: 20px !default;
$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e"), "#", "%23") !default;
$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e"), "#", "%23") !default;
-$carousel-transition: transform .6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
+$carousel-transition-duration: .6s !default;
+$carousel-transition: transform $carousel-transition-duration ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
// Close