From 9e7b1699984c422bb467d300f2266137cd401a15 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 16 Oct 2024 10:30:37 +0200 Subject: [PATCH] =?UTF-8?q?calendrier=20assiduit=C3=A9:=20highlight=20sema?= =?UTF-8?q?ine=20courante=20en=20jaune?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/calendrier.j2 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/templates/calendrier.j2 b/app/templates/calendrier.j2 index d457b504e..2de68f570 100644 --- a/app/templates/calendrier.j2 +++ b/app/templates/calendrier.j2 @@ -27,6 +27,7 @@ border-radius: 12px; margin-bottom: 12px; padding: 4px; + --color-semaine-courante: yellow; } .mois { @@ -83,10 +84,14 @@ text-align: center; } .sem-courante{ - --couleur : #ee752c; - border-left: solid 3px var(--couleur); - border-right: solid 3px var(--couleur); + border-left: solid 3px var(--color-semaine-courante); + border-right: solid 3px var(--color-semaine-courante); } + div.jours:has(div.sem-courante) { + background-color: var(--color-semaine-courante); + } + + .highlight:hover{ border: solid 3px yellow; }