diff --git a/styles/simple.css b/styles/simple.css index 65e9d41b..234f1d7e 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -771,11 +771,41 @@ div.placeholder-resolution span.table-proba-reussite{ input[type="date"], input[type="time"]) { color: rgba(255, 255, 255, 0.75); - background: rgba(255, 255, 255, 0.05); + background: rgba(255, 255, 255, 0.1); border: 0 none; margin-bottom: 0.2rem; } +input[type="number"] { + text-align: right; + padding-right: 0.5rem; + max-width: 7rem; +} + +select:is(.number-x,.number-x2,.number-x3,.number-x4,.number-x5) { + padding-right: 0.2rem; + text-align: center; +} +input:is(.number,.number-x,.number-x2,.number-x3,.number-x4,.number-x5) { + padding-right: 0.2rem; + text-align: right; +} +:is(input,select).number-x { + max-width: 1.4rem; +} +:is(input,select).number-x2 { + max-width: 2.4rem; +} +:is(input,select).number-x3 { + max-width: 3.4rem; +} +:is(input,select).number-x4 { + max-width: 4.4rem; +} +:is(input,select).number-x5 { + max-width: 4.4rem; +} + form.rdddialogchrono input[type=datetime-local] { min-width: 20px; padding: 0; diff --git a/templates/dialog-item-achat.html b/templates/dialog-item-achat.html index ade170ef..df8581a7 100644 --- a/templates/dialog-item-achat.html +++ b/templates/dialog-item-achat.html @@ -40,7 +40,7 @@ {{else}}Quantité{{/if}}