mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-14 18:15:49 +00:00
refactor(core): ♻️ replace reducemotion with core accessiblity module
This commit is contained in:
parent
159bd8a7d2
commit
8dcb1f37fb
|
@ -1,30 +0,0 @@
|
|||
/*
|
||||
* From Sanitize.css
|
||||
* 1. Remove animations when motion is reduced (opinionated).
|
||||
* 2. Remove fixed background attachments when motion is reduced (opinionated).
|
||||
* 3. Remove timed scrolling behaviors when motion is reduced (opinionated).
|
||||
* 4. Remove transitions when motion is reduced (opinionated).
|
||||
*/
|
||||
|
||||
@media ( prefers-reduced-motion: reduce ) {
|
||||
/* stylelint-disable time-min-milliseconds */
|
||||
*,
|
||||
:before,
|
||||
:after {
|
||||
animation-delay: -1ms !important;
|
||||
/* 1 */
|
||||
animation-duration: 1ms !important;
|
||||
/* 1 */
|
||||
animation-iteration-count: 1 !important;
|
||||
/* 1 */
|
||||
background-attachment: initial !important;
|
||||
/* 2 */
|
||||
scroll-behavior: auto !important;
|
||||
/* 3 */
|
||||
transition-delay: 0s !important;
|
||||
/* 4 */
|
||||
transition-duration: 0s !important;
|
||||
/* 4 */
|
||||
}
|
||||
/* stylelint-enable time-min-milliseconds */
|
||||
}
|
|
@ -14,7 +14,6 @@
|
|||
@import 'common/scrollbar.less';
|
||||
@import 'common/hacks.less';
|
||||
@import 'common/wikitable.less';
|
||||
@import 'common/reducemotion.less';
|
||||
@import 'common/progressbar.less';
|
||||
|
||||
// Components
|
||||
|
|
Loading…
Reference in a new issue