mirror of
https://github.com/imgfloat/server.git
synced 2026-05-08 10:19:35 +00:00
a661b2f48d
- dashboard-grid uses align-items: stretch so both cards match height - .card is now a flex column; .control-actions uses margin-top: auto to pin the save button row to the bottom of each card - Volume slider label gets grid-column: 1 / -1 via .span-full so it fills the full card width instead of sharing a column with width/height
3172 lines
60 KiB
CSS
3172 lines
60 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* ─────────────────────────────────────────────────────────────────────────────
|
|
COLOR TOKENS
|
|
All colours are defined here. To retheme, only edit this block.
|
|
───────────────────────────────────────────────────────────────────────────── */
|
|
:root {
|
|
/* Layout */
|
|
--window-frame-height: 36px;
|
|
|
|
/* Backgrounds — neutral dark grey scale */
|
|
--color-bg: #1a1a1a; /* page background */
|
|
--color-surface-1: #222222; /* topbars, elevated containers */
|
|
--color-surface-2: #282828; /* cards, panels, rail */
|
|
--color-surface-3: #303030; /* inputs, inner panels, code gutter */
|
|
--color-surface-4: #383838; /* hover states, selected rows */
|
|
|
|
/* Borders */
|
|
--color-border: #3a3a3a;
|
|
--color-border-subtle: #2e2e2e;
|
|
--color-border-strong: #4a4a4a;
|
|
|
|
/* Text */
|
|
--color-text: #e8e8e8;
|
|
--color-text-2: #c0c0c0;
|
|
--color-text-muted: #888888;
|
|
--color-text-faint: #606060;
|
|
--color-text-placeholder: #505050;
|
|
--color-window-title: #cccccc;
|
|
|
|
/* Purple accent — interactive/emphasis only */
|
|
--color-accent: #7c3aed;
|
|
--color-accent-hover: #6d28d9;
|
|
--color-accent-disabled: #a78bfa;
|
|
--color-accent-subtle: rgba(124, 58, 237, 0.12);
|
|
--color-accent-subtle-hover: rgba(124, 58, 237, 0.20);
|
|
--color-accent-border: rgba(124, 58, 237, 0.25);
|
|
--color-accent-icon: #c4b5fd;
|
|
--color-accent-text: #e9d5ff;
|
|
--color-focus-ring: rgba(124, 58, 237, 0.25);
|
|
--color-focus-ring-strong: rgba(124, 58, 237, 0.35);
|
|
|
|
/* Danger / red */
|
|
--color-danger-bg: #7f1d1d;
|
|
--color-danger-bg-hover: #991b1b;
|
|
--color-danger-border: rgba(248, 113, 113, 0.35);
|
|
--color-danger-border-hover: rgba(248, 113, 113, 0.6);
|
|
--color-danger-text: #fecdd3;
|
|
--color-danger-text-hover: #fee2e2;
|
|
--color-danger-focus: rgba(248, 113, 113, 0.25);
|
|
|
|
/* Success */
|
|
--color-success-bg: rgba(34, 197, 94, 0.12);
|
|
--color-success-border: rgba(34, 197, 94, 0.45);
|
|
--color-success-chip-border: rgba(34, 197, 94, 0.35);
|
|
--color-success-text: #86efac;
|
|
--color-success-chip-text: #bbf7d0;
|
|
|
|
/* Warning */
|
|
--color-warning-bg: rgba(251, 191, 36, 0.12);
|
|
--color-warning-border: rgba(251, 191, 36, 0.5);
|
|
--color-warning-chip-border: rgba(251, 191, 36, 0.4);
|
|
--color-warning-text: #fde68a;
|
|
--color-warning-chip-text: #fef3c7;
|
|
|
|
/* Info */
|
|
--color-info-border: rgba(56, 189, 248, 0.45);
|
|
--color-info-text: #bae6fd;
|
|
|
|
/* Soft blue badge */
|
|
--color-soft-bg: rgba(59, 130, 246, 0.12);
|
|
--color-soft-border: rgba(59, 130, 246, 0.26);
|
|
--color-soft-text: #bfdbfe;
|
|
|
|
/* Staging banner */
|
|
--color-staging-stripe: #111111;
|
|
--color-staging-accent: #facc15;
|
|
|
|
/* Misc */
|
|
--color-avatar-bg: #7c3aed;
|
|
--color-audio-icon: #fbbf24;
|
|
--color-code-icon: #60a5fa;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background: var(--color-bg);
|
|
color: var(--color-text);
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body.has-staging-banner {
|
|
padding-top: 44px;
|
|
}
|
|
|
|
.staging-banner {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
padding: 8px 16px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
background: repeating-linear-gradient(135deg, var(--color-staging-stripe) 0 18px, var(--color-staging-accent) 18px 36px);
|
|
}
|
|
|
|
.staging-banner span {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
border-radius: 999px;
|
|
background: var(--color-staging-stripe);
|
|
color: var(--color-staging-accent);
|
|
}
|
|
|
|
.landing-body {
|
|
min-height: 100vh;
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.landing {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px 64px;
|
|
}
|
|
|
|
.landing-meta {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.build-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 10px;
|
|
background: var(--color-surface-1);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.version-badge {
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: var(--color-surface-3);
|
|
border: 1px solid var(--color-border);
|
|
color: var(--color-text-2);
|
|
font-weight: 700;
|
|
letter-spacing: 0.2px;
|
|
font-size: 13px;
|
|
}
|
|
.version-link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.version-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.settings-body,
|
|
.error-body {
|
|
min-height: 100vh;
|
|
background: var(--color-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: clamp(24px, 4vw, 48px);
|
|
}
|
|
|
|
.settings-shell {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.error-shell {
|
|
width: min(820px, 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.landing-header,
|
|
.settings-header,
|
|
.error-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
}
|
|
|
|
.cta-row.compact {
|
|
margin: 0;
|
|
}
|
|
|
|
.settings-main {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.error-main {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.settings-card {
|
|
width: 100%;
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 16px;
|
|
padding: clamp(20px, 3vw, 32px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.error-card {
|
|
width: 100%;
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 16px;
|
|
padding: clamp(20px, 3vw, 32px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.error-details {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.error-detail {
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.detail-label {
|
|
color: var(--color-text-muted);
|
|
font-size: 13px;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.detail-value {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
font-weight: 600;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.settings-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.settings-hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.settings-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.settings-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.hero-copy h1 {
|
|
margin: 8px 0 6px;
|
|
}
|
|
|
|
.stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-grid.compact {
|
|
gap: 10px;
|
|
}
|
|
|
|
.stat {
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.stat-label {
|
|
color: var(--color-text-2);
|
|
font-size: 13px;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
}
|
|
|
|
.stat-subtitle {
|
|
margin: 6px 0 0;
|
|
color: var(--color-text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.field-hint {
|
|
color: var(--color-text-muted);
|
|
font-size: 13px;
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.form-section {
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
background: rgba(255, 255, 255, 0.01);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-heading h3 {
|
|
margin: 4px 0 0;
|
|
}
|
|
|
|
.form-heading .muted {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.form-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.status-chip {
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.1);
|
|
border: 1px solid rgba(148, 163, 184, 0.3);
|
|
color: var(--color-text);
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.status-chip.status-success {
|
|
background: var(--color-success-bg);
|
|
border-color: var(--color-success-chip-border);
|
|
color: var(--color-success-chip-text);
|
|
}
|
|
|
|
.status-chip.status-warning {
|
|
background: var(--color-warning-bg);
|
|
border-color: var(--color-warning-chip-border);
|
|
color: var(--color-warning-chip-text);
|
|
}
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 24px;
|
|
right: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
z-index: 1200;
|
|
}
|
|
|
|
.toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 220px;
|
|
max-width: 360px;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid transparent;
|
|
background: var(--color-surface-2);
|
|
color: var(--color-text);
|
|
font-size: 14px;
|
|
animation: toast-enter 0.2s ease-out;
|
|
}
|
|
|
|
.toast-exit {
|
|
opacity: 0;
|
|
transform: translateX(8px);
|
|
transition:
|
|
opacity 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.toast-indicator {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
}
|
|
|
|
.toast-message {
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.toast-success {
|
|
border-color: var(--color-success-border);
|
|
color: var(--color-success-text);
|
|
}
|
|
|
|
.toast-error {
|
|
border-color: var(--color-danger-border);
|
|
color: var(--color-danger-text);
|
|
}
|
|
|
|
.toast-warning {
|
|
border-color: var(--color-warning-border);
|
|
color: var(--color-warning-text);
|
|
}
|
|
|
|
.toast-info {
|
|
border-color: var(--color-info-border);
|
|
color: var(--color-info-text);
|
|
}
|
|
|
|
@keyframes toast-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.info-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.info-card.subtle {
|
|
background: var(--color-surface-1);
|
|
}
|
|
|
|
.hint-list {
|
|
margin: 0;
|
|
padding-left: 16px;
|
|
color: var(--color-text-2);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: grid;
|
|
place-items: center;
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.brand-title {
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.brand-subtitle {
|
|
color: var(--color-text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 28px;
|
|
align-items: center;
|
|
background: var(--color-surface-1);
|
|
border: 1px solid var(--color-border);
|
|
padding: 28px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.hero-compact {
|
|
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
|
padding: 24px;
|
|
}
|
|
|
|
.hero-text h1 {
|
|
font-size: 32px;
|
|
line-height: 1.2;
|
|
margin: 8px 0 12px;
|
|
}
|
|
|
|
.lead {
|
|
color: var(--color-text-2);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.pill-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 16px 0 0;
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pill-list.minimal {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.pill-list li {
|
|
background: var(--color-accent-subtle);
|
|
border: 1px solid var(--color-accent-border);
|
|
color: var(--color-accent-text);
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pill-list.minimal li {
|
|
background: rgba(124, 58, 237, 0.08);
|
|
border-color: rgba(124, 58, 237, 0.18);
|
|
}
|
|
|
|
.download-section {
|
|
margin-top: 26px;
|
|
padding: 20px;
|
|
background: var(--color-surface-2);
|
|
border-radius: 14px;
|
|
border: 1px solid var(--color-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.download-header h2,
|
|
.download-header h3 {
|
|
margin: 6px 0 8px;
|
|
}
|
|
|
|
.version-inline {
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.download-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.download-card {
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
background: var(--color-surface-1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
transition:
|
|
border-color 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.download-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.download-card--active {
|
|
border-color: var(--color-accent);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.download-card .button {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.download-card-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--color-text-muted);
|
|
font-size: 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
.eyebrow.subtle {
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.cta-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 16px 0 10px;
|
|
}
|
|
|
|
.button,
|
|
button {
|
|
background: var(--color-accent);
|
|
color: white;
|
|
padding: 10px 16px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.button:hover:not(:disabled),
|
|
button:hover:not(:disabled) {
|
|
background: var(--color-accent-hover);
|
|
}
|
|
|
|
.button:disabled,
|
|
button:disabled,
|
|
.button[aria-disabled="true"] {
|
|
background: var(--color-accent-disabled);
|
|
color: var(--color-text);
|
|
cursor: not-allowed;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.button:disabled:hover,
|
|
button:disabled:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.button.block {
|
|
width: 100%;
|
|
}
|
|
|
|
.broadcaster-button {
|
|
background: var(--color-accent);
|
|
border: 1px solid var(--color-accent-border);
|
|
}
|
|
|
|
.broadcaster-button:hover {
|
|
background: var(--color-accent-hover);
|
|
}
|
|
|
|
.block {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.button.ghost {
|
|
background: transparent;
|
|
border: 1px solid var(--color-border-strong);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.button.ghost:hover:not(:disabled) {
|
|
background: var(--color-surface-4);
|
|
}
|
|
|
|
.ghost {
|
|
background: transparent;
|
|
border: 1px solid var(--color-border-strong);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.ghost:hover:not(:disabled) {
|
|
background: var(--color-surface-4);
|
|
}
|
|
|
|
.secondary {
|
|
background: var(--color-surface-4);
|
|
color: var(--color-text);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.secondary:hover:not(:disabled) {
|
|
background: var(--color-border-strong);
|
|
}
|
|
|
|
.secondary.danger {
|
|
background: var(--color-danger-bg);
|
|
border: 1px solid var(--color-danger-border);
|
|
color: var(--color-danger-text);
|
|
}
|
|
|
|
.secondary.danger:hover:not(:disabled) {
|
|
border-color: var(--color-danger-border-hover);
|
|
background: var(--color-danger-bg-hover);
|
|
color: var(--color-danger-text-hover);
|
|
}
|
|
|
|
.hero-panel {
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.search-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.text-input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text);
|
|
font-size: 15px;
|
|
transition:
|
|
border-color 0.2s ease,
|
|
box-shadow 0.2s ease;
|
|
}
|
|
|
|
.text-input:focus {
|
|
outline: none;
|
|
border-color: var(--color-accent);
|
|
box-shadow: 0 0 0 3px var(--color-focus-ring);
|
|
}
|
|
|
|
.text-input:invalid {
|
|
border-color: #f87171;
|
|
}
|
|
|
|
.text-input:focus:invalid {
|
|
border-color: #f87171;
|
|
box-shadow: 0 0 0 3px var(--color-danger-focus);
|
|
}
|
|
|
|
.text-input:disabled,
|
|
.text-input[aria-disabled="true"] {
|
|
background: var(--color-bg);
|
|
border-color: var(--color-border-strong);
|
|
color: var(--color-text-faint);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.text-input:disabled::placeholder {
|
|
color: var(--color-text-placeholder);
|
|
}
|
|
|
|
.search-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.search-row .text-input {
|
|
flex: 1;
|
|
}
|
|
|
|
.search-row .button {
|
|
padding: 0 16px;
|
|
height: 46px;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
background: var(--color-accent-subtle);
|
|
color: var(--color-accent-icon);
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
border: 1px solid var(--color-accent-border);
|
|
}
|
|
|
|
.badge.subtle {
|
|
background: rgba(148, 163, 184, 0.1);
|
|
color: var(--color-text-2);
|
|
border-color: rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.badge.soft {
|
|
background: var(--color-soft-bg);
|
|
color: var(--color-soft-text);
|
|
border-color: var(--color-soft-border);
|
|
}
|
|
|
|
.badge.danger {
|
|
background: rgba(248, 113, 113, 0.12);
|
|
color: var(--color-danger-text);
|
|
border-color: var(--color-danger-border);
|
|
}
|
|
|
|
.badge-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.badge-row.stacked {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.preview-summary {
|
|
margin: 10px 0 18px;
|
|
}
|
|
|
|
.panel-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 12px 0 4px;
|
|
}
|
|
|
|
.preview-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.preview-card {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.preview-card p {
|
|
margin: 8px 0 0;
|
|
color: var(--color-text-2);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.landing-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: var(--color-surface-2);
|
|
padding: 16px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.landing-footer.compact {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.admin-layout {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin-body {
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.admin-frame {
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
.admin-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 10px 12px;
|
|
background: var(--color-surface-1);
|
|
border-bottom: 1px solid var(--color-border);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.topbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-identity {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin-identity h1 {
|
|
margin: 2px 0 4px;
|
|
}
|
|
|
|
.admin-workspace {
|
|
--sidebar-width: 300px;
|
|
display: grid;
|
|
height: 100%;
|
|
grid-template-columns: var(--sidebar-width) 1fr;
|
|
gap: 12px;
|
|
align-items: stretch;
|
|
position: relative;
|
|
}
|
|
|
|
.admin-rail {
|
|
background: var(--color-surface-2);
|
|
border-right: 1px solid var(--color-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: calc(100vh - 81px);
|
|
}
|
|
|
|
.rail-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.rail-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.rail-scroll {
|
|
overflow-y: auto;
|
|
padding-right: 2px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.canvas-stack {
|
|
background: var(--color-surface-2);
|
|
border-radius: 16px;
|
|
padding: 12px 12px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
min-height: 72vh;
|
|
}
|
|
|
|
.canvas-surface {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
height: 100%;
|
|
}
|
|
|
|
.header-actions.tight {
|
|
gap: 8px;
|
|
}
|
|
|
|
.header-actions.horizontal {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.header-actions.horizontal form {
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-body {
|
|
min-height: 100vh;
|
|
background: var(--color-bg);
|
|
padding: 36px 18px 64px;
|
|
}
|
|
|
|
.dashboard-shell {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.dashboard-span-full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.dashboard-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 14px 20px;
|
|
background: var(--color-surface-1);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.user-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 16px;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
background: var(--color-accent-subtle);
|
|
border: 1px solid var(--color-accent-border);
|
|
}
|
|
|
|
.user-pill-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 4px;
|
|
}
|
|
|
|
.user-logout {
|
|
margin: 0;
|
|
}
|
|
|
|
.user-logout .ghost {
|
|
border-color: var(--color-border-strong);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.user-logout .ghost:hover:not(:disabled) {
|
|
border-color: var(--color-accent-icon);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
/* ── Navigation cards ────────────────────────────────── */
|
|
.dashboard-nav-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.dashboard-nav-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-1);
|
|
color: var(--color-text);
|
|
text-decoration: none;
|
|
transition:
|
|
border-color 0.15s ease,
|
|
background-color 0.15s ease,
|
|
transform 0.15s ease;
|
|
}
|
|
|
|
.dashboard-nav-card:hover,
|
|
.dashboard-nav-card:focus-visible {
|
|
border-color: var(--color-border-strong);
|
|
background: var(--color-surface-4);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.dashboard-nav-card-icon {
|
|
flex-shrink: 0;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(124, 58, 237, 0.18);
|
|
color: var(--color-accent-icon);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.dashboard-nav-card-icon--muted {
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.dashboard-nav-card-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-nav-card-copy strong {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.dashboard-nav-card-copy span {
|
|
font-size: 12px;
|
|
color: var(--color-text-2);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* ── Danger zone ─────────────────────────────────────── */
|
|
.danger-zone {
|
|
border-color: var(--color-danger-border, rgba(239, 68, 68, 0.25));
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.danger-zone > details > summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
padding: 14px 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
user-select: none;
|
|
color: var(--color-danger, #ef4444);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
gap: 8px;
|
|
}
|
|
|
|
.danger-zone > details > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.danger-zone > details > summary:hover {
|
|
background: rgba(239, 68, 68, 0.04);
|
|
}
|
|
|
|
.danger-zone-summary-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.danger-zone-body {
|
|
padding: 16px 18px 18px;
|
|
border-top: 1px solid var(--color-danger-border, rgba(239, 68, 68, 0.2));
|
|
}
|
|
|
|
.danger-zone-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.danger-confirm {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
align-items: flex-end;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.danger-confirm-step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border-radius: 10px;
|
|
background: rgba(239, 68, 68, 0.06);
|
|
border: 1px solid var(--color-danger-border, rgba(239, 68, 68, 0.25));
|
|
}
|
|
|
|
.danger-confirm-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.user-display {
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 22px;
|
|
background: var(--color-surface-1);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.dashboard-header h1 {
|
|
margin: 6px 0 10px;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.chip-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
background: var(--color-accent-subtle);
|
|
color: var(--color-accent-icon);
|
|
border: 1px solid var(--color-accent-border);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.chip.subtle {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: var(--color-text);
|
|
border-color: rgba(148, 163, 184, 0.3);
|
|
}
|
|
|
|
.card-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.card-grid.two-col {
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
}
|
|
|
|
.card {
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.pill {
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
background: var(--color-soft-bg);
|
|
color: var(--color-soft-text);
|
|
border: 1px solid var(--color-soft-border);
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.inline-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.field-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
flex: 1;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.inline-form input {
|
|
flex: 1;
|
|
min-width: 220px;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.form-helper {
|
|
font-size: 12px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.card-section {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 960px;
|
|
margin: 40px auto;
|
|
background: var(--color-surface-2);
|
|
padding: 24px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
gap: 24px;
|
|
padding: 16px;
|
|
background: var(--color-surface-2);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.controls-full {
|
|
width: 100%;
|
|
}
|
|
|
|
.assets-panel {
|
|
background: var(--color-surface-2);
|
|
padding: 18px;
|
|
}
|
|
|
|
.asset-management {
|
|
display: grid;
|
|
grid-template-columns: 2fr 356px;
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.asset-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.asset-column.inspector {
|
|
position: sticky;
|
|
top: 12px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.asset-management {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.asset-column.inspector {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.admin-workspace {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-rail {
|
|
max-width: 520px;
|
|
}
|
|
|
|
.rail-inspector {
|
|
position: static;
|
|
width: 100%;
|
|
max-height: none;
|
|
}
|
|
|
|
.overlay {
|
|
min-height: 520px;
|
|
height: 60vh;
|
|
}
|
|
}
|
|
|
|
.controls ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.controls li {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.overlay {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: clamp(520px, 72vh, 980px);
|
|
height: 100%;
|
|
background: var(--color-surface-2);
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 16px;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.overlay canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: auto;
|
|
z-index: 2;
|
|
}
|
|
|
|
#admin-canvas {
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 0 1px var(--color-border);
|
|
background-color: rgba(255, 0, 255, 0.1);
|
|
}
|
|
|
|
.broadcast-body canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#broadcast-canvas {
|
|
z-index: 1;
|
|
}
|
|
|
|
.broadcast-script-layer {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.broadcast-script-layer canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.broadcast-body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
}
|
|
|
|
.window-frame {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: var(--window-frame-height);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 12px;
|
|
background: var(--color-surface-1);
|
|
border-bottom: 1px solid var(--color-border);
|
|
z-index: 5;
|
|
-webkit-app-region: drag;
|
|
}
|
|
|
|
.broadcast-body.has-window-frame #broadcast-canvas,
|
|
.broadcast-body.has-window-frame .broadcast-script-layer {
|
|
top: var(--window-frame-height);
|
|
}
|
|
|
|
.window-frame-title {
|
|
font-size: 12px;
|
|
letter-spacing: 0.3px;
|
|
color: var(--color-window-title);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.window-frame-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.window-control {
|
|
width: 30px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border-radius: 6px;
|
|
background: var(--color-surface-3);
|
|
border: 1px solid var(--color-border);
|
|
color: var(--color-text);
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.window-control:hover {
|
|
background: var(--color-surface-4);
|
|
}
|
|
|
|
.window-control:active {
|
|
transform: none;
|
|
}
|
|
|
|
.window-control-close {
|
|
background: rgba(239, 68, 68, 0.3);
|
|
border-color: rgba(239, 68, 68, 0.4);
|
|
}
|
|
|
|
.window-control-close:hover {
|
|
background: rgba(239, 68, 68, 0.5);
|
|
}
|
|
|
|
.panel {
|
|
margin-top: 24px;
|
|
padding: 16px;
|
|
background: var(--color-surface-2);
|
|
border-radius: 10px;
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.panel.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.panel-title {
|
|
margin: 4px 0 0;
|
|
font-size: 18px;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.canvas-panel {
|
|
padding: 18px 18px 20px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.canvas-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
|
|
.canvas-meta {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.canvas-stage {
|
|
margin-top: 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.canvas-boundary {
|
|
background-image:
|
|
linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
|
|
linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
|
|
background-size: 24px 24px;
|
|
position: relative;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.canvas-boundary::after {
|
|
content: "";
|
|
position: absolute;
|
|
border-radius: 12px;
|
|
pointer-events: none;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.canvas-guides {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-footnote {
|
|
color: var(--color-text-muted);
|
|
font-size: 13px;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.rail-inspector {
|
|
margin-top: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
max-height: none;
|
|
overflow: visible;
|
|
border-top: 1px solid var(--color-border);
|
|
padding: 14px 16px 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.rail-inspector .panel-section {
|
|
margin-top: 0;
|
|
overflow: visible;
|
|
padding-right: 0;
|
|
max-height: none;
|
|
}
|
|
|
|
.control-panel {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.asset-settings {
|
|
background: transparent;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.panel-header h4 {
|
|
margin: 0;
|
|
}
|
|
|
|
.panel-summary {
|
|
background: var(--color-accent-subtle);
|
|
border: 1px solid var(--color-accent-border);
|
|
border-radius: 12px;
|
|
padding: 12px 14px;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.panel-summary p {
|
|
margin: 0;
|
|
}
|
|
|
|
.asset-inspector {
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.asset-controls-placeholder {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.selected-asset-banner {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
padding: 4px 0 10px;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.selected-asset-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.selected-asset-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.panel ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 8px 0 0 0;
|
|
}
|
|
|
|
.panel li {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.upload-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.file-input-field {
|
|
display: none;
|
|
}
|
|
|
|
.file-input-trigger {
|
|
flex: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
background: var(--color-accent-subtle);
|
|
cursor: pointer;
|
|
transition: background 120ms ease;
|
|
}
|
|
|
|
.file-input-trigger:hover {
|
|
background: var(--color-accent-subtle-hover);
|
|
}
|
|
|
|
.file-input-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 8px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(124, 58, 237, 0.16);
|
|
color: var(--color-accent-icon);
|
|
}
|
|
|
|
.file-input-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.file-input-copy strong {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.file-input-copy small {
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.title-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.title-row strong {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.asset-resolution {
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: var(--color-text-2);
|
|
text-align: right;
|
|
}
|
|
|
|
.property-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.property-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.property-label {
|
|
color: var(--color-text);
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.property-control {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.property-row .number-input {
|
|
max-width: 140px;
|
|
text-align: right;
|
|
}
|
|
|
|
.property-row .range-input {
|
|
min-width: 200px;
|
|
flex: 1;
|
|
}
|
|
|
|
.property-row .badge-row {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.inline-toggle {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.meta-text {
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.subtle-text {
|
|
color: var(--color-text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.panel-section {
|
|
margin-top: 12px;
|
|
padding: 14px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid var(--color-border-subtle);
|
|
}
|
|
|
|
.panel-section.two-col {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.section-header h5 {
|
|
margin: 0;
|
|
}
|
|
|
|
.field-note {
|
|
margin: 0;
|
|
color: var(--color-text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stacked-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.label-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.value-hint {
|
|
color: var(--color-text-2);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.asset-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.asset-section {
|
|
font-size: 12px;
|
|
letter-spacing: 0.3px;
|
|
text-transform: uppercase;
|
|
color: var(--color-text-muted);
|
|
padding: 4px 10px 0;
|
|
}
|
|
|
|
.asset-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 8px 10px;
|
|
background: var(--color-surface-2);
|
|
cursor: pointer;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
height: 60px;
|
|
}
|
|
|
|
.asset-item:not(.is-hidden) {
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.asset-item:last-child {
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.asset-item strong {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.asset-item.selected {
|
|
background: var(--color-accent-subtle);
|
|
}
|
|
|
|
.asset-item.pending {
|
|
cursor: default;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.asset-item.is-hidden {
|
|
opacity: 0.72;
|
|
border-style: dashed;
|
|
}
|
|
|
|
.asset-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.asset-row .meta {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.asset-row strong, .asset-row small {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.asset-item .meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.asset-item small {
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.asset-item .actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.asset-inspector .selected-asset-actions .icon-button,
|
|
.asset-inspector .selected-asset-actions .icon-button:disabled {
|
|
background: var(--color-surface-3);
|
|
}
|
|
|
|
.asset-inspector .panel-section {
|
|
margin-top: 0;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.asset-meta-badges {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.asset-detail {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.icon-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
width: 34px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text);
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.icon-button .icon {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.icon-button:hover {
|
|
border-color: var(--color-accent-border);
|
|
background: var(--color-surface-4);
|
|
}
|
|
|
|
.icon-button.danger {
|
|
border-color: var(--color-danger-border);
|
|
color: var(--color-danger-text);
|
|
}
|
|
|
|
.icon-button.danger:hover {
|
|
border-color: var(--color-danger-border-hover);
|
|
background: rgba(248, 113, 113, 0.08);
|
|
}
|
|
|
|
.asset-item.hidden {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.asset-preview {
|
|
width: 38px;
|
|
height: 38px;
|
|
object-fit: contain;
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.asset-preview.still {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.asset-preview.still:not(.has-image) {
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--color-text-2);
|
|
background: var(--color-surface-3);
|
|
}
|
|
|
|
.preview-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
color: var(--color-text);
|
|
pointer-events: none;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.pending-preview {
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--color-text-2);
|
|
background: var(--color-accent-subtle);
|
|
border-style: dashed;
|
|
}
|
|
|
|
.upload-progress {
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
height: 6px;
|
|
background: rgba(148, 163, 184, 0.12);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.upload-progress-bar {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, rgba(124, 58, 237, 0.8), rgba(99, 102, 241, 0.8), rgba(124, 58, 237, 0.8));
|
|
background-size: 200% 100%;
|
|
animation: upload-progress 1.2s linear infinite;
|
|
}
|
|
|
|
.upload-progress-bar.is-processing {
|
|
background: linear-gradient(90deg, rgba(34, 197, 94, 0.85), rgba(52, 211, 153, 0.8), rgba(34, 197, 94, 0.85));
|
|
animation-duration: 1.8s;
|
|
}
|
|
|
|
@keyframes upload-progress {
|
|
from {
|
|
background-position: 200% 0;
|
|
}
|
|
to {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
.audio-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28px;
|
|
color: var(--color-audio-icon);
|
|
}
|
|
|
|
.code-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
color: var(--color-code-icon);
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
border: 0;
|
|
}
|
|
|
|
.control-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.control-grid .span-full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.control-grid .span-full input[type="range"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.control-grid.condensed {
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.control-grid.split-row {
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.control-grid.three-col {
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
}
|
|
|
|
.control-grid label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.control-grid .checkbox-row {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.control-grid .inline-toggle {
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.control-grid input[type="number"],
|
|
.control-grid input[type="range"] {
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.range-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--color-text-muted);
|
|
font-size: 12px;
|
|
margin-top: -6px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.number-input {
|
|
position: relative;
|
|
padding-right: 48px !important;
|
|
font-variant-numeric: tabular-nums;
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.number-input::-webkit-outer-spin-button,
|
|
.number-input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.number-input:focus {
|
|
border-color: var(--color-accent);
|
|
box-shadow: 0 0 0 3px var(--color-focus-ring);
|
|
}
|
|
|
|
.control-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: auto;
|
|
padding-top: 16px;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
}
|
|
|
|
.control-actions.compact button {
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.control-actions.filled {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid var(--color-accent-border);
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.unified-actions {
|
|
padding: 0;
|
|
margin: 14px 0;
|
|
}
|
|
|
|
.unified-actions button {
|
|
flex: 1 1 48px;
|
|
}
|
|
|
|
.checkbox-inline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 6px;
|
|
position: relative;
|
|
}
|
|
|
|
.checkbox-inline.toggle {
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.checkbox-inline input[type="checkbox"] {
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 1px;
|
|
height: 1px;
|
|
}
|
|
|
|
.toggle-track {
|
|
position: relative;
|
|
align-self: flex-start;
|
|
width: 52px;
|
|
height: 25px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px;
|
|
border-radius: 999px;
|
|
background: var(--color-border-strong);
|
|
border: 1px solid var(--color-border-strong);
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
|
|
transition:
|
|
background 160ms ease,
|
|
border-color 160ms ease,
|
|
box-shadow 160ms ease;
|
|
}
|
|
|
|
.toggle-thumb {
|
|
width: 17px;
|
|
height: 17px;
|
|
border-radius: 999px;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
|
|
transform: translateX(0);
|
|
transition:
|
|
transform 160ms ease,
|
|
box-shadow 160ms ease,
|
|
background 160ms ease;
|
|
}
|
|
|
|
.checkbox-inline input[type="checkbox"]:checked + .toggle-track {
|
|
background: linear-gradient(180deg, var(--color-accent), #342366);
|
|
border-color: var(--color-accent);
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.checkbox-inline input[type="checkbox"]:checked + .toggle-track .toggle-thumb {
|
|
transform: translateX(25px);
|
|
box-shadow: 0 2px 6px rgba(40, 183, 75, 0.35);
|
|
}
|
|
|
|
.checkbox-inline input[type="checkbox"]:focus-visible + .toggle-track {
|
|
box-shadow:
|
|
0 0 0 3px var(--color-focus-ring-strong),
|
|
inset 0 1px 2px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.toggle-label {
|
|
color: var(--color-text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--color-text-muted);
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.tiny {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.range-value {
|
|
color: var(--color-text-muted);
|
|
font-size: 12px;
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.landing-footer .muted {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stacked-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 12px 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
#admin-suggestions {
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
padding-right: 6px;
|
|
}
|
|
|
|
.stacked-list-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
background: var(--color-surface-3);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.stacked-list-item.empty {
|
|
justify-content: center;
|
|
color: var(--color-text-muted);
|
|
font-size: 14px;
|
|
border-style: dashed;
|
|
background: var(--color-surface-2);
|
|
}
|
|
|
|
.stacked-list-item .list-title {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sysadmin-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.sysadmin-badge {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.identity-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.identity-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
background: var(--color-avatar-bg);
|
|
display: grid;
|
|
place-items: center;
|
|
font-weight: 700;
|
|
color: #e0e7ff;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.avatar-fallback {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.cookie-consent {
|
|
position: fixed;
|
|
bottom: 16px;
|
|
left: 16px;
|
|
right: 16px;
|
|
max-width: 520px;
|
|
margin-left: auto;
|
|
padding: 16px 52px 14px 18px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 12px;
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 14px;
|
|
color: var(--color-text);
|
|
z-index: 11000;
|
|
transition:
|
|
opacity 150ms ease,
|
|
transform 150ms ease;
|
|
}
|
|
|
|
.cookie-consent-exit {
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
}
|
|
|
|
.cookie-consent-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding-right: 18px;
|
|
}
|
|
|
|
.cookie-consent-copy {
|
|
margin: 0;
|
|
line-height: 1.45;
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.cookie-consent-copy a {
|
|
color: var(--color-accent-icon);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.cookie-consent-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.cookie-consent-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: transparent;
|
|
border: 1px solid var(--color-border);
|
|
color: var(--color-text);
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: all 120ms ease;
|
|
}
|
|
|
|
.cookie-consent-close:hover {
|
|
background: var(--color-surface-4);
|
|
border-color: var(--color-border-strong);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.cookie-consent {
|
|
grid-template-columns: 1fr;
|
|
padding: 16px;
|
|
}
|
|
|
|
.cookie-consent-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
|
|
.audit-body {
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.audit-frame {
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
padding: 24px clamp(20px, 5vw, 48px) 48px;
|
|
}
|
|
|
|
.audit-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 14px 18px;
|
|
background: var(--color-surface-1);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.audit-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.audit-title h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
.audit-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.audit-content {
|
|
display: flex;
|
|
}
|
|
|
|
.audit-panel {
|
|
width: 100%;
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 18px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.audit-panel-header h2 {
|
|
margin: 0 0 6px;
|
|
}
|
|
|
|
.audit-filters {
|
|
margin-top: 18px;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px 16px;
|
|
align-items: end;
|
|
}
|
|
|
|
.audit-filter {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.audit-filter input,
|
|
.audit-filter select {
|
|
border-radius: 10px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text);
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.audit-filter input::placeholder {
|
|
color: var(--color-text-faint);
|
|
}
|
|
|
|
.audit-filter-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.audit-table-wrapper {
|
|
margin-top: 16px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.audit-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.audit-table thead {
|
|
text-align: left;
|
|
background: var(--color-surface-1);
|
|
}
|
|
|
|
.audit-table th,
|
|
.audit-table td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.audit-table tbody tr:hover {
|
|
background: var(--color-surface-3);
|
|
}
|
|
|
|
.audit-empty {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: var(--color-surface-3);
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.audit-pagination {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.audit-pagination-info {
|
|
color: var(--color-text-2);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.audit-pagination-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.control-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.control-list .control {
|
|
padding: 12px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
background-color: var(--color-surface-3);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.control-list .control .title-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.control-list .control input {
|
|
}
|
|
|
|
/* ─────────────────────────────────────────────────────────────────────────────
|
|
REPORT PAGE (public copyright infringement report flow)
|
|
───────────────────────────────────────────────────────────────────────────── */
|
|
.report-page {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 40px 16px;
|
|
}
|
|
|
|
.report-container {
|
|
width: 100%;
|
|
max-width: 680px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
.report-header h1 {
|
|
margin: 0 0 8px;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.report-step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 24px;
|
|
background: var(--color-surface-2);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.step-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.step-header h2 {
|
|
margin: 0;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.step-number {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--color-accent);
|
|
color: #fff;
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.report-asset-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.report-asset-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
background: var(--color-surface-3);
|
|
cursor: pointer;
|
|
transition: border-color 0.15s ease, background-color 0.15s ease;
|
|
text-align: center;
|
|
}
|
|
|
|
.report-asset-card:hover {
|
|
border-color: var(--color-border-strong);
|
|
background: var(--color-surface-4);
|
|
}
|
|
|
|
.report-asset-card.selected {
|
|
border-color: var(--color-accent);
|
|
background: var(--color-accent-subtle);
|
|
}
|
|
|
|
.asset-card-thumb {
|
|
width: 80px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
border-radius: 4px;
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.asset-card-icon {
|
|
width: 80px;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
color: var(--color-text-muted);
|
|
background: var(--color-bg);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.asset-card-name {
|
|
font-size: 0.78rem;
|
|
font-weight: 500;
|
|
color: var(--color-text);
|
|
word-break: break-all;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.asset-card-type {
|
|
font-size: 0.72rem;
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.selected-asset-preview {
|
|
padding: 12px;
|
|
border: 1px solid var(--color-accent-border);
|
|
border-radius: 8px;
|
|
background: var(--color-accent-subtle);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.selected-asset-summary {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.asset-summary-name {
|
|
font-weight: 600;
|
|
color: var(--color-text);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.report-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.required {
|
|
color: var(--color-danger-text);
|
|
}
|
|
|
|
.report-form .form-error,
|
|
.report-step .form-error {
|
|
padding: 8px 12px;
|
|
background: rgba(127, 29, 29, 0.25);
|
|
border: 1px solid var(--color-danger-border);
|
|
border-radius: 6px;
|
|
color: var(--color-danger-text);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
color: var(--color-text-2);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"] {
|
|
margin-top: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ─────────────────────────────────────────────────────────────────────────────
|
|
COPYRIGHT REPORTS (sysadmin settings section)
|
|
───────────────────────────────────────────────────────────────────────────── */
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.data-table th,
|
|
.data-table td {
|
|
padding: 8px 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--color-border);
|
|
color: var(--color-text-2);
|
|
}
|
|
|
|
.data-table th {
|
|
color: var(--color-text-muted);
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
background: var(--color-surface-3);
|
|
}
|
|
|
|
.data-table tr:hover td {
|
|
background: var(--color-surface-4);
|
|
}
|
|
|
|
.pagination-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
margin-top: 12px;
|
|
font-size: 0.875rem;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.detail-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
font-size: 0.875rem;
|
|
margin-bottom: 16px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.detail-list dt {
|
|
color: var(--color-text-muted);
|
|
font-weight: 600;
|
|
font-size: 0.78rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.detail-list dd {
|
|
margin: 0;
|
|
color: var(--color-text-2);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.detail-list div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
}
|
|
|
|
.detail-list div:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.detail-list div:nth-child(odd) {
|
|
background: var(--color-surface-3);
|
|
}
|
|
|
|
.detail-list div:nth-child(even) {
|
|
background: var(--color-surface-2);
|
|
}
|
|
|
|
.radio-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.radio-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
color: var(--color-text-2);
|
|
font-size: 0.9rem;
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid transparent;
|
|
transition: background-color 0.12s ease, border-color 0.12s ease;
|
|
}
|
|
|
|
.radio-label:hover {
|
|
background: var(--color-surface-4);
|
|
border-color: var(--color-border);
|
|
}
|
|
|
|
.radio-label:has(input:checked) {
|
|
background: var(--color-accent-subtle);
|
|
border-color: var(--color-accent-border);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.radio-label input[type="radio"] {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ─────────────────────────────────────────────────────────────────────────────
|
|
COPYRIGHT NOTICES PANEL (dashboard — broadcaster-facing)
|
|
───────────────────────────────────────────────────────────────────────────── */
|
|
.copyright-notices-panel {
|
|
border: 1px solid var(--color-warning-border);
|
|
border-radius: 12px;
|
|
background: var(--color-warning-bg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.copyright-notices-header {
|
|
padding: 16px 20px 12px;
|
|
border-bottom: 1px solid var(--color-warning-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.copyright-notices-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--color-warning-text);
|
|
}
|
|
|
|
.copyright-notices-title i {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.copyright-notices-title h2 {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.copyright-notices-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.copyright-notice-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.copyright-notice-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.copyright-notice-item.copyright-notice-dismissed {
|
|
opacity: 0;
|
|
transform: translateX(12px);
|
|
}
|
|
|
|
.copyright-notice-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.copyright-notice-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.copyright-notice-asset {
|
|
font-size: 0.8rem;
|
|
color: var(--color-text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 340px;
|
|
}
|
|
|
|
.copyright-notice-message {
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
color: var(--color-text-2);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.copyright-notice-date {
|
|
margin: 0;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.copyright-notice-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Dashboard responsive ───────────────────────────── */
|
|
@media (max-width: 700px) {
|
|
.dashboard-body {
|
|
padding: 16px 12px 48px;
|
|
}
|
|
|
|
.dashboard-topbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.user-pill {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.user-pill-copy {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.dashboard-nav-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.dashboard-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
flex-direction: column;
|
|
}
|
|
|
|
.danger-confirm {
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.danger-confirm-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
}
|