Skip to content

Commit dee3fd8

Browse files
jasonpriemclaude
andcommitted
#575: normal-weight 'and…' button; editable predicate uses --prop-bg (two chip weights: light=inert, dark=interactive)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d5a36bd commit dee3fd8

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

src/components/Oql/OqlQueryBuilder.vue

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3375,14 +3375,16 @@ defineExpose({ rebuildFromOql: async (oql) => {
33753375
/* darken with the rest of the row's chips on selection (same as .bl-lead). */
33763376
.bline--sel .bl-slot-pred { background: var(--conn-bg-sel, #b25d06); color: var(--conn-fg-sel, #fff); }
33773377
/* EDITABLE numeric predicate (#575 round 8, Jason): the operator (=/≥/≤/>/<) can be changed
3378-
from a menu, so this slot reads as ACTIONABLE — a distinctly darker peach fill + clickable
3379-
(the fixed predicate above is the light `--conn-bg` and inert). Solid orange on hover/open. */
3378+
from a menu, so this slot reads as ACTIONABLE — the darker `--prop-bg` peach of the other
3379+
interactive chips (field chips), vs the light `--conn-bg` of the inert predicate above.
3380+
Exactly two chip background weights: light = non-interactive, dark = interactive (Jason,
3381+
2026-07-09 — replaced round 8's third ad-hoc #f2ccae shade). Solid orange on hover/open. */
33803382
.bl-slot-pred--edit {
33813383
pointer-events: auto;
33823384
cursor: pointer;
33833385
border: none;
33843386
font-weight: 700;
3385-
background: #f2ccae;
3387+
background: var(--prop-bg, #fae1d1);
33863388
}
33873389
.bl-slot-pred--edit:hover,
33883390
.bl-slot-pred--edit[aria-expanded="true"] { background: var(--conn-fg, #b25d06); color: #fff; }
@@ -3398,10 +3400,10 @@ defineExpose({ rebuildFromOql: async (oql) => {
33983400
/* the empty-state row is JUST the "Add a filter" button — drop the line-number gutter. */
33993401
.bline--empty::before { content: ""; width: 0; padding: 0; }
34003402
/* "and…" — the trailing add-another-filter button. Orange text at rest, peach fill on hover
3401-
(matches the peach filter-scope lead column it sits under). Bold + monospace so it reads as
3402-
the next `and` in the list of filters. Left padding = the lead chips' centered-text inset
3403-
((chip-w − 3ch)/2, same font so ch matches) so this "and" starts at the same x as the row
3404-
leads' "and" (Jason, 2026-07-09). */
3403+
(matches the peach filter-scope lead column it sits under). Monospace at NORMAL weight —
3404+
same as the lead chips — so it reads as the next `and` in the list of filters (Jason,
3405+
2026-07-09: no bold). Left padding = the lead chips' centered-text inset ((chip-w − 3ch)/2,
3406+
same font so ch matches) so this "and" starts at the same x as the row leads' "and". */
34053407
.add-and-btn {
34063408
display: inline-flex;
34073409
align-items: center;
@@ -3413,7 +3415,7 @@ defineExpose({ rebuildFromOql: async (oql) => {
34133415
color: var(--conn-fg, #b25d06);
34143416
font-family: "JetBrains Mono", monospace;
34153417
font-size: var(--brick-fs, 0.8125rem);
3416-
font-weight: 700;
3418+
font-weight: 400;
34173419
cursor: pointer;
34183420
}
34193421
.add-and-btn:hover { background: var(--conn-bg, #f9ebe2); }

0 commit comments

Comments
 (0)