From b2cfe848d4c041fa9856c5f0e1f798f904593d49 Mon Sep 17 00:00:00 2001 From: axolotle Date: Fri, 9 Feb 2024 15:58:58 +0100 Subject: [PATCH] replace yunohost logo with loading icon on initial app load --- spa-loading-template.html | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/spa-loading-template.html b/spa-loading-template.html index 05ef7f2..8d49c07 100644 --- a/spa-loading-template.html +++ b/spa-loading-template.html @@ -23,24 +23,35 @@ color: rgb(166, 173, 186); } + .sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; + } + + @keyframes spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } + } + svg { - width: 100%; - height: 100%; - max-width: 196px; + animation: spin 1s linear infinite; }
- - - - - - - - +

Loading

+ +