Skip to content
Snippets Groups Projects
Commit 427ffa61 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment