Files
sendou.ink/app/features/scanner/components/VodPage.module.css
Kalle 41070f4594
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Scanner improvements (#3331)
2026-08-09 18:40:52 +03:00

100 lines
1.7 KiB
CSS

/* internal navigation styled like the sibling action buttons */
.linkButton {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--s-1-5);
padding: 0 var(--field-padding);
height: var(--field-size-sm);
border: var(--border-style-accent);
border-radius: var(--radius-field);
background: var(--color-text-accent);
color: var(--color-text-inverse);
font-size: var(--font-xs);
font-weight: var(--weight-bold);
white-space: nowrap;
text-decoration: none;
& > svg {
width: 16px;
height: 16px;
}
&:active {
transform: translateY(1px);
}
&:focus-visible {
outline: var(--focus-ring);
outline-offset: 1px;
}
}
.vodList {
display: flex;
flex-direction: column;
gap: var(--s-2);
}
.vodItem {
display: flex;
align-items: center;
gap: var(--s-3);
background: var(--color-bg-high);
border-radius: var(--radius-box);
padding: var(--s-3) var(--s-4);
}
.vodName {
font-size: var(--font-sm);
font-weight: var(--weight-bold);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.vodMeta {
flex: 1;
}
/* the shared destructive variant loses to the scanner's own button look */
button.vodDelete {
width: var(--field-size-sm);
padding: 0;
border-color: var(--color-error);
background: var(--color-error);
outline-color: var(--color-error);
}
.telemetry {
margin: var(--s-2) 0;
font-size: var(--font-2xs);
color: var(--color-text-high);
& summary {
cursor: pointer;
}
& table {
margin-top: var(--s-1-5);
border-collapse: collapse;
& th,
& td {
padding: var(--s-0-5) var(--s-2-5) var(--s-0-5) 0;
text-align: right;
font-variant-numeric: tabular-nums;
&:first-child {
text-align: left;
}
}
}
}
@container scanner (width < 700px) {
.vodItem {
flex-wrap: wrap;
}
}