Files
led-controller/led-simulator/web/gallery.css
T
jimmyandClaude Haiku 5.5 edf35e9c71 Channel 11 defaults, ESP-NOW driver config and rig/desktop updates
Moves the controller, bridge and led-driver default ESP-NOW channel to 11 and
updates the led-driver and led-tool submodule pointers. Includes the rest of the
working tree: web UI, desktop and sim-controller changes, API and bridge code,
graphify output, and the .gitea and fixture-driver folders.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-21 01:19:02 +13:00

70 lines
2.9 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)); }
}
/* Views: the tile grid (list) or one preset's editor */
body.list #gallery { display: none; }
body:not(.list) #list-view { display: none; }
body.list .editor-only { display: none; }
body:not(.list) .list-only { display: none; }
#g-search { width: 220px; }
#list-view { padding: 12px 16px 24px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tile {
display: flex;
flex-direction: column;
gap: 6px;
text-align: left;
font: inherit;
color: inherit;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 10px;
padding: 10px 12px;
cursor: pointer;
min-width: 0;
}
.tile:hover, .tile:focus-visible { border-color: #5aa9ff; outline: none; }
.tile[hidden] { display: none; }
.tile .t-name { font-weight: 600; font-family: ui-monospace, Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .t-pattern { color: var(--muted); font-size: 12px; }
.tile canvas { width: 100%; height: 24px; display: block; background: #0b0c0f; border-radius: 4px; }