- Pattern gallery shows the controller's presets, one at a time, with a dropdown, Save, Add preset, and the controller's field labels, delay limits and colour counts. Edits show in the preview; Save writes to the controller only. - Presets are always timed in ms (beat_time is no longer sent to drivers); beats stay in sequences. - Chase steps of 0 hold still; the marquee style is removed from the controller, the gallery and the driver (submodule commit 12a8e22). - The rig's split pane opens the preset editor too (Rig / Presets switch and a Preset editor menu entry). - Sequence editor, room layout and simulator controls from earlier work are included. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
42 lines
1.8 KiB
CSS
42 lines
1.8 KiB
CSS
.gallery {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 12px;
|
|
padding: 12px 16px 24px;
|
|
}
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 10px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.card[hidden] { display: none; }
|
|
.pager { display: flex; align-items: center; gap: 6px; }
|
|
.pager select { min-width: 160px; font-family: ui-monospace, Menlo, Consolas, monospace; }
|
|
.pager button { padding: 2px 10px; }
|
|
.card-name { font-weight: 600; font-family: ui-monospace, Menlo, Consolas, monospace; }
|
|
.card-head .btns { display: flex; gap: 4px; }
|
|
.save-status { color: var(--muted); font-size: 11px; min-height: 14px; }
|
|
.card-head button { padding: 2px 8px; }
|
|
.card canvas { width: 100%; height: 22px; display: block; background: #0b0c0f; border-radius: 4px; }
|
|
.card form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; }
|
|
.card form[hidden], .card form label[hidden] { display: none; }
|
|
.card form label { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 11px; }
|
|
.card form label.wide { grid-column: span 2; }
|
|
.card form label.full { grid-column: 1 / -1; }
|
|
.card form label.check { flex-direction: row; align-items: center; gap: 5px; }
|
|
.card form input { width: 100%; padding: 3px 5px; }
|
|
.card form input[type=checkbox] { width: auto; }
|
|
.colours { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
|
|
.colours input[type=color] { width: 30px; height: 24px; padding: 0; border-radius: 4px; }
|
|
.colours button { padding: 1px 7px; }
|
|
@media (max-width: 420px) {
|
|
.gallery { grid-template-columns: 1fr; padding: 12px 16px; }
|
|
.card form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|