diff --git a/_unfinished.html b/_unfinished.html index a222475..37ab4c9 100644 --- a/_unfinished.html +++ b/_unfinished.html @@ -154,11 +154,11 @@ {{:input type="checkbox" name="selected[]" value=$trans_id}} - #{{$trans_id}} + #{{$trans_id}} {{$trans_date|date_short}} {{$trans_label}} {{"%f"|math:$debit|money_html:false|raw}} - {{$account_code}} + {{$account_code}} {{$account_label}} {{:linkbutton diff --git a/ignore.html b/ignore.html index e396a77..96254fd 100644 --- a/ignore.html +++ b/ignore.html @@ -62,7 +62,7 @@
Écriture
-
#{{$ligne_immo.trans_id}} {{$ligne_immo.label}}
+
#{{$ligne_immo.trans_id}} {{$ligne_immo.label}}
Montant
{{"%f"|math:$ligne_immo.amount|money_currency_html:false|raw}}
diff --git a/scripts.js b/scripts.js index 7496328..babf511 100644 --- a/scripts.js +++ b/scripts.js @@ -14,14 +14,13 @@ function toggleInputs(idcb, idfields) { function toggleVisibility(idcheck, fields) { const elem = document.getElementById(idcheck); - for (let id of fields) { - const field = document.getElementById(id); + fields.forEach(function (field) { if (elem.checked) { - field.setAttribute('class', ''); + field.classList.remove('hidden'); } else { - field.setAttribute('class', 'hidden'); + field.classList.add('hidden'); } - } + }); } // fixer l'exercice des sélecteurs de compte diff --git a/style.css b/style.css index 6836da9..8998179 100644 --- a/style.css +++ b/style.css @@ -35,17 +35,15 @@ h2[class="aide"], h3[class="aide"] { } .informations dl.describe { - grid-template-columns : 20rem 1fr; + grid-template-columns : 25rem 1fr; } .informations dl.describe > dt { - flex: 0 0 15rem; margin-right: 0; white-space: nowrap; } .informations dl.describe > dd { - flex: 0 0 calc(100% - 20rem); margin-right: 0; } @@ -76,7 +74,23 @@ table.list tbody tr.ignored:nth-child(even) { font-style: italic; background: rgba(255, 255, 200, 0.5); } +html.dark table.list tbody tr.ignored:nth-child(odd) { + font-style: italic; + background: rgba(100, 100, 0, 0.4); +} +html.dark table.list tbody tr.ignored:nth-child(even) { + font-style: italic; + background: rgba(100, 100, 0, 0.4); +} html.dialog.dark { filter: none !important; } + +html.dialog.dark main { + background-color : #ddd; +} + +html.dark .block.alert { + background-color : rgba(87, 206, 235, 0.5); +}