mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 1417079 - Make tab hover animation obey prefers-reduced-motion. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D76627
This commit is contained in:
parent
929e460619
commit
1d4c80a555
@ -556,10 +556,15 @@
|
||||
background-color: rgba(255,255,255,.1);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.tab-line:not([selected=true]):not([multiselected]) {
|
||||
transition: transform 250ms var(--animation-easing-function), opacity 250ms var(--animation-easing-function);
|
||||
}
|
||||
}
|
||||
|
||||
.tab-line:not([selected=true]):not([multiselected]) {
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
transition: transform 250ms var(--animation-easing-function), opacity 250ms var(--animation-easing-function);
|
||||
}
|
||||
|
||||
.tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-line:not([selected=true]):not([multiselected]) {
|
||||
|
Loading…
Reference in New Issue
Block a user