@kolkrabbi/kol-theme 0.207.0 → 0.208.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -125,9 +125,7 @@
|
|
|
125
125
|
* trigger squares its bottom corners, panel squares its top, and the fill
|
|
126
126
|
* continues (panel offset is -1 in Dropdown.jsx for the same reason). */
|
|
127
127
|
.kol-dd-trigger--open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
|
|
128
|
-
|
|
129
|
-
* raised select panel is oq-08, so the open trigger it hangs from takes the same ground — head and list read as one */
|
|
130
|
-
.kol-dd-trigger.kol-dd-trigger--open { background-color: var(--kol-oq-08); }
|
|
128
|
+
|
|
131
129
|
/* Flex column so the viewport clamp (Popover size middleware sets maxHeight
|
|
132
130
|
* on this element) reaches the list: the hairline keeps its 1px, the list
|
|
133
131
|
* takes the rest and scrolls inside — the panel itself never overflows the
|
|
@@ -141,10 +139,10 @@
|
|
|
141
139
|
* sunken continue their fill, outline and ghost paint the page's ground —
|
|
142
140
|
* `--kol-tone-ground` — so opening changes nothing under the panel. The
|
|
143
141
|
* `--primary` / `--grey` / `--outline` classes are aliases of the tones. */
|
|
144
|
-
/*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
background-color: var(--kol-
|
|
142
|
+
/* ONE TONE, CLOSED OR OPEN (user 2026-10-31: *"how are you using one tone for default, but another for list open?"*):
|
|
143
|
+
* the panel is the trigger tone's floating surface again (`--kol-tone-panel-bg`), so opening never changes the
|
|
144
|
+
* ground; what lifts it off the page is the float shadow (metric Round 3's "the panel melted into the page"). */
|
|
145
|
+
background-color: var(--kol-tone-panel-bg, var(--kol-surface-secondary)); /* untoned = primary, whose floating surface is surface-secondary */
|
|
148
146
|
box-shadow: var(--kol-shadow-float);
|
|
149
147
|
border: var(--kol-tone-panel-border-w, 0) solid var(--kol-tone-panel-border, transparent); /* outline: matches the trigger's rest border */
|
|
150
148
|
border-top: 0; /* the trigger's bottom edge is the divider (docs page) */
|