diff --git a/styles/simple.css b/styles/simple.css index 66d8b5f8..32072afd 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -81,6 +81,7 @@ --background-custom-button: linear-gradient(to bottom, rgba(33, 55, 74, 0.988) 5%, rgba(21, 40, 51, 0.671) 100%); --background-custom-button-hover: linear-gradient(to bottom, rgb(128, 0, 0) 5%, rgb(62, 1, 1) 100%); --background-tooltip: rgba(220,220,210,0.95); + --background-error:hsla(16, 100%, 50%, 0.8); } /*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/ @@ -364,9 +365,21 @@ table {border: 1px solid #7a7971;} justify-content: center; text-align: left; } +.equipement-valeur { + margin: 0; + flex-grow: 1.5; + text-align: center; +} .equipement-detail { margin: 0; - flex: 'flex-shrink' ; + flex-grow: 1; + align-items: center; + justify-content: center; + text-align: center; +} +.equipement-button { + margin: 0; + flex-grow: 0.5; align-items: center; justify-content: center; text-align: center; @@ -879,6 +892,11 @@ ul, li { background: rgb(160, 130, 100, 0.05); } +input.attribute-value.field-error , +.list-item span.field-error { + background-color: var(--background-error); +} + ul.chat-list { margin-left: 0.8rem; list-style: inside; diff --git a/templates/actor/inventaire-monnaie.html b/templates/actor/inventaire-monnaie.html index 31498b52..f763d057 100644 --- a/templates/actor/inventaire-monnaie.html +++ b/templates/actor/inventaire-monnaie.html @@ -4,13 +4,16 @@
  • {{piece.name}} - + + ({{piece.system.cout}} Sols) + + {{piece.system.quantite}} - + diff --git a/templates/item/partial-inventaire.html b/templates/item/partial-inventaire.html index b05413fb..a8c8a5d6 100644 --- a/templates/item/partial-inventaire.html +++ b/templates/item/partial-inventaire.html @@ -14,7 +14,12 @@ {{#unless (isFieldInventaireModifiable type 'quantite')}}disabled{{/unless}}/>
    - + + {{#if (or (ne type 'monnaie') (gt system.cout 0))}} + {{else}} + + {{/if}}