Taille Quantité dans commerces
Agrandissement pour mieux afficher jusqu'à 4 chiffres au cas en cas d'objets en grande quantité, avec d'autres limités
This commit is contained in:
parent
86feb12811
commit
f7595a1bfe
@ -391,6 +391,13 @@ table {border: 1px solid #7a7971;}
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: 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 {
|
.equipement-button {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
flex-grow: 0.5;
|
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 {
|
:is(input,select).number-x {
|
||||||
max-width: 1.4rem;
|
max-width: 1.4rem;
|
||||||
|
min-width: 1rem;
|
||||||
}
|
}
|
||||||
:is(input,select).number-x2 {
|
:is(input,select).number-x2 {
|
||||||
max-width: 2.4rem;
|
max-width: 2.4rem;
|
||||||
|
min-width: 2rem;
|
||||||
}
|
}
|
||||||
:is(input,select).number-x3 {
|
:is(input,select).number-x3 {
|
||||||
max-width: 3.4rem;
|
max-width: 3.4rem;
|
||||||
|
min-width: 3rem;
|
||||||
}
|
}
|
||||||
:is(input,select).number-x4 {
|
:is(input,select).number-x4 {
|
||||||
max-width: 4.4rem;
|
max-width: 4.4rem;
|
||||||
|
min-width: 4rem;
|
||||||
}
|
}
|
||||||
:is(input,select).number-x5 {
|
:is(input,select).number-x5 {
|
||||||
max-width: 4.4rem;
|
max-width: 4.4rem;
|
||||||
|
@ -13,13 +13,13 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
{{#unless item.parent.system.illimite}}
|
{{#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)))}}
|
{{#unless (or (eq item.type 'service') (and (eq item.type 'conteneur') (not vide)))}}
|
||||||
{{#if options.isOwner}}
|
{{#if options.isOwner}}
|
||||||
<a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a>
|
<a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number"
|
<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}}" />
|
value="{{item.system.quantite}}" />
|
||||||
{{#if options.isOwner}}
|
{{#if options.isOwner}}
|
||||||
<a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a>
|
<a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a>
|
||||||
|
Loading…
Reference in New Issue
Block a user