aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2024-01-27 14:27:37 +0200
committerGitHub <noreply@github.com>2024-01-27 20:27:37 +0800
commit0e650dca3076bbf8e1a4d1a80cef3275a51af658 (patch)
tree68915d8af66bfa724a3ae92f9f4607b089dc4b54 /web_src
parentfc1bae00a4cc07d832eb9405ec8fd8f4e52c0197 (diff)
downloadgitea-0e650dca3076bbf8e1a4d1a80cef3275a51af658.tar.gz
gitea-0e650dca3076bbf8e1a4d1a80cef3275a51af658.zip
Make loading animation less aggressive (#28955)
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 ![before](https://github.com/go-gitea/gitea/assets/20454870/215a722d-feb4-4643-819d-c37a620c5e48) # After ![after](https://github.com/go-gitea/gitea/assets/20454870/7acb1fab-9157-4f4d-8cc7-45fea0234b47) Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/modules/animations.css2
1 files changed, 1 insertions, 1 deletions
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);