diff --git a/web/modules/custom/figli_compta_ledger/css/home.css b/web/modules/custom/figli_compta_ledger/css/home.css index 0ea1214..9572f6e 100644 --- a/web/modules/custom/figli_compta_ledger/css/home.css +++ b/web/modules/custom/figli_compta_ledger/css/home.css @@ -267,29 +267,14 @@ html.gin--dark-mode #figli-home-app { font-weight: 700; } -/* Error rows: a thin red outline around the row, not a background fill -- - easier to read, doesn't fight with dark mode. */ -#figli-home-app tr.figli-error-row td { - border-top: 1px solid var(--figli-error); - border-bottom: 1px solid var(--figli-error); -} -#figli-home-app tr.figli-error-row td:first-child { - border-left: 1px solid var(--figli-error); -} -#figli-home-app tr.figli-error-row td:last-child { - border-right: 1px solid var(--figli-error); -} - +/* Écart is called out by the Écart column itself (bold red, see + .figli-ecart below) -- no separate row-level treatment needed. */ #figli-home-app td.figli-ecart { color: var(--figli-error); font-weight: 700; } -/* Signalé rows: a thick amber accent bar on the left edge, deliberately - a different technique from the error row's thin all-around border - above (box-shadow, not border) -- so a row that's both in écart *and* - signalée shows both indicators at once instead of one overwriting the - other's border-left. */ +/* Signalé rows: a thick amber accent bar on the left edge. */ #figli-home-app tr.figli-flag-row td:first-child { box-shadow: inset 4px 0 0 var(--figli-warning); } @@ -403,8 +388,7 @@ html.gin--dark-mode #figli-home-app { table cell breaks the table's own column-width calculation (observed: a ~55px gap opening up between this column and the next, and the buttons rendering outside their cell's actual boundary). */ -#figli-home-app .figli-edit-btn, -#figli-home-app .figli-link-btn { +#figli-home-app .figli-edit-btn { display: inline-flex; align-items: center; justify-content: center; @@ -419,17 +403,12 @@ html.gin--dark-mode #figli-home-app { vertical-align: middle; } -#figli-home-app .figli-edit-btn:hover, -#figli-home-app .figli-link-btn:hover { +#figli-home-app .figli-edit-btn:hover { background: var(--figli-bg-alt); border-color: var(--figli-border); color: var(--figli-text); } -#figli-home-app .figli-link-btn.is-linked { - color: #3b6fe0; -} - /* Reconciliation badge on entrée rows: répartition (money owed) vs the combined répartition of every linked sortie (money actually paid out). */ #figli-home-app .figli-recon-badge { diff --git a/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig b/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig index 56ce587..8a9429e 100644 --- a/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig +++ b/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig @@ -106,7 +106,6 @@
| Date | Client | @@ -122,30 +121,15 @@||
|---|---|---|---|
| + | Chargement des mois précédents… | ||
| {{ item.label }} ({{ item.count }} lignes) | +{{ item.label }} ({{ item.count }} lignes) | ||
| - - | +|||