feat: edit moving source trajectories

This commit is contained in:
Codex
2026-08-28 16:04:55 +09:00
parent acb36bf15d
commit a20b55e8e2
8 changed files with 499 additions and 15 deletions
+79
View File
@@ -458,6 +458,76 @@
line-height: 1.5;
}
.trajectory-editor {
margin: 12px 0;
padding: 12px;
border: 1px solid rgb(101 242 191 / 16%);
border-radius: 12px;
background: rgb(101 242 191 / 3%);
}
.trajectory-toggle {
min-height: 28px;
}
.trajectory-preview {
margin-top: 12px;
}
.trajectory-preview output {
color: var(--mint);
font: 700 0.7rem ui-monospace, SFMono-Regular, Consolas, monospace;
}
.trajectory-preview input[type="range"] {
min-height: 28px;
padding: 0;
accent-color: var(--mint);
}
.trajectory-list {
display: grid;
gap: 8px;
margin: 12px 0 10px;
}
.trajectory-row {
display: grid;
grid-template-columns: 42px repeat(4, minmax(0, 1fr)) 30px;
gap: 5px;
align-items: end;
}
.trajectory-row__select,
.trajectory-row__remove {
min-height: 36px;
padding: 6px;
border: 1px solid var(--line);
border-radius: 8px;
color: var(--muted);
background: #0b1714;
cursor: pointer;
}
.trajectory-row__select.is-selected {
border-color: var(--mint);
color: var(--mint);
}
.trajectory-row__remove:disabled {
cursor: not-allowed;
opacity: 0.3;
}
.trajectory-row .field > span {
font-size: 0.6rem;
}
.trajectory-row .field input {
min-height: 36px;
padding: 6px;
}
.is-hidden {
display: none !important;
}
@@ -563,4 +633,13 @@
.field-grid--three {
grid-template-columns: 1fr;
}
.trajectory-row {
grid-template-columns: 38px repeat(2, minmax(0, 1fr)) 30px;
}
.trajectory-row .field:nth-of-type(3),
.trajectory-row .field:nth-of-type(4) {
grid-row: 2;
}
}