mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
set prefers-reduced-motion as a global override
This commit is contained in:
parent
3f4026a6b7
commit
86d6c5cd60
@ -91,3 +91,12 @@ body {
|
|||||||
a {
|
a {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prefers-reduced-motion {
|
||||||
|
* {
|
||||||
|
transition-duration: none !important;
|
||||||
|
transition-timing-function: none !important;
|
||||||
|
transition-property: none !important;
|
||||||
|
transition-delay: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -132,12 +132,3 @@
|
|||||||
border-radius: calc(var(--block-border-radius) + 2px);
|
border-radius: calc(var(--block-border-radius) + 2px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.prefers-reduced-motion {
|
|
||||||
.tile-layout {
|
|
||||||
transition-duration: none !important;
|
|
||||||
transition-timing-function: none !important;
|
|
||||||
transition-property: none !important;
|
|
||||||
transition-delay: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user