refacto: styles externalisés dans .less, plus d'inline styles
- style='width: X%' → style='--pct: X' dans templates et JS - CSS calc(var(--pct) * 1%) dans les fichiers .less correspondants - Création de styles/action-complexe.less - Import action-complexe.less dans fvtt-hamalron.less - style='width: 100%' → class='tension-select' dans tarot-deck-manager - Ajout .tension-select dans tarot-deck-manager.less - Suppression doublon .initiative-roll dans chat.less
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<div class="action-progress">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" style="width: {{pct}}%"></div>
|
||||
<div class="progress-fill" style="--pct: {{pct}}"></div>
|
||||
</div>
|
||||
<span class="progress-text">{{currentSuccesses}} / {{resistance}}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user