Color and bold Montant HT to distinguish entrées from sorties
Single anchor per row -- Montant TTC and the 8 compte columns stay neutral, so the table doesn't turn into a red/green garland. No 0.5€ threshold like soldeClass (used for aggregate totals): individual lines are often small (a -1.07€ OVH renewal shouldn't read as "neutral"), any nonzero sign gets colored. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -153,6 +153,18 @@ html.gin--dark-mode #figli-home-app {
|
||||
color: var(--figli-error);
|
||||
}
|
||||
|
||||
/* Single colored + bold anchor per row (Montant HT only) so entrées vs
|
||||
sorties are scannable at a glance -- everything else in the row (TTC,
|
||||
the 8 compte columns) stays neutral, not a red/green garland. */
|
||||
#figli-home-app td.figli-montant-positif {
|
||||
color: var(--figli-positive);
|
||||
font-weight: 700;
|
||||
}
|
||||
#figli-home-app td.figli-montant-negatif {
|
||||
color: var(--figli-error);
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user