Agenda 0.2

Limite la largeur des événements dans les colonnes
Encadre le jour courant d'un filet de la même couleur que la date
This commit is contained in:
Fred Tempez 2024-08-16 16:21:11 +02:00
parent 4a99e74e9e
commit 17b768e9c3
2 changed files with 16 additions and 4 deletions

View File

@ -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]);
}

View File

@ -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 {