1221 lines
44 KiB
CSS
1221 lines
44 KiB
CSS
/* Crewli Timetable PoC — light-mode shell, navy sidebar, teal accent */
|
|
|
|
:root {
|
|
--bg: #f7f6f1;
|
|
--surface: #ffffff;
|
|
--surface-2: #fafaf6;
|
|
--ink: #1a2530;
|
|
--ink-2: #2c3744;
|
|
--muted: #6c7682;
|
|
--muted-2: #98a0aa;
|
|
--border: #e6e3da;
|
|
--border-strong: #d4d0c4;
|
|
--accent: #3cc2a8;
|
|
--accent-deep: #2ba88e;
|
|
--accent-soft: #def4ec;
|
|
--danger: #d63d4b;
|
|
--danger-soft: #fde9eb;
|
|
--warn: #e89a3c;
|
|
--warn-soft: #fdf2dc;
|
|
|
|
--side-bg: #0f1820;
|
|
--side-fg: #d8dde2;
|
|
--side-fg-muted: #7c8a96;
|
|
--side-active-bg: #18242e;
|
|
--side-active-fg: #ffffff;
|
|
|
|
--r-sm: 6px;
|
|
--r: 10px;
|
|
--r-lg: 14px;
|
|
--shadow-sm: 0 1px 2px rgba(20, 30, 45, .06);
|
|
--shadow: 0 4px 16px rgba(20, 30, 45, .08), 0 1px 3px rgba(20, 30, 45, .06);
|
|
--shadow-lg: 0 12px 40px rgba(20, 30, 45, .15), 0 2px 8px rgba(20, 30, 45, .08);
|
|
|
|
--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body, #root { height: 100%; margin: 0; }
|
|
body {
|
|
font-family: var(--font);
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
-webkit-font-smoothing: antialiased;
|
|
font-size: 13px;
|
|
}
|
|
|
|
button { font-family: inherit; }
|
|
input, select, textarea { font-family: inherit; }
|
|
|
|
/* ─── App shell ─────────────────────────────────────────────────── */
|
|
.cw-app {
|
|
display: grid;
|
|
grid-template-columns: 232px 1fr;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ─── Sidebar ───────────────────────────────────────────────────── */
|
|
.cw-side {
|
|
background: var(--side-bg);
|
|
color: var(--side-fg);
|
|
padding: 14px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
overflow-y: auto;
|
|
}
|
|
.cw-side-brand {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 6px 10px 12px;
|
|
position: relative;
|
|
}
|
|
.cw-side-logo {
|
|
width: 22px; height: 22px;
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
background: var(--accent); color: var(--ink);
|
|
border-radius: 6px; font-weight: 700; font-size: 13px;
|
|
}
|
|
.cw-side-brand-name { font-weight: 600; letter-spacing: .01em; color: white; }
|
|
.cw-side-brand-dot {
|
|
width: 8px; height: 8px; border-radius: 50%;
|
|
background: rgba(255,255,255,.18);
|
|
margin-left: auto;
|
|
border: 1px solid rgba(255,255,255,.25);
|
|
}
|
|
.cw-side-org {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 8px 10px;
|
|
background: rgba(255,255,255,.04);
|
|
border-radius: var(--r-sm);
|
|
margin-bottom: 6px;
|
|
color: var(--side-fg);
|
|
font-size: 12.5px;
|
|
}
|
|
.cw-side-org-icon { color: var(--side-fg-muted); }
|
|
.cw-side-org-name {
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.cw-side-section {
|
|
font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
|
|
color: var(--side-fg-muted);
|
|
padding: 16px 10px 6px;
|
|
}
|
|
.cw-side-nav { display: flex; flex-direction: column; gap: 1px; }
|
|
.cw-side-item {
|
|
display: flex; align-items: center; gap: 11px;
|
|
padding: 8px 10px;
|
|
border-radius: var(--r-sm);
|
|
color: var(--side-fg);
|
|
font-size: 13px;
|
|
cursor: default;
|
|
user-select: none;
|
|
}
|
|
.cw-side-item:hover { background: rgba(255,255,255,.04); }
|
|
.cw-side-item.is-active {
|
|
background: var(--side-active-bg);
|
|
color: var(--side-active-fg);
|
|
}
|
|
.cw-side-item.is-active svg { color: var(--accent); }
|
|
|
|
/* ─── Main column ────────────────────────────────────────────────── */
|
|
.cw-main {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ─── Header ─────────────────────────────────────────────────────── */
|
|
.cw-hdr {
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 14px 24px 0;
|
|
}
|
|
.cw-hdr-top {
|
|
display: flex; align-items: center; gap: 12px;
|
|
padding-bottom: 10px;
|
|
}
|
|
.cw-hdr-back {
|
|
appearance: none; border: 1px solid var(--border); background: var(--surface);
|
|
width: 30px; height: 30px; border-radius: var(--r-sm);
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
cursor: default; color: var(--ink-2);
|
|
}
|
|
.cw-hdr-back:hover { border-color: var(--border-strong); }
|
|
.cw-hdr-title {
|
|
font-size: 22px; font-weight: 600; letter-spacing: -.01em;
|
|
display: flex; align-items: center; gap: 10px;
|
|
}
|
|
.cw-hdr-pill {
|
|
font-size: 11px; font-weight: 500; letter-spacing: .02em;
|
|
background: #eef0f3; color: var(--muted);
|
|
padding: 3px 8px; border-radius: 999px;
|
|
}
|
|
.cw-hdr-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
|
|
|
|
.cw-hdr-tabs {
|
|
display: flex; align-items: center; gap: 4px;
|
|
padding: 0;
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 4px;
|
|
overflow-x: auto;
|
|
}
|
|
.cw-tab {
|
|
appearance: none; background: none; border: 0;
|
|
padding: 11px 14px;
|
|
font-size: 12.5px; color: var(--muted);
|
|
cursor: default;
|
|
border-bottom: 2px solid transparent;
|
|
white-space: nowrap;
|
|
}
|
|
.cw-tab:hover { color: var(--ink); }
|
|
.cw-tab.is-active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }
|
|
|
|
.cw-hdr-bar {
|
|
display: flex; align-items: center; gap: 12px;
|
|
padding: 12px 0;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
/* ─── Day tabs ──────────────────────────────────────────────────── */
|
|
.cw-day-tabs {
|
|
display: inline-flex; gap: 0;
|
|
background: var(--surface-2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r);
|
|
padding: 2px;
|
|
}
|
|
.cw-day-tab {
|
|
appearance: none; background: transparent; border: 0;
|
|
padding: 7px 14px;
|
|
display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
|
|
border-radius: 7px;
|
|
cursor: default;
|
|
min-width: 110px;
|
|
text-align: left;
|
|
}
|
|
.cw-day-tab-day { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
|
|
.cw-day-tab-meta { font-size: 10.5px; color: var(--muted); }
|
|
.cw-day-tab.is-active { background: var(--surface); box-shadow: var(--shadow-sm); }
|
|
.cw-day-tab.is-active .cw-day-tab-day { color: var(--ink); }
|
|
|
|
.cw-hdr-meta { display: flex; gap: 8px; }
|
|
.cw-pill {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
padding: 4px 10px; border-radius: 999px;
|
|
font-size: 11.5px; font-weight: 500;
|
|
}
|
|
.cw-pill-warn { background: var(--danger-soft); color: #8a1f29; }
|
|
.cw-pill-soft { background: #e6f1fb; color: #1f5a8a; }
|
|
.cw-pill-dot { width: 7px; height: 7px; border-radius: 50%; }
|
|
|
|
/* ─── Buttons ───────────────────────────────────────────────────── */
|
|
.cw-btn {
|
|
appearance: none; border: 1px solid var(--border-strong);
|
|
background: var(--surface); color: var(--ink);
|
|
padding: 7px 13px;
|
|
border-radius: var(--r-sm);
|
|
font-size: 12.5px; font-weight: 500;
|
|
cursor: default;
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
transition: background 80ms, border-color 80ms;
|
|
}
|
|
.cw-btn:hover { background: var(--surface-2); border-color: #b8b3a3; }
|
|
.cw-btn-primary {
|
|
background: var(--accent);
|
|
border-color: var(--accent-deep);
|
|
color: #052b22;
|
|
}
|
|
.cw-btn-primary:hover { background: var(--accent-deep); color: white; }
|
|
.cw-btn-soft {
|
|
background: var(--surface-2);
|
|
border-color: var(--border);
|
|
color: var(--ink-2);
|
|
}
|
|
.cw-btn-danger {
|
|
background: var(--danger-soft);
|
|
color: var(--danger);
|
|
border-color: #f0b8be;
|
|
}
|
|
.cw-btn-danger:hover { background: #f8d6d9; }
|
|
.cw-btn-danger-ghost {
|
|
background: transparent;
|
|
color: var(--danger);
|
|
border-color: transparent;
|
|
}
|
|
.cw-btn-danger-ghost:hover { background: var(--danger-soft); }
|
|
|
|
.cw-icon-btn {
|
|
appearance: none; border: 0; background: transparent;
|
|
width: 28px; height: 28px; border-radius: var(--r-sm);
|
|
cursor: default; color: var(--muted);
|
|
font-size: 18px; line-height: 1;
|
|
}
|
|
.cw-icon-btn:hover { background: rgba(0,0,0,.05); color: var(--ink); }
|
|
|
|
/* ─── Timetable ─────────────────────────────────────────────────── */
|
|
.cw-tt-wrap {
|
|
background: var(--surface);
|
|
margin: 0 24px 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
.cw-tt {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr 280px;
|
|
grid-template-rows: 36px 1fr;
|
|
grid-template-areas:
|
|
"corner axis parking"
|
|
"stages canvas parking";
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
.cw-tt-corner { grid-area: corner; }
|
|
.cw-tt-axis-wrap { grid-area: axis; }
|
|
.cw-tt-stages { grid-area: stages; }
|
|
.cw-tt-canvas { grid-area: canvas; }
|
|
.cw-parking { grid-area: parking; }
|
|
.cw-tt-corner {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 0 16px;
|
|
border-right: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface-2);
|
|
}
|
|
.cw-tt-corner-lbl {
|
|
font-size: 11.5px; font-weight: 600;
|
|
color: var(--ink-2);
|
|
letter-spacing: .01em;
|
|
}
|
|
.cw-tt-corner-meta { color: var(--muted); font-size: 11px; }
|
|
|
|
.cw-tt-axis-wrap {
|
|
border-bottom: 1px solid var(--border);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.cw-tt-axis-inner {
|
|
position: absolute; left: 0; top: 0;
|
|
height: 100%;
|
|
will-change: transform;
|
|
}
|
|
background: var(--surface-2);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.cw-axis { position: relative; height: 36px; }
|
|
.cw-axis-tick {
|
|
position: absolute; top: 0; bottom: 0;
|
|
border-left: 1px solid var(--border);
|
|
padding-left: 8px;
|
|
display: flex; align-items: center;
|
|
}
|
|
.cw-axis-label {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
letter-spacing: .02em;
|
|
}
|
|
|
|
.cw-tt-stages {
|
|
border-right: 1px solid var(--border);
|
|
background: var(--surface);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
.cw-tt-stage {
|
|
display: flex; align-items: center; gap: 12px;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: default;
|
|
position: relative;
|
|
min-height: 0;
|
|
}
|
|
.cw-tt-stage-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
|
|
.cw-tt-stage-conflict {
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
min-width: 20px; height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
background: #d63d4b;
|
|
color: white;
|
|
font-size: 11px; font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
box-shadow: 0 0 0 3px rgba(214,61,75,.18);
|
|
flex: 0 0 auto;
|
|
}
|
|
.cw-tt-stage-lanes {
|
|
font-family: var(--mono); font-size: 10.5px;
|
|
color: var(--muted);
|
|
background: var(--surface-2);
|
|
border: 1px solid var(--border);
|
|
padding: 2px 6px; border-radius: 4px;
|
|
}
|
|
.cw-tt-stage:hover { background: var(--surface-2); }
|
|
.cw-stage-swatch {
|
|
width: 4px; align-self: stretch; min-height: 32px; border-radius: 2px; flex: 0 0 4px;
|
|
}
|
|
.cw-tt-stage-name {
|
|
font-weight: 500; font-size: 13px; color: var(--ink);
|
|
flex: 1;
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.cw-tt-stage-cap {
|
|
font-family: var(--mono);
|
|
font-size: 11px; color: var(--muted);
|
|
}
|
|
.cw-tt-empty-stages {
|
|
padding: 24px 16px;
|
|
font-size: 12px; color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.cw-tt-canvas {
|
|
overflow: auto;
|
|
position: relative;
|
|
background: var(--surface);
|
|
}
|
|
.cw-tt-canvas-inner { position: relative; min-height: 100%; }
|
|
.cw-grid-bg {
|
|
position: absolute; left: 0; top: 0;
|
|
background-position: 0 0, 0 0;
|
|
background-repeat: repeat;
|
|
pointer-events: none;
|
|
}
|
|
.cw-grid-row-divider {
|
|
position: absolute; left: 0;
|
|
border-bottom: 1px solid rgba(20,30,45,.08);
|
|
height: 0; pointer-events: none;
|
|
}
|
|
.cw-tt-row {
|
|
position: absolute; left: 0; right: 0;
|
|
cursor: copy;
|
|
}
|
|
.cw-tt-row:hover { background: rgba(60, 194, 168, .04); }
|
|
.cw-tt-row-ghost { pointer-events: none; opacity: .65; }
|
|
|
|
/* Empty stages state */
|
|
.cw-tt-empty {
|
|
position: absolute; inset: 0;
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
padding: 40px;
|
|
}
|
|
.cw-tt-empty h3 { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
|
|
.cw-tt-empty p { margin: 0; font-size: 12.5px; }
|
|
|
|
/* ─── Block ─────────────────────────────────────────────────────── */
|
|
.cw-block {
|
|
position: absolute;
|
|
border: 1px solid;
|
|
border-radius: 7px;
|
|
padding: 6px 9px 5px 10px;
|
|
cursor: grab;
|
|
display: flex; flex-direction: column;
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: box-shadow 100ms, transform 80ms;
|
|
user-select: none;
|
|
}
|
|
.cw-block.is-compact {
|
|
padding: 3px 9px 3px 10px;
|
|
flex-direction: row; align-items: center; gap: 8px;
|
|
}
|
|
.cw-block.is-compact .cw-block-body { flex-direction: row; align-items: center; gap: 8px; flex: 1; }
|
|
.cw-block.is-compact .cw-block-row1 { flex: 1; }
|
|
.cw-block-time-inline {
|
|
font-family: var(--mono); font-size: 10.5px; opacity: .8; margin-left: auto;
|
|
}
|
|
.cw-block:hover { box-shadow: var(--shadow); }
|
|
.cw-block:active { cursor: grabbing; }
|
|
.cw-block.is-selected {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 1px;
|
|
z-index: 10;
|
|
}
|
|
.cw-block.is-conflict { border-width: 1.5px; }
|
|
|
|
|
|
.cw-block-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
|
|
.cw-block-row1 {
|
|
display: flex; align-items: center; gap: 6px;
|
|
font-weight: 600; font-size: 12.5px;
|
|
letter-spacing: -.005em;
|
|
min-width: 0;
|
|
}
|
|
.cw-block-name {
|
|
flex: 1;
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.cw-block-warn-row { display: flex; gap: 4px; }
|
|
.cw-block-warn { display: inline-flex; align-items: center; }
|
|
.cw-block-row2 {
|
|
display: flex; align-items: center; gap: 8px;
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
opacity: .8;
|
|
margin-top: auto;
|
|
}
|
|
.cw-block-time { letter-spacing: .02em; }
|
|
.cw-block-pct {
|
|
font-family: var(--mono); font-size: 10.5px; font-weight: 600;
|
|
color: var(--ink-2);
|
|
background: rgba(255,255,255,.55);
|
|
border: 1px solid rgba(20,30,45,.1);
|
|
padding: 1px 5px; border-radius: 999px;
|
|
letter-spacing: .02em;
|
|
}
|
|
.cw-block-adv-bar {
|
|
flex: 1; max-width: 80px;
|
|
height: 4px; border-radius: 2px;
|
|
background: rgba(20,30,45,.1);
|
|
overflow: hidden;
|
|
margin-left: auto;
|
|
}
|
|
.cw-block-adv-bar-fill {
|
|
display: block; height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
}
|
|
.cw-app[data-tweak-b2b="off"] .cw-b2b-right,
|
|
.cw-app[data-tweak-b2b="off"] .cw-b2b-left { display: none; }
|
|
|
|
.cw-block-resize {
|
|
position: absolute; right: 0; top: 0; bottom: 0;
|
|
width: 7px; cursor: ew-resize;
|
|
}
|
|
.cw-block-resize:hover { background: rgba(0,0,0,.06); }
|
|
|
|
.cw-b2b-right, .cw-b2b-left {
|
|
position: absolute; top: 50%;
|
|
width: 6px; height: 6px;
|
|
background: var(--ink); border-radius: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
.cw-b2b-right { right: -3px; }
|
|
.cw-b2b-left { left: -3px; }
|
|
|
|
/* ─── Popover ───────────────────────────────────────────────────── */
|
|
.cw-popover {
|
|
position: fixed; z-index: 100;
|
|
width: 340px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r);
|
|
box-shadow: var(--shadow-lg);
|
|
padding: 14px;
|
|
display: flex; flex-direction: column; gap: 10px;
|
|
}
|
|
.cw-pop-arrow { display: none; }
|
|
|
|
.cw-pop-hd { display: flex; align-items: center; gap: 11px; }
|
|
.cw-pop-avatar {
|
|
width: 38px; height: 38px; border-radius: 50%;
|
|
background: var(--surface-2);
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
font-weight: 600; font-size: 13px; letter-spacing: .02em;
|
|
flex: 0 0 38px;
|
|
}
|
|
.cw-avatar-lg { width: 44px; height: 44px; flex: 0 0 44px; font-size: 14px; }
|
|
.cw-pop-titles { flex: 1; min-width: 0; }
|
|
.cw-pop-name {
|
|
font-size: 14.5px; font-weight: 600; color: var(--ink);
|
|
letter-spacing: -.01em;
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.cw-pop-meta {
|
|
font-size: 11.5px; color: var(--muted);
|
|
display: flex; align-items: center; gap: 6px;
|
|
}
|
|
.cw-stage-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
|
|
|
|
.cw-pop-row {
|
|
display: flex; align-items: center; gap: 12px;
|
|
background: var(--surface-2);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-sm);
|
|
padding: 9px 11px;
|
|
}
|
|
.cw-pop-time-main { font-family: var(--mono); font-size: 14px; color: var(--ink); letter-spacing: .02em; }
|
|
.cw-pop-time-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); }
|
|
|
|
.cw-status-pill {
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
padding: 4px 10px; border-radius: 999px;
|
|
font-size: 11.5px; font-weight: 500;
|
|
}
|
|
.cw-status-dot { width: 8px; height: 8px; border-radius: 50%; }
|
|
|
|
.cw-pop-section-lbl {
|
|
font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
display: flex; justify-content: space-between; align-items: baseline;
|
|
margin-top: 2px;
|
|
}
|
|
.cw-pop-section-meta { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
|
|
|
|
.cw-status-grid {
|
|
display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
|
|
}
|
|
.cw-status-chip {
|
|
appearance: none;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-sm);
|
|
padding: 6px 8px;
|
|
font-size: 11px; color: var(--ink-2);
|
|
cursor: default;
|
|
display: inline-flex; align-items: center; gap: 5px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
}
|
|
.cw-status-chip:hover { background: var(--surface-2); }
|
|
.cw-status-chip.is-active { font-weight: 600; }
|
|
|
|
.cw-adv-list { display: flex; flex-direction: column; gap: 2px; }
|
|
.cw-adv-row {
|
|
display: flex; align-items: center; gap: 9px;
|
|
padding: 5px 0;
|
|
font-size: 12px; color: var(--muted);
|
|
}
|
|
.cw-adv-row.is-done { color: var(--ink); }
|
|
.cw-adv-tick {
|
|
width: 16px; height: 16px; border-radius: 50%;
|
|
border: 1.4px solid var(--border-strong);
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
flex: 0 0 16px;
|
|
color: white;
|
|
}
|
|
.cw-adv-row.is-done .cw-adv-tick {
|
|
background: var(--accent); border-color: var(--accent-deep);
|
|
}
|
|
.cw-adv-state {
|
|
font-size: 10.5px; color: var(--muted);
|
|
font-family: var(--mono);
|
|
letter-spacing: .02em;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.cw-pop-ft { display: flex; align-items: center; gap: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
|
|
|
|
/* ─── Parking column ───────────────────────────────────────────── */
|
|
.cw-parking {
|
|
border-left: 1px solid var(--border);
|
|
background: var(--surface-2);
|
|
display: flex; flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
transition: background 120ms;
|
|
}
|
|
.cw-parking.is-drop-target { background: var(--accent-soft); }
|
|
.cw-parking.is-drag-origin { background: rgba(60, 194, 168, 0.04); box-shadow: inset 0 0 0 1px rgba(60, 194, 168, 0.18); }
|
|
.cw-parking.is-drag-origin .cw-parking-ft { border-top-color: rgba(60, 194, 168, 0.45); color: var(--ink-2); }
|
|
.cw-parking-hd {
|
|
padding: 14px 16px 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
.cw-parking-title {
|
|
display: flex; align-items: center; gap: 8px;
|
|
font-size: 13px; font-weight: 600; letter-spacing: -.005em;
|
|
}
|
|
.cw-parking-meta {
|
|
font-family: var(--mono); font-size: 11px;
|
|
color: var(--muted);
|
|
background: var(--surface-2);
|
|
border: 1px solid var(--border);
|
|
padding: 1px 7px; border-radius: 999px;
|
|
}
|
|
.cw-parking-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
|
|
|
|
.cw-parking-filters {
|
|
display: grid; grid-template-columns: repeat(3, 1fr);
|
|
gap: 6px; padding: 8px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
.cw-parking-filter {
|
|
display: flex; flex-direction: column; gap: 2px;
|
|
font-size: 10px; color: var(--muted);
|
|
text-transform: uppercase; letter-spacing: .04em; font-weight: 600;
|
|
}
|
|
.cw-parking-filter select {
|
|
appearance: none;
|
|
font: inherit; font-size: 11.5px; font-weight: 500;
|
|
text-transform: none; letter-spacing: 0;
|
|
color: var(--ink);
|
|
padding: 5px 22px 5px 8px;
|
|
border-radius: 6px;
|
|
background: var(--surface-2) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M2 4 L5 7 L8 4' fill='none' stroke='%23667' stroke-width='1.4' stroke-linecap='round'/></svg>") no-repeat right 6px center;
|
|
border: 1px solid var(--border);
|
|
cursor: pointer;
|
|
}
|
|
.cw-parking-filter select:hover { border-color: var(--border-strong); }
|
|
.cw-parking-filter select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
|
|
/* ─── Wachtrij filters (redesigned) ─── */
|
|
.cw-pq-filters { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
|
|
.cw-pq-row { display: flex; gap: 6px; align-items: stretch; }
|
|
.cw-pq-search { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; height: 30px; padding: 0 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; color: var(--muted); }
|
|
.cw-pq-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); color: var(--ink); }
|
|
.cw-pq-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 12.5px; color: var(--ink); padding: 0; }
|
|
.cw-pq-search input::placeholder { color: var(--muted); }
|
|
.cw-pq-search-x { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; background: transparent; border: none; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
|
|
.cw-pq-search-x:hover { background: var(--border); color: var(--ink); }
|
|
.cw-pq-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; flex-shrink: 0; }
|
|
.cw-pq-icon-btn:hover { border-color: var(--border-strong); color: var(--ink); }
|
|
.cw-pq-icon-btn.is-on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
|
|
.cw-pq-genres { display: flex; gap: 4px; flex-wrap: wrap; }
|
|
.cw-pq-genre-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; height: 22px; font: inherit; font-size: 11px; font-weight: 500; background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; white-space: nowrap; }
|
|
.cw-pq-genre-pill:hover { background: var(--surface-2); color: var(--ink); }
|
|
.cw-pq-genre-pill.is-on { background: var(--ink); color: white; border-color: var(--ink); }
|
|
.cw-pq-genre-cnt { font-family: var(--mono); font-size: 9.5px; opacity: .7; }
|
|
.cw-pq-statuses { display: flex; flex-wrap: wrap; gap: 4px; }
|
|
.cw-pq-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 7px; height: 22px; font: inherit; font-size: 10.5px; font-weight: 500; background: transparent; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: 999px; cursor: pointer; white-space: nowrap; }
|
|
.cw-pq-status.is-on { border-style: solid; }
|
|
.cw-pq-status:hover { background: var(--surface-2); }
|
|
.cw-pq-status-cnt { font-family: var(--mono); font-size: 9.5px; padding: 0 4px; border-radius: 999px; background: rgba(0,0,0,.06); min-width: 12px; text-align: center; }
|
|
/* Status multi-select dropdown */
|
|
.cw-pq-msel { position: relative; }
|
|
.cw-pq-msel-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 32px; padding: 0 10px; font: inherit; font-size: 12px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
|
|
.cw-pq-msel-btn:hover { border-color: var(--border-strong); }
|
|
.cw-pq-msel-btn.is-open { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
.cw-pq-msel-lbl { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }
|
|
.cw-pq-msel-lbl b { color: var(--ink); font-weight: 600; }
|
|
.cw-pq-msel-icon { font-size: 11px; color: var(--muted); }
|
|
.cw-pq-msel-chev { color: var(--muted); font-size: 10px; }
|
|
.cw-pq-msel-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 30px rgba(20,30,45,.16); padding: 4px; }
|
|
.cw-pq-msel-toolbar { display: flex; align-items: center; gap: 4px; padding: 4px 8px 6px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
|
|
.cw-pq-msel-link { font: inherit; font-size: 11px; color: var(--accent); background: none; border: none; padding: 2px 4px; cursor: pointer; font-weight: 500; }
|
|
.cw-pq-msel-link:hover { text-decoration: underline; }
|
|
.cw-pq-msel-sep { color: var(--border-strong); font-size: 11px; }
|
|
.cw-pq-msel-list { display: flex; flex-direction: column; gap: 1px; }
|
|
.cw-pq-msel-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; cursor: pointer; font-size: 12px; }
|
|
.cw-pq-msel-item:hover { background: var(--surface-2); }
|
|
.cw-pq-msel-item input { margin: 0; cursor: pointer; }
|
|
.cw-pq-msel-item-lbl { flex: 1; color: var(--ink); }
|
|
.cw-pq-msel-item-cnt { font-family: var(--mono); font-size: 10.5px; color: var(--muted); padding: 0 5px; min-width: 16px; text-align: right; }
|
|
/* Modal toggle row */
|
|
.cw-modal-toggle-row { padding: 4px 0 8px; border-bottom: 1px dashed var(--border); margin-bottom: 12px; }
|
|
.cw-toggle-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); cursor: pointer; }
|
|
.cw-toggle-line input { margin: 0; cursor: pointer; }
|
|
.cw-toggle-hint { color: var(--muted); font-size: 11.5px; font-style: italic; }
|
|
/* Popover status dropdown */
|
|
.cw-pop-dd { position: relative; }
|
|
.cw-pop-dd-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; font: inherit; font-size: 12.5px; font-weight: 500; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); cursor: pointer; text-align: left; }
|
|
.cw-pop-dd-lbl { flex: 1; }
|
|
.cw-pop-dd-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px rgba(20,30,45,.16); padding: 4px; }
|
|
.cw-pop-dd-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; font: inherit; font-size: 12.5px; color: var(--ink); background: transparent; border: none; border-radius: 4px; cursor: pointer; text-align: left; }
|
|
.cw-pop-dd-item:hover:not(:disabled) { background: var(--surface-2); }
|
|
.cw-pop-dd-item.is-current { font-weight: 600; }
|
|
.cw-pop-dd-item.is-disabled, .cw-pop-dd-item:disabled { color: var(--muted); cursor: not-allowed; }
|
|
.cw-btn-block { width: 100%; justify-content: center; }
|
|
.cw-pop-ft-stack { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
|
|
.cw-pop-ft-stack .cw-btn { width: 100%; justify-content: center; }
|
|
.cw-pop-meta-genre { font-weight: 500; }
|
|
.cw-tt-row.is-dragging-row { z-index: 4; box-shadow: 0 8px 24px rgba(20,30,45,.10); background: #fff; }
|
|
.cw-tt-stage.is-dragging-row { background: #fff; box-shadow: 0 8px 24px rgba(20,30,45,.10); }
|
|
.cw-tt-create-ghost {
|
|
position: absolute;
|
|
background: rgba(47,155,133,.08);
|
|
border: 1.5px dashed var(--accent, #2f9b85);
|
|
border-radius: 6px;
|
|
pointer-events: none;
|
|
display: flex; align-items: center;
|
|
padding: 0 8px;
|
|
font-size: 11px; font-weight: 500; color: var(--ink, #1a1f2c);
|
|
white-space: nowrap;
|
|
}
|
|
.cw-tt-create-ghost-time { font-family: var(--mono, monospace); }
|
|
.cw-tt-create-ghost-time b { font-weight: 600; color: var(--accent, #2f9b85); }
|
|
/* No transition during reorder — both halves (stage column + canvas row) must
|
|
snap together when toIndex crosses a threshold; a transition desyncs them. */
|
|
.cw-stage-edit-btn {
|
|
position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
|
|
font-size: 10.5px; color: var(--muted);
|
|
background: var(--surface);
|
|
padding: 2px 6px; border-radius: 4px;
|
|
border: 1px solid var(--border);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity .12s ease;
|
|
font-family: inherit;
|
|
}
|
|
.cw-tt-stage:hover .cw-stage-edit-btn { opacity: 1; }
|
|
.cw-stage-edit-btn:hover { background: var(--surface-2); color: var(--ink); }
|
|
.cw-stage-edit-btn:focus-visible { opacity: 1; outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
.cw-parking-item.is-selected { background: var(--accent-soft); outline: 1px solid var(--accent); outline-offset: -1px; }
|
|
.cw-parking-item.is-cancelled .cw-parking-item-name { text-decoration: line-through; color: var(--muted); }
|
|
|
|
.cw-parking-body {
|
|
flex: 1; min-height: 0; overflow-y: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.cw-parking-section {
|
|
padding: 10px 12px 4px;
|
|
display: flex; flex-direction: column; gap: 4px;
|
|
}
|
|
.cw-parking-section + .cw-parking-section { padding-top: 6px; }
|
|
.cw-parking-section h5 {
|
|
margin: 0 4px 2px;
|
|
font-size: 10.5px; font-weight: 600;
|
|
letter-spacing: .07em; text-transform: uppercase;
|
|
color: var(--muted);
|
|
display: flex; justify-content: space-between; align-items: baseline;
|
|
}
|
|
.cw-parking-count {
|
|
font-family: var(--mono); font-size: 10.5px;
|
|
color: var(--muted);
|
|
letter-spacing: 0; text-transform: none;
|
|
font-weight: 500;
|
|
}
|
|
.cw-parking-list { display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; }
|
|
.cw-parking-empty {
|
|
font-size: 11.5px; color: var(--muted);
|
|
font-style: italic;
|
|
padding: 8px 8px 12px;
|
|
text-align: center;
|
|
}
|
|
.cw-parking-item {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 8px 10px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-sm);
|
|
cursor: grab;
|
|
user-select: none;
|
|
transition: background 100ms, border-color 100ms;
|
|
}
|
|
.cw-parking-item:hover { background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
|
|
.cw-parking-item:active { cursor: grabbing; }
|
|
.cw-parking-item-body { flex: 1; min-width: 0; }
|
|
.cw-parking-item-name {
|
|
font-size: 12.5px; font-weight: 500; color: var(--ink);
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.cw-parking-item-meta {
|
|
font-size: 11px; color: var(--muted);
|
|
display: flex; align-items: center; gap: 5px;
|
|
margin-top: 1px;
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.cw-parking-group-label {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
}
|
|
.cw-parking-item-status { color: var(--ink-2); font-weight: 500; }
|
|
.cw-parking-item-sep { opacity: .5; }
|
|
.cw-parking-item-genre {
|
|
font-family: var(--mono); font-size: 10px;
|
|
text-transform: uppercase; letter-spacing: .03em;
|
|
color: var(--muted);
|
|
}
|
|
.cw-parking-item-dur { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
|
|
.cw-block-genre {
|
|
font-family: var(--mono); font-size: 9.5px;
|
|
text-transform: uppercase; letter-spacing: .04em;
|
|
color: rgba(20, 26, 38, 0.42);
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
background: rgba(20, 26, 38, 0.05);
|
|
flex-shrink: 0;
|
|
align-self: center;
|
|
}
|
|
.cw-block.is-light .cw-block-genre { color: rgba(20, 26, 38, 0.45); background: rgba(20, 26, 38, 0.06); }
|
|
.cw-stage-handle {
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
width: 14px; height: 18px; margin-right: 4px;
|
|
color: var(--muted); opacity: 0; cursor: grab;
|
|
transition: opacity 100ms;
|
|
flex-shrink: 0;
|
|
}
|
|
.cw-stage-handle svg { fill: currentColor; }
|
|
.cw-stage-handle:active { cursor: grabbing; }
|
|
.cw-tt-stage:hover .cw-stage-handle { opacity: .7; }
|
|
.cw-tt-stage.is-dragging { opacity: .35; }
|
|
.cw-tt-stage.is-drop-here { box-shadow: inset 3px 0 0 var(--accent); background: var(--accent-soft); }
|
|
.cw-parking-ft {
|
|
padding: 10px 14px;
|
|
border-top: 1px dashed var(--border-strong);
|
|
font-size: 11px; color: var(--muted);
|
|
text-align: center;
|
|
background: var(--surface-2);
|
|
}
|
|
.cw-parking-ft b { color: var(--ink-2); font-weight: 600; }
|
|
|
|
/* ─── Floating drag chip ─────────────────────────────────────── */
|
|
.cw-floating-chip {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
display: flex; align-items: center; gap: 8px;
|
|
padding: 6px 10px 6px 6px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(20,30,45,.18);
|
|
pointer-events: none;
|
|
font-size: 12px;
|
|
max-width: 220px;
|
|
}
|
|
.cw-floating-chip-name {
|
|
font-weight: 600; color: var(--ink);
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
max-width: 160px;
|
|
}
|
|
.cw-floating-chip-hint {
|
|
font-size: 10.5px; color: var(--muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ─── Drawer ────────────────────────────────────────────────────── */
|
|
.cw-drawer-scrim {
|
|
position: fixed; inset: 0;
|
|
background: rgba(15, 24, 32, .35);
|
|
z-index: 200;
|
|
display: flex; justify-content: flex-end;
|
|
animation: cw-fade-in 120ms ease-out;
|
|
}
|
|
@keyframes cw-fade-in { from { opacity: 0; } to { opacity: 1; } }
|
|
@keyframes cw-slide-in { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
|
|
.cw-drawer {
|
|
background: var(--surface);
|
|
width: 460px; max-width: 90vw;
|
|
height: 100%;
|
|
display: flex; flex-direction: column;
|
|
box-shadow: -12px 0 40px rgba(0,0,0,.12);
|
|
animation: cw-slide-in 180ms ease-out;
|
|
}
|
|
.cw-drawer-hd {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
|
padding: 18px 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.cw-drawer-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
|
|
.cw-drawer-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
|
|
.cw-drawer-body { padding: 18px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
|
|
.cw-drawer-ft {
|
|
padding: 14px 20px;
|
|
border-top: 1px solid var(--border);
|
|
display: flex; align-items: center; gap: 8px;
|
|
background: var(--surface-2);
|
|
}
|
|
.cw-drawer-readonly-note {
|
|
font-size: 11.5px; color: var(--muted);
|
|
background: var(--surface-2);
|
|
border: 1px dashed var(--border-strong);
|
|
border-radius: var(--r-sm);
|
|
padding: 9px 11px;
|
|
line-height: 1.45;
|
|
}
|
|
.cw-summary-row { display: flex; align-items: center; gap: 8px; }
|
|
.cw-progress {
|
|
height: 6px; background: var(--surface-2);
|
|
border-radius: 3px; overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
}
|
|
.cw-progress-fill {
|
|
height: 100%; background: var(--accent);
|
|
border-radius: 3px;
|
|
transition: width 200ms;
|
|
}
|
|
.cw-drawer-card {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r);
|
|
padding: 14px 16px;
|
|
background: var(--surface);
|
|
}
|
|
.cw-drawer-card h4 {
|
|
margin: 0 0 10px;
|
|
font-size: 12.5px; font-weight: 600;
|
|
letter-spacing: .01em;
|
|
display: flex; justify-content: space-between; align-items: baseline;
|
|
}
|
|
.cw-drawer-card-sub { font-size: 11px; color: var(--muted); font-weight: 500; }
|
|
.cw-kv { display: flex; flex-direction: column; gap: 6px; }
|
|
.cw-kv > div {
|
|
display: flex; justify-content: space-between; align-items: baseline;
|
|
font-size: 12.5px;
|
|
padding: 4px 0; border-bottom: 1px dashed var(--border);
|
|
}
|
|
.cw-kv > div:last-child { border-bottom: 0; }
|
|
.cw-kv span { color: var(--muted); }
|
|
.cw-kv b { font-weight: 600; font-family: var(--mono); font-size: 12px; }
|
|
.cw-drawer-placeholder { background: var(--surface-2); }
|
|
.cw-placeholder-block {
|
|
background:
|
|
repeating-linear-gradient(45deg, transparent 0 8px, rgba(20,30,45,.04) 8px 9px);
|
|
border: 1px dashed var(--border-strong);
|
|
border-radius: var(--r-sm);
|
|
padding: 16px;
|
|
font-size: 11.5px; color: var(--muted);
|
|
font-family: var(--mono);
|
|
text-align: center;
|
|
}
|
|
|
|
/* ─── Modals ────────────────────────────────────────────────────── */
|
|
.cw-backdrop {
|
|
position: fixed; inset: 0;
|
|
background: rgba(15, 24, 32, .42);
|
|
z-index: 300;
|
|
display: flex; align-items: center; justify-content: center;
|
|
animation: cw-fade-in 100ms ease-out;
|
|
padding: 20px;
|
|
}
|
|
.cw-modal {
|
|
background: var(--surface);
|
|
border-radius: var(--r-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex; flex-direction: column;
|
|
max-height: 90vh;
|
|
animation: cw-pop-in 140ms ease-out;
|
|
}
|
|
@keyframes cw-pop-in {
|
|
from { transform: translateY(8px) scale(.98); opacity: 0; }
|
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
}
|
|
.cw-modal-hd {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
|
padding: 16px 18px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.cw-modal-title {
|
|
font-size: 16px; font-weight: 600; letter-spacing: -.01em;
|
|
display: flex; flex-direction: column; gap: 2px;
|
|
}
|
|
.cw-modal-sub { font-size: 11.5px; color: var(--muted); font-weight: 500; }
|
|
.cw-modal-body {
|
|
padding: 16px 18px;
|
|
display: flex; flex-direction: column; gap: 14px;
|
|
overflow-y: auto;
|
|
}
|
|
.cw-modal-ft {
|
|
padding: 12px 18px;
|
|
display: flex; align-items: center; gap: 8px;
|
|
border-top: 1px solid var(--border);
|
|
background: var(--surface-2);
|
|
border-radius: 0 0 var(--r-lg) var(--r-lg);
|
|
}
|
|
|
|
.cw-field { display: flex; flex-direction: column; gap: 6px; }
|
|
.cw-field-lbl { font-size: 11.5px; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; }
|
|
.cw-field-hint { font-size: 11px; color: var(--muted); margin-top: 2px; }
|
|
.cw-field-err {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
font-size: 11.5px; color: #b51e2c; margin-top: 2px; font-weight: 500;
|
|
}
|
|
.cw-field-err svg { flex: 0 0 auto; }
|
|
.cw-input-error,
|
|
.cw-field-error .cw-input { border-color: #d63d4b; box-shadow: 0 0 0 3px rgba(214,61,75,.12); }
|
|
.cw-input-error:focus,
|
|
.cw-field-error .cw-input:focus { outline-color: #d63d4b; }
|
|
.cw-modal-hint {
|
|
font-size: 12px; color: var(--ink-2);
|
|
background: #f5efe1; border: 1px solid #ead9b0; border-radius: var(--r-sm);
|
|
padding: 8px 12px;
|
|
}
|
|
.cw-modal-hint b { color: var(--ink); }
|
|
/* Modal context block — Stage + Time row */
|
|
.cw-mctx {
|
|
display: flex; flex-direction: column; gap: 1px;
|
|
background: var(--bg-soft, #f7f3ea);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-md, 10px);
|
|
overflow: hidden;
|
|
margin-bottom: 4px;
|
|
}
|
|
.cw-mctx-stage {
|
|
display: flex; align-items: center; gap: 12px;
|
|
padding: 10px 12px 10px 0; background: var(--surface);
|
|
}
|
|
.cw-mctx-stage-bar {
|
|
width: 4px; align-self: stretch; border-radius: 0 2px 2px 0; margin-right: 0;
|
|
flex: 0 0 4px;
|
|
}
|
|
.cw-mctx-stage-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
|
|
.cw-mctx-eyebrow {
|
|
font-size: 10.5px; font-weight: 600;
|
|
text-transform: uppercase; letter-spacing: .06em;
|
|
color: var(--muted);
|
|
}
|
|
.cw-mctx-stage-name { font-size: 14px; font-weight: 600; color: var(--ink); }
|
|
.cw-mctx-readonly {
|
|
font-size: 10.5px; font-weight: 600; color: var(--muted);
|
|
background: rgba(0,0,0,.04); padding: 3px 8px; border-radius: 999px;
|
|
text-transform: uppercase; letter-spacing: .06em;
|
|
margin-right: 12px;
|
|
}
|
|
.cw-mctx-time {
|
|
display: flex; align-items: center; gap: 14px;
|
|
padding: 10px 12px 10px 16px; background: var(--surface);
|
|
}
|
|
.cw-mctx-time-col { display: flex; flex-direction: column; gap: 2px; min-width: 56px; }
|
|
.cw-mctx-time-val {
|
|
font-size: 18px; font-weight: 600; color: var(--ink);
|
|
font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1;
|
|
}
|
|
.cw-mctx-time-soft { color: var(--ink-2); font-weight: 500; }
|
|
.cw-mctx-time-sub { font-size: 10.5px; color: var(--muted); font-style: italic; }
|
|
.cw-mctx-arrow { font-size: 16px; color: var(--muted); margin-top: 14px; }
|
|
.cw-mctx-time-spacer { flex: 1; }
|
|
.cw-mctx-dur {
|
|
font-size: 11.5px; font-weight: 600;
|
|
color: var(--ink-2); background: rgba(0,0,0,.04);
|
|
padding: 4px 10px; border-radius: 999px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.cw-input {
|
|
appearance: none;
|
|
border: 1px solid var(--border-strong);
|
|
background: var(--surface);
|
|
border-radius: var(--r-sm);
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
color: var(--ink);
|
|
font-family: inherit;
|
|
}
|
|
.cw-input[type="range"] {
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
height: 24px;
|
|
}
|
|
.cw-input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
|
|
.cw-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
|
|
.cw-artist-list {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-sm);
|
|
background: var(--surface-2);
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
}
|
|
.cw-artist-row {
|
|
display: flex; align-items: center; gap: 11px;
|
|
padding: 8px 12px;
|
|
width: 100%;
|
|
appearance: none; background: transparent; border: 0;
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: default;
|
|
text-align: left;
|
|
}
|
|
.cw-artist-row:last-child { border-bottom: 0; }
|
|
.cw-artist-row:hover { background: var(--surface); }
|
|
.cw-artist-row.is-active { background: var(--accent-soft); }
|
|
.cw-avatar {
|
|
width: 28px; height: 28px; border-radius: 50%;
|
|
background: var(--ink); color: white;
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
font-weight: 600; font-size: 11px;
|
|
flex: 0 0 28px;
|
|
}
|
|
.cw-artist-name { font-size: 13px; flex: 1; font-weight: 500; }
|
|
.cw-artist-draw { font-family: var(--mono); font-size: 11px; color: var(--muted); }
|
|
.cw-empty { padding: 16px; font-size: 12px; color: var(--muted); text-align: center; }
|
|
|
|
.cw-swatch-row { display: flex; gap: 6px; }
|
|
.cw-swatch {
|
|
width: 26px; height: 26px; border-radius: 50%;
|
|
border: 2px solid transparent;
|
|
cursor: default;
|
|
appearance: none; padding: 0;
|
|
}
|
|
.cw-swatch.is-active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }
|
|
|
|
.cw-day-chips { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
.cw-chip {
|
|
appearance: none;
|
|
background: var(--surface); border: 1px solid var(--border-strong);
|
|
border-radius: 999px;
|
|
padding: 6px 14px;
|
|
font-size: 12px; color: var(--ink-2);
|
|
cursor: default;
|
|
font-weight: 500;
|
|
}
|
|
.cw-chip:hover { background: var(--surface-2); }
|
|
.cw-chip.is-active {
|
|
background: var(--accent-soft);
|
|
border-color: var(--accent);
|
|
color: #125541;
|
|
}
|
|
|
|
/* ─── Matrix ────────────────────────────────────────────────────── */
|
|
.cw-matrix {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12.5px;
|
|
}
|
|
.cw-matrix th, .cw-matrix td {
|
|
text-align: left;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.cw-matrix th {
|
|
font-size: 11px; font-weight: 600;
|
|
letter-spacing: .04em; text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.cw-matrix tbody tr:hover { background: var(--surface-2); }
|
|
.cw-matrix-cell { width: 80px; text-align: center; }
|
|
.cw-check {
|
|
width: 22px; height: 22px;
|
|
border: 1.5px solid var(--border-strong);
|
|
background: var(--surface);
|
|
border-radius: 5px;
|
|
cursor: default;
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
appearance: none;
|
|
padding: 0;
|
|
}
|
|
.cw-check.is-checked { background: var(--accent); border-color: var(--accent-deep); }
|
|
.cw-hint {
|
|
font-size: 11.5px; color: var(--muted);
|
|
margin: 12px 0 0;
|
|
padding: 10px 12px;
|
|
background: var(--surface-2);
|
|
border-radius: var(--r-sm);
|
|
border: 1px dashed var(--border-strong);
|
|
}
|
|
|
|
/* ─── Footer toolbar ────────────────────────────────────────────── */
|
|
.cw-foot {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 10px 24px;
|
|
border-top: 1px solid var(--border);
|
|
background: var(--surface);
|
|
font-size: 12px;
|
|
}
|
|
.cw-foot-stats { display: flex; gap: 18px; color: var(--muted); }
|
|
.cw-foot-stats b { color: var(--ink); font-weight: 600; font-family: var(--mono); margin-right: 3px; }
|
|
|
|
/* Scrollbars (subtle) */
|
|
.cw-tt-canvas::-webkit-scrollbar,
|
|
.cw-tt-stages::-webkit-scrollbar,
|
|
.cw-drawer-body::-webkit-scrollbar,
|
|
.cw-modal-body::-webkit-scrollbar,
|
|
.cw-artist-list::-webkit-scrollbar,
|
|
.cw-side::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
.cw-tt-canvas::-webkit-scrollbar-thumb,
|
|
.cw-tt-stages::-webkit-scrollbar-thumb,
|
|
.cw-drawer-body::-webkit-scrollbar-thumb,
|
|
.cw-modal-body::-webkit-scrollbar-thumb,
|
|
.cw-artist-list::-webkit-scrollbar-thumb,
|
|
.cw-side::-webkit-scrollbar-thumb {
|
|
background: rgba(0,0,0,.15);
|
|
border-radius: 5px;
|
|
border: 2px solid transparent;
|
|
background-clip: content-box;
|
|
}
|
|
.cw-side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); background-clip: content-box; }
|
|
|
|
/* Reduce horizontal scroll for the timetable canvas — enable when block extends beyond viewport */
|