feat(web): add typed API client auth

refs #81
This commit is contained in:
2026-07-02 08:23:19 +02:00
parent e6df6ac10a
commit d1cc12e065
16 changed files with 1381 additions and 14 deletions
+74
View File
@@ -254,6 +254,80 @@
line-height: 1;
}
.ctv-live-channel-body {
padding: var(--space-7, 16px);
}
.ctv-live-channel-state {
min-height: 72px;
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-4, 8px);
color: var(--text-secondary, #a89e92);
}
.ctv-live-channel-state-error {
align-items: flex-start;
flex-direction: column;
border: 1px solid var(--status-error, #f0663f);
border-radius: var(--radius-md, 7px);
background: var(--ctv-error-soft, rgba(240, 102, 63, 0.14));
color: var(--text-primary, #f0ebe4);
padding: var(--space-6, 12px);
}
.ctv-live-channel-state-error span {
color: var(--status-error, #f0663f);
font-size: var(--text-xs, 12px);
font-weight: var(--weight-semibold, 600);
letter-spacing: var(--tracking-caps, 0.06em);
text-transform: uppercase;
}
.ctv-live-channel-list {
display: grid;
gap: var(--space-3, 6px);
}
.ctv-live-channel-row {
min-height: 48px;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: var(--space-5, 10px);
border: 1px solid var(--border-hairline, #2e2823);
border-radius: var(--radius-sm, 5px);
background: var(--surface-raised, #211d19);
padding: var(--space-4, 8px);
}
.ctv-live-channel-row div {
min-width: 0;
display: grid;
}
.ctv-live-channel-row strong,
.ctv-live-channel-row span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ctv-live-channel-row span {
color: var(--text-secondary, #a89e92);
font-size: var(--text-xs, 12px);
}
.ctv-live-channel-row code {
border-radius: var(--radius-sm, 5px);
background: var(--surface-selected, #2c2620);
color: var(--text-primary, #f0ebe4);
font-family: var(--font-mono, ui-monospace, monospace);
font-size: var(--text-xs, 12px);
padding: var(--space-2, 4px) var(--space-3, 6px);
}
.ctv-gallery {
margin-top: var(--space-9, 24px);
}