Gestion d'items temporels

- Séparation des timestamp / calendrier

Les poisons/maladies/souffles/queues/rencontres/signes peuvent
être temporaires.

- Ajout de champs pour stocker les timestamps de début et fin
- définition de la durée (selon les items)
- extraction des classes spécialisées des items
- initialisation des dates de début/fin des effets temporaires à
  l'ajout d'un item temporel
- préparation de la suppression automatique
- Fix de mauvaise présentations sur les dialog d'astrologie
  et d'édition du calendrier
This commit is contained in:
2023-01-05 00:55:04 +01:00
parent 11e4ad09d3
commit 912b1d3df3
41 changed files with 1020 additions and 576 deletions

View File

@ -476,6 +476,12 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
border-width: 0;
border: 1px solid rgba(0, 0, 0, 0);
}
.img-signe-heure {
vertical-align: bottom;
max-width: 1.5rem;
max-height: 1.5rem;
border-width: 0;
}
.button-effect-img {
vertical-align: baseline;
max-width: 16px;
@ -1607,21 +1613,13 @@ div.competence-column div.categorie-competence{
.calendar-btn-edit{
grid-row: 1;
grid-column: 1;
margin: auto;
color: rgba(0, 0, 0, 0.5);
}
.astrologie-btn-edit:hover,
.calendar-btn-edit:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
.calendar-btn{
margin: auto;
:is(.astrologie-btn-edit,.calendar-btn-edit,.calendar-btn){
margin: auto;
border: 1px solid rgba(0, 0, 0, 0);
color: rgba(255, 255, 255, 0.5);
}
.calendar-btn:hover {
:is(.astrologie-btn-edit,.calendar-btn-edit,.calendar-btn):hover {
color: var(--color-controls-hover);
border: 1px solid var(--color-control-border-hover);
cursor: pointer;