petite amélioration cosmétique

FossilOrigin-Name: ecd15c4fa074ff5c85aa828c58b9cafcd1e10cdd62389759e2f421fb38b047c9
This commit is contained in:
engel 2022-03-30 07:52:41 +00:00
parent 1d6225ae6d
commit e509995c13
3 changed files with 12 additions and 2 deletions

View File

@ -22,10 +22,20 @@ span.montant {
width : 5em; width : 5em;
text-align : right; text-align : right;
} }
span.total
{
font-weight : bold;
}
summary.activite { summary.activite {
background: rgba(var(--gMainColor), 0.25); background: rgba(var(--gMainColor), 0.25);
margin-bottom : 0.5em;
}
summary.personne
{
margin-bottom : 0.5em;
} }
h3.personne, h4.personne { h3.personne, h4.personne {
font-weight : normal;
background: rgba(var(--gSecondColor), 0.15); background: rgba(var(--gSecondColor), 0.15);
} }
#signature #signature

View File

@ -100,7 +100,7 @@ $tpl->register_function('afficher_debut_personne', function ($params)
$idVersement = $versement->idTarif . "_" . $versement->idUser; $idVersement = $versement->idTarif . "_" . $versement->idUser;
$out = '<details class="personne" open="open"> $out = '<details class="personne" open="open">
<summary class="personne">'; <summary class="personne">';
$out .= sprintf('<h4 class="personne">Versements de %s : <span id="total_%s">0,00 €</span></h>', $out .= sprintf('<h4 class="personne">Versements de %s : <span class="total" id="total_%s">0,00 €</span></h>',
$personne->nomPrenom, $personne->nomPrenom,
$idVersement); $idVersement);
$out .= '</summary>'; $out .= '</summary>';

View File

@ -43,7 +43,7 @@ $tpl->register_function('afficher_debut_personne', function ($params)
$idVersement = $versement->idUser; $idVersement = $versement->idUser;
$out = '<details class="personne" open="open"> $out = '<details class="personne" open="open">
<summary class="personne">'; <summary class="personne">';
$out .= sprintf('<h4 class="personne">Versements de %s : <span id="total_%s">0,00 €</span></h4>', $out .= sprintf('<h4 class="personne">Versements de %s : <span class="total" id="total_%s">0,00 €</span></h4>',
$personne->nomPrenom, $personne->nomPrenom,
$idVersement); $idVersement);
$out .= '</summary>'; $out .= '</summary>';