Commit 427ffa61 authored by lauriii's avatar lauriii

Issue #2940012 by John Cook, rachel_norfolk, abhisekmazumdar,...

Issue #2940012 by John Cook, rachel_norfolk, abhisekmazumdar, andrewmacpherson, alexpott: Use prefers-reduced-motion media query on batch progress bar
parent 69167b5d
......@@ -10,6 +10,9 @@
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-unknown-animations": true,
"media-feature-name-no-unknown": [true, {
"ignoreMediaFeatureNames": ["prefers-reduced-motion"]
}],
"number-leading-zero": "always",
"plugin/no-browser-hacks": [true, {
"browsers": [
......
......@@ -41,6 +41,15 @@
-moz-animation-direction: reverse;
}
@media screen and (prefers-reduced-motion: reduce) {
.progress__bar {
-webkit-animation: none;
-moz-animation: none;
-webkit-transition: none;
transition: none;
}
}
/**
* Progress bar animations.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment