feat: persist station sync catalogs and status

This commit is contained in:
2026-04-29 16:54:05 +02:00
parent 8bd9106ff3
commit 10a239a155
7 changed files with 642 additions and 59 deletions
+55
View File
@@ -1585,6 +1585,61 @@ header {
letter-spacing: 0.01em;
}
.catalog-sync-status {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 8px;
width: fit-content;
padding: 6px 10px;
border: 1px solid rgba(var(--accent-rgb), 0.22);
border-radius: 999px;
background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-3-rgb), 0.1));
color: var(--text-main);
font-size: 0.75rem;
font-weight: 800;
letter-spacing: 0.01em;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.catalog-sync-status.is-warning {
border-color: rgba(255, 112, 135, 0.34);
background: linear-gradient(135deg, rgba(255, 112, 135, 0.18), rgba(255, 180, 92, 0.12));
}
.catalog-sync-status-time {
color: var(--text-muted);
font-weight: 700;
}
.catalog-sync-status-time:not(:empty)::before {
content: "·";
margin-right: 8px;
color: var(--text-soft);
}
.catalog-sync-status::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7);
}
.catalog-sync-status.is-warning::before {
background: var(--danger);
box-shadow: 0 0 10px rgba(255, 112, 135, 0.7);
}
.catalog-sync-history {
margin-top: 8px;
color: var(--text-soft);
font-size: 0.74rem;
font-weight: 700;
letter-spacing: 0.01em;
}
.status-dot {
width: 8px;
height: 8px;