Badge TVA non officielle plus visible : gros liseret rouge sous le montant
Le point ambre discret n'était pas assez visible. Remplacé par un border-bottom épais (3px, rouge) directement sur la cellule TVA -- lisible d'un coup d'œil sans avoir besoin de place horizontale supplémentaire, contrairement à un badge texte/icône dans une colonne de 3,5% de large.
This commit is contained in:
@@ -476,19 +476,15 @@ html.gin--dark-mode #figli-home-app {
|
||||
#figli-home-app .amount.figli-tva-col {
|
||||
width: 3.5%;
|
||||
}
|
||||
/* Non-official TVA rate marker -- a plain dot rather than a text badge
|
||||
(e.g. "non officiel"): the column is only ~3.5% wide, barely enough
|
||||
for "12,64 %" itself, so anything wider than a few px would overflow
|
||||
into the next column. Tooltip (title attribute in the twig template)
|
||||
carries the actual explanation. */
|
||||
#figli-home-app .figli-tva-badge {
|
||||
display: inline-block;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin-left: 3px;
|
||||
border-radius: 50%;
|
||||
background: var(--figli-warning);
|
||||
vertical-align: middle;
|
||||
/* Non-official TVA rate marker -- a thick red underline on the cell
|
||||
itself rather than a small badge/dot (tried first, not visible
|
||||
enough): the column is only ~3.5% wide, barely enough for
|
||||
"12,64 %" itself, so a border under the whole cell reads clearly at
|
||||
a glance without needing extra horizontal room a text/icon badge
|
||||
would need. Tooltip (title attribute in the twig template) carries
|
||||
the actual explanation. */
|
||||
#figli-home-app td.figli-tva-nonofficial {
|
||||
border-bottom: 3px solid var(--figli-error);
|
||||
}
|
||||
#figli-home-app .amount.compte-col {
|
||||
width: 4.3%;
|
||||
|
||||
Reference in New Issue
Block a user