Simplification des feuilles de créatures

* Homogénisation des fiches de créatures / entités
* Regroupement d'onglets (peu de compétences/caracs)
* ajout du bouton vue détaillée/simplifiée pour toutes les feuilles
* la santé des créatures est dans l'en-tête
* bouton pour boire pour els personnages
* agrandissement des caractéristiques dérivées
This commit is contained in:
Vincent Vandemeulebrouck
2022-10-05 19:29:16 +02:00
parent 5410dd6ec0
commit d8d5a20904
32 changed files with 520 additions and 783 deletions

View File

@ -93,7 +93,7 @@
.sheet nav.sheet-tabs {
font-family: "CaslonAntique";
} /* For nav and title */
.window-app input, .foundryvtt-reve-de-dragon .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
.window-app input, .foundryvtt-reve-de-dragon .item-form, .sheet header.sheet-header .flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
font-family: "CaslonAntique"; /* For sheet parts */
}
@ -332,9 +332,9 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
}
.button-img {
vertical-align: baseline;
width: 8%;
height: 8%;
max-height: 48px;
width: 32px;
height: 32px;
max-height: 36px;
border-width: 0;
border: 1px solid rgba(0, 0, 0, 0);
}
@ -409,10 +409,11 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
flex-wrap: nowrap;
justify-content: stretch;
}
.rdd.sheet .window-content .sheet-body .carac-list .caracteristique.vehicle {
.rdd.sheet .window-content .sheet-body .carac-list .caracteristique.streched {
flex-wrap: nowrap;
justify-content: stretch;
flex-basis: 7.5em;
width: max-content;
}
.rdd.sheet .window-content .sheet-body .carac-list .caracteristique > .carac-label {
@ -638,7 +639,14 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
margin: 0.5rem 0 0.5rem 0.5rem;
padding: 0;
}
.sheet header.sheet-header h1 {
flex: 3;
}
.sheet header.sheet-header img.button-img{
height: 48px;
padding: 1px;
margin: 1px;
}
.sheet nav.sheet-tabs {
font-size: 0.65rem;
font-weight: bold;
@ -680,9 +688,13 @@ section.sheet-body:after {
clear: both;
}
.sheet header.sheet-header .flex-compteurs {text-align: right;}
.sheet header.sheet-header .flex-compteurs { text-align: right; max-width: max-content;}
.sheet header.sheet-header .resource-content {width: 2rem;}
li label.compteur {
display: inline-block;
flex-direction: row;
}
.compteur span {
display: inline-block;
text-align: left;