T-013: UX — Queue-Overlay ('in Warteschlange…') + langsamer Wartebalken
This commit is contained in:
@ -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'}
|
||||
|
||||
@ -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%);
|
||||
|
||||
Reference in New Issue
Block a user