From 6cb587eccf7ef4e510e99061f9b64387b40bdeed Mon Sep 17 00:00:00 2001 From: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com> Date: Mon, 17 Oct 2022 11:32:14 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20remove=20animation=20whe?= =?UTF-8?q?n=20user=20specifies=20reduced=20motion=20(#1381)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: ICU-4330 --- ui/admin/app/styles/app.scss | 9 +++++++++ ui/desktop/app/styles/app.scss | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/ui/admin/app/styles/app.scss b/ui/admin/app/styles/app.scss index 159fba476..0dd6ab846 100644 --- a/ui/admin/app/styles/app.scss +++ b/ui/admin/app/styles/app.scss @@ -237,6 +237,15 @@ } } +// No spinning animation for refresh button when user specifies reduced motion +@media (prefers-reduced-motion: reduce) { + .is-loading { + .rose-icon { + animation: none; + } + } +} + //onboarding quick setup styles .choose-path { display: block; diff --git a/ui/desktop/app/styles/app.scss b/ui/desktop/app/styles/app.scss index 405853544..989f66ba4 100644 --- a/ui/desktop/app/styles/app.scss +++ b/ui/desktop/app/styles/app.scss @@ -499,3 +499,12 @@ $chevron-down: url("data:image/svg+xml;utf-8,