10.6.2 #611

Merged
uberwald merged 7 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2023-01-18 08:40:41 +01:00
2 changed files with 13 additions and 2 deletions
Showing only changes of commit f7595a1bfe - Show all commits

View File

@ -391,6 +391,13 @@ table {border: 1px solid #7a7971;}
justify-content: center;
text-align: center;
}
span.equipement-detail-buttons {
margin: 0;
flex-grow: 1.5;
align-items: center;
justify-content: center;
text-align: center;
}
.equipement-button {
margin: 0;
flex-grow: 0.5;
@ -812,15 +819,19 @@ input:is(.number,.number-x,.number-x2,.number-x3,.number-x4,.number-x5) {
}
:is(input,select).number-x {
max-width: 1.4rem;
min-width: 1rem;
}
:is(input,select).number-x2 {
max-width: 2.4rem;
min-width: 2rem;
}
:is(input,select).number-x3 {
max-width: 3.4rem;
min-width: 3rem;
}
:is(input,select).number-x4 {
max-width: 4.4rem;
min-width: 4rem;
}
:is(input,select).number-x5 {
max-width: 4.4rem;

View File

@ -13,13 +13,13 @@
</a>
</span>
{{#unless item.parent.system.illimite}}
<span class="equipement-detail flexrow">
<span class="equipement-detail-buttons flexrow">
{{#unless (or (eq item.type 'service') (and (eq item.type 'conteneur') (not vide)))}}
{{#if options.isOwner}}
<a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a>
{{/if}}
<input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number"
class="item-quantite" name="items[{{item._id}}].system.quantite"
class="item-quantite number-x3" name="items[{{item._id}}].system.quantite"
value="{{item.system.quantite}}" />
{{#if options.isOwner}}
<a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a>