Initial commit
This commit is contained in:
+482
@@ -0,0 +1,482 @@
|
||||
: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: #6ef2c6;
|
||||
--accent-strong: #17c98d;
|
||||
--danger: #ff7e87;
|
||||
--grid: rgba(255, 255, 255, 0.08);
|
||||
--midi: #61c8ff;
|
||||
--artnet: #ffb35c;
|
||||
--shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(110, 242, 198, 0.14), transparent 32%),
|
||||
radial-gradient(circle at top right, rgba(97, 200, 255, 0.14), transparent 28%),
|
||||
linear-gradient(180deg, #0a0d13 0%, #111722 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: 12px;
|
||||
background: linear-gradient(180deg, rgba(110, 242, 198, 0.2), rgba(23, 201, 141, 0.15));
|
||||
color: var(--text);
|
||||
padding: 0.65rem 0.95rem;
|
||||
cursor: pointer;
|
||||
transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(110, 242, 198, 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: 12px;
|
||||
padding: 0.7rem 0.8rem;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
grid-template-columns: 332px minmax(0, 1fr) 292px;
|
||||
gap: 18px;
|
||||
min-height: 100vh;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.app-shell.inspector-collapsed {
|
||||
grid-template-columns: 332px minmax(0, 1fr) 54px;
|
||||
}
|
||||
|
||||
.sidebar,
|
||||
.workspace,
|
||||
.inspector {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--panel-border);
|
||||
border-radius: 24px;
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(18px);
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.inspector {
|
||||
position: relative;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
overflow-y: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.inspector .panel {
|
||||
padding: 12px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.inspector-toggle {
|
||||
align-self: flex-end;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.app-shell.inspector-collapsed .inspector .panel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-shell.inspector-collapsed .inspector {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.brand-panel {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.brand-lockup {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.logo-mark {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 18px;
|
||||
position: relative;
|
||||
background:
|
||||
linear-gradient(160deg, rgba(110, 242, 198, 0.3), rgba(97, 200, 255, 0.18)),
|
||||
rgba(255, 255, 255, 0.04);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.logo-mark::before,
|
||||
.logo-mark::after,
|
||||
.logo-mark span {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 12px;
|
||||
width: 10px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #6ef2c6, #61c8ff);
|
||||
}
|
||||
|
||||
.logo-mark::before {
|
||||
left: 16px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.logo-mark span {
|
||||
left: 28px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.logo-mark::after {
|
||||
left: 40px;
|
||||
height: 46px;
|
||||
}
|
||||
|
||||
.brand-panel::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: auto -80px -100px auto;
|
||||
width: 220px;
|
||||
height: 220px;
|
||||
background: radial-gradient(circle, rgba(110, 242, 198, 0.24), transparent 68%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.18em;
|
||||
font-size: 0.72rem;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.brand-credit {
|
||||
margin-top: 0.35rem;
|
||||
color: var(--muted);
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.02rem;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.panel-header,
|
||||
.transport-main,
|
||||
.editor-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.panel-actions,
|
||||
.transport-controls,
|
||||
.editor-hints {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.editor-hints span,
|
||||
.meta-row span,
|
||||
.transport-label {
|
||||
font-size: 0.78rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.field,
|
||||
.field-grid {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.field {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.checkbox-row {
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.checkbox-row input {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.field span {
|
||||
font-size: 0.82rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.field-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
align-content: end;
|
||||
}
|
||||
|
||||
.checkbox input {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.meta-row {
|
||||
margin-top: 12px;
|
||||
display: grid;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.path-label {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.timeline-list,
|
||||
.track-list,
|
||||
#timelineInspector,
|
||||
#selectionInspector {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.timeline-card,
|
||||
.track-card,
|
||||
.info-card {
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 18px;
|
||||
padding: 12px 14px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.selectable-card {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.timeline-card.active,
|
||||
.track-card.active {
|
||||
border-color: rgba(110, 242, 198, 0.52);
|
||||
background: rgba(110, 242, 198, 0.09);
|
||||
}
|
||||
|
||||
.track-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
border-radius: 999px;
|
||||
padding: 0.2rem 0.55rem;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
color: #081118;
|
||||
}
|
||||
|
||||
.track-pill.midi {
|
||||
background: var(--midi);
|
||||
}
|
||||
|
||||
.track-pill.artnet {
|
||||
background: var(--artnet);
|
||||
}
|
||||
|
||||
.track-pill.midicc {
|
||||
background: #8fd86f;
|
||||
}
|
||||
|
||||
.track-pill.osc {
|
||||
background: #ff8fd1;
|
||||
}
|
||||
|
||||
.track-pill.sacn {
|
||||
background: #9ca8ff;
|
||||
}
|
||||
|
||||
.track-pill.serial {
|
||||
background: #ff9e6b;
|
||||
}
|
||||
|
||||
.track-pill.modbus {
|
||||
background: #63e0d3;
|
||||
}
|
||||
|
||||
.track-pill.knx {
|
||||
background: #f26f7d;
|
||||
}
|
||||
|
||||
.track-pill.mqtt {
|
||||
background: #f7df68;
|
||||
}
|
||||
|
||||
.track-card-top {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.track-card-body {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.track-card-actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.track-action {
|
||||
min-width: 34px;
|
||||
height: 34px;
|
||||
padding: 0;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.workspace {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.transport-bar {
|
||||
padding: 16px 18px;
|
||||
}
|
||||
|
||||
.transport-main {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.transport-block {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
#timecodeLabel {
|
||||
font-size: 1.55rem;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.editor {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.canvas-frame {
|
||||
margin-top: 14px;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
border-radius: 20px;
|
||||
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.92rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.inspector-grid {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.section-label {
|
||||
color: var(--muted);
|
||||
font-size: 0.8rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
}
|
||||
|
||||
@media (max-width: 1320px) {
|
||||
.app-shell {
|
||||
grid-template-columns: 320px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.inspector {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.app-shell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.inspector {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user