diff options
| author | polo <ordipolo@gmx.fr> | 2025-06-16 23:57:16 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-06-16 23:57:16 +0200 |
| commit | 04f4440a77be75f8d270fe1fed69e8e4b1a32483 (patch) | |
| tree | 4237326fe700edafe176465d846d44ff617a2d7a | |
| parent | 132d5516cb84e05701797c7a969f824e6f0b5f4c (diff) | |
| download | fullcalendar-04f4440a77be75f8d270fe1fed69e8e4b1a32483.tar.gz fullcalendar-04f4440a77be75f8d270fe1fed69e8e4b1a32483.tar.bz2 fullcalendar-04f4440a77be75f8d270fe1fed69e8e4b1a32483.zip | |
fichier css
| -rw-r--r-- | public/css/calendar.css | 44 | ||||
| -rw-r--r-- | public/index.html | 49 |
2 files changed, 46 insertions, 47 deletions
diff --git a/public/css/calendar.css b/public/css/calendar.css new file mode 100644 index 0000000..035118a --- /dev/null +++ b/public/css/calendar.css | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | #calendar_zone{ | ||
| 2 | display: flex; | ||
| 3 | max-width: 1000px; | ||
| 4 | } | ||
| 5 | #calendar{ | ||
| 6 | width: -moz-available; | ||
| 7 | } | ||
| 8 | .event_title_box{ | ||
| 9 | display: flex; | ||
| 10 | align-items: center; | ||
| 11 | justify-content: space-between; | ||
| 12 | } | ||
| 13 | .event_close_button{ | ||
| 14 | height: fit-content; | ||
| 15 | } | ||
| 16 | .fc-toolbar-title{ | ||
| 17 | font-size: x-large !important; | ||
| 18 | } | ||
| 19 | .fc-button{ | ||
| 20 | padding: 0.2em 0.4em !important; | ||
| 21 | } | ||
| 22 | td .fc-timegrid-axis{ | ||
| 23 | font-size: small; | ||
| 24 | text-align: center; | ||
| 25 | } | ||
| 26 | .fc-day-other{ | ||
| 27 | background-color: #f0f0f0; | ||
| 28 | } | ||
| 29 | .fc-daygrid-day-top{ | ||
| 30 | justify-content: center; | ||
| 31 | } | ||
| 32 | .fc-day-today .fc-daygrid-day-number{ /* vue mois */ | ||
| 33 | color: white; | ||
| 34 | background-color: #00679e; | ||
| 35 | border-radius: 5px; | ||
| 36 | height: 27px; | ||
| 37 | aspect-ratio: 1 / 1; | ||
| 38 | text-align: center; | ||
| 39 | } | ||
| 40 | .fc-day-today .fc-col-header-cell-cushion{ /* vue semaine */ | ||
| 41 | color: white; | ||
| 42 | background-color: #00679e; | ||
| 43 | border-radius: 5px; | ||
| 44 | } \ No newline at end of file | ||
diff --git a/public/index.html b/public/index.html index 6f14651..bdd7f67 100644 --- a/public/index.html +++ b/public/index.html | |||
| @@ -3,60 +3,15 @@ | |||
| 3 | <head> | 3 | <head> |
| 4 | <meta charset="utf-8" /> | 4 | <meta charset="utf-8" /> |
| 5 | <title>fullcalendar</title> | 5 | <title>fullcalendar</title> |
| 6 | <link rel="stylesheet" href="css/calendar.css"> | ||
| 7 | <!-- <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/fullcalendar/main.min.css' /> --> | ||
| 6 | <script src='js/fullcalendar/packages/core/index.global.min.js'></script> | 8 | <script src='js/fullcalendar/packages/core/index.global.min.js'></script> |
| 7 | <script src='js/fullcalendar/packages/daygrid/index.global.min.js'></script> | 9 | <script src='js/fullcalendar/packages/daygrid/index.global.min.js'></script> |
| 8 | <script src='js/fullcalendar/packages/timegrid/index.global.min.js'></script> | 10 | <script src='js/fullcalendar/packages/timegrid/index.global.min.js'></script> |
| 9 | <script src='js/fullcalendar/packages/list/index.global.min.js'></script> | 11 | <script src='js/fullcalendar/packages/list/index.global.min.js'></script> |
| 10 | <script src='js/fullcalendar/packages/interaction/index.global.min.js'></script> | 12 | <script src='js/fullcalendar/packages/interaction/index.global.min.js'></script> |
| 11 | <script src='js/fullcalendar/packages/core/locales/fr.global.min.js'></script> | 13 | <script src='js/fullcalendar/packages/core/locales/fr.global.min.js'></script> |
| 12 | <!-- <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/fullcalendar/main.min.css' /> --> | ||
| 13 | <script src="js/calendar.js"></script> | 14 | <script src="js/calendar.js"></script> |
| 14 | <style> | ||
| 15 | #calendar_zone{ | ||
| 16 | display: flex; | ||
| 17 | max-width: 1000px; | ||
| 18 | } | ||
| 19 | #calendar{ | ||
| 20 | width: -moz-available; | ||
| 21 | } | ||
| 22 | .event_title_box{ | ||
| 23 | display: flex; | ||
| 24 | align-items: center; | ||
| 25 | justify-content: space-between; | ||
| 26 | } | ||
| 27 | .event_close_button{ | ||
| 28 | height: fit-content; | ||
| 29 | } | ||
| 30 | .fc-toolbar-title{ | ||
| 31 | font-size: x-large !important; | ||
| 32 | } | ||
| 33 | .fc-button{ | ||
| 34 | padding: 0.2em 0.4em !important; | ||
| 35 | } | ||
| 36 | td .fc-timegrid-axis{ | ||
| 37 | font-size: small; | ||
| 38 | text-align: center; | ||
| 39 | } | ||
| 40 | .fc-day-other{ | ||
| 41 | background-color: #f0f0f0; | ||
| 42 | } | ||
| 43 | .fc-daygrid-day-top{ | ||
| 44 | justify-content: center; | ||
| 45 | } | ||
| 46 | .fc-day-today .fc-daygrid-day-number{ /* vue mois */ | ||
| 47 | color: white; | ||
| 48 | background-color: #00679e; | ||
| 49 | border-radius: 5px; | ||
| 50 | height: 27px; | ||
| 51 | aspect-ratio: 1 / 1; | ||
| 52 | text-align: center; | ||
| 53 | } | ||
| 54 | .fc-day-today .fc-col-header-cell-cushion{ /* vue semaine */ | ||
| 55 | color: white; | ||
| 56 | background-color: #00679e; | ||
| 57 | border-radius: 5px; | ||
| 58 | } | ||
| 59 | </style> | ||
| 60 | </head> | 15 | </head> |
| 61 | 16 | ||
| 62 | <body> | 17 | <body> |
