@poadio/app-vue 0.1.0 → 0.2.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/CHANGELOG.md +37 -0
- package/app-vue.css +102 -23
- package/dist/browser.d.ts +3 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +18 -1
- package/dist/browser.js.map +1 -1
- package/dist/draft-toolbar.d.ts +65 -0
- package/dist/draft-toolbar.d.ts.map +1 -0
- package/dist/draft-toolbar.js +62 -0
- package/dist/draft-toolbar.js.map +1 -0
- package/dist/front-view.d.ts +5 -1
- package/dist/front-view.d.ts.map +1 -1
- package/dist/front-view.js +103 -44
- package/dist/front-view.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/items.d.ts +33 -0
- package/dist/items.d.ts.map +1 -0
- package/dist/items.js +369 -0
- package/dist/items.js.map +1 -0
- package/dist/lazy.d.ts +16 -0
- package/dist/lazy.d.ts.map +1 -1
- package/dist/lazy.js +34 -1
- package/dist/lazy.js.map +1 -1
- package/dist/messages.d.ts +19 -2
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +38 -4
- package/dist/messages.js.map +1 -1
- package/dist/sections/grid.d.ts +25 -1
- package/dist/sections/grid.d.ts.map +1 -1
- package/dist/sections/grid.js +31 -3
- package/dist/sections/grid.js.map +1 -1
- package/package.json +4 -3
- package/runtime-dist/app.css +102 -23
- package/runtime-dist/app.js +2 -2
- package/runtime-dist/c-031pq7qf.js +2 -0
- package/runtime-dist/c-0vbs937h.js +18 -0
- package/runtime-dist/c-1h49vkah.js +2 -0
- package/runtime-dist/c-1hzd2pqr.js +2 -0
- package/runtime-dist/c-1q9r6ndn.js +1 -0
- package/runtime-dist/c-1re10yb3.js +1 -0
- package/runtime-dist/c-1v1v69qs.js +1 -0
- package/runtime-dist/c-1yjbg3yb.js +1 -0
- package/runtime-dist/c-2ag31260.js +2 -0
- package/runtime-dist/c-2c88ebgp.js +1 -0
- package/runtime-dist/c-30chvm5x.js +1 -0
- package/runtime-dist/c-37zx0wkd.js +1 -0
- package/runtime-dist/c-4agg4qbw.js +1 -0
- package/runtime-dist/c-4g3757ck.js +2 -0
- package/runtime-dist/c-4vjd8na5.js +1 -0
- package/runtime-dist/c-523qwqen.js +2 -0
- package/runtime-dist/c-56tgqzdn.js +2 -0
- package/runtime-dist/c-57mnqma1.js +1 -0
- package/runtime-dist/c-5gfe19fa.js +1 -0
- package/runtime-dist/c-5ma45m2j.js +1 -0
- package/runtime-dist/c-74emmp4y.js +1 -0
- package/runtime-dist/c-7dryrrsk.js +2 -0
- package/runtime-dist/c-82sqd7as.js +1 -0
- package/runtime-dist/c-8ahb2ywd.js +1 -0
- package/runtime-dist/c-8cc3yqpn.js +1 -0
- package/runtime-dist/c-8h2rwbd8.js +1 -0
- package/runtime-dist/c-8nyvd0h0.js +1 -0
- package/runtime-dist/c-8r1pgc8w.js +1 -0
- package/runtime-dist/c-8x8fdn2b.js +1 -0
- package/runtime-dist/c-8xxzrkpg.js +2 -0
- package/runtime-dist/c-98tbntdq.js +2 -0
- package/runtime-dist/c-9rx4pqjs.js +2 -0
- package/runtime-dist/c-b5wfx90n.js +1 -0
- package/runtime-dist/c-bhgqqt5x.js +2 -0
- package/runtime-dist/c-c60s3ncm.js +2 -0
- package/runtime-dist/c-cfrv87cv.js +1 -0
- package/runtime-dist/c-d3hafdna.js +1 -0
- package/runtime-dist/c-d8hfdner.js +2 -0
- package/runtime-dist/c-d9rzqgda.js +1 -0
- package/runtime-dist/c-dx8zkcbf.js +1 -0
- package/runtime-dist/c-dzx0rg0g.js +2 -0
- package/runtime-dist/c-e3rddwjq.js +1 -0
- package/runtime-dist/c-e45fhawr.js +1 -0
- package/runtime-dist/c-eh9ryhw7.js +2 -0
- package/runtime-dist/{c-fg782zf4.js → c-er7e0yqs.js} +1 -1
- package/runtime-dist/c-fbtxac36.js +1 -0
- package/runtime-dist/c-g4dt7z6r.js +2 -0
- package/runtime-dist/c-g6vc4fyb.js +1 -0
- package/runtime-dist/c-g9jhyx8j.js +1 -0
- package/runtime-dist/c-gf4wzfng.js +1 -0
- package/runtime-dist/c-gfzghvh2.js +1 -0
- package/runtime-dist/c-grqtxpm9.js +1 -0
- package/runtime-dist/c-h8ny4vpa.js +1 -0
- package/runtime-dist/c-hgdk0vqh.js +1 -0
- package/runtime-dist/c-hrbpqm8q.js +2 -0
- package/runtime-dist/c-j63hz554.js +2 -0
- package/runtime-dist/c-jxqht9an.js +2 -0
- package/runtime-dist/c-jy6yg5r5.js +3 -0
- package/runtime-dist/c-k3yb5e72.js +2 -0
- package/runtime-dist/c-k624qrhh.js +2 -0
- package/runtime-dist/c-kaqzctfm.js +15 -0
- package/runtime-dist/c-kbg0cafy.js +2 -0
- package/runtime-dist/c-kmx0mv0c.js +2 -0
- package/runtime-dist/c-kqsnm92z.js +1 -0
- package/runtime-dist/c-mcy4rvac.js +2 -0
- package/runtime-dist/c-mdj990nz.js +2 -0
- package/runtime-dist/c-mhzk96e8.js +1 -0
- package/runtime-dist/c-mv93h1f5.js +1 -0
- package/runtime-dist/c-mvdn43tv.js +2 -0
- package/runtime-dist/c-n27dcy6d.js +2 -0
- package/runtime-dist/c-n8sg12jt.js +1 -0
- package/runtime-dist/c-n9cyhrcb.js +2 -0
- package/runtime-dist/c-ny0mdx7k.js +2 -0
- package/runtime-dist/c-p3z8t4n5.js +1 -0
- package/runtime-dist/c-p8wyhrwm.js +2 -0
- package/runtime-dist/c-pfc9b97d.js +1 -0
- package/runtime-dist/c-pj08sk6j.js +2 -0
- package/runtime-dist/{c-pgxy0etb.js → c-pk2cv8zh.js} +1 -1
- package/runtime-dist/c-py0rvzyv.js +1 -0
- package/runtime-dist/c-pyj696ce.js +1 -0
- package/runtime-dist/c-qzar8xvm.js +2 -0
- package/runtime-dist/c-rf1xevya.js +1 -0
- package/runtime-dist/{c-ns42txax.js → c-rj7c7mwf.js} +2 -2
- package/runtime-dist/c-rktc0ksd.js +2 -0
- package/runtime-dist/c-rm0av36n.js +1 -0
- package/runtime-dist/c-rv7cxh2k.js +2 -0
- package/runtime-dist/c-s3vrabx6.js +1 -0
- package/runtime-dist/c-sd570jk7.js +2 -0
- package/runtime-dist/c-sjajadt4.js +2 -0
- package/runtime-dist/c-t83mbx7z.js +1 -0
- package/runtime-dist/c-tsyjqc1h.js +2 -0
- package/runtime-dist/c-vmp3ee81.js +1 -0
- package/runtime-dist/c-vztkfwfq.js +1 -0
- package/runtime-dist/c-xw7vce7r.js +2 -0
- package/runtime-dist/c-y7abh583.js +1 -0
- package/runtime-dist/c-ynwn0vws.js +1 -0
- package/runtime-dist/c-za724ed4.js +1 -0
- package/runtime-dist/c-zt8jhyxz.js +1 -0
- package/runtime-dist/c-zv49taf7.js +1 -0
- package/runtime-dist/ui-accordion.css +29 -0
- package/runtime-dist/ui-app-shell.css +36 -0
- package/runtime-dist/ui-avatar.css +28 -0
- package/runtime-dist/ui-badge.css +14 -0
- package/runtime-dist/ui-block-editor.css +85 -0
- package/runtime-dist/ui-block-view.css +50 -0
- package/runtime-dist/ui-block.css +20 -0
- package/runtime-dist/ui-bottom-nav.css +54 -0
- package/runtime-dist/ui-breadcrumb.css +25 -0
- package/runtime-dist/ui-button-group.css +39 -0
- package/runtime-dist/ui-calendar.css +168 -0
- package/runtime-dist/ui-card.css +26 -0
- package/runtime-dist/ui-carousel.css +35 -0
- package/runtime-dist/ui-chart.css +26 -0
- package/runtime-dist/ui-checkbox.css +25 -0
- package/runtime-dist/ui-chip.css +30 -0
- package/runtime-dist/ui-code-editor.css +25 -0
- package/runtime-dist/ui-colorpicker.css +46 -0
- package/runtime-dist/ui-combo.css +43 -0
- package/runtime-dist/ui-dataview.css +50 -0
- package/runtime-dist/ui-datepicker.css +80 -0
- package/runtime-dist/ui-dialog.css +119 -0
- package/runtime-dist/ui-divider.css +18 -0
- package/runtime-dist/ui-fieldset.css +25 -0
- package/runtime-dist/ui-filter-chip.css +24 -0
- package/runtime-dist/ui-floating.css +9 -0
- package/runtime-dist/ui-gantt.css +105 -0
- package/runtime-dist/ui-image.css +34 -0
- package/runtime-dist/ui-inplace.css +19 -0
- package/runtime-dist/ui-json-editor.css +40 -0
- package/runtime-dist/ui-layout.css +39 -0
- package/runtime-dist/ui-listbox.css +52 -0
- package/runtime-dist/ui-map.css +469 -0
- package/runtime-dist/ui-menu.css +38 -0
- package/runtime-dist/ui-menubar.css +55 -0
- package/runtime-dist/ui-meter.css +26 -0
- package/runtime-dist/ui-multiselect.css +62 -0
- package/runtime-dist/ui-nav-drawer.css +118 -0
- package/runtime-dist/ui-number.css +26 -0
- package/runtime-dist/ui-option-list.css +28 -0
- package/runtime-dist/ui-orderlist.css +54 -0
- package/runtime-dist/ui-orgchart.css +71 -0
- package/runtime-dist/ui-paginator.css +25 -0
- package/runtime-dist/ui-panel.css +28 -0
- package/runtime-dist/ui-password.css +26 -0
- package/runtime-dist/ui-picklist.css +58 -0
- package/runtime-dist/ui-popover.css +20 -0
- package/runtime-dist/ui-progress.css +31 -0
- package/runtime-dist/ui-radio.css +29 -0
- package/runtime-dist/ui-rating.css +19 -0
- package/runtime-dist/ui-richtext.css +48 -0
- package/runtime-dist/ui-scheduler.css +132 -0
- package/runtime-dist/ui-scroll-top.css +17 -0
- package/runtime-dist/ui-segmented.css +25 -0
- package/runtime-dist/ui-select.css +47 -0
- package/runtime-dist/ui-sheet.css +56 -0
- package/runtime-dist/ui-skeleton.css +18 -0
- package/runtime-dist/ui-slider.css +59 -0
- package/runtime-dist/ui-speed-dial.css +26 -0
- package/runtime-dist/ui-splitter.css +23 -0
- package/runtime-dist/ui-stepper.css +47 -0
- package/runtime-dist/ui-switch.css +31 -0
- package/runtime-dist/ui-table-panel.css +114 -0
- package/runtime-dist/ui-table.css +430 -0
- package/runtime-dist/ui-tabs.css +45 -0
- package/runtime-dist/ui-taskboard.css +104 -0
- package/runtime-dist/ui-timeline.css +44 -0
- package/runtime-dist/ui-toast.css +43 -0
- package/runtime-dist/ui-toggle-button.css +6 -0
- package/runtime-dist/ui-tooltip.css +21 -0
- package/runtime-dist/ui-tree.css +44 -0
- package/runtime-dist/ui-upload.css +46 -0
- package/runtime-dist/version.json +1 -1
- package/src/browser.ts +21 -2
- package/src/draft-toolbar.ts +67 -0
- package/src/front-view.ts +105 -51
- package/src/index.ts +2 -1
- package/src/items.ts +436 -0
- package/src/lazy.ts +38 -1
- package/src/messages.ts +38 -4
- package/src/sections/grid.ts +40 -4
- package/runtime-dist/c-7dddcgt2.js +0 -2
- package/runtime-dist/c-9a0nzf53.js +0 -2
- package/runtime-dist/c-c1e1x3y1.js +0 -1
- package/runtime-dist/c-fnkq09db.js +0 -1
- package/runtime-dist/c-j29w8z15.js +0 -1
- package/runtime-dist/c-mmxqs2mz.js +0 -1
- package/runtime-dist/c-xsq12y6b.js +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — bouton d'actions rapides (`.poad-speed-dial`). Source unique du style pour tous les paquets de
|
|
3
|
+
* rendu : ui-angular l'inclut dans `poad-speed-dial` (encapsulation désactivée), les autres rendus le font charger par
|
|
4
|
+
* l'application. CSS pur, ne lit que les jetons --poad-* (charger `tokens.css` avant ; icônes : `icon.css` ;
|
|
5
|
+
* info-bulles : `tooltip.css`).
|
|
6
|
+
*
|
|
7
|
+
* Classes de la racine (`speedDialClasses()`) : `dir-up|down|left|right`, `type-linear|circle|semi-circle`,
|
|
8
|
+
* `is-open`. Parties : `.poad-speed-dial__mask` (voile facultatif), `.poad-speed-dial__items` (point d'origine des
|
|
9
|
+
* actions, au centre du bouton) > `button.poad-speed-dial__item` (position et délai posés en style par le rendu :
|
|
10
|
+
* `speedDialItemStyle()`), `button.poad-speed-dial__fab`.
|
|
11
|
+
* Écrit à partir des styles `:host` du composant Angular, une règle pour une règle ; propriétés logiques sur l'axe en
|
|
12
|
+
* ligne ; déploiement sans animation sous `prefers-reduced-motion`.
|
|
13
|
+
*/
|
|
14
|
+
.poad-speed-dial { position: relative; display: inline-block; z-index: 5; }
|
|
15
|
+
.poad-speed-dial .poad-speed-dial__fab { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; background: var(--poad-accent); color: var(--poad-fg-on-accent); display: grid; place-items: center; cursor: pointer; box-shadow: var(--poad-shadow-md); transition: transform var(--poad-dur), background var(--poad-dur); }
|
|
16
|
+
.poad-speed-dial .poad-speed-dial__fab:hover { background: var(--poad-accent-hover); }
|
|
17
|
+
.poad-speed-dial .poad-speed-dial__fab:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 2px; }
|
|
18
|
+
.poad-speed-dial .poad-speed-dial__fab:disabled { opacity: .5; cursor: not-allowed; }
|
|
19
|
+
.poad-speed-dial .poad-speed-dial__items { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
|
|
20
|
+
.poad-speed-dial .poad-speed-dial__item { position: absolute; inset-inline-start: -18px; top: -18px; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--poad-border); background: var(--poad-surface); color: var(--poad-fg-secondary); display: grid; place-items: center; cursor: pointer; box-shadow: var(--poad-shadow-md); transition: transform .18s var(--poad-ease), opacity .15s; pointer-events: auto; }
|
|
21
|
+
.poad-speed-dial .poad-speed-dial__item:hover { color: var(--poad-accent); border-color: var(--poad-accent); }
|
|
22
|
+
.poad-speed-dial .poad-speed-dial__item:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
23
|
+
.poad-speed-dial .poad-speed-dial__item:disabled { opacity: .5; cursor: not-allowed; }
|
|
24
|
+
.poad-speed-dial:not(.is-open) .poad-speed-dial__item { pointer-events: none; }
|
|
25
|
+
.poad-speed-dial .poad-speed-dial__mask { position: fixed; inset: 0; background: var(--poad-backdrop, rgba(2,6,23,.45)); z-index: -1; }
|
|
26
|
+
@media (prefers-reduced-motion: reduce) { .poad-speed-dial .poad-speed-dial__item { transition: none; } }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — séparateur redimensionnable (`.poad-splitter`). Source unique du style pour tous les paquets de
|
|
3
|
+
* rendu : ui-angular l'inclut dans `poad-splitter` (encapsulation désactivée), les autres rendus le font charger par
|
|
4
|
+
* l'application. CSS pur, ne lit que les jetons --poad-* (charger `tokens.css` avant).
|
|
5
|
+
*
|
|
6
|
+
* Racine (`splitterClasses()`) : grille, `is-vertical` ; `--_g` largeur des gouttières ; `grid-template-columns` (ou
|
|
7
|
+
* `-rows`) posé par le rendu (`splitterTemplate()`). Parties : panneaux `.poad-splitter-panel` et gouttières
|
|
8
|
+
* `.poad-splitter__gutter` (`is-active` pendant un glisser) > poignée `i`, placés par le rendu sur leur piste
|
|
9
|
+
* (`splitterPanelTrack()`, `splitterGutterTrack()`) : l'ordre du DOM ne compte pas (Angular projette les panneaux
|
|
10
|
+
* puis pose les gouttières ; les autres rendus les alternent).
|
|
11
|
+
* Écrit à partir des styles `:host` du composant Angular (anciens noms : `sp__gutter`, placements par `nth-child`
|
|
12
|
+
* remplacés par les pistes posées en style).
|
|
13
|
+
*/
|
|
14
|
+
.poad-splitter { display: grid; width: 100%; height: 100%; min-height: 0; min-width: 0; --_g: 6px; }
|
|
15
|
+
.poad-splitter > .poad-splitter-panel { display: block; min-width: 0; min-height: 0; overflow: auto; }
|
|
16
|
+
.poad-splitter > .poad-splitter__gutter { background: var(--poad-border); display: grid; place-items: center; cursor: col-resize; touch-action: none; user-select: none; transition: background var(--poad-dur); }
|
|
17
|
+
.poad-splitter.is-vertical > .poad-splitter__gutter { cursor: row-resize; }
|
|
18
|
+
.poad-splitter > .poad-splitter__gutter i { width: 2px; height: 22px; border-radius: 2px; background: var(--poad-border-strong); }
|
|
19
|
+
.poad-splitter.is-vertical > .poad-splitter__gutter i { width: 22px; height: 2px; }
|
|
20
|
+
.poad-splitter > .poad-splitter__gutter:hover, .poad-splitter > .poad-splitter__gutter.is-active { background: var(--poad-accent-soft); }
|
|
21
|
+
.poad-splitter > .poad-splitter__gutter:hover i, .poad-splitter > .poad-splitter__gutter.is-active i { background: var(--poad-accent); }
|
|
22
|
+
.poad-splitter > .poad-splitter__gutter:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
|
|
23
|
+
@media (prefers-reduced-motion: reduce) { .poad-splitter > .poad-splitter__gutter { transition: none; } }
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — étapes (`.poad-stepper`). Source unique du style pour tous les paquets de rendu : ui-angular
|
|
3
|
+
* l'inclut dans `poad-stepper` (encapsulation désactivée), les autres rendus le font charger par l'application.
|
|
4
|
+
* Ne lit que les jetons --poad-* (icônes : `icon.css`).
|
|
5
|
+
*
|
|
6
|
+
* Anatomie : racine `.poad-stepper` (`is-vertical`, `size-sm` de `stepperRootClasses()`) > `ol.poad-stepper__list` >
|
|
7
|
+
* `li.poad-stepper__item` (`data-state` = done | current | error | todo, `is-disabled`) > `button.poad-stepper__btn`
|
|
8
|
+
* (`aria-current="step"`) > `.poad-stepper__dot` + `.poad-stepper__txt` (`.poad-stepper__label`,
|
|
9
|
+
* `.poad-stepper__desc`) ; `.poad-stepper__line` entre deux étapes ; `.poad-stepper__panel` (contenu de l'étape).
|
|
10
|
+
* Écrit à partir des styles `:host` du composant Angular, une règle pour une règle : `:host(X)` → `.poad-stepper X`,
|
|
11
|
+
* une partie → `.poad-stepper .partie`.
|
|
12
|
+
*/
|
|
13
|
+
.poad-stepper { display: block; font-family: var(--poad-font); font-size: var(--poad-font-size); }
|
|
14
|
+
.poad-stepper .poad-stepper__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
|
|
15
|
+
.poad-stepper .poad-stepper__item { display: flex; align-items: center; position: relative; }
|
|
16
|
+
.poad-stepper .poad-stepper__item:not(:last-child) { flex: 1; }
|
|
17
|
+
.poad-stepper .poad-stepper__btn { all: unset; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--poad-fg-muted); border-radius: 6px; padding: 2px 4px; }
|
|
18
|
+
.poad-stepper .poad-stepper__btn:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
19
|
+
.poad-stepper .poad-stepper__btn[disabled] { cursor: default; }
|
|
20
|
+
.poad-stepper .poad-stepper__item.is-disabled .poad-stepper__btn { opacity: .6; }
|
|
21
|
+
.poad-stepper .poad-stepper__dot { width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--poad-font-mono); border: 1.5px solid var(--poad-border-strong); flex: none; transition: all var(--poad-dur); }
|
|
22
|
+
.poad-stepper.size-sm .poad-stepper__dot { width: 18px; height: 18px; font-size: 10px; }
|
|
23
|
+
.poad-stepper .poad-stepper__txt { display: grid; line-height: 1.25; }
|
|
24
|
+
.poad-stepper .poad-stepper__label { font-size: 12.5px; white-space: nowrap; }
|
|
25
|
+
.poad-stepper .poad-stepper__label small { color: var(--poad-fg-muted); font-weight: 400; }
|
|
26
|
+
.poad-stepper .poad-stepper__desc { font-size: 11px; color: var(--poad-fg-muted); }
|
|
27
|
+
.poad-stepper [data-state=done] .poad-stepper__btn { color: var(--poad-fg-secondary); }
|
|
28
|
+
.poad-stepper [data-state=done] .poad-stepper__dot { background: var(--poad-success); border-color: var(--poad-success); color: #fff; }
|
|
29
|
+
.poad-stepper [data-state=current] .poad-stepper__btn { color: var(--poad-fg); font-weight: 500; }
|
|
30
|
+
.poad-stepper [data-state=current] .poad-stepper__dot { border-color: var(--poad-accent); color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
31
|
+
.poad-stepper [data-state=error] .poad-stepper__btn { color: var(--poad-danger); }
|
|
32
|
+
.poad-stepper [data-state=error] .poad-stepper__dot { background: var(--poad-danger); border-color: var(--poad-danger); color: #fff; }
|
|
33
|
+
.poad-stepper .poad-stepper__line { flex: 1; height: 1px; background: var(--poad-border-strong); margin: 0 10px; min-width: 20px; }
|
|
34
|
+
.poad-stepper [data-state=done] .poad-stepper__line { background: var(--poad-success); }
|
|
35
|
+
.poad-stepper .poad-stepper__panel { padding-top: 16px; }
|
|
36
|
+
/* vertical : grille 2 colonnes (pastille | texte), connecteur = trait 1px absolu sous la pastille */
|
|
37
|
+
.poad-stepper { --_dot: 22px; }
|
|
38
|
+
.poad-stepper.size-sm { --_dot: 18px; }
|
|
39
|
+
.poad-stepper.is-vertical .poad-stepper__list { flex-direction: column; align-items: stretch; }
|
|
40
|
+
.poad-stepper.is-vertical .poad-stepper__item { display: grid; grid-template-columns: var(--_dot) minmax(0, 1fr); column-gap: 10px; align-items: start; padding-bottom: 18px; flex: none; }
|
|
41
|
+
.poad-stepper.is-vertical .poad-stepper__item:last-child { padding-bottom: 0; }
|
|
42
|
+
.poad-stepper.is-vertical .poad-stepper__btn { grid-column: 1 / -1; display: grid; grid-template-columns: var(--_dot) minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 0; gap: 0 10px; }
|
|
43
|
+
.poad-stepper.is-vertical .poad-stepper__txt { padding-top: 2px; }
|
|
44
|
+
.poad-stepper.is-vertical .poad-stepper__label { white-space: normal; }
|
|
45
|
+
.poad-stepper.is-vertical .poad-stepper__line { position: absolute; inset-inline-start: calc(var(--_dot) / 2 - 0.5px); top: calc(var(--_dot) + 4px); bottom: 4px; width: 1px; height: auto; min-height: 0; min-width: 0; margin: 0; flex: none; }
|
|
46
|
+
.poad-stepper.is-vertical .poad-stepper__item:last-child .poad-stepper__line { display: none; }
|
|
47
|
+
.poad-stepper.is-vertical .poad-stepper__panel { grid-column: 2; padding: 6px 0 0; }
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — interrupteur (`.poad-switch`). Source unique du style de l'interrupteur pour tous les paquets
|
|
3
|
+
* de rendu : ui-angular l'inclut dans `poad-switch` (encapsulation désactivée), ui-react le fait charger par
|
|
4
|
+
* l'application. CSS pur, ne lit que les jetons --poad-* (charger `tokens.css` avant).
|
|
5
|
+
*
|
|
6
|
+
* Anatomie : racine `.poad-switch` (classes d'état `is-on`, `is-disabled` de `switchRootClasses()`, plus `size-sm`,
|
|
7
|
+
* `label-left`) > `<button role="switch">` > `.poad-switch__track` > `.poad-switch__thumb` ; `<label class="poad-switch__label">`.
|
|
8
|
+
*
|
|
9
|
+
* Écrit à partir des styles `:host` du composant Angular, une règle pour une règle : `:host(X)` → `.poad-switch X`,
|
|
10
|
+
* et le `button` du gabarit → `.poad-switch > button:where([role="switch"])` : seul le bouton de l’interrupteur est visé
|
|
11
|
+
* (pas un bouton de l'application posé dans le composant), avec la spécificité du sélecteur encapsulé d'origine.
|
|
12
|
+
*/
|
|
13
|
+
.poad-switch { display: inline-flex; align-items: center; gap: 8px; font-family: var(--poad-font); font-size: var(--poad-font-size); color: var(--poad-fg); vertical-align: middle; }
|
|
14
|
+
.poad-switch.label-left { flex-direction: row-reverse; }
|
|
15
|
+
.poad-switch > button:where([role="switch"]) { all: unset; display: inline-flex; cursor: pointer; border-radius: 999px; }
|
|
16
|
+
/* densité tactile : zone cliquable ≥ 44 px, visuel inchangé */
|
|
17
|
+
.poad-touch.poad-switch > button:where([role="switch"]), .poad-touch .poad-switch > button:where([role="switch"]) { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; margin: -12px; padding: 12px; box-sizing: border-box; }
|
|
18
|
+
.poad-switch > button:where([role="switch"]):focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 2px; }
|
|
19
|
+
.poad-switch > button:where([role="switch"])[disabled] { cursor: not-allowed; }
|
|
20
|
+
.poad-switch.is-disabled { opacity: .55; }
|
|
21
|
+
.poad-switch .poad-switch__track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--poad-border-strong); transition: background var(--poad-dur) var(--poad-ease); display: block; }
|
|
22
|
+
.poad-switch .poad-switch__thumb { position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: inset-inline-start var(--poad-dur) var(--poad-ease); }
|
|
23
|
+
.poad-switch.is-on .poad-switch__track { background: var(--poad-accent); }
|
|
24
|
+
/* Le curseur glisse du début vers la fin de la piste. Un décalage en début / fin suit le sens de lecture ;
|
|
25
|
+
translateX le poussait hors de la piste de droite à gauche. */
|
|
26
|
+
.poad-switch.is-on .poad-switch__thumb { inset-inline-start: 17px; }
|
|
27
|
+
.poad-switch.size-sm .poad-switch__track { width: 28px; height: 16px; }
|
|
28
|
+
.poad-switch.size-sm .poad-switch__thumb { width: 10px; height: 10px; }
|
|
29
|
+
.poad-switch.size-sm.is-on .poad-switch__thumb { inset-inline-start: 15px; }
|
|
30
|
+
.poad-switch .poad-switch__label { cursor: pointer; user-select: none; }
|
|
31
|
+
.poad-switch.is-disabled .poad-switch__label { cursor: not-allowed; }
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Panneau latéral d'une table (.poad-table-panel, style AG Grid) — feuille partagée par tous les rendus :
|
|
3
|
+
* poad-table-panel d'ui-angular (encapsulation désactivée), PoadTablePanel d'ui-react. Logique : modèle `table.panel`
|
|
4
|
+
* d'@poadio/ui-core. À importer avec `checkbox.css`, `icon.css`, `select.css`, `number.css`, `datepicker.css`,
|
|
5
|
+
* `segmented.css`, `button.css`.
|
|
6
|
+
*
|
|
7
|
+
* .poad-table-panel[.is-open.pos-left.is-overlay] > .body[role=tabpanel] > .body__scroll > .sec >
|
|
8
|
+
* (.sec__ttl > .grow, button.lnk), label.srch > input, .all-row > .cnt, .cols > .col-row > (.dh, .lbl, .pin) | .empty,
|
|
9
|
+
* .flt[.is-open] > (.flt__hd > .chev, .lbl, .on, button.clr), .flt__bd > (.opts > label | .two | label.srch),
|
|
10
|
+
* .drop > (.chip > .dh, .fn, button | .hint | .add), .picks > button.add, .picker > .row ;
|
|
11
|
+
* .poad-table-panel > .rail[role=tablist] > button[role=tab].is-active > poad-icon
|
|
12
|
+
*
|
|
13
|
+
* Écrite depuis les styles encapsulés d'ui-angular et vérifiée par `compare-shared-css.mjs slice2` (0 différence) :
|
|
14
|
+
* chaque sélecteur suit la structure du gabarit (ancres dans `:where()`, sans poids) pour ne pas viser l'intérieur des
|
|
15
|
+
* champs posés dans le panneau (liste, nombre, date…), et la classe d'hôte est répétée pour garder le poids qu'avait
|
|
16
|
+
* chaque règle encapsulée. Les aperçus de glisser (posés dans <body> par le glisser-déposer) ne sont pas ancrés.
|
|
17
|
+
*/
|
|
18
|
+
.poad-table-panel { display: flex; align-items: stretch; height: 100%; min-height: 0; font: var(--poad-font-size)/1.4 var(--poad-font); color: var(--poad-fg); position: relative; }
|
|
19
|
+
.poad-table-panel.pos-left { flex-direction: row-reverse; }
|
|
20
|
+
/* rail d'onglets */
|
|
21
|
+
.poad-table-panel > .rail { display: flex; flex-direction: column; gap: 2px; width: 34px; padding: 6px 0; background: var(--poad-bg-subtle); border-inline-start: 1px solid var(--poad-border); flex: none; }
|
|
22
|
+
.poad-table-panel.poad-table-panel.pos-left > .rail { border-inline-start: 0; border-inline-end: 1px solid var(--poad-border); }
|
|
23
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button { all: unset; display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 10px 0; cursor: pointer; color: var(--poad-fg-secondary); border-radius: 6px; margin: 0 4px; writing-mode: vertical-rl; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
|
|
24
|
+
/* texte vertical (vertical-rl) : l'axe en ligne est vertical, `row` empile l'icône au-dessus du libellé, centrés dans
|
|
25
|
+
le rail (`column` les mettait côte à côte, le libellé débordait du bouton et chevauchait l'icône) */
|
|
26
|
+
.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button > :where(poad-icon, .poad-icon) { writing-mode: horizontal-tb; flex: none; }
|
|
27
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
28
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button.is-active { background: var(--poad-accent-soft); color: var(--poad-accent); }
|
|
29
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
30
|
+
/* contenu */
|
|
31
|
+
.poad-table-panel > .body { width: var(--_w, 260px); min-width: 0; background: var(--poad-bg-subtle); border-inline-start: 1px solid var(--poad-border); display: flex; flex-direction: column; overflow: hidden; }
|
|
32
|
+
.poad-table-panel.poad-table-panel.pos-left > .body { border-inline-start: 0; border-inline-end: 1px solid var(--poad-border); }
|
|
33
|
+
.poad-table-panel.poad-table-panel:not(.is-open) > .body { display: none; }
|
|
34
|
+
.poad-table-panel > :where(.body) > .body__scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--poad-border-strong) transparent; }
|
|
35
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > .sec { padding: 10px 12px 12px; border-bottom: 1px solid var(--poad-border); }
|
|
36
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > .sec:last-child { border-bottom: 0; }
|
|
37
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .sec__ttl { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); margin: 0 0 8px; }
|
|
38
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.sec__ttl) > .grow { flex: 1; }
|
|
39
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.sec__ttl) > button.lnk { all: unset; cursor: pointer; color: var(--poad-accent); font: 500 11px var(--poad-font); text-transform: none; letter-spacing: 0; }
|
|
40
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.sec__ttl) > button.lnk:hover { text-decoration: underline; }
|
|
41
|
+
/* recherche compacte */
|
|
42
|
+
.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > .srch { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius-sm); margin-bottom: 8px; color: var(--poad-fg-muted); }
|
|
43
|
+
.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > .srch:focus-within { border-color: var(--poad-accent); box-shadow: 0 0 0 3px var(--poad-ring); }
|
|
44
|
+
.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > :where(.srch) > input { flex: 1 1 0; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--poad-fg); font: var(--poad-font-size-sm) var(--poad-font); }
|
|
45
|
+
.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > :where(.srch) > input::placeholder { color: var(--poad-fg-muted); }
|
|
46
|
+
.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > :where(.srch) > input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
|
|
47
|
+
/* liste de colonnes */
|
|
48
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .cols { display: flex; flex-direction: column; gap: 1px; }
|
|
49
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px; border-radius: 6px; font-size: 12.5px; }
|
|
50
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row:hover { background: var(--poad-hover); }
|
|
51
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-off { color: var(--poad-fg-muted); }
|
|
52
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh { display: grid; place-items: center; width: 16px; height: 20px; padding: 0; border: 0; background: transparent; color: var(--poad-fg-muted); cursor: grab; flex: none; border-radius: 3px; touch-action: none; }
|
|
53
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
54
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh:hover { color: var(--poad-fg); background: var(--poad-elevated); }
|
|
55
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh.is-disabled { visibility: hidden; }
|
|
56
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
57
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .pin { color: var(--poad-fg-muted); }
|
|
58
|
+
/* ordre des colonnes au glisser (tranche 6, brique `dnd` du socle, axe y) : ligne saisie, trait de dépôt, zone visée */
|
|
59
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-dragging { position: relative; z-index: 2; background: var(--poad-overlay); box-shadow: inset 0 0 0 1px var(--poad-accent); }
|
|
60
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-dragging[style*="transform"] { box-shadow: var(--poad-shadow-lg); }
|
|
61
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-drop-before { box-shadow: inset 0 2px 0 var(--poad-accent); }
|
|
62
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-drop-after { box-shadow: inset 0 -2px 0 var(--poad-accent); }
|
|
63
|
+
.poad-table-panel.is-col-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
|
|
64
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .drop.is-over { border-color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
65
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button.dh { width: 14px; height: 18px; padding: 0; border: 0; border-radius: 3px; background: transparent; touch-action: none; }
|
|
66
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button.dh:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
67
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.is-dragging { position: relative; z-index: 2; box-shadow: inset 0 0 0 1px var(--poad-accent); }
|
|
68
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.is-drop-before { box-shadow: -3px 0 0 -1px var(--poad-accent); }
|
|
69
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.is-drop-after { box-shadow: 3px 0 0 -1px var(--poad-accent); }
|
|
70
|
+
.poad-table-panel:dir(rtl) > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.chip.is-drop-before { box-shadow: 3px 0 0 -1px var(--poad-accent); }
|
|
71
|
+
.poad-table-panel:dir(rtl) > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.chip.is-drop-after { box-shadow: -3px 0 0 -1px var(--poad-accent); }
|
|
72
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .drop:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 1px; }
|
|
73
|
+
.poad-table-panel .dt-live, .poad-table-panel .dt-dnd-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
74
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .all-row { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px; margin-bottom: 4px; }
|
|
75
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.all-row) > .cnt { margin-inline-start: auto; font: 500 10.5px var(--poad-font-mono); color: var(--poad-fg-muted); }
|
|
76
|
+
/* zone de dépôt + chips */
|
|
77
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .drop { min-height: 40px; border: 1px dashed var(--poad-border-strong); border-radius: 8px; padding: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--poad-fg-muted); font-size: 12px; transition: border-color var(--poad-dur), background var(--poad-dur); }
|
|
78
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .hint { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; }
|
|
79
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px 0 8px; border-radius: 999px; background: var(--poad-elevated); color: var(--poad-fg); font-size: 12px; white-space: nowrap; }
|
|
80
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > .dh { display: grid; place-items: center; width: 12px; color: var(--poad-fg-muted); cursor: grab; }
|
|
81
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > .fn { font: 500 11px var(--poad-font-mono); color: var(--poad-fg-secondary); }
|
|
82
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button { all: unset; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--poad-fg-muted); cursor: pointer; }
|
|
83
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
84
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .add { all: unset; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px dashed var(--poad-border-strong); color: var(--poad-fg-secondary); font-size: 12px; cursor: pointer; }
|
|
85
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .add:hover { border-color: var(--poad-accent); color: var(--poad-accent); }
|
|
86
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .picker { display: grid; gap: 6px; padding: 8px; margin-top: 8px; border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-surface); }
|
|
87
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picker) > .row { display: flex; gap: 6px; }
|
|
88
|
+
/* filtres */
|
|
89
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .flt { border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-surface); margin-bottom: 6px; overflow: hidden; }
|
|
90
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > .flt__hd { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; cursor: pointer; font-size: 12.5px; user-select: none; }
|
|
91
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > .flt__hd:hover { background: var(--poad-hover); }
|
|
92
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .chev { color: var(--poad-fg-muted); transition: transform var(--poad-dur); }
|
|
93
|
+
.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .flt.is-open > :where(.flt__hd) > .chev { transform: rotate(90deg); }
|
|
94
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
95
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .on { font: 600 10px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-accent-soft); color: var(--poad-accent); }
|
|
96
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .clr { all: unset; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; color: var(--poad-fg-muted); cursor: pointer; }
|
|
97
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .clr:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
98
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > .flt__bd { display: grid; gap: 6px; padding: 4px 8px 10px; }
|
|
99
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
|
|
100
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > .opts { max-height: 160px; overflow: auto; display: grid; gap: 2px; }
|
|
101
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > :where(.opts) > label { display: flex; align-items: center; gap: 6px; height: 24px; font-size: 12.5px; }
|
|
102
|
+
.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > :where(.opts)) > .empty { color: var(--poad-fg-muted); font-size: 12px; padding: 4px 0; }
|
|
103
|
+
/* overlay mobile */
|
|
104
|
+
/* le rail reste dans le flux (la table ne passe pas dessous) ; le contenu ouvert recouvre la table, à côté du rail */
|
|
105
|
+
.poad-table-panel.is-overlay { z-index: 20; }
|
|
106
|
+
.poad-table-panel.poad-table-panel.is-overlay > .body { position: absolute; top: 0; bottom: 0; inset-inline-end: 100%; }
|
|
107
|
+
.poad-table-panel.poad-table-panel.is-overlay.is-open > .body { box-shadow: var(--poad-shadow-lg); }
|
|
108
|
+
.poad-table-panel.poad-table-panel.poad-table-panel.is-overlay.pos-left > .body { inset-inline-end: auto; inset-inline-start: 100%; }
|
|
109
|
+
|
|
110
|
+
/* onglet Groupes : colonnes proposées au regroupement (un bouton par colonne, sans glisser) */
|
|
111
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
|
|
112
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picks) > .add { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px dashed var(--poad-border-strong); color: var(--poad-fg-secondary); font-size: 12px; cursor: pointer; }
|
|
113
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picks) > .add:hover { border-color: var(--poad-accent); color: var(--poad-accent); }
|
|
114
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picks, .drop) > .add:focus-visible, .poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 1px; }
|