mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
refactor: prefers reduced motion
This commit is contained in:
1 parent
100507a1d1
commit
c12b4b00fc
2 files changed
+15
No files matched your search
@@ -177,6 +177,12 @@
|
||||
</main>
|
||||
|
||||
<style lang="scss">
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
main * {
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0% {
|
||||
transform: translatey(0px);
|
||||
|
||||
@@ -276,6 +276,15 @@
|
||||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.cb-card,
|
||||
.cb-card * {
|
||||
transition: none !important;
|
||||
animation: none !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
--mx: 50%;
|
||||
--my: 50%;
|
||||
|
||||
Reference in new issue
Block a user