diff options
| author | yo momma <shutup@oops.wtf> | 2026-01-30 19:30:37 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-01-30 19:30:37 +0000 |
| commit | 35e248d8861576b9928d904eb25c5cf1436e6cf2 (patch) | |
| tree | d169c6af13468aa63c0f73947997b374dcbb35c0 /template/rooms/vortex.st | |
| parent | 11f8e6abdddfd60a4514dd30cb4d198780dd84c5 (diff) | |
Refactor: shared CSS utilities + fewer inline stylesrefactor
Diffstat (limited to 'template/rooms/vortex.st')
| -rwxr-xr-x | template/rooms/vortex.st | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/template/rooms/vortex.st b/template/rooms/vortex.st index 18e308f..128795e 100755 --- a/template/rooms/vortex.st +++ b/template/rooms/vortex.st @@ -2,7 +2,7 @@ <html> <head> <title>dump.fm image vortex</title> -<link rel="stylesheet" type="text/css" href="/static/css/rooms_vortex.css?v=20260129"> +<link rel="stylesheet" type="text/css" href="/static/css/rooms_vortex.css?v=20260130"> @@ -202,7 +202,10 @@ $messages: { m | </div> -<span id="LB0" style="position:absolute;left:50%;top:50%;"><span style="position:absolute;font-family:arial;font-size:10px;color:#ccc;background:#000;left:-50px;top:-18px">Loading...</span><span style="position:absolute;left:-50px;top:-5px;font-size:1px;width:100px;height:10px;background:#333"><span id="LB1" style="position:absolute;font-size:1px;width:0px;height:10px;background:#ccc"></span></span></span> +<span id="LB0" class="loading-bar"> + <span class="loading-bar-label">Loading...</span> + <span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span> +</span> <script type="text/javascript">m00=document.getElementById("canvas").getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script> |
