From 9349e815802ed449b5d58efa282776ee86bfbd95 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 8 Jan 2023 23:21:14 +0100 Subject: [PATCH] Reformatage du calendrier --- styles/simple.css | 79 ++++++++++++++++---------------- templates/calendar-template.html | 24 ++++++---- 2 files changed, 54 insertions(+), 49 deletions(-) diff --git a/styles/simple.css b/styles/simple.css index cc7f9a5c..d3f97b21 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -1596,7 +1596,7 @@ div.competence-column div.categorie-competence{ padding-bottom: 20px; } .calendar-btn-container-left{ - width: 20%; + width: 25%; display: grid; float: left; margin: 2px; @@ -1604,7 +1604,7 @@ div.competence-column div.categorie-competence{ color: rgba(0, 0, 0, 0.5); } .calendar-btn-container-right{ - width: 20%; + width: 15%; display: grid; float: right; margin: 2px; @@ -1627,54 +1627,55 @@ div.competence-column div.categorie-competence{ } .calendar-1min{ - grid-row: 1; + grid-row: 1; grid-column: 1; + margin-left: 0.2rem; } .calendar-5min{ - grid-row: 1; + grid-row: 1; grid-column: 2; } -.calendar-10min{ - grid-row: 2; - grid-column: 1; - margin-left: 10px; -} - -.calendar-20min{ - grid-row: 2; - grid-column: 2; - margin-left: 10px; -} - -.calendar-lyre{ - grid-row: 1; - grid-column: 1; - height: fit-content; - text-align: center; - vertical-align: center; -} - -.calendar-vaisseau{ - grid-row: 1; - grid-column: 2; - height: fit-content; - text-align: center; - vertical-align: center; +.calendar-15min{ + grid-row: 1; + grid-column: 3; + margin-right: 0.2rem; } .calendar-30min{ - grid-row: 2; + grid-row: 2; grid-column: 1; - height: fit-content; - text-align: center; - vertical-align: center; + margin-left: 0.2rem; +} + +.calendar-60min{ + grid-row: 2; + grid-column: 2; } .calendar-1heure{ - grid-row: 2; - grid-column: 2; - height: fit-content; - text-align: center; - vertical-align: center; + grid-row: 2; + grid-column: 3; + margin-right: 0.2rem; +} + +.calendar-lyre{ + grid-row: 1; + grid-column: 1; + margin-left: 0.2rem; + margin-right: 0.2rem; +} + +.calendar-vaisseau{ + grid-row: 2; + grid-column: 1; + margin-left: 0.2rem; + margin-right: 0.2rem; +} +.img-calendar-forward{ + color: rgba(255, 255, 255, 0.5); + vertical-align: bottom; + max-width: 1.2em; + max-height: 1.2em; + border-width: 0; } .calendar-btn-container-left:hover{ diff --git a/templates/calendar-template.html b/templates/calendar-template.html index 8a72183f..00c21972 100644 --- a/templates/calendar-template.html +++ b/templates/calendar-template.html @@ -1,8 +1,8 @@
{{#if isGM}} - - + + {{/if}}

{{jourDuMois}} {{mois.label}} ({{mois.saison}})

@@ -10,10 +10,12 @@
{{#if isGM}}
- - - - + +1 + +5 + +15 + +30 + +60 + +1h
{{else}}
@@ -30,10 +32,12 @@
{{#if isGM}}
- - - - + + Avancer à Lyre + + + Avancer au Vaisseau +
{{/if}}