diff --git a/styles/simple.css b/styles/simple.css
index 4b5bb013..a2d18d65 100644
--- a/styles/simple.css
+++ b/styles/simple.css
@@ -63,15 +63,15 @@
.window-app {
font-family: CaslonAntique;
text-align: justify;
- font-size: 15px;
+ font-size: 16px;
letter-spacing: 1px;
}
/* Fonts */
-.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {font-family: "GoudyAcc"}
-.sheet nav.sheet-tabs {font-family: "GoudyAcc";}
+.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {font-family: "GoudyAcc"} /* For title, sidebar character and scene */
+.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 {
- font-family: "CaslonAntique";
+ font-family: "CaslonAntique"; /* For sheet parts */
}
.window-header{
@@ -83,7 +83,7 @@
padding: 0;
}
-.tabs .item.active, a:hover {
+.tabs .item.active, .blessures-list li ul li:first-child:hover, a:hover {
text-shadow: 1px 0px 0px #ff6600;
}
@@ -95,8 +95,7 @@
table {border: 1px solid #7a7971;}
-.grid,
-.grid-2col {
+.grid, .grid-2col {
display: grid;
grid-column: span 2 / span 2;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -420,7 +419,7 @@ nav.sheet-tabs .item:after {
padding: 0;
}
-section.sheet-body:after, section.sheet-body div:after {
+section.sheet-body:after {
content: "";
display: block;
clear: both;
@@ -463,22 +462,63 @@ section.sheet-body:after, section.sheet-body div:after {
/* Global UI elements */
/* ======================================== */
+
+h1, h2, h3, h4 {
+ font-weight: bold;
+}
+
+ul, ol {
+ margin: 0;
+ padding: 0;
+}
+ul, li {
+ list-style-type: none;
+}
+
+.sheet li {
+ margin: 0.125rem;
+ padding: 0.25rem;
+}
+.header-fields li {
+ margin: 0;
+ padding: 0;
+}
+
+.alterne-list > .list-item:hover {
+ background: rgba(100, 100, 50, 0.25);
+}
.alterne-list > .list-item:nth-child(even) {
- background-color:#7b733b29;
- background: #7b733b29;
+ background: rgba(80, 60, 0, 0.10);
}
.alterne-list > .list-item:nth-child(odd) {
- background-color: #9e856a0d;
- background: #9e856a0d;
+ background: rgb(160, 130, 100, 0.05);
}
+
+.blessures-list ul {
+ display: flex;
+}
+
+.blessures-list li {
+ flex: 1;
+ flex-basis: auto;
+}
+.blessures-list li ul li:first-child {
+ flex: 0;
+ align-items: center;
+ justify-content: center;
+ padding: 0.5rem;
+ cursor: pointer;
+}
+
.carac-label {
font-weight: bold;
}
.list-item {
- margin: 2px 2px 2px 2px;
+ margin: 0.125rem;
box-shadow: inset 0px 0px 1px #00000096;
- border-radius: 5px;
- padding: 2px 5px 0px 5px;
+ border-radius: 0.25rem;
+ padding: 0.125rem;
+ flex: 1 1 5rem;
}
.sheet-competence-img {
width: 24px;
diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html
index 76906f3a..29d3d71b 100644
--- a/templates/actor-sheet.html
+++ b/templates/actor-sheet.html
@@ -109,41 +109,41 @@
-
- {{#each data.carac as |carac key|}}
- -
- {{#if carac.isTaille}}
- {{carac.label}}
- {{else}}
- {{carac.label}}
- {{/if}}
- {{#if carac.derivee}}
-
+
+ {{#if carac.derivee}}
+
+ {{else}}
+
+
+ {{/if}}
+
+ {{/each}}
+
+ Total Caractéristiques
+ {{data.caracSum}}
+
+
-
- {{#each data.attributs as |attr key|}}
- -
- {{attr.label}} : {{attr.value}}
-
- {{/each}}
- {{#each data.sante as |point key|}}
- -
- {{point.label}} : {{point.value}} / {{point.max}}
-
- {{/each}}
-
+
+ {{#each data.attributs as |attr key|}}
+ -
+ {{attr.label}} : {{attr.value}}
+
+ {{/each}}
+ {{#each data.sante as |point key|}}
+ -
+ {{point.label}} : {{point.value}} / {{point.max}}
+
+ {{/each}}
+
@@ -155,8 +155,8 @@
-
- {{#each data.competenceByCategory.generale as |comp key|}}
+
+ {{#each data.competenceByCategory.generale as |comp key|}}
-
{{comp.name}}
@@ -165,16 +165,16 @@
+
- {{/each}}
-
+ {{/each}}
+
-
- {{#each data.competenceByCategory.particuliere as |comp key|}}
+
+ {{#each data.competenceByCategory.particuliere as |comp key|}}
-
{{comp.name}}
@@ -183,15 +183,15 @@
+
- {{/each}}
-
+ {{/each}}
+
-
- {{#each data.competenceByCategory.specialisee as |comp key|}}
+
+ {{#each data.competenceByCategory.specialisee as |comp key|}}
-
{{comp.name}}
@@ -200,18 +200,18 @@
+
- {{/each}}
-
+ {{/each}}
+
-
- {{#each data.competenceByCategory.melee as |comp key|}}
+
+ {{#each data.competenceByCategory.melee as |comp key|}}
-
{{comp.name}}
@@ -220,16 +220,16 @@
+
- {{/each}}
-
+ {{/each}}
+
-
- {{#each data.competenceByCategory.tir as |comp key|}}
+
+ {{#each data.competenceByCategory.tir as |comp key|}}
-
{{comp.name}}
@@ -238,15 +238,15 @@
+
- {{/each}}
-
+ {{/each}}
+
-
+
{{#each data.competenceByCategory.lancer as |comp key|}}
-
@@ -256,16 +256,16 @@
+
- {{/each}}
-
+ {{/each}}
+
-
- {{#each data.competenceByCategory.connaissance as |comp key|}}
+
+ {{#each data.competenceByCategory.connaissance as |comp key|}}
-
{{comp.name}}
@@ -274,15 +274,15 @@
+
- {{/each}}
-
+ {{/each}}
+
-
+
{{#each data.competenceByCategory.draconic as |comp key|}}
-
@@ -295,23 +295,22 @@
{{/each}}
-
+
-
+
-
Total XP compétences
{{data.competenceXPTotal}}
-
-
-
+
+
{{!-- Combat Tab --}}
{{!-- Compteurs/Blessures Tab --}}
-
-
- {{#each data.compteurs as |compteur key|}}
- -
- {{compteur.label}}
- {{#if compteur.isInput}}
-
- {{#if compteur.isStress}}
- Faire un jet de Stress
- {{else}}
-
- {{/if}}
-
+
-
-
Blessures Légeres :
-
+
+ {{else}}
+ {{compteur.value}}
+ {{/if}}
+
+ {{/each}}
+
+
+ {{!-- Liste de blessures --}}
+
-
Blessures Graves :
-
-
Blessure Critique :
-
+
+
Blessure Critique :
+
+
-
-
Queues:
- {{#each data.queues as |queue key|}}
+ {{!-- Queues, Souffles, Tetes, Ombre --}}
+
-
-
Souffles:
- {{#each data.souffles as |souffle key|}}
-
- {{souffle.name}}
-
+
Souffles:
+ {{#each data.souffles as |souffle key|}}
+ {{souffle.name}}
+
+ {{/each}}
- {{/each}}
-
-
-
Tetes:
- {{#each data.tetes as |tete key|}}
-
- {{tete.name}}
-
+
Tetes:
+ {{#each data.tetes as |tete key|}}
+ {{tete.name}}
+
+ {{/each}}
- {{/each}}
-
-
-
Ombres de Thanatos:
- {{#each data.ombres as |ombre key|}}
-
- {{ombre.name}}
-
+
Ombres de Thanatos:
+ {{#each data.ombres as |ombre key|}}
+ {{ombre.name}}
+
+ {{/each}}
- {{/each}}
-
+
- {{!-- hautreve Tab --}}
-
-
-
-
Sorts:
-
+ {{!-- hautreve Tab --}}
+
+
+
+
Sorts:
+
{{#each data.sorts as |mysort key|}}
-
{{mysort.name}}
@@ -485,82 +538,113 @@
{{/each}}
-
-
-
-
Sorts en Réserve:
-
+
+
+
+
Sorts en Réserve:
+
{{#each data.sortReserve as |reserve key|}}
-
{{reserve.sort.name}} - {{reserve.coord}}
{{/each}}
-
-
+
+
- {{!-- Equipment Tab --}}
-
-
Encombrement total/max : {{numberFormat data.encombrementTotal decimals=1}} / {{data.attributs.encombrement.value}}
-
-
Porté sur soi
-
- {{#each data.objets as |item id|}}
- {{#unless item.estContenu}}
- {{#if (ne item.type 'conteneur')}}
- -
-
-
{{item.name}}
- {{#if item.data.quantite}}
- {{item.data.quantite}}
- {{/if}}
-
-
- {{/if}}
- {{/unless}}
- {{/each}}
- {{#each data.conteneurs as |conteneur id|}}
- {{buildConteneur this}}
- {{/each}}
-
+ {{!-- Equipment Tab --}}
+
+
Encombrement total/max : {{numberFormat data.encombrementTotal decimals=1}} / {{data.attributs.encombrement.value}}
+
Porté sur soi
+
+ {{#each data.objets as |item id|}}
+ {{#unless item.estContenu}}
+ {{#if (ne item.type 'conteneur')}}
+ -
+
+
{{item.name}}
+ {{#if item.data.quantite}}
+ {{item.data.quantite}}
+ {{/if}}
+
+
+ {{/if}}
+ {{/unless}}
+ {{/each}}
+ {{#each data.conteneurs as |conteneur id|}}
+ {{buildConteneur this}}
+ {{/each}}
+
+
- {{!-- Biography Tab --}}
-
-
-
-
+ {{!-- Biography Tab --}}
+
+
+
+
+
+
+ Biographie :
+
+ {{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}}
-
-
-
-
- {{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}}
-
-
-
- {{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
-
+
Notes :
+
+ {{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
-
+
+