From 253af5505336ba606134051b5e1a70bdf96534e4 Mon Sep 17 00:00:00 2001 From: Giteabot <teabot@gitea.io> Date: Sat, 27 Jan 2024 20:38:14 +0800 Subject: [PATCH] Make loading animation less aggressive (#28955) (#28956) Backport #28955 by @yardenshoham The current animation loops in a very fast manner, causing a slight feeling of uncomfortableness. This change slows it a bit for a smoother experience. # Before  # After  Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: Yarden Shoham <git@yardenshoham.com> (cherry picked from commit 7291fecab34c94a1f677d2ae5b86147f331a3c0c) --- web_src/css/modules/animations.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/modules/animations.css b/web_src/css/modules/animations.css index cac824d87d..87eb6a75cf 100644 --- a/web_src/css/modules/animations.css +++ b/web_src/css/modules/animations.css @@ -22,7 +22,7 @@ height: min(4em, 66.6%); aspect-ratio: 1; transform: translate(-50%, -50%); - animation: isloadingspin 500ms infinite linear; + animation: isloadingspin 1000ms infinite linear; border-width: 4px; border-style: solid; border-color: var(--color-secondary) var(--color-secondary) var(--color-secondary-dark-8) var(--color-secondary-dark-8);