@uncinq/css-components 1.9.0 → 1.9.1
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.
- package/css/components/panel.css +12 -21
- package/package.json +1 -1
package/css/components/panel.css
CHANGED
|
@@ -351,28 +351,19 @@
|
|
|
351
351
|
|
|
352
352
|
/* ── Trigger ───────────────────────────────────────────────────────
|
|
353
353
|
* Once the panel has gone inline there is nothing left to open, so its
|
|
354
|
-
* trigger goes with it.
|
|
354
|
+
* trigger goes with it.
|
|
355
355
|
*
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
@media (--
|
|
366
|
-
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
@media (--lg) {
|
|
370
|
-
button:has(+ .panel-inline-lg) { display: none; }
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
@media (--xl) {
|
|
374
|
-
button:has(+ .panel-inline-xl) { display: none; }
|
|
375
|
-
}
|
|
356
|
+
* The trigger carries its own breakpoint rather than being reached from the
|
|
357
|
+
* panel: the only reliable link between the two is data-target matching the
|
|
358
|
+
* id, and no selector can compare two values. Any positional rule would work
|
|
359
|
+
* only as long as nobody moves the markup — and a filter button lives in the
|
|
360
|
+
* page heading, not beside the panel. Both classes come from one site param,
|
|
361
|
+
* so the pair cannot disagree. */
|
|
362
|
+
|
|
363
|
+
@media (--sm) { .panel-trigger-sm { display: none; } }
|
|
364
|
+
@media (--md) { .panel-trigger-md { display: none; } }
|
|
365
|
+
@media (--lg) { .panel-trigger-lg { display: none; } }
|
|
366
|
+
@media (--xl) { .panel-trigger-xl { display: none; } }
|
|
376
367
|
|
|
377
368
|
/* ── Entry transition ──────────────────────────────────────────────
|
|
378
369
|
* Opening is a discrete display change, so the start state has to be
|