Amélioration titre du calendrier
This commit is contained in:
parent
fa356bd7f8
commit
1cd3bdef25
@ -428,9 +428,9 @@ export class RdDCalendrier extends Application {
|
|||||||
updateDisplay() {
|
updateDisplay() {
|
||||||
let calendrier = this.fillCalendrierData();
|
let calendrier = this.fillCalendrierData();
|
||||||
// Rebuild text du calendrier
|
// Rebuild text du calendrier
|
||||||
let dateHTML = `${calendrier.jourDuMois} ${calendrier.mois.label} ${calendrier.annee} (${calendrier.mois.saison})`
|
let dateHTML = `${calendrier.jourDuMois} ${calendrier.mois.label} (${calendrier.mois.saison}) de l'année ${calendrier.annee}`
|
||||||
if (game.user.isGM) {
|
if (game.user.isGM) {
|
||||||
dateHTML = dateHTML + " - NA: " + (this.getCurrentNombreAstral() ?? "?");
|
dateHTML = dateHTML + "<br>Nombre Astral: " + (this.getCurrentNombreAstral() ?? "?");
|
||||||
}
|
}
|
||||||
for (let handle of document.getElementsByClassName("calendar-date-rdd")) {
|
for (let handle of document.getElementsByClassName("calendar-date-rdd")) {
|
||||||
handle.innerHTML = dateHTML;
|
handle.innerHTML = dateHTML;
|
||||||
|
@ -1518,7 +1518,7 @@ div.competence-column div.categorie-competence{
|
|||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
height: 84px;
|
height: 6rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
@ -1530,9 +1530,9 @@ div.competence-column div.categorie-competence{
|
|||||||
.calendar-hdr{
|
.calendar-hdr{
|
||||||
display: grid;
|
display: grid;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin: 3px;
|
margin: 0.1rem;
|
||||||
padding: 4px;
|
padding: 0.2rem;
|
||||||
height: 25px;
|
height: fit-content;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
border-bottom: 1px solid #111;
|
border-bottom: 1px solid #111;
|
||||||
@ -1544,7 +1544,6 @@ div.competence-column div.categorie-competence{
|
|||||||
color: #CCC;
|
color: #CCC;
|
||||||
opacity: 90;
|
opacity: 90;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
line-height: 1px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -1692,17 +1691,16 @@ div.competence-column div.categorie-competence{
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
color: #CCC;
|
color: #CCC;
|
||||||
}
|
}
|
||||||
.calendar-weekday{
|
.calendar-weekday {
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 1.1rem;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border-bottom: 1px solid #111;
|
|
||||||
}
|
}
|
||||||
.calendar-time{
|
.calendar-time{
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
font-size: 1.1rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
Loading…
Reference in New Issue
Block a user