web: a photo can sit in every landing section at once
The picker was one dropdown, so a photo lived in exactly one place. The three destinations are now independent checkboxes on the card, and the column holds the set as a comma list — the landing page draws a photo in every section it was ticked into, each still picking one of its own at random per visit. Ticking nothing is what `off` used to be: the row is kept and the landing page stops drawing it, which is what the old "not on the landing page" option did.
This commit is contained in:
@@ -399,24 +399,31 @@ input[type="range"] { width: 100%; accent-color: var(--accent); }
|
||||
.adm-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
|
||||
@media (max-width: 1100px) { .adm-cols { grid-template-columns: minmax(0, 1fr); } }
|
||||
.adm-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
|
||||
.adm-cols .adm-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
|
||||
.adm-choices { display: flex; flex-direction: column; gap: 4px; }
|
||||
/* Wide enough for the three chips to sit on one line: the picker is the point
|
||||
of the card, so the grid gives it the width it needs. */
|
||||
.adm-cols .adm-grid { grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); }
|
||||
/* The three destinations sit on one line under the photo, each an independent
|
||||
checkbox — tick all three and the photo shows in all three sections. */
|
||||
.adm-choices { display: flex; flex-wrap: wrap; gap: 5px; }
|
||||
.adm-choice {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.06em;
|
||||
font-size: 10.5px;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
text-align: left;
|
||||
padding: 5px 8px;
|
||||
padding: 4px 8px;
|
||||
cursor: pointer;
|
||||
color: var(--text);
|
||||
color: var(--text-dim);
|
||||
background: var(--bg-sunken);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
.adm-choice:hover:not(:disabled) { border-color: var(--accent-line); }
|
||||
.adm-choice.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
|
||||
.adm-choice:disabled { opacity: 0.5; cursor: default; }
|
||||
.adm-choice:hover { border-color: var(--accent-line); }
|
||||
.adm-choice:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
|
||||
.adm-choice:has(input:disabled) { opacity: 0.5; cursor: default; }
|
||||
.adm-choice input { margin: 0; accent-color: var(--accent); }
|
||||
.adm-row { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 10px; }
|
||||
.adm-row-title {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user