@poadio/app-vue 0.0.0-stage → 0.2.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.
- package/CHANGELOG.md +44 -0
- package/LICENSE +22 -0
- package/README.md +16 -2
- package/app-vue.css +181 -0
- package/dist/browser.d.ts +23 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +112 -0
- package/dist/browser.js.map +1 -0
- 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 +39 -0
- package/dist/front-view.d.ts.map +1 -0
- package/dist/front-view.js +174 -0
- package/dist/front-view.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- 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 +56 -0
- package/dist/lazy.d.ts.map +1 -0
- package/dist/lazy.js +68 -0
- package/dist/lazy.js.map +1 -0
- package/dist/messages.d.ts +56 -0
- package/dist/messages.d.ts.map +1 -0
- package/dist/messages.js +102 -0
- package/dist/messages.js.map +1 -0
- package/dist/sections/grid.d.ts +53 -0
- package/dist/sections/grid.d.ts.map +1 -0
- package/dist/sections/grid.js +46 -0
- package/dist/sections/grid.js.map +1 -0
- package/dist/sections/under-construction.d.ts +25 -0
- package/dist/sections/under-construction.d.ts.map +1 -0
- package/dist/sections/under-construction.js +32 -0
- package/dist/sections/under-construction.js.map +1 -0
- package/package.json +72 -4
- package/runtime-dist/app.css +535 -0
- package/runtime-dist/app.js +2 -0
- package/runtime-dist/c-0rxdxcn3.js +2 -0
- package/runtime-dist/c-0vbs937h.js +18 -0
- package/runtime-dist/c-0zqjsnm5.js +2 -0
- package/runtime-dist/c-13nx24wa.js +1 -0
- package/runtime-dist/c-16cdkp27.js +1 -0
- package/runtime-dist/c-16cm3n82.js +1 -0
- package/runtime-dist/c-1h49vkah.js +2 -0
- package/runtime-dist/c-1xpa1fqz.js +1 -0
- package/runtime-dist/c-29v2e09p.js +1 -0
- package/runtime-dist/c-2ag31260.js +2 -0
- package/runtime-dist/c-2s6r37jb.js +1 -0
- package/runtime-dist/c-2v244yc0.js +1 -0
- package/runtime-dist/c-3be398px.js +1 -0
- package/runtime-dist/c-3jm96b1p.js +2 -0
- package/runtime-dist/c-3pe5hprv.js +2 -0
- package/runtime-dist/c-3zbf5g3p.js +1 -0
- package/runtime-dist/c-4h51m4qq.js +1 -0
- package/runtime-dist/c-523qwqen.js +2 -0
- package/runtime-dist/c-572jz6y4.js +1 -0
- package/runtime-dist/c-64j9mv7a.js +1 -0
- package/runtime-dist/c-6f446pxt.js +1 -0
- package/runtime-dist/c-6pd33f4a.js +1 -0
- package/runtime-dist/c-6qa26wds.js +1 -0
- package/runtime-dist/c-6w0f1kqm.js +1 -0
- package/runtime-dist/c-72hj12cs.js +2 -0
- package/runtime-dist/c-7cjj18ea.js +1 -0
- package/runtime-dist/c-823yyjat.js +1 -0
- package/runtime-dist/c-8gpbevx2.js +1 -0
- package/runtime-dist/c-98tbntdq.js +2 -0
- package/runtime-dist/c-9sm6aybf.js +2 -0
- package/runtime-dist/c-a63rkaa9.js +1 -0
- package/runtime-dist/c-ahcj5yr5.js +1 -0
- package/runtime-dist/c-azvw5879.js +2 -0
- package/runtime-dist/c-b6g9ey7e.js +2 -0
- package/runtime-dist/c-bssc8kwn.js +1 -0
- package/runtime-dist/c-bvp9zbmr.js +1 -0
- package/runtime-dist/c-cc3m3rs1.js +2 -0
- package/runtime-dist/c-cp1ehb23.js +1 -0
- package/runtime-dist/c-cvsx6n6e.js +2 -0
- package/runtime-dist/c-d5y90g8f.js +1 -0
- package/runtime-dist/c-d8hfdner.js +2 -0
- package/runtime-dist/c-dqtdk937.js +1 -0
- package/runtime-dist/c-dzx0rg0g.js +2 -0
- package/runtime-dist/c-eczfywaq.js +1 -0
- package/runtime-dist/c-epemgj1a.js +2 -0
- package/runtime-dist/c-et83hbhc.js +1 -0
- package/runtime-dist/c-ffkh15py.js +1 -0
- package/runtime-dist/c-fn3059s1.js +2 -0
- package/runtime-dist/c-fnzeden9.js +1 -0
- package/runtime-dist/c-gen0a4bn.js +1 -0
- package/runtime-dist/c-gesjk5ph.js +1 -0
- package/runtime-dist/c-gkyekesy.js +15 -0
- package/runtime-dist/c-gs1k0twe.js +2 -0
- package/runtime-dist/c-gznx0sj4.js +2 -0
- package/runtime-dist/c-h5m94fwp.js +1 -0
- package/runtime-dist/c-hdstjg33.js +2 -0
- package/runtime-dist/c-hsy77frc.js +3 -0
- package/runtime-dist/c-j02ymtyd.js +2 -0
- package/runtime-dist/c-j63hz554.js +2 -0
- package/runtime-dist/c-jvrr9zb8.js +1 -0
- package/runtime-dist/c-jymrpj5m.js +1 -0
- package/runtime-dist/c-k624qrhh.js +2 -0
- package/runtime-dist/c-kbg0cafy.js +2 -0
- package/runtime-dist/c-kmx0mv0c.js +2 -0
- package/runtime-dist/c-krt6rpg1.js +1 -0
- package/runtime-dist/c-kyajr8zz.js +2 -0
- package/runtime-dist/c-m30q0jrb.js +1 -0
- package/runtime-dist/c-m49q9r7s.js +1 -0
- package/runtime-dist/c-m6yf7zaj.js +2 -0
- package/runtime-dist/c-m70tbfc5.js +2 -0
- package/runtime-dist/c-mdj990nz.js +2 -0
- package/runtime-dist/c-mvdn43tv.js +2 -0
- package/runtime-dist/c-mw3zx9yk.js +1 -0
- package/runtime-dist/c-n8mqnvjg.js +1 -0
- package/runtime-dist/c-nkrm4n9a.js +1 -0
- package/runtime-dist/c-nn49946s.js +1 -0
- package/runtime-dist/c-ny0mdx7k.js +2 -0
- package/runtime-dist/c-p8wyhrwm.js +2 -0
- package/runtime-dist/c-pbn2syef.js +1 -0
- package/runtime-dist/c-prt5qv2x.js +1 -0
- package/runtime-dist/c-qe1kevqk.js +1 -0
- package/runtime-dist/c-rasvf2z2.js +2 -0
- package/runtime-dist/c-rf1xevya.js +1 -0
- package/runtime-dist/c-rktc0ksd.js +2 -0
- package/runtime-dist/c-sd570jk7.js +2 -0
- package/runtime-dist/c-sdf15np5.js +1 -0
- package/runtime-dist/c-sjajadt4.js +2 -0
- package/runtime-dist/c-sv15z0aa.js +1 -0
- package/runtime-dist/c-tv3ksk7j.js +2 -0
- package/runtime-dist/c-vrmw0gka.js +1 -0
- package/runtime-dist/c-wjadf68q.js +1 -0
- package/runtime-dist/c-wnynh7zm.js +1 -0
- package/runtime-dist/c-xeqwqt9z.js +2 -0
- package/runtime-dist/c-xk9fqzsc.js +1 -0
- package/runtime-dist/c-xqf3j4w7.js +1 -0
- package/runtime-dist/c-xx4986kx.js +1 -0
- package/runtime-dist/c-y9120d6h.js +1 -0
- package/runtime-dist/c-ywzh0r63.js +1 -0
- package/runtime-dist/c-zyfkspym.js +2 -0
- package/runtime-dist/index.html +14 -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 -0
- package/src/browser.ts +126 -0
- package/src/draft-toolbar.ts +67 -0
- package/src/front-view.ts +186 -0
- package/src/index.ts +5 -0
- package/src/items.ts +436 -0
- package/src/lazy.ts +76 -0
- package/src/messages.ts +110 -0
- package/src/sections/grid.ts +56 -0
- package/src/sections/under-construction.ts +34 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Table (.poad-table) — feuille de base, partagée par tous les rendus : poad-table d'ui-angular (encapsulation
|
|
3
|
+
* désactivée), PoadTable d'ui-react. Logique : modèle `table` et machine `paginator` d'@poadio/ui-core (plan par
|
|
4
|
+
* tranches : `src/table/README.md`). À importer avec `paginator.css`, `checkbox.css` et `icon.css`.
|
|
5
|
+
*
|
|
6
|
+
* .poad-table > .dt > [.dt-sel | .dt-bar] > .dt-scroll > [.dt-loading] table.tbl > caption, colgroup,
|
|
7
|
+
* thead > tr > th[.col-sel] > button.hd > (.hd-txt, .poad-icon, .hd-idx),
|
|
8
|
+
* tbody > tr.dt-row[.is-selectable.is-selected] > td| tr.dt-row.is-dirty / .is-saving / .is-error / .is-conflict / .is-current (enregistrement courant), tr.dt-row-msg > td > .dt-row-msg__box (texte, actions) — table liée | tr.is-skeleton > td > .skel | tr.dt-empty > td > .empty, tr.dt-empty.dt-error > td > .empty (+ bouton Réessayer), tfoot ;
|
|
9
|
+
* .dt-foot > .poad-paginator
|
|
10
|
+
*
|
|
11
|
+
* Écrite depuis les styles encapsulés d'ui-angular et vérifiée par `compare-shared-css.mjs level5` (0 différence) :
|
|
12
|
+
* `:host(.x) y` → `.poad-table.x y`, une partie → `.poad-table partie`. Priorités : l'encapsulation émulée ajoutait un
|
|
13
|
+
* attribut (poids d'une classe) à chaque élément d'un sélecteur ; la classe d'hôte est donc RÉPÉTÉE d'autant
|
|
14
|
+
* (`.poad-table.poad-table .tbl …`), ce qui garde, règle par règle, l'ordre d'application d'avant. Les sélecteurs suivent
|
|
15
|
+
* la structure du gabarit (`>`, avec `:where()` pour les éléments ajoutés, qui ne comptent pas) : ils ne visent pas le
|
|
16
|
+
* contenu de l'application posé dans les cellules (un tableau, un élément de classe `empty`, `exp`, `acts`, les lignes
|
|
17
|
+
* d'un gabarit de pied — seule la ligne du total `tr.dt-grand` est à la table). Cette feuille porte
|
|
18
|
+
* aussi des règles des tranches suivantes (recherche, colonnes figées, détail, actions, ligne de filtres), à leur place
|
|
19
|
+
* d'origine pour garder l'ordre de la cascade, et en fin de feuille celles des groupes de lignes, des colonnes figées et
|
|
20
|
+
* de l'adaptation (cartes) ; les feuilles de l'édition et de la grille restent dans ui-angular jusqu'à leur tranche.
|
|
21
|
+
*/
|
|
22
|
+
.poad-table { --_row-h: var(--poad-table-row-h, 42px); --_cell-px: 12px; display: block; min-width: 0; max-width: 100%; font: var(--poad-font-size)/1.4 var(--poad-font); color: var(--poad-fg); }
|
|
23
|
+
.poad-table.is-dense { --_row-h: 34px; }
|
|
24
|
+
/* sens d'écriture des ombres internes (cadre de focus, liseré de sélection) : 1px vers l'intérieur depuis le DÉBUT de la
|
|
25
|
+
ligne ; `box-shadow` n'a pas de valeurs logiques, le décalage horizontal change de signe de droite à gauche */
|
|
26
|
+
.poad-table { --_ix: 1px; }
|
|
27
|
+
[dir="rtl"] .poad-table, .poad-table[dir="rtl"] { --_ix: -1px; }
|
|
28
|
+
.poad-table:dir(rtl) { --_ix: -1px; }
|
|
29
|
+
.poad-table:dir(ltr) { --_ix: 1px; }
|
|
30
|
+
.poad-table .dt { border: 1px solid var(--poad-border); border-radius: var(--poad-radius-lg); background: var(--poad-surface); overflow: hidden; position: relative; }
|
|
31
|
+
.poad-table.poad-table.is-borderless .dt { border: 0; border-radius: 0; }
|
|
32
|
+
|
|
33
|
+
/* barre d'outils */
|
|
34
|
+
.poad-table .dt-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--poad-border); flex-wrap: wrap; }
|
|
35
|
+
.poad-table .dt-bar__title { font-weight: 600; font-size: 13.5px; margin-inline-end: 4px; }
|
|
36
|
+
.poad-table .dt-bar__count { font: 500 11px var(--poad-font-mono); padding: 2px 7px; border-radius: 999px; background: var(--poad-elevated); color: var(--poad-fg-secondary); }
|
|
37
|
+
.poad-table .dt-bar__grow { flex: 1; }
|
|
38
|
+
.poad-table .dt-bar__search { position: relative; display: flex; align-items: center; width: 240px; max-width: 100%; }
|
|
39
|
+
.poad-table.poad-table .dt-bar__search > .poad-icon { position: absolute; inset-inline-start: 9px; color: var(--poad-fg-muted); pointer-events: none; }
|
|
40
|
+
.poad-table.poad-table .dt-bar__search input { width: 100%; box-sizing: border-box; height: 30px; padding-block: 0; padding-inline: 30px 28px; font: var(--poad-font-size) var(--poad-font); color: var(--poad-fg); background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius); outline: 0; transition: border-color var(--poad-dur), box-shadow var(--poad-dur); }
|
|
41
|
+
.poad-table.poad-table .dt-bar__search input::placeholder { color: var(--poad-fg-muted); }
|
|
42
|
+
/* le bouton d'effacement de la bibliothèque remplace celui du navigateur (champ `type="search"`) */
|
|
43
|
+
.poad-table.poad-table .dt-bar__search input::-webkit-search-cancel-button, .poad-table.poad-table .flt-cell input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
|
|
44
|
+
.poad-table.poad-table .dt-bar__search input:focus { border-color: var(--poad-accent); box-shadow: 0 0 0 3px var(--poad-ring); }
|
|
45
|
+
.poad-table.poad-table .dt-bar__search .dt-bar__clear { position: absolute; inset-inline-end: 6px; border: 0; background: transparent; color: var(--poad-fg-muted); cursor: pointer; display: grid; place-items: center; padding: 2px; border-radius: 4px; }
|
|
46
|
+
.poad-table.poad-table .dt-bar__search .dt-bar__clear:hover { color: var(--poad-fg); background: var(--poad-hover); }
|
|
47
|
+
.poad-table .dt-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: var(--poad-radius-sm); border: 1px solid var(--poad-border-strong); background: transparent; color: var(--poad-fg-secondary); font: 500 var(--poad-font-size-sm) var(--poad-font); cursor: pointer; white-space: nowrap; }
|
|
48
|
+
.poad-table .dt-bar__btn:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
49
|
+
.poad-table .dt-bar__btn:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 1px; }
|
|
50
|
+
.poad-table .dt-bar__btn.is-ghost { border-color: transparent; width: 26px; padding: 0; }
|
|
51
|
+
.poad-table .dt-bar__btn.is-on { color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
52
|
+
.poad-table .dt-bar__cols { position: relative; }
|
|
53
|
+
.poad-table .dt-bar__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; max-height: 280px; overflow: auto; background: var(--poad-overlay); --poad-hover: var(--poad-overlay-hover); border: 1px solid var(--poad-border); border-radius: 9px; box-shadow: var(--poad-shadow-lg); padding: 4px; }
|
|
54
|
+
/* sélecteur de colonnes (table.grid du socle) : une ligne par colonne, case de la bibliothèque et boutons Monter / Descendre */
|
|
55
|
+
.poad-table.poad-table .dt-bar__opt { display: flex; align-items: center; gap: 8px; min-height: 30px; padding-block: 2px; padding-inline: 8px 4px; border-radius: 6px; font-size: var(--poad-font-size); }
|
|
56
|
+
.poad-table.poad-table .dt-bar__opt:hover { background: var(--poad-hover); }
|
|
57
|
+
.poad-table.poad-table .dt-bar__opt.is-locked { opacity: .5; }
|
|
58
|
+
.poad-table.poad-table .dt-bar__opt > .poad-checkbox { flex: 1; min-width: 0; }
|
|
59
|
+
.poad-table.poad-table .dt-bar__opt .mv { display: inline-flex; gap: 0; margin-inline-start: auto; }
|
|
60
|
+
.poad-table.poad-table.poad-table .dt-bar__opt .mv button { border: 0; background: transparent; color: var(--poad-fg-muted); width: 24px; height: 24px; border-radius: 4px; cursor: pointer; display: grid; place-items: center; padding: 0; }
|
|
61
|
+
.poad-table.poad-table.poad-table .dt-bar__opt .mv button:hover:not([disabled]) { background: var(--poad-hover); color: var(--poad-fg); }
|
|
62
|
+
.poad-table.poad-table.poad-table .dt-bar__opt .mv button:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -1px; }
|
|
63
|
+
.poad-table.poad-table.poad-table .dt-bar__opt .mv button[disabled] { opacity: .3; cursor: default; }
|
|
64
|
+
.poad-table .dt-bar__menu-title { font: 600 10px/1 var(--poad-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--poad-fg-muted); padding: 6px 8px 4px; }
|
|
65
|
+
|
|
66
|
+
/* barre de sélection */
|
|
67
|
+
.poad-table .dt-sel { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--poad-accent-soft); border-bottom: 1px solid var(--poad-border); font-size: 12.5px; color: var(--poad-accent); font-weight: 500; min-height: 47px; box-sizing: border-box; }
|
|
68
|
+
.poad-table .dt-sel__grow { flex: 1; }
|
|
69
|
+
.poad-table .dt-sel__clear { border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; }
|
|
70
|
+
.poad-table .dt-sel__clear:hover { background: var(--poad-accent-soft); }
|
|
71
|
+
|
|
72
|
+
/* défilement + table */
|
|
73
|
+
.poad-table .dt-scroll { overflow: auto; position: relative; }
|
|
74
|
+
.poad-table.poad-table.has-scroll-height .dt-scroll { max-height: var(--_scroll-h); scrollbar-width: thin; scrollbar-color: var(--poad-border-strong) transparent; scrollbar-gutter: stable; }
|
|
75
|
+
/* barre verticale TOUJOURS visible (macOS masque les barres natives) pour parcourir vite un grand volume */
|
|
76
|
+
.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
77
|
+
.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb { background: var(--poad-border-strong); border-radius: 999px; border: 2px solid var(--poad-surface); }
|
|
78
|
+
.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb:hover { background: var(--poad-fg-muted); }
|
|
79
|
+
.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-track { background: transparent; }
|
|
80
|
+
.poad-table .dt-loading { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--poad-surface) 55%, transparent); z-index: 5; }
|
|
81
|
+
.poad-table.poad-table .dt-loading .poad-icon { color: var(--poad-accent); }
|
|
82
|
+
.poad-table .tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--poad-font-size); }
|
|
83
|
+
.poad-table.poad-table.is-resizable .tbl { table-layout: fixed; }
|
|
84
|
+
.poad-table.poad-table .tbl > caption { text-align: start; padding: 10px 12px; font-weight: 600; color: var(--poad-fg-secondary); font-size: var(--poad-font-size-sm); }
|
|
85
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th { position: relative; text-align: start; font-weight: 600; font-size: var(--poad-font-size-sm); color: var(--poad-fg-secondary); background: var(--poad-bg-subtle); padding: 0 var(--_cell-px); height: 38px; border-bottom: 1px solid var(--poad-border); white-space: nowrap; user-select: none; box-sizing: border-box; }
|
|
86
|
+
.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl > thead > :where(tr) > th { position: sticky; top: 0; z-index: 3; }
|
|
87
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.al-right { text-align: end; } .poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.al-center { text-align: center; }
|
|
88
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-left, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.st-left, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-left { position: sticky; inset-inline-start: var(--_st, 0); z-index: 2; background: var(--poad-surface); }
|
|
89
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-right, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.st-right, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-right { position: sticky; inset-inline-end: var(--_se, 0); z-index: 2; background: var(--poad-surface); }
|
|
90
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-left, .poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-right { background: var(--poad-bg-subtle); z-index: 4; }
|
|
91
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hd { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
|
|
92
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.al-right > .hd { flex-direction: row-reverse; }
|
|
93
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th .hd-txt { overflow: hidden; text-overflow: ellipsis; }
|
|
94
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > button.hd { all: unset; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; border-radius: 4px; max-width: 100%; }
|
|
95
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > button.hd:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 2px; }
|
|
96
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hd > .poad-icon { opacity: 0; transition: opacity var(--poad-dur); flex: none; }
|
|
97
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th:hover > .hd > .poad-icon { opacity: .6; }
|
|
98
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-sorted > .hd { color: var(--poad-accent); }
|
|
99
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-sorted > .hd > .poad-icon { opacity: 1; }
|
|
100
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th .hd-idx { font: 600 9px var(--poad-font-mono); background: var(--poad-accent-soft); color: var(--poad-accent); border-radius: 999px; padding: 1px 4px; }
|
|
101
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz { position: absolute; inset-inline-end: 0; top: 8px; bottom: 8px; width: 5px; cursor: col-resize; z-index: 1; }
|
|
102
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz::after { content: ''; position: absolute; inset-inline-end: 2px; top: 0; bottom: 0; width: 1px; background: var(--poad-border); transition: background var(--poad-dur); }
|
|
103
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz:hover::after, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz.is-active::after, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz:focus-visible::after { background: var(--poad-accent); width: 2px; }
|
|
104
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz { touch-action: none; outline: 0; }
|
|
105
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .rz:focus-visible { box-shadow: 0 0 0 2px var(--poad-ring); border-radius: 2px; }
|
|
106
|
+
/* menu ⋮ d'en-tête (tranche 6, `table.colmenu`) : bouton au bout de l'en-tête, visible au survol, au focus, ouvert, colonne triée ou filtrée */
|
|
107
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.has-menu { padding-inline-end: calc(var(--_cell-px) + 20px); }
|
|
108
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 0; border-radius: 5px; background: transparent; color: var(--poad-fg-muted); display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0; transition: opacity var(--poad-dur), background var(--poad-dur); z-index: 2; }
|
|
109
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th:hover > .hm, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm:focus-visible, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm.is-on, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-sorted > .hm, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-filtered > .hm { opacity: 1; }
|
|
110
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm:hover, .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm.is-on { background: var(--poad-elevated); color: var(--poad-fg); }
|
|
111
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
112
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-filtered .hd-txt { color: var(--poad-accent); }
|
|
113
|
+
.poad-table.poad-table.poad-table.poad-table.is-resizable .tbl > :where(thead) > :where(tr) > th.has-menu > .hm { inset-inline-end: 10px; }
|
|
114
|
+
@media (hover: none) { .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hm { opacity: 1; } }
|
|
115
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.col-sel, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-sel, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-sel { width: 36px; padding-inline-end: 0; }
|
|
116
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.col-exp, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-exp, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-exp { width: 30px; padding: 0 4px; }
|
|
117
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.col-acts, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-acts, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-acts { text-align: end; white-space: nowrap; }
|
|
118
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.flt > th { height: auto; padding: 6px var(--_cell-px); background: var(--poad-surface); font-weight: 400; }
|
|
119
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.flt > :where(th) > :where(.flt-cell) > input { width: 100%; box-sizing: border-box; height: 26px; padding: 0 8px; font: var(--poad-font-size-sm) var(--poad-font); color: var(--poad-fg); background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius-sm); outline: 0; }
|
|
120
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.flt > :where(th) > :where(.flt-cell) > input:focus { border-color: var(--poad-accent); box-shadow: 0 0 0 2px var(--poad-ring); }
|
|
121
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td { padding: 0 var(--_cell-px); height: var(--_row-h); border-bottom: 1px solid var(--poad-border); vertical-align: middle; font-variant-numeric: tabular-nums; box-sizing: border-box; }
|
|
122
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.al-right, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.al-right { text-align: end; } .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.al-center, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.al-center { text-align: center; }
|
|
123
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.dt-num, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-num { font-family: var(--poad-font-mono); font-size: var(--poad-font-size-sm); }
|
|
124
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.is-nowrap, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.is-nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
125
|
+
.poad-table.poad-table.poad-table.is-bordered .tbl > :where(tbody) > :where(tr) > td, .poad-table.poad-table.poad-table.is-bordered .tbl > :where(tfoot) > :where(tr.dt-grand) > td, .poad-table.poad-table.poad-table.is-bordered .tbl > :where(thead) > :where(tr) > th { border-inline-end: 1px solid var(--poad-border); }
|
|
126
|
+
.poad-table.poad-table.poad-table.is-bordered .tbl > :where(tbody) > :where(tr) > td:last-child, .poad-table.poad-table.poad-table.is-bordered .tbl > :where(tfoot) > :where(tr.dt-grand) > td:last-child, .poad-table.poad-table.poad-table.is-bordered .tbl > :where(thead) > :where(tr) > th:last-child { border-inline-end: 0; }
|
|
127
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr:last-child > td { border-bottom: 0; }
|
|
128
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl > tbody > tr.dt-row:nth-child(even of .dt-row) > td { background: var(--poad-table-stripe, var(--poad-bg-subtle)); }
|
|
129
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl > tbody > tr.dt-row:hover > td { background: var(--poad-hover); }
|
|
130
|
+
.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selectable { cursor: pointer; }
|
|
131
|
+
.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row:focus-visible { outline: none; }
|
|
132
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row:focus-visible > td { background: var(--poad-hover); box-shadow: inset 0 1px 0 var(--poad-ring), inset 0 -1px 0 var(--poad-ring); }
|
|
133
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row:focus-visible > td:first-child { box-shadow: inset var(--_ix) 0 0 var(--poad-ring), inset 0 1px 0 var(--poad-ring), inset 0 -1px 0 var(--poad-ring); }
|
|
134
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row:focus-visible > td:last-child { box-shadow: inset calc(-1 * var(--_ix)) 0 0 var(--poad-ring), inset 0 1px 0 var(--poad-ring), inset 0 -1px 0 var(--poad-ring); }
|
|
135
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row:focus-visible > td:first-child:last-child { box-shadow: inset 0 0 0 1px var(--poad-ring); }
|
|
136
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected > td { background: var(--poad-accent-soft); }
|
|
137
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected > td:first-child { box-shadow: inset calc(3 * var(--_ix)) 0 0 var(--poad-accent); }
|
|
138
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected:focus-visible > td { box-shadow: inset 0 1px 0 var(--poad-ring), inset 0 -1px 0 var(--poad-ring); }
|
|
139
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected:focus-visible > td:last-child { box-shadow: inset calc(-1 * var(--_ix)) 0 0 var(--poad-ring), inset 0 1px 0 var(--poad-ring), inset 0 -1px 0 var(--poad-ring); }
|
|
140
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected:focus-visible > td:first-child { box-shadow: inset calc(3 * var(--_ix)) 0 0 var(--poad-accent), inset 0 1px 0 var(--poad-ring), inset 0 -1px 0 var(--poad-ring); }
|
|
141
|
+
/* Table liée à un store de lignes : l'enregistrement COURANT (curseur, `is-current` posé par la liaison) — même marque que la ligne choisie */
|
|
142
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-current > td { background: var(--poad-accent-soft); }
|
|
143
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-current > td:first-child { box-shadow: inset calc(3 * var(--_ix)) 0 0 var(--poad-accent); }
|
|
144
|
+
.poad-table.poad-table .tbl :where(td.col-exp, .dt-group__inner) > .exp { width: 22px; height: 22px; border: 0; border-radius: 5px; background: transparent; color: var(--poad-fg-muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
|
|
145
|
+
.poad-table.poad-table .tbl :where(td.col-exp, .dt-group__inner) > .exp:hover { background: var(--poad-elevated); color: var(--poad-fg); }
|
|
146
|
+
.poad-table.poad-table .tbl :where(td.col-exp, .dt-group__inner) > .exp:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
147
|
+
.poad-table.poad-table.poad-table .tbl :where(td.col-exp, .dt-group__inner) > .exp > .poad-icon { transition: transform var(--poad-dur); }
|
|
148
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.is-expanded :where(td.col-exp, .dt-group__inner) > .exp > .poad-icon { transform: rotate(90deg); }
|
|
149
|
+
.poad-table.poad-table .tbl :where(td.col-acts) > .acts { display: inline-flex; gap: 2px; align-items: center; opacity: 0; transition: opacity var(--poad-dur); }
|
|
150
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr:hover > :where(td.col-acts) > .acts, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > tr:hover:where(.dt-grand) > :where(td.col-acts) > .acts, .poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.is-selected > :where(td.col-acts) > .acts, .poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr:focus-within > :where(td.col-acts) > .acts, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > tr:focus-within:where(.dt-grand) > :where(td.col-acts) > .acts { opacity: 1; }
|
|
151
|
+
.poad-table.poad-table.poad-table.acts-always .tbl :where(td.col-acts) > .acts { opacity: 1; }
|
|
152
|
+
/* écran tactile : pas de survol, les actions de ligne restent visibles (comme le bouton ⋮ et la poignée de ligne) */
|
|
153
|
+
@media (hover: none) { .poad-table.poad-table.poad-table .tbl :where(td.col-acts) > .acts { opacity: 1; } }
|
|
154
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-detail > td { background: var(--poad-bg-subtle); height: auto; padding-block: 12px 14px; padding-inline: var(--_detail-pl, 58px) var(--_cell-px); }
|
|
155
|
+
.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl > :where(thead, tbody) > tr.dt-detail:hover > td { background: var(--poad-bg-subtle); }
|
|
156
|
+
.poad-table.poad-table.poad-table .tbl > tfoot > :where(tr.dt-grand) > td { background: var(--poad-bg-subtle); font-weight: 600; color: var(--poad-fg-secondary); border-top: 1px solid var(--poad-border); border-bottom: 0; }
|
|
157
|
+
.poad-table :where(.tbl > tbody > tr.dt-detail > td) > .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 22px; font-size: 12.5px; }
|
|
158
|
+
.poad-table.poad-table :where(.tbl > tbody > tr.dt-detail > td) > .kv > :where(div) > b { display: block; font: 600 10.5px/1 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); margin-bottom: 4px; }
|
|
159
|
+
.poad-table :where(.tbl > tbody > tr.is-skeleton > td) > .skel { height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--poad-elevated), var(--poad-hover), var(--poad-elevated)); background-size: 200% 100%; animation: poad-tbl-sh 1.4s infinite; }
|
|
160
|
+
@keyframes poad-tbl-sh { to { background-position: -200% 0; } }
|
|
161
|
+
@media (prefers-reduced-motion: reduce) { .poad-table :where(.tbl > tbody > tr.is-skeleton > td) > .skel { animation: none; } .poad-table.poad-table .tbl :where(td.col-acts) > .acts, .poad-table.poad-table.poad-table .tbl :where(td.col-exp, .dt-group__inner) > .exp > .poad-icon, .poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .hd > .poad-icon { transition: none; } }
|
|
162
|
+
|
|
163
|
+
/* vide + pied */
|
|
164
|
+
.poad-table :where(.tbl > tbody > tr.dt-empty > td) > .empty { display: grid; place-items: center; gap: 6px; padding: 34px 12px; text-align: center; color: var(--poad-fg-secondary); font-size: 12.5px; }
|
|
165
|
+
.poad-table.poad-table :where(.tbl > tbody > tr.dt-empty > td) > .empty > .poad-icon { color: var(--poad-fg-muted); }
|
|
166
|
+
.poad-table.poad-table :where(.tbl > tbody > tr.dt-empty > td) > .empty > b { color: var(--poad-fg); font-size: var(--poad-font-size); }
|
|
167
|
+
/* état d'erreur (chargement échoué, `errorMessage` ; tables liées par `data`) : même place que le vide, bouton Réessayer */
|
|
168
|
+
.poad-table.poad-table :where(.tbl > tbody > tr.dt-error > td) > .empty > .poad-icon { color: var(--poad-danger); }
|
|
169
|
+
.poad-table.poad-table :where(.tbl > tbody > tr.dt-error > td) > .empty > .poad-btn { margin-top: 6px; }
|
|
170
|
+
.poad-table .dt-foot { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-top: 1px solid var(--poad-border); }
|
|
171
|
+
.poad-table.poad-table .dt-foot .poad-paginator { flex: 1; }
|
|
172
|
+
|
|
173
|
+
/* ---------- tranche 2 : ligne de filtres à opérateurs (règles venues de la feuille 4/4 d'ui-angular, même ordre) ---------- */
|
|
174
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.flt > th { padding: 5px 6px; }
|
|
175
|
+
.poad-table .flt-cell { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; }
|
|
176
|
+
.poad-table.poad-table .flt-cell input, .poad-table.poad-table .flt-cell .flt-in { flex: 1 1 0; min-width: 0; height: 28px; padding: 0 26px 0 8px; box-sizing: border-box; font: var(--poad-font-size-sm) var(--poad-font); color: var(--poad-fg); background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius-sm); outline: 0; transition: border-color var(--poad-dur), box-shadow var(--poad-dur); }
|
|
177
|
+
.poad-table.poad-table .flt-cell.is-range input { padding-right: 8px; }
|
|
178
|
+
.poad-table.poad-table .flt-cell.is-range input:last-of-type { padding-right: 26px; }
|
|
179
|
+
.poad-table.poad-table .flt-cell input:focus, .poad-table.poad-table .flt-cell .flt-in:focus-visible { border-color: var(--poad-accent); box-shadow: 0 0 0 2px var(--poad-ring); }
|
|
180
|
+
.poad-table.poad-table .flt-cell.is-active input, .poad-table.poad-table .flt-cell.is-active .flt-in { border-color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
181
|
+
.poad-table.poad-table .flt-cell .flt-in { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; text-align: left; cursor: pointer; }
|
|
182
|
+
.poad-table.poad-table .flt-cell .flt-in.is-ph { color: var(--poad-fg-muted); }
|
|
183
|
+
.poad-table.poad-table.poad-table .flt-cell .flt-in .poad-icon { color: var(--poad-fg-muted); flex: none; }
|
|
184
|
+
.poad-table.poad-table .flt-cell .flt-txt { flex: 1; height: 28px; display: inline-flex; align-items: center; padding: 0 26px 0 8px; font: italic var(--poad-font-size-sm) var(--poad-font); color: var(--poad-accent); background: var(--poad-accent-soft); border: 1px solid var(--poad-accent); border-radius: var(--poad-radius-sm); box-sizing: border-box; }
|
|
185
|
+
.poad-table.poad-table .flt-cell .flt-op { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border: 0; border-radius: 4px; background: transparent; color: var(--poad-fg-muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
|
|
186
|
+
.poad-table.poad-table .flt-cell .flt-op:hover, .poad-table.poad-table .flt-cell .flt-op.is-on { color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
187
|
+
.poad-table.poad-table .flt-cell.is-active .flt-op { right: 22px; }
|
|
188
|
+
.poad-table.poad-table .flt-cell .flt-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border: 0; border-radius: 4px; background: transparent; color: var(--poad-fg-muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
|
|
189
|
+
.poad-table.poad-table .flt-cell .flt-x:hover { color: var(--poad-danger); background: var(--poad-danger-soft); }
|
|
190
|
+
/* valeur unique (oui / non, une option) : la liste déroulante de la bibliothèque (`poad-select`), pas de <select> natif */
|
|
191
|
+
.poad-table.poad-table .flt-cell > .poad-select { flex: 1 1 0; min-width: 0; }
|
|
192
|
+
.poad-table.poad-table.poad-table .flt-cell > .poad-select .poad-select__trigger { padding-inline-end: 26px; }
|
|
193
|
+
.poad-table.poad-table.poad-table .flt-cell.is-active > .poad-select .poad-select__trigger { border-color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
194
|
+
|
|
195
|
+
/* ---------- tranche 2 : pied « N lignes · filtrées · sélectionnées » ---------- */
|
|
196
|
+
.poad-table .dt-foot__count { font: var(--poad-font-size-sm) var(--poad-font-mono); color: var(--poad-fg-secondary); white-space: nowrap; }
|
|
197
|
+
.poad-table.poad-table .dt-foot.has-count .poad-paginator { flex: 1; }
|
|
198
|
+
|
|
199
|
+
/* arbre et groupes de lignes (tranche 3, modèle `table.nodes`) : retrait et bouton de la colonne de l'arbre, en-tête de
|
|
200
|
+
groupe, pied d'agrégats, total général */
|
|
201
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell { white-space: nowrap; }
|
|
202
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell > .cell-txt, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell > .cell-txt, .poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell > .dt-tree-wrap > .cell-txt { white-space: normal; }
|
|
203
|
+
/* le bouton (et son retrait) puis le contenu, côte à côte : un texte long qui passe à la ligne reste aligné sur son début
|
|
204
|
+
au lieu de repartir sous le chevron */
|
|
205
|
+
.poad-table .dt-tree-wrap { display: flex; align-items: center; min-width: 0; }
|
|
206
|
+
.poad-table .dt-tree-wrap > .poad-tree-toggle { flex: none; }
|
|
207
|
+
.poad-table .dt-tree-wrap > :not(.poad-tree-toggle) { min-width: 0; }
|
|
208
|
+
.poad-table .poad-tree-toggle { display: inline-flex; align-items: center; vertical-align: middle; margin-right: 4px; }
|
|
209
|
+
.poad-table.poad-table .poad-tree-toggle .ind { display: inline-block; width: calc(var(--_lvl, 0) * var(--_indent, 20px)); flex: none; }
|
|
210
|
+
.poad-table.poad-table .poad-tree-toggle .tl { display: inline-block; width: var(--_indent, 20px); align-self: stretch; flex: none; position: relative; }
|
|
211
|
+
.poad-table.poad-table.poad-table.has-tree-lines .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell, .poad-table.poad-table.poad-table.has-tree-lines .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell { padding-top: 0; padding-bottom: 0; }
|
|
212
|
+
.poad-table.poad-table.has-tree-lines .poad-tree-toggle { align-self: stretch; height: var(--_row-h); }
|
|
213
|
+
.poad-table.poad-table.poad-table.has-tree-lines .poad-tree-toggle .tl::before { content: ''; position: absolute; left: 9px; top: 0; bottom: 0; border-left: 1px solid var(--poad-border); }
|
|
214
|
+
.poad-table.poad-table .poad-tree-toggle .tg { width: 20px; height: 20px; border: 0; border-radius: 5px; background: transparent; color: var(--poad-fg-muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
|
|
215
|
+
.poad-table.poad-table .poad-tree-toggle .tg:hover { background: var(--poad-elevated); color: var(--poad-fg); }
|
|
216
|
+
.poad-table.poad-table .poad-tree-toggle .tg:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
217
|
+
.poad-table.poad-table.poad-table .poad-tree-toggle .tg .poad-icon { transition: transform var(--poad-dur); }
|
|
218
|
+
.poad-table.poad-table.poad-table .poad-tree-toggle .tg.is-open .poad-icon { transform: rotate(90deg); }
|
|
219
|
+
.poad-table.poad-table .poad-tree-toggle .tg.is-leaf { visibility: hidden; pointer-events: none; }
|
|
220
|
+
.poad-table.poad-table .poad-tree-toggle .ic { color: var(--poad-fg-muted); margin: 0 6px 0 2px; }
|
|
221
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-row.lvl-0.has-children > td.dt-tree-cell { font-weight: 500; }
|
|
222
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-group > td { background: var(--poad-bg-subtle); height: 34px; padding: 0 var(--_cell-px); border-bottom: 1px solid var(--poad-border); }
|
|
223
|
+
.poad-table .dt-group__inner { display: flex; align-items: center; gap: 6px; padding-left: calc(var(--_lvl, 0) * var(--_indent, 20px)); font-weight: 600; font-size: var(--poad-font-size-sm); }
|
|
224
|
+
.poad-table.poad-table .dt-group__inner .exp { width: 22px; height: 22px; border: 0; border-radius: 5px; background: transparent; color: var(--poad-fg-muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
|
|
225
|
+
.poad-table.poad-table .dt-group__inner .exp:hover { background: var(--poad-elevated); color: var(--poad-fg); }
|
|
226
|
+
.poad-table.poad-table.poad-table .dt-group__inner .exp .poad-icon { transition: transform var(--poad-dur); }
|
|
227
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-group.is-expanded .dt-group__inner .exp .poad-icon { transform: rotate(90deg); }
|
|
228
|
+
.poad-table .dt-group__count { font: 500 10.5px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-elevated); color: var(--poad-fg-secondary); }
|
|
229
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-group-foot > td { background: var(--poad-bg-subtle); height: 32px; color: var(--poad-fg-secondary); font-size: var(--poad-font-size-sm); border-bottom: 1px solid var(--poad-border); }
|
|
230
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-group-foot > td.dt-num, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > tr.dt-grand > td.dt-num { font-family: var(--poad-font-mono); font-weight: 600; }
|
|
231
|
+
.poad-table .dt-group-foot__label { padding-left: calc(var(--_lvl, 0) * var(--_indent, 20px) + 26px); font-weight: 500; }
|
|
232
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tfoot > tr.dt-grand > td { background: var(--poad-bg-subtle); font-weight: 600; color: var(--poad-fg); border-top: 2px solid var(--poad-border); height: 36px; }
|
|
233
|
+
.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl > :where(thead, tbody) > tr.dt-group:hover > td, .poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl > :where(thead, tbody) > tr.dt-group-foot:hover > td { background: var(--poad-bg-subtle); }
|
|
234
|
+
|
|
235
|
+
/* colonnes figées (tranche 4, modèle `table.sticky`) : fond des cellules figées selon l'état de la ligne, ombre après la
|
|
236
|
+
dernière figée à gauche quand la table a défilé, avant la première figée à droite tant qu'elle n'est pas au bout */
|
|
237
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-left, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.st-left, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-left, .poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-right, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.st-right, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-right { position: sticky; z-index: 2; background: var(--poad-surface); background-clip: padding-box; }
|
|
238
|
+
.poad-table.poad-table.poad-table .tbl > thead > :where(tr) > th.st-left, .poad-table.poad-table.poad-table .tbl > thead > :where(tr) > th.st-right { z-index: 4; background: var(--poad-bg-subtle); }
|
|
239
|
+
.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl > thead > :where(tr) > th.st-left, .poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl > thead > :where(tr) > th.st-right { z-index: 5; }
|
|
240
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl > tbody > tr.dt-row:nth-child(even of .dt-row) > td.st-left, .poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl > tbody > tr.dt-row:nth-child(even of .dt-row) > td.st-right { background: var(--poad-table-stripe, var(--poad-bg-subtle)); }
|
|
241
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl > tbody > tr.dt-row:hover > td.st-left, .poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl > tbody > tr.dt-row:hover > td.st-right { background: var(--poad-hover); }
|
|
242
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected > td.st-left, .poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-selected > td.st-right { background: color-mix(in srgb, var(--poad-accent) 12%, var(--poad-surface)); }
|
|
243
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.st-last-left, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-last-left, .poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.st-last-left { transition: box-shadow var(--poad-dur); }
|
|
244
|
+
.poad-table.poad-table.poad-table.is-scrolled-x .tbl > :where(tbody) > :where(tr) > td.st-last-left, .poad-table.poad-table.poad-table.is-scrolled-x .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-last-left, .poad-table.poad-table.poad-table.is-scrolled-x .tbl > :where(thead) > :where(tr) > th.st-last-left { box-shadow: var(--_ix) 0 0 var(--poad-border), calc(6 * var(--_ix)) 0 12px -6px rgba(0,0,0,.18); }
|
|
245
|
+
.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl > :where(tbody) > :where(tr) > td.st-first-right, .poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-first-right, .poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl > :where(thead) > :where(tr) > th.st-first-right { box-shadow: calc(-1 * var(--_ix)) 0 0 var(--poad-border), calc(-6 * var(--_ix)) 0 12px -6px rgba(0,0,0,.18); }
|
|
246
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.st-right.col-acts > .acts, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-right.col-acts > .acts { background: inherit; }
|
|
247
|
+
|
|
248
|
+
/* adaptation (tranche 4, modèle `table.responsive`) : décalage du détail dans l'arbre, barre d'outils (bouton « Filtres »
|
|
249
|
+
en cartes), mode `stack` (chaque ligne en carte : libellé `data-l` devant la valeur, sélection, détail et actions
|
|
250
|
+
placés dans la carte, gabarit de carte `tr.dt-card`) */
|
|
251
|
+
/* ---------- détail (décalage d'arbre) ---------- */
|
|
252
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-detail > td { padding-left: calc(var(--_detail-pl, 58px) + var(--_lvl, 0) * var(--_indent, 20px)); }
|
|
253
|
+
|
|
254
|
+
/* ---------- barre d'outils responsive ---------- */
|
|
255
|
+
.poad-table .dt-bar__tools, .poad-table .dt-bar__tools-end { display: contents; }
|
|
256
|
+
.poad-table .dt-bar__filters { display: inline-flex; }
|
|
257
|
+
.poad-table.poad-table .dt-bar__filters .dt-bar__count { padding: 1px 6px; font-size: 10px; }
|
|
258
|
+
|
|
259
|
+
/* ---------- mode stack (cartes) ---------- */
|
|
260
|
+
.poad-table.poad-table.is-stacked .dt-bar { gap: 8px; }
|
|
261
|
+
.poad-table.poad-table.is-stacked .dt-bar__tools { display: none; }
|
|
262
|
+
.poad-table.poad-table.is-stacked .dt-bar__tools.is-open { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-basis: 100%; order: 10; padding-top: 8px; border-top: 1px dashed var(--poad-border); }
|
|
263
|
+
.poad-table.poad-table.is-stacked .dt-bar__grow { display: none; }
|
|
264
|
+
.poad-table.poad-table.is-stacked .dt-bar__search { order: 5; flex-basis: 100%; width: 100%; }
|
|
265
|
+
.poad-table.poad-table.is-stacked .dt-bar__cols, .poad-table.poad-table.is-stacked .dt-bar__density { display: none; }
|
|
266
|
+
.poad-table.poad-table.is-stacked .dt-sel { position: sticky; bottom: 0; z-index: 6; flex-wrap: wrap; border-top: 1px solid var(--poad-border); order: 99; }
|
|
267
|
+
.poad-table.poad-table.is-stacked .dt-scroll { overflow-x: hidden; }
|
|
268
|
+
.poad-table.poad-table.is-stacked .tbl, .poad-table.poad-table.poad-table.is-stacked .tbl > tbody, .poad-table.poad-table.poad-table.is-stacked .tbl > tfoot, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > tr:where(.dt-grand), .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td { display: block; }
|
|
269
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > thead, .poad-table.poad-table.poad-table.is-stacked .tbl > colgroup, .poad-table.poad-table.poad-table.is-stacked .tbl > caption { display: none; }
|
|
270
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row { position: relative; padding: 10px 12px 10px 12px; border-bottom: 1px solid var(--poad-border); height: auto; }
|
|
271
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.has-sel { padding-left: 44px; }
|
|
272
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.is-selected { background: var(--poad-accent-soft); box-shadow: inset calc(3 * var(--_ix)) 0 0 var(--poad-accent); }
|
|
273
|
+
.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl > :where(thead, tbody) > tr.dt-row:hover { background: var(--poad-hover); }
|
|
274
|
+
.poad-table.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl > :where(thead, tbody) > tr.dt-row:hover > td, .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.is-selected > td, .poad-table.poad-table.poad-table.poad-table.is-striped.is-stacked .tbl > :where(thead, tbody) > tr.dt-row > td { background: transparent !important; box-shadow: none !important; }
|
|
275
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row:focus-visible { box-shadow: inset 0 0 0 1px var(--poad-ring); }
|
|
276
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td { height: auto; padding: 2px 0; border: 0; white-space: normal; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12.5px; position: static; }
|
|
277
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.st-left, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-left, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.st-right, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.st-right { position: static; }
|
|
278
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td[data-l]::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td[data-l]::before { content: attr(data-l); color: var(--poad-fg-muted); font-family: var(--poad-font); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; flex: none; }
|
|
279
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-sel, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-sel { position: absolute; left: 12px; top: 12px; padding: 0; width: auto; }
|
|
280
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-sel::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-sel::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-exp::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-exp::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-acts::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-acts::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-first::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-first::before { content: none; }
|
|
281
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-exp, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-exp { position: absolute; right: 44px; top: 8px; padding: 0; width: auto; }
|
|
282
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-first, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-first, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell { display: block; font-size: 14px; font-weight: 500; padding: 0 44px 6px 0; }
|
|
283
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell > .dt-tree-wrap > .poad-tree-toggle .ind, .poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell > .dt-tree-wrap > .poad-tree-toggle .ind, .poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell > .dt-tree-wrap > .poad-tree-toggle .tl, .poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-tree-cell > .dt-tree-wrap > .poad-tree-toggle .tl { display: none; }
|
|
284
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-acts, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-acts { position: absolute; right: 8px; top: 8px; padding: 0; width: auto; }
|
|
285
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl :where(td.col-acts) > .acts { opacity: 1; }
|
|
286
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-num, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.dt-num { text-align: right; }
|
|
287
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-detail > td { padding: 8px 12px 10px; }
|
|
288
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.lvl-1 { margin-left: 22px; border-left: 2px solid var(--poad-border); }
|
|
289
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.lvl-2 { margin-left: 44px; border-left: 2px solid var(--poad-border); }
|
|
290
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.lvl-3 { margin-left: 66px; border-left: 2px solid var(--poad-border); }
|
|
291
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-group > td { padding: 8px 12px; height: auto; display: block; }
|
|
292
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-group-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 12px 6px 44px; }
|
|
293
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-group-foot > td { padding: 0; }
|
|
294
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-group-foot > td:empty { display: none; }
|
|
295
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > tfoot > tr.dt-grand { padding: 8px 12px; }
|
|
296
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > tfoot > tr.dt-grand > td:empty { display: none; }
|
|
297
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-empty > td { display: block; }
|
|
298
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.is-skeleton > td { display: block; padding: 4px 0; }
|
|
299
|
+
.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-card > td { padding: 0; display: block; }
|
|
300
|
+
.poad-table.poad-table.is-stacked .dt-foot { flex-wrap: wrap; gap: 8px; }
|
|
301
|
+
.poad-table.poad-table.is-stacked .dt-foot .poad-paginator__rpp { display: none; }
|
|
302
|
+
/* ---------- défilement virtuel (tranche 5, venu de la feuille 3/4 d'ui-angular) : espacements haut et bas, pas
|
|
303
|
+
d'ancrage du défilement (il recalerait la vue à chaque tranche), cellules d'une ligne à la hauteur du modèle ---------- */
|
|
304
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.dt-vpad > td { padding: 0; border: 0; height: auto; }
|
|
305
|
+
.poad-table.poad-table.is-virtual .dt-scroll { overflow-anchor: none; }
|
|
306
|
+
.poad-table.poad-table.poad-table.is-virtual .tbl > :where(tbody) > tr.dt-row > td:not(.is-editing) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
307
|
+
|
|
308
|
+
/* ordre des lignes (tranche 5, brique `dnd` du socle) : colonne des poignées, ligne saisie, trait de dépôt, annonces.
|
|
309
|
+
* La ligne saisie au pointeur suit le pointeur (`transform` en ligne) ; au clavier, elle reste en place et le trait
|
|
310
|
+
* montre où elle va. La poignée est un bouton (`touch-action: none` : au doigt, le geste ne fait pas défiler la page). */
|
|
311
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.col-drag, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-drag, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-drag { width: 28px; padding: 0 4px; }
|
|
312
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-drag > .rdh { display: inline-grid; place-items: center; width: 20px; height: 24px; padding: 0; border: 0; background: transparent; color: var(--poad-fg-muted); cursor: grab; opacity: 0; transition: opacity var(--poad-dur); border-radius: 4px; touch-action: none; vertical-align: middle; }
|
|
313
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr:hover > td.col-drag > .rdh, .poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr:focus-within > td.col-drag > .rdh, .poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.is-dragging > td.col-drag > .rdh { opacity: .8; }
|
|
314
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-drag > .rdh:hover { color: var(--poad-fg); background: var(--poad-elevated); }
|
|
315
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-drag > .rdh:focus-visible { opacity: 1; outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
316
|
+
@media (hover: none) { .poad-table.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-drag > .rdh { opacity: .7; } }
|
|
317
|
+
.poad-table.is-row-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
|
|
318
|
+
.poad-table.is-row-dragging .tbl > :where(tbody) > :where(tr) > td.col-drag > .rdh { cursor: grabbing; }
|
|
319
|
+
.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-dragging { position: relative; z-index: 4; }
|
|
320
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-dragging > td { background: var(--poad-overlay); box-shadow: inset 0 1px 0 var(--poad-accent), inset 0 -1px 0 var(--poad-accent); }
|
|
321
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-dragging[style*="transform"] { box-shadow: var(--poad-shadow-lg); }
|
|
322
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-drop-before > td { box-shadow: inset 0 2px 0 var(--poad-accent); }
|
|
323
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-drop-after > td { box-shadow: inset 0 -2px 0 var(--poad-accent); }
|
|
324
|
+
.poad-table.is-stacked .tbl > :where(thead, tbody, tfoot) > :where(tr) > :where(th, td).col-drag { display: none; }
|
|
325
|
+
/* ordre des colonnes (tranche 6, modèle `table.colorder`, brique `dnd` sur l'axe x) : poignée `button.dh` au début de
|
|
326
|
+
* l'en-tête déplaçable, en-tête saisi (il suit le pointeur), trait de dépôt sur le côté logique de l'en-tête visé
|
|
327
|
+
* (`--_ix` : box-shadow n'a pas de valeurs logiques). */
|
|
328
|
+
.poad-table.poad-table.poad-table.cols-draggable .tbl > :where(thead) > :where(tr) > th.can-drag { padding-inline-start: calc(var(--_cell-px) + 14px); }
|
|
329
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .dh { position: absolute; inset-inline-start: 2px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 16px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--poad-fg-muted); cursor: grab; opacity: .55; touch-action: none; transition: opacity var(--poad-dur), background var(--poad-dur); }
|
|
330
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th:hover > .dh, .poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-dragging > .dh { opacity: 1; }
|
|
331
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .dh:hover { color: var(--poad-fg); background: var(--poad-elevated); }
|
|
332
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th > .dh:focus-visible { opacity: 1; outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
333
|
+
.poad-table.is-col-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
|
|
334
|
+
.poad-table.is-col-dragging .tbl > :where(thead) > :where(tr) > th > .dh { cursor: grabbing; }
|
|
335
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > thead > tr > th.is-dragging { z-index: 6; background: var(--poad-overlay); box-shadow: inset 0 -2px 0 var(--poad-accent); }
|
|
336
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > thead > tr > th.is-dragging[style*="transform"] { box-shadow: var(--poad-shadow-lg); opacity: .95; }
|
|
337
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > thead > tr > th.is-drop-before { box-shadow: inset calc(2 * var(--_ix)) 0 0 var(--poad-accent); }
|
|
338
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > thead > tr > th.is-drop-after { box-shadow: inset calc(-2 * var(--_ix)) 0 0 var(--poad-accent); }
|
|
339
|
+
/* zone de groupement (tranche 6, modèle `table.groupzone`) : depuis la feuille 4/4 d'ui-angular, en propriétés logiques ;
|
|
340
|
+
* pastilles réordonnées sur la brique `dnd` (poignée bouton, pastille saisie, trait de dépôt), zone visée `is-over`. */
|
|
341
|
+
.poad-table .dt-gz { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 40px; padding-block: 6px; padding-inline: 12px; border-bottom: 1px solid var(--poad-border); background: var(--poad-bg-subtle); color: var(--poad-fg-muted); font-size: var(--poad-font-size-sm); }
|
|
342
|
+
.poad-table .dt-gz:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
|
|
343
|
+
.poad-table .dt-gz.is-over { background: var(--poad-accent-soft); color: var(--poad-accent); outline: 1px dashed var(--poad-accent); outline-offset: -4px; }
|
|
344
|
+
.poad-table .dt-gz__hint { font-style: italic; }
|
|
345
|
+
.poad-table .dt-gz__chip { display: inline-flex; align-items: center; gap: 2px; height: 26px; padding-inline: 2px 4px; border-radius: 999px; background: var(--poad-accent-soft); color: var(--poad-accent); font-weight: 500; }
|
|
346
|
+
.poad-table.poad-table .dt-gz__chip > .dt-gz__grab { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding-inline: 4px 6px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; cursor: grab; touch-action: none; }
|
|
347
|
+
.poad-table.poad-table .dt-gz__chip > .dt-gz__grab > .poad-icon { opacity: .6; }
|
|
348
|
+
.poad-table.poad-table .dt-gz__chip > .dt-gz__x { width: 18px; height: 18px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; }
|
|
349
|
+
.poad-table.poad-table .dt-gz__chip > .dt-gz__x:hover { background: var(--poad-accent); color: var(--poad-fg-on-accent); }
|
|
350
|
+
.poad-table.poad-table .dt-gz__chip > :is(.dt-gz__grab, .dt-gz__x):focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
351
|
+
.poad-table.poad-table .dt-gz__chip.is-dragging { position: relative; z-index: 2; box-shadow: inset 0 0 0 1px var(--poad-accent); }
|
|
352
|
+
.poad-table.poad-table .dt-gz__chip.is-dragging[style*="transform"] { box-shadow: var(--poad-shadow-md); }
|
|
353
|
+
.poad-table.poad-table .dt-gz__chip.is-drop-before { box-shadow: calc(-3 * var(--_ix)) 0 0 -1px var(--poad-accent); }
|
|
354
|
+
.poad-table.poad-table .dt-gz__chip.is-drop-after { box-shadow: calc(3 * var(--_ix)) 0 0 -1px var(--poad-accent); }
|
|
355
|
+
.poad-table.is-gz-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
|
|
356
|
+
.poad-table.poad-table.is-stacked .dt-gz { display: none; }
|
|
357
|
+
.poad-table .dt-gz-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
358
|
+
.poad-table .dt-col-dnd-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
359
|
+
.poad-table .dt-live, .poad-table .dt-dnd-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
360
|
+
|
|
361
|
+
/* ---------- édition (tranche 5, modèle `table.edit`) : depuis la feuille 3/4 d'ui-angular, en propriétés logiques ---------- */
|
|
362
|
+
.poad-table.poad-table.poad-table.edit-cell .tbl > :where(tbody) > :where(tr) > td.is-editable, .poad-table.poad-table.poad-table.edit-cell .tbl > :where(tfoot) > :where(tr.dt-grand) > td.is-editable { cursor: text; position: relative; }
|
|
363
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.edit-cell.is-hoverable .tbl > tbody > tr.dt-row > td.is-editable:hover { background: var(--poad-hover); box-shadow: inset 0 0 0 1px var(--poad-border-strong); }
|
|
364
|
+
.poad-table.poad-table.poad-table.show-edit-icon .tbl > :where(tbody) > :where(tr) > td.is-editable, .poad-table.poad-table.poad-table.show-edit-icon .tbl > :where(tfoot) > :where(tr.dt-grand) > td.is-editable { padding-inline-end: calc(var(--_cell-px) + 16px); }
|
|
365
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td > .ce, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td > .ce { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border: 0; border-radius: 5px; background: transparent; color: var(--poad-fg-muted); display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0; transition: opacity var(--poad-dur), background var(--poad-dur); }
|
|
366
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.is-editable:hover > .ce, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.is-editable:hover > .ce, .poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td > .ce:focus-visible, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td > .ce:focus-visible { opacity: .7; }
|
|
367
|
+
.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td > .ce:hover, .poad-table.poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td > .ce:hover { opacity: 1 !important; background: var(--poad-elevated); color: var(--poad-fg); }
|
|
368
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.is-editing, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.is-editing { padding-top: 0; padding-bottom: 0; background: var(--poad-surface) !important; box-shadow: none !important; }
|
|
369
|
+
/* cellule en édition : l'éditeur prend la largeur (marge réduite, pas de place pour le crayon) */
|
|
370
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.is-editing { padding-inline: 6px; }
|
|
371
|
+
.poad-table .dt-editor { position: relative; display: flex; align-items: stretch; min-height: calc(var(--_row-h) - 8px); margin: 4px 0; }
|
|
372
|
+
.poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.is-editing, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.is-editing { height: auto; vertical-align: top; }
|
|
373
|
+
.poad-table.poad-table .dt-editor input, .poad-table.poad-table .dt-editor textarea { width: 100%; height: calc(var(--_row-h) - 8px); box-sizing: border-box; padding: 0 8px; font: var(--poad-font-size) var(--poad-font); color: var(--poad-fg); background: var(--poad-input-bg); border: 1px solid var(--poad-accent); border-radius: var(--poad-radius-sm); outline: 0; box-shadow: 0 0 0 3px var(--poad-ring); }
|
|
374
|
+
/* cellule éditable focalisée (mode cell : focus itinérant, flèches, retour d'une édition) : même marque que la ligne focalisée */
|
|
375
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row > td[data-col]:focus { outline: none; }
|
|
376
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row > td[data-col]:focus-visible { background: var(--poad-hover); box-shadow: inset 0 0 0 2px var(--poad-ring); }
|
|
377
|
+
/* éditeur « liste » : poad-select de la bibliothèque (pas de select natif), à la hauteur et au liseré des autres éditeurs ;
|
|
378
|
+
composant web : l'élément <poad-select> occupe la cellule, sa racine .poad-select le remplit */
|
|
379
|
+
.poad-table.poad-table .dt-editor > poad-select { display: block; flex: 1 1 0; min-width: 0; }
|
|
380
|
+
.poad-table.poad-table .dt-editor > .poad-select, .poad-table.poad-table .dt-editor > poad-select > .poad-select { flex: 1 1 0; min-width: 0; width: 100%; }
|
|
381
|
+
.poad-table.poad-table.poad-table .dt-editor > .poad-select .poad-select__trigger, .poad-table.poad-table.poad-table .dt-editor > poad-select > .poad-select .poad-select__trigger { height: calc(var(--_row-h) - 8px); border-color: var(--poad-accent); box-shadow: 0 0 0 3px var(--poad-ring); }
|
|
382
|
+
.poad-table.poad-table.poad-table .dt-editor.is-invalid > .poad-select .poad-select__trigger, .poad-table.poad-table.poad-table .dt-editor.is-invalid > poad-select > .poad-select .poad-select__trigger { border-color: var(--poad-danger); box-shadow: 0 0 0 3px var(--poad-danger-soft); }
|
|
383
|
+
.poad-table.poad-table .dt-editor input[type=number] { font-family: var(--poad-font-mono); text-align: end; }
|
|
384
|
+
.poad-table.poad-table .dt-editor textarea { height: auto; min-height: 76px; padding: 6px 8px; resize: vertical; line-height: 1.45; font: var(--poad-font-size)/1.45 var(--poad-font); }
|
|
385
|
+
.poad-table.poad-table .dt-editor input[type=checkbox] { width: 16px; height: 16px; box-shadow: none; accent-color: var(--poad-accent); }
|
|
386
|
+
.poad-table.poad-table .dt-editor.is-invalid input, .poad-table.poad-table .dt-editor.is-invalid textarea { border-color: var(--poad-danger); box-shadow: 0 0 0 3px var(--poad-danger-soft); }
|
|
387
|
+
.poad-table .dt-editor__err { position: absolute; inset-inline-start: 0; top: calc(100% + 4px); z-index: 6; padding: 3px 8px; border-radius: 6px; background: var(--poad-danger); color: #fff; font-size: 11px; white-space: nowrap; box-shadow: var(--poad-shadow-md); pointer-events: none; }
|
|
388
|
+
.poad-table .dt-editor__err::before { content: ''; position: absolute; inset-inline-start: 10px; top: -4px; width: 8px; height: 8px; background: inherit; transform: rotate(45deg); }
|
|
389
|
+
.poad-table.poad-table.poad-table.poad-table.edit-row .tbl > :where(thead, tbody) > tr.dt-row.is-editing-row > td { background: var(--poad-accent-soft); }
|
|
390
|
+
.poad-table.poad-table.poad-table .tbl :where(td.col-acts) > .acts > .re { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--poad-fg-secondary); cursor: pointer; padding: 0; }
|
|
391
|
+
.poad-table.poad-table.poad-table .tbl :where(td.col-acts) > .acts > .re:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
392
|
+
.poad-table.poad-table.poad-table .tbl :where(td.col-acts) > .acts > .re.ok { color: var(--poad-success); } .poad-table.poad-table.poad-table .tbl :where(td.col-acts) > .acts > .re.ko { color: var(--poad-danger); }
|
|
393
|
+
.poad-table.poad-table.poad-table .tbl :where(td.col-acts) > .acts > .re:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
394
|
+
.poad-table.poad-table.poad-table.poad-table.edit-row .tbl > :where(thead, tbody) > tr.is-editing-row > :where(td.col-acts) > .acts { opacity: 1; }
|
|
395
|
+
/* aide des cellules éditables (`aria-describedby`) */
|
|
396
|
+
.poad-table .dt-edit-hint, .poad-table .dt-rz-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
397
|
+
|
|
398
|
+
/* ---------- numéros de ligne, en-têtes groupés, colonne de remplissage (tranche 6, table.grid du socle) ---------- */
|
|
399
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.col-num, .poad-table.poad-table .tbl > :where(tbody) > :where(tr) > td.col-num, .poad-table.poad-table .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-num { width: 44px; text-align: end; font: 11px var(--poad-font-mono); color: var(--poad-fg-muted); background: var(--poad-bg-subtle); padding: 0 8px; user-select: none; }
|
|
400
|
+
.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.col-num { font-weight: 600; }
|
|
401
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr:hover > td.col-num { background: var(--poad-bg-subtle); }
|
|
402
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-num, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-num { position: absolute; inset-inline-start: auto; inset-inline-end: 12px; bottom: 6px; width: auto; background: transparent; padding: 0; }
|
|
403
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-num::before, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-num::before { content: none; }
|
|
404
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.hg > th { height: 30px; text-align: center; font: 600 10.5px/1 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); border-bottom: 1px solid var(--poad-border); }
|
|
405
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.hg > th.hg-cell { border-inline-start: 1px solid var(--poad-border); }
|
|
406
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.hg > th.hg-cell:first-child { border-inline-start: 0; }
|
|
407
|
+
.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl > :where(thead, tbody) > tr.hg > th { position: sticky; top: 0; z-index: 3; }
|
|
408
|
+
.poad-table.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl > :where(thead, tbody) > tr.hg + tr > th { top: 30px; }
|
|
409
|
+
.poad-table.poad-table.poad-table .tbl > :where(thead, tbody, tfoot) > :where(tr) > :is(th, td).col-fill { padding: 0; min-width: 0; }
|
|
410
|
+
.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody, tfoot) > :where(tr) > td.col-fill { display: none; }
|
|
411
|
+
|
|
412
|
+
/* ---------- boîte de dialogue de ligne (editMode="row", table.edit du socle) : formulaire d'une ou deux colonnes ---------- */
|
|
413
|
+
.poad-row-edit:not(.poad-grid) { display: grid; grid-template-columns: repeat(var(--_cols, 2), minmax(0, 1fr)); gap: 20px 16px; padding: 10px 4px 12px; min-width: 0; }
|
|
414
|
+
.poad-row-edit > .poad-row-edit__f { min-width: 0; }
|
|
415
|
+
.poad-row-edit:not(.poad-grid) > .poad-row-edit__f.is-full { grid-column: 1 / -1; }
|
|
416
|
+
.poad-row-edit .poad-row-edit__chk { display: flex; align-items: center; min-height: 32px; padding-top: 22px; }
|
|
417
|
+
@media (max-width: 560px) { .poad-row-edit:not(.poad-grid) { grid-template-columns: minmax(0, 1fr); } }
|
|
418
|
+
/* un nombre se lit aligné à droite, comme le champ nombre d'ui-angular et l'éditeur de cellule */
|
|
419
|
+
.poad-row-edit .poad-row-edit__f input[type=number] { text-align: end; font-variant-numeric: tabular-nums; }
|
|
420
|
+
/* Lignes d'une table liée aux données (@poadio/data) : modifiée, en envoi, en erreur, en conflit ; message de la ligne */
|
|
421
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-dirty > td:first-child { box-shadow: inset 3px 0 0 var(--poad-accent); }
|
|
422
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-saving > td { opacity: .7; }
|
|
423
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-error > td:first-child { box-shadow: inset 3px 0 0 var(--poad-danger); }
|
|
424
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-conflict > td { background: var(--poad-warning-soft); }
|
|
425
|
+
.poad-table.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row.is-conflict > td:first-child { box-shadow: inset 3px 0 0 var(--poad-warning); }
|
|
426
|
+
.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row-msg > td { padding: 6px 12px 8px; border-top: 0; background: var(--poad-danger-soft); }
|
|
427
|
+
.poad-table.poad-table.poad-table .tbl > tbody > tr.dt-row-msg.is-conflict > td { background: var(--poad-warning-soft); }
|
|
428
|
+
.poad-table .dt-row-msg__box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--poad-font-size-sm); color: var(--poad-fg); }
|
|
429
|
+
.poad-table .dt-row-msg__text { flex: 1 1 16rem; }
|
|
430
|
+
.poad-table .dt-row-msg__actions { display: inline-flex; gap: 6px; }
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — onglets (`.poad-tabs`). Source unique du style pour tous les paquets de rendu : ui-angular
|
|
3
|
+
* l'inclut dans `poad-tabs` (encapsulation désactivée), les autres rendus le font charger par l'application.
|
|
4
|
+
* CSS pur, ne lit que les jetons --poad-* (charger `tokens.css` avant ; les icônes : `icon.css`).
|
|
5
|
+
*
|
|
6
|
+
* Anatomie : racine `.poad-tabs` (`var-line|pill|enclosed`, `size-sm`, `is-stretch` de `tabsRootClasses()`) >
|
|
7
|
+
* `.poad-tabs__bar` > [`.poad-tabs__arrow`] `.poad-tabs__list` (`role="tablist"`, `is-scrollable`) > `button[role="tab"]`
|
|
8
|
+
* (`is-active` ; icône, libellé `<span>`, `.poad-tabs__count`, `.poad-tabs__close`) ; puis un `.poad-tabs__panel`
|
|
9
|
+
* (`role="tabpanel"`) par onglet rendu.
|
|
10
|
+
* Écrit à partir des styles `:host` du composant Angular, une règle pour une règle : `:host(X)` → `.poad-tabs X`,
|
|
11
|
+
* une partie → `.poad-tabs .partie`, les onglets `[role=tab]` du gabarit → `.poad-tabs__list > [role="tab"]` (enfants
|
|
12
|
+
* directs : un onglet d'une barre imbriquée appartient à sa propre barre).
|
|
13
|
+
*/
|
|
14
|
+
.poad-tabs { display: block; font-family: var(--poad-font); font-size: var(--poad-font-size); }
|
|
15
|
+
.poad-tabs .poad-tabs__bar { display: flex; align-items: stretch; border-bottom: 1px solid var(--poad-border); }
|
|
16
|
+
.poad-tabs .poad-tabs__list { display: flex; gap: 2px; flex: 1; min-width: 0; }
|
|
17
|
+
.poad-tabs .poad-tabs__list.is-scrollable { overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
|
|
18
|
+
.poad-tabs .poad-tabs__list.is-scrollable::-webkit-scrollbar { display: none; }
|
|
19
|
+
.poad-tabs.is-stretch .poad-tabs__list > [role="tab"] { flex: 1; justify-content: center; }
|
|
20
|
+
.poad-tabs__list > [role="tab"] { position: relative; height: 34px; padding: 0 12px; border: 0; background: transparent; color: var(--poad-fg-secondary); font: 500 var(--poad-font-size) var(--poad-font); cursor: pointer;
|
|
21
|
+
display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-radius: 6px 6px 0 0; transition: color var(--poad-dur), background var(--poad-dur); }
|
|
22
|
+
.poad-tabs.size-sm .poad-tabs__list > [role="tab"] { height: 28px; padding: 0 9px; font-size: var(--poad-font-size-sm); }
|
|
23
|
+
.poad-tabs__list > [role="tab"]:hover:not([disabled]) { color: var(--poad-fg); }
|
|
24
|
+
.poad-tabs__list > [role="tab"]:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
|
|
25
|
+
.poad-tabs__list > [role="tab"][disabled] { opacity: .5; cursor: not-allowed; }
|
|
26
|
+
.poad-tabs__list > [role="tab"].is-active { color: var(--poad-accent); }
|
|
27
|
+
.poad-tabs__list > [role="tab"].is-active::after { content: ''; position: absolute; inset-inline-start: 8px; inset-inline-end: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--poad-accent); }
|
|
28
|
+
.poad-tabs .poad-tabs__count { font: 500 10.5px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-elevated); color: var(--poad-fg-secondary); }
|
|
29
|
+
.poad-tabs__list > [role="tab"].is-active .poad-tabs__count { background: var(--poad-accent-soft); color: var(--poad-accent); }
|
|
30
|
+
.poad-tabs .poad-tabs__close { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; color: var(--poad-fg-muted); margin-inline-start: 2px; }
|
|
31
|
+
.poad-tabs .poad-tabs__close:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
32
|
+
.poad-tabs .poad-tabs__arrow { border: 0; background: transparent; color: var(--poad-fg-muted); cursor: pointer; padding: 0 4px; display: grid; place-items: center; }
|
|
33
|
+
.poad-tabs .poad-tabs__arrow:hover { color: var(--poad-fg); }
|
|
34
|
+
.poad-tabs .poad-tabs__panel { padding-top: 12px; outline: none; }
|
|
35
|
+
/* variante pill */
|
|
36
|
+
.poad-tabs.var-pill .poad-tabs__bar { border-bottom: 0; }
|
|
37
|
+
.poad-tabs.var-pill .poad-tabs__list { gap: 4px; padding: 3px; background: var(--poad-bg-subtle); border: 1px solid var(--poad-border); border-radius: var(--poad-radius); flex: 0 1 auto; }
|
|
38
|
+
.poad-tabs.var-pill .poad-tabs__list > [role="tab"] { height: 26px; border-radius: 6px; padding: 0 10px; }
|
|
39
|
+
.poad-tabs.var-pill .poad-tabs__list > [role="tab"].is-active { background: var(--poad-surface); color: var(--poad-fg); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
|
|
40
|
+
.poad-tabs.var-pill .poad-tabs__list > [role="tab"].is-active::after { display: none; }
|
|
41
|
+
.poad-tabs.var-pill .poad-tabs__list > [role="tab"].is-active .poad-tabs__count { background: var(--poad-accent-soft); color: var(--poad-accent); }
|
|
42
|
+
/* variante enclosed */
|
|
43
|
+
.poad-tabs.var-enclosed .poad-tabs__list > [role="tab"] { border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; }
|
|
44
|
+
.poad-tabs.var-enclosed .poad-tabs__list > [role="tab"].is-active { background: var(--poad-surface); border-color: var(--poad-border); color: var(--poad-fg); }
|
|
45
|
+
.poad-tabs.var-enclosed .poad-tabs__list > [role="tab"].is-active::after { display: none; }
|