mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-17 16:23:33 -05:00
100 lines
1.7 KiB
CSS
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;
|
|
}
|
|
}
|