зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1584273 - Disable the megabar animation when prefers-reduced-motion is true. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D47348 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b823671288
Коммит
5dabbf7c94
|
@ -116,6 +116,13 @@
|
|||
transition-timing-function: var(--animation-easing-function);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#urlbar[breakout][breakout-extend-animate],
|
||||
#urlbar[breakout][breakout-extend-animate] > #urlbar-input-container {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
}
|
||||
|
||||
#urlbar[breakout][breakout-extend] {
|
||||
/* The z-index needs to be big enough to trump other positioned UI pieces
|
||||
that we want to overlay. 3 is used in the tab bar. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче