TVA par défaut à 10 %, corrige le Montant TTC illisible

- TVA par défaut passe de 0 % à 10 % (taux intermédiaire) pour une
  nouvelle ligne -- la plupart des lignes saisies portent effectivement
  de la TVA.
- Montant TTC (désactivé) était illisible : Chromium affiche le texte
  d'un champ disabled via -webkit-text-fill-color plutôt que color,
  qui restait sur son gris par défaut du navigateur -- quasi invisible
  sur le fond gris de --flform-bg-subtle en mode sombre. Fixé
  explicitement sur les deux thèmes.
This commit is contained in:
2026-09-07 12:01:33 +02:00
parent 5aa00b2ffd
commit f0927bac88
4 changed files with 18 additions and 8 deletions
@@ -148,10 +148,16 @@ html.gin--dark-mode .figli-ledger-form {
figli_compta_ledger_node_presave()) -- a faint fill and full opacity
(overriding the browser's default half-transparent disabled look,
which would make the computed number harder to read) instead of the
plain white/transparent of an editable field. */
plain white/transparent of an editable field. -webkit-text-fill-color
specifically: Chromium renders disabled/autofilled input text through
this property instead of `color` -- left alone, it defaults to a
fixed grey that's illegible against either theme's --flform-bg-subtle
(near-invisible dark-grey-on-dark-grey in dark mode, the actual bug
reported; same risk in light mode against a light fill). */
.figli-ledger-form input:disabled.form-element {
background: var(--flform-bg-subtle);
color: var(--flform-text);
-webkit-text-fill-color: var(--flform-text);
opacity: 1;
cursor: default;
}