diff --git a/src/module/actor/actor-sheet.ts b/src/module/actor/actor-sheet.ts index 4b2c69d..51eb9e6 100644 --- a/src/module/actor/actor-sheet.ts +++ b/src/module/actor/actor-sheet.ts @@ -131,7 +131,7 @@ export class DS4ActorSheet extends ActorSheet r["checked"]); diff --git a/src/scss/components/_items.scss b/src/scss/components/_items.scss index 01358b7..4dd97f7 100644 --- a/src/scss/components/_items.scss +++ b/src/scss/components/_items.scss @@ -1,3 +1,5 @@ +@use "sass:color"; + .items-list { list-style: none; margin: 7px 0; @@ -52,6 +54,9 @@ width: 2.5em; padding: 0; } + .item-num-val:invalid { + background-color: color.mix(lightcoral, $c-light-grey, 25%); + } .item-description { font-size: 75%; diff --git a/src/templates/actor/partials/items-overview.hbs b/src/templates/actor/partials/items-overview.hbs index dac9943..0cc57fa 100644 --- a/src/templates/actor/partials/items-overview.hbs +++ b/src/templates/actor/partials/items-overview.hbs @@ -84,7 +84,7 @@ {{!-- amount --}} - {{!-- name --}}
- +
diff --git a/src/templates/item/partials/details.hbs b/src/templates/item/partials/details.hbs index 0e57a78..d4cfb91 100644 --- a/src/templates/item/partials/details.hbs +++ b/src/templates/item/partials/details.hbs @@ -4,7 +4,7 @@
- +