568 lines
8.8 KiB
CSS
568 lines
8.8 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #0b0e14;
|
|
--bg-elevated: #141a24;
|
|
--bg-soft: #1b2331;
|
|
--panel: rgba(20, 26, 36, 0.86);
|
|
--panel-border: rgba(255, 255, 255, 0.08);
|
|
--text: #ecf2ff;
|
|
--muted: #a4b2cc;
|
|
--accent: #6ec2f2;
|
|
--accent-strong: #1782c9;
|
|
--danger: #ff7e87;
|
|
--grid: rgba(255, 255, 255, 0.08);
|
|
--midi: #61c8ff;
|
|
--artnet: #ffb35c;
|
|
--shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
|
|
font-size: 14px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(110, 194, 242, 0.18), transparent 34%),
|
|
radial-gradient(circle at top right, rgba(23, 130, 201, 0.16), transparent 28%),
|
|
linear-gradient(180deg, #09111b 0%, #101a28 100%);
|
|
color: var(--text);
|
|
font-family: "Trebuchet MS", "Segoe UI Variable Text", "Aptos", sans-serif;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(110, 194, 242, 0.2), rgba(23, 130, 201, 0.15));
|
|
color: var(--text);
|
|
padding: 0.5rem 0.75rem;
|
|
cursor: pointer;
|
|
transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
button:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(110, 222, 242, 0.45);
|
|
}
|
|
|
|
button.ghost {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
input,
|
|
select {
|
|
width: 100%;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 10px;
|
|
padding: 0.56rem 0.7rem;
|
|
background: rgba(0, 0, 0, 0.22);
|
|
color: var(--text);
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.app-shell {
|
|
display: grid;
|
|
grid-template-columns: 286px minmax(0, 1fr);
|
|
gap: 12px;
|
|
min-height: 100vh;
|
|
padding: 12px;
|
|
}
|
|
|
|
.sidebar,
|
|
.workspace {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 18px;
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px);
|
|
padding: 14px;
|
|
}
|
|
|
|
.brand-panel {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.brand-lockup {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 96px;
|
|
max-width: 36%;
|
|
height: auto;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
|
|
}
|
|
|
|
.brand-panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: auto -80px -100px auto;
|
|
width: 220px;
|
|
height: 220px;
|
|
background: radial-gradient(circle, rgba(110, 194, 242, 0.24), transparent 68%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.18em;
|
|
font-size: 0.64rem;
|
|
color: var(--accent);
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.24rem;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.brand-credit {
|
|
margin-top: 0.2rem;
|
|
color: var(--muted);
|
|
font-size: 0.62rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
p {
|
|
color: var(--muted);
|
|
line-height: 1.4;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.panel-header,
|
|
.transport-main,
|
|
.editor-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.panel-actions,
|
|
.transport-controls,
|
|
.editor-hints {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.editor-hints span,
|
|
.meta-row span,
|
|
.transport-label {
|
|
font-size: 0.7rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.field,
|
|
.field-grid {
|
|
display: grid;
|
|
gap: 0.32rem;
|
|
}
|
|
|
|
.field {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.checkbox-row {
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.checkbox-row input {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.field span {
|
|
font-size: 0.72rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.field-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.checkbox {
|
|
align-content: end;
|
|
}
|
|
|
|
.checkbox input {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.meta-row {
|
|
margin-top: 8px;
|
|
display: grid;
|
|
gap: 0.18rem;
|
|
}
|
|
|
|
.path-label {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.timeline-list,
|
|
.track-list,
|
|
#timelineInspector,
|
|
#selectionInspector {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.timeline-card,
|
|
.track-card,
|
|
.info-card {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 14px;
|
|
padding: 10px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.selectable-card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.timeline-card.active,
|
|
.track-card.active {
|
|
border-color: rgba(110, 194, 242, 0.52);
|
|
background: rgba(110, 194, 242, 0.12);
|
|
}
|
|
|
|
.track-card.drag-source {
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.track-card.drag-before {
|
|
box-shadow: inset 0 3px 0 rgba(110, 194, 242, 0.9);
|
|
}
|
|
|
|
.track-card.drag-after {
|
|
box-shadow: inset 0 -3px 0 rgba(110, 194, 242, 0.9);
|
|
}
|
|
|
|
.track-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 999px;
|
|
padding: 0.14rem 0.44rem;
|
|
font-size: 0.62rem;
|
|
font-weight: 700;
|
|
color: #081118;
|
|
}
|
|
|
|
.track-pill.midi {
|
|
background: var(--midi);
|
|
}
|
|
|
|
.track-pill.artnet {
|
|
background: var(--artnet);
|
|
}
|
|
|
|
.track-pill.midicc {
|
|
background: #78cfff;
|
|
}
|
|
|
|
.track-pill.osc {
|
|
background: #ff8fd1;
|
|
}
|
|
|
|
.track-pill.sacn {
|
|
background: #9ca8ff;
|
|
}
|
|
|
|
.track-pill.audio {
|
|
background: #8ee8c8;
|
|
}
|
|
|
|
.track-pill.serial {
|
|
background: #ff9e6b;
|
|
}
|
|
|
|
.track-pill.modbus {
|
|
background: #6fc2de;
|
|
}
|
|
|
|
.track-pill.knx {
|
|
background: #f26f7d;
|
|
}
|
|
|
|
.track-pill.mqtt {
|
|
background: #f7df68;
|
|
}
|
|
|
|
.track-card-top {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.track-card-body {
|
|
flex: 1;
|
|
}
|
|
|
|
.track-card-actions {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.track-action {
|
|
min-width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.track-grip {
|
|
position: relative;
|
|
cursor: grab;
|
|
}
|
|
|
|
.track-grip:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.track-grip::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 9px;
|
|
width: 3px;
|
|
height: 3px;
|
|
border-radius: 999px;
|
|
background: rgba(236, 242, 255, 0.72);
|
|
box-shadow:
|
|
0 6px 0 rgba(236, 242, 255, 0.72),
|
|
6px 0 0 rgba(236, 242, 255, 0.72),
|
|
6px 6px 0 rgba(236, 242, 255, 0.72);
|
|
}
|
|
|
|
.workspace {
|
|
min-width: 0;
|
|
}
|
|
|
|
.transport-bar {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.transport-main {
|
|
align-items: end;
|
|
}
|
|
|
|
.transport-block {
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
#timecodeLabel {
|
|
font-size: 1.2rem;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.editor {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.canvas-frame {
|
|
margin-top: 10px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
border-radius: 16px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
|
|
rgba(5, 8, 12, 0.62);
|
|
overflow: auto;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
#timelineCanvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.empty-state {
|
|
color: var(--muted);
|
|
font-size: 0.82rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.settings-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 180ms ease;
|
|
z-index: 40;
|
|
}
|
|
|
|
.settings-modal.open {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.settings-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(5, 9, 16, 0.72);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.settings-dialog {
|
|
position: relative;
|
|
width: min(1080px, calc(100vw - 32px));
|
|
max-height: calc(100vh - 32px);
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(110, 194, 242, 0.18);
|
|
}
|
|
|
|
.settings-dialog-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.settings-tabbar {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.settings-tab {
|
|
min-width: 92px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.settings-tab.active {
|
|
border-color: rgba(110, 194, 242, 0.48);
|
|
background: linear-gradient(180deg, rgba(110, 194, 242, 0.22), rgba(23, 130, 201, 0.18));
|
|
}
|
|
|
|
.settings-content {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.settings-tab-panel {
|
|
display: none;
|
|
}
|
|
|
|
.settings-tab-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.settings-stack {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.settings-section {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.info-card {
|
|
border: 1px solid rgba(110, 194, 242, 0.14);
|
|
border-radius: 14px;
|
|
padding: 10px 12px;
|
|
background: linear-gradient(180deg, rgba(110, 194, 242, 0.08), rgba(255, 255, 255, 0.02));
|
|
color: var(--muted);
|
|
line-height: 1.4;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.info-card strong {
|
|
color: var(--text);
|
|
}
|
|
|
|
.inspector-grid {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.section-label {
|
|
color: var(--muted);
|
|
font-size: 0.68rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
}
|
|
|
|
@media (max-width: 1320px) {
|
|
.app-shell {
|
|
grid-template-columns: 270px minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.transport-main,
|
|
.editor-header,
|
|
.settings-dialog-header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.field-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.settings-dialog {
|
|
width: calc(100vw - 20px);
|
|
max-height: calc(100vh - 20px);
|
|
padding: 14px;
|
|
}
|
|
}
|