]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Check prefers-reduced-motion variable before adding reduced motion media query for...
authorPatrick H. Lauke <redux@splintered.co.uk>
Thu, 21 Mar 2019 13:59:02 +0000 (13:59 +0000)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 21 Mar 2019 13:59:02 +0000 (15:59 +0200)
scss/_progress.scss

index ab9ea0ffbefcdaff765f22df36367013501359af..391081aa08ad3c7a940d62d0c084d8a0f6430e8f 100644 (file)
   .progress-bar-animated {
     animation: progress-bar-stripes $progress-bar-animation-timing;
 
-    @media (prefers-reduced-motion: reduce) {
-      animation: none;
+    @if $enable-prefers-reduced-motion-media-query {
+      @media (prefers-reduced-motion: reduce) {
+        animation: none;
+      }
     }
   }
 }