Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4138170
accessibility.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
accessibility.less
View Options
/**
* Respect users who prefer reduced motion.
* Inspiration taken from sanitize.css
* https://github.com/csstools/sanitize.css/blob/v13.0.0/reduce-motion.css,
* itself based on collection at
* https://github.com/jensimmons/cssremedy/issues/11
*
* Note, we also don't set `background-attachment: initial !important;` as
* setting a background property changes the default rendering of unstyled
* elements like `button`s and we don't feature `fixed` anywhere in deployed
* skins or extensions.
*/
/* stylelint-disable declaration-no-important, time-min-milliseconds, plugin/no-unsupported-browser-features */
@
media
(
prefers-reduced-motion
:
reduce
)
{
*,
::
before
,
::
after
{
animation-delay
:
-0.01
ms
!important
;
animation-duration
:
0.01
ms
!important
;
animation-iteration-count
:
1
!important
;
scroll-behavior
:
auto
!important
;
//
Set
to
`0ms`
even
though
it
implicates
not
firing
`transitionend`
in
certain
browsers.
//
Do
not
set
this
to
non-zero
value,
as
it
results
in
infinite
motion
on
iOS.
See
T308979.
transition-duration
:
0
ms
!important
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 14:32 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0b/37/31e131358766b9637d84eab283bd
Default Alt Text
accessibility.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment