Ajoute le total en bas de chaque graph Charges structurelles par client
Ligne "Total" sous le graph principal et sous chacune des cartes par année -- somme calculée à partir des items déjà tracés (sumItems()), pas d'un champ stats séparé, pour rester cohérente par construction avec les barres affichées au-dessus.
This commit is contained in:
@@ -364,6 +364,25 @@ html.gin--dark-mode #figli-dashboard-app {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
/* Total line under an h-bar-chart (currently just Charges structurelles
|
||||
par client, main chart and each per-année card) -- separate from the
|
||||
chart component itself, plain right-aligned text matching
|
||||
.figli-hbar-value's alignment/tabular-nums so the total lines up
|
||||
visually with the bars' own value column above it. */
|
||||
#figli-dashboard-app .figli-chart-total {
|
||||
margin-top: 0.5rem;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid var(--figli-border);
|
||||
text-align: right;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
#figli-dashboard-app .figli-chart-total.is-compact {
|
||||
margin-top: 0.4rem;
|
||||
padding-top: 0.4rem;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
/* --- Year small multiples (par année, next to the all-time chart) --- */
|
||||
#figli-dashboard-app .figli-year-hbar-grid {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user