aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_animation.scss14
1 files changed, 10 insertions, 4 deletions
diff --git a/scss/_animation.scss b/scss/_animation.scss
index 1be1971fb..4112468d0 100644
--- a/scss/_animation.scss
+++ b/scss/_animation.scss
@@ -1,6 +1,9 @@
.fade {
opacity: 0;
- transition: opacity .15s linear;
+
+ @if $enable-transitions {
+ transition: opacity .15s linear;
+ }
&.active {
opacity: 1;
@@ -30,7 +33,10 @@ tbody {
position: relative;
height: 0;
overflow: hidden;
- transition-timing-function: ease;
- transition-duration: .35s;
- transition-property: height;
+
+ @if $enable-transitions {
+ transition-timing-function: ease;
+ transition-duration: .35s;
+ transition-property: height;
+ }
}