From 17b768e9c30fb1c6ad8b39672ea6ad5e89302c9e Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 16 Aug 2024 16:21:11 +0200 Subject: [PATCH] =?UTF-8?q?Agenda=200.2=20Limite=20la=20largeur=20des=20?= =?UTF-8?q?=C3=A9v=C3=A9nements=20dans=20les=20colonnes=20Encadre=20le=20j?= =?UTF-8?q?our=20courant=20d'un=20filet=20de=20la=20m=C3=AAme=20couleur=20?= =?UTF-8?q?que=20la=20date?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agenda/agenda.php | 5 ++++- .../vendor/animated-calendar/calendar-gc.min.css | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/agenda/agenda.php b/agenda/agenda.php index b625712..6a3e6f7 100644 --- a/agenda/agenda.php +++ b/agenda/agenda.php @@ -18,7 +18,7 @@ class agenda extends common { - const VERSION = '0.1'; + const VERSION = '0.2'; const REALNAME = 'Agenda'; const DATA_DIRECTORY = self::DATA_DIR . 'agenda/'; @@ -287,6 +287,7 @@ class agenda extends common color: red; background-color: lightgrey; font-size: 18px; + width: 90% ; } .textGreen { border-radius: 5px; @@ -294,6 +295,7 @@ class agenda extends common color: lightgreen; background-color: darkgrey; font-size: 18px; + width: 90% ; } .textOrange { padding: 2px; @@ -301,6 +303,7 @@ class agenda extends common color: orange; background-color: green; font-size: 18px; + width: 90% ; }'; $this->setData(['page', $this->getUrl(0), 'css', $cssContent]); } diff --git a/agenda/vendor/animated-calendar/calendar-gc.min.css b/agenda/vendor/animated-calendar/calendar-gc.min.css index b55097d..16e6787 100644 --- a/agenda/vendor/animated-calendar/calendar-gc.min.css +++ b/agenda/vendor/animated-calendar/calendar-gc.min.css @@ -3,8 +3,10 @@ .gc-calendar-wrapper { transform: scale(0.75); transform-origin: top left; - width: 133.33%; /* Ajuste la largeur du conteneur pour compenser le redimensionnement */ - height: auto; /* Ajuste la hauteur automatiquement */ + width: 133.33%; + /* Ajuste la largeur du conteneur pour compenser le redimensionnement */ + height: auto; + /* Ajuste la hauteur automatiquement */ } .gc-calendar { @@ -107,8 +109,15 @@ display: block; } + .gc-calendar table.calendar td .today .day-number { color: #4c6fff; + /* Début encadrement du hour courant*/ + border: solid #4c6fff; + border-radius: 5px; + margin: 1px; + width: 90%; + /* Fin encadrement du hour courant*/ } .gc-calendar table.calendar a { @@ -284,4 +293,4 @@ transform: translateX(1000px); opacity: 0; } -} +} \ No newline at end of file