DIvers rework de CSS/LESS et améliorations de messages/layout

This commit is contained in:
2026-05-03 20:20:30 +02:00
parent 4f8735f86f
commit 267f992874
113 changed files with 11565 additions and 843 deletions
+6 -9
View File
@@ -8,23 +8,20 @@
</div>
</header>
<section class="sheet-card summary-card">
<div class="field-row"><label>Tradition</label><input name="system.tradition" type="text" value="{{system.tradition}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>Compétence</label><input name="system.skillKey" type="text" value="{{system.skillKey}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>Polarité</label><input name="system.polarity" type="text" value="{{system.polarity}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>Tradition</label><select name="system.tradition" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.spellTraditionOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.tradition)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
<div class="field-row"><label>Compétence</label><select name="system.skillKey" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.spellSkillOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.skillKey)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
<div class="field-row"><label>Polarité</label><select name="system.polarity" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.polarityOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.polarity)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.cout"}}</label><input name="system.cost" type="number" value="{{system.cost}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.preparation"}}</label><input name="system.preparation" type="text" value="{{system.preparation}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.duree"}}</label><input name="system.duration" type="text" value="{{system.duration}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.portee"}}</label><input name="system.range" type="text" value="{{system.range}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.aire"}}</label><input name="system.area" type="text" value="{{system.area}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.cumul"}}</label><input name="system.stacking" type="text" value="{{system.stacking}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<p><strong>{{localize "LESOUBLIES.labels.domaines}} :</strong> {{join system.requiredDomains}}</p>
<p><strong>Arts requis :</strong> {{join system.artsDomains}}</p>
<p><strong>Tags :</strong> {{join system.ruleTags}}</p>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.cumul"}}</label><select name="system.stacking" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.stackingOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.stacking)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
</section>
<section class="sheet-card notes-card">
<h2>{{localize "LESOUBLIES.labels.description"}}</h2>
{{editor system.description target="system.description" button=true editable=isEditMode}}
{{formInput systemFields.description enriched=enriched.description value=system.description name="system.description" toggled=true}}
<h2>Effets</h2>
{{editor system.effectsText target="system.effectsText" button=true editable=isEditMode}}
{{formInput systemFields.effectsText enriched=enriched.effectsText value=system.effectsText name="system.effectsText" toggled=true}}
</section>
</section>