Match the phone's chip-strip panel on the web
The chips column was a stack of labelled sections; the phone opens one row at a time. Port that shape: tapping a tool tab shows the tab's chips, tapping a param chip opens its ruler above them, tapping a group chip opens its options strip, and either closes the other. RESET leads the row (amber while dirty) and PHOTO STYLE / RECIPES / WATERMARK are strips instead of inline chips.
This commit is contained in:
@@ -76,6 +76,13 @@
|
||||
}
|
||||
.chips h2 { margin: 0 0 2px; font-size: 11px; letter-spacing: 0.14em; color: var(--text-dim); font-weight: 600; }
|
||||
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
/* One strip at a time: the ruler, the open group's options, the recipe list and
|
||||
the watermark fields each sit on their own row above the main chip row. */
|
||||
.strip { border-top: 1px solid var(--border-soft); padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
|
||||
/* RESET stays pinned at full size; the tab's chips take the rest and scroll. */
|
||||
.main-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
||||
.main-row > .chip-row:last-child { flex: 1 1 auto; min-width: 0; }
|
||||
.wm-extra { border-top-color: var(--accent-line); }
|
||||
.chip {
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-elev);
|
||||
@@ -88,13 +95,29 @@
|
||||
gap: 6px;
|
||||
}
|
||||
.chip[aria-pressed="true"], .chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
|
||||
/* Edited value, strip closed: the text glows amber, the border does not. */
|
||||
.chip.amber, .chip.amber .val { color: var(--accent); }
|
||||
.chip .val { color: var(--text-dim); font-family: var(--mono); font-size: 11px; }
|
||||
.chip .pro { font-size: 9px; letter-spacing: 0.08em; color: var(--accent); }
|
||||
.chip:disabled { opacity: 0.4; cursor: not-allowed; }
|
||||
|
||||
.slider-row { border-top: 1px solid var(--border-soft); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
|
||||
/* The ruler row: "<" back button, label + live value, full-width slider. */
|
||||
.slider-row { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; display: flex; align-items: center; gap: 10px; }
|
||||
.slider-row .ruler { flex: 1 1 auto; min-width: 0; }
|
||||
.slider-row .head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.1em; color: var(--text-dim); }
|
||||
.slider-row .head b { color: var(--accent); font-family: var(--mono); letter-spacing: 0; }
|
||||
.slider-row .head b { color: var(--text); font-family: var(--mono); letter-spacing: 0; }
|
||||
.slider-row .head b.amber { color: var(--accent); }
|
||||
.slider-row .back {
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-elev);
|
||||
color: var(--text-dim);
|
||||
border-radius: 999px;
|
||||
padding: 4px 10px;
|
||||
font-family: var(--mono);
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type="range"] { width: 100%; accent-color: var(--accent); }
|
||||
.hint { color: var(--text-dim); font-size: 12px; line-height: 1.5; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user