T-013: UX — Queue-Overlay ('in Warteschlange…') + langsamer Wartebalken

This commit is contained in:
2026-11-06 19:52:32 +01:00
parent 895b554cc1
commit dff6de604a
2 changed files with 13 additions and 2 deletions

View File

@ -262,8 +262,12 @@
loading="lazy"
onerror={hideBrokenCover}
/>
{#if dlg === 'running'}
<div class="overlay"><span class="muted small">{d ? mb(d.bytes) : ''}</span></div>
{#if dlg}
<div class="overlay">
<span class="muted small">
{dlg === 'running' ? (d ? mb(d.bytes) : '') : 'in Warteschlange…'}
</span>
</div>
{/if}
</div>
<div class="meta">
@ -280,6 +284,8 @@
{/if}
{#if dlg === 'running'}
<div class="progress indeterminate"><div class="fill"></div></div>
{:else if dlg === 'queued'}
<div class="progress indeterminate slow"><div class="fill"></div></div>
{/if}
<div class="actions">
{#if dlg === 'running' || dlg === 'queued'}

View File

@ -133,6 +133,11 @@ button.primary,
animation: dlslide 1.3s linear infinite;
}
.progress.indeterminate.slow .fill {
animation-duration: 2.6s;
opacity: 0.6;
}
@keyframes dlslide {
from {
transform: translateX(-120%);