This commit is contained in:
2026-01-24 16:01:05 +01:00
parent 257ebf6c5d
commit 70858836d0

View File

@@ -15,6 +15,7 @@
disabled={isRunning || deleting} disabled={isRunning || deleting}
> >
{#if isRunning} {#if isRunning}
<span class="spinner"></span>
{label} Syncing... {label} Syncing...
{:else} {:else}
Sync from {label} Sync from {label}
@@ -37,4 +38,22 @@
.dcl-btn:hover:not(:disabled) { .dcl-btn:hover:not(:disabled) {
background-color: #d35400; background-color: #d35400;
} }
/* Spinner animation */
.spinner {
display: inline-block;
width: 1rem;
height: 1rem;
margin-right: 0.5rem;
border: 2px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: white;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
</style> </style>