diff --git a/Apps/HeroSummaryCardV1/content.hbs b/Apps/HeroSummaryCardV1/content.hbs index 4103adb..9b07e8c 100644 --- a/Apps/HeroSummaryCardV1/content.hbs +++ b/Apps/HeroSummaryCardV1/content.hbs @@ -23,7 +23,11 @@ {{!-- * Fate & Advancement --}}
- {{rc-options fate.selected fate.options localize=true}}
@@ -40,7 +44,9 @@ {{else}} {{ability.value}} diff --git a/Apps/HeroSummaryCardV1/style.css b/Apps/HeroSummaryCardV1/style.css index 0d17cd0..833e76e 100644 --- a/Apps/HeroSummaryCardV1/style.css +++ b/Apps/HeroSummaryCardV1/style.css @@ -85,8 +85,10 @@ border-radius: 50%; font-size: 1.5rem; - > input { - width: 75%; + > .value { + background: none; + width: 70%; + text-align: center; } } } diff --git a/Apps/common.css b/Apps/common.css index e85c82b..a1da70a 100644 --- a/Apps/common.css +++ b/Apps/common.css @@ -18,8 +18,10 @@ font-family: inherit; font-size: inherit; position: relative; + background: none; - &[type="text"] { + &[type="text"], + &[type="number"] { border-bottom: 2px dashed purple; } } diff --git a/langs/en-ca.json b/langs/en-ca.json index 4c8c336..0eaccc1 100644 --- a/langs/en-ca.json +++ b/langs/en-ca.json @@ -15,6 +15,12 @@ "East": "East", "South": "South", "West": "West" + }, + "ability": { + "grit": "Grit", + "gait": "Gait", + "grip": "Grip", + "glim": "Glim" } } } diff --git a/module/Apps/ActorSheets/HeroSummaryCardV1.mjs b/module/Apps/ActorSheets/HeroSummaryCardV1.mjs index 18049fc..8bf73b3 100644 --- a/module/Apps/ActorSheets/HeroSummaryCardV1.mjs +++ b/module/Apps/ActorSheets/HeroSummaryCardV1.mjs @@ -79,11 +79,11 @@ export class HeroSummaryCardV1 extends HandlebarsApplicationMixin(ActorSheetV2) { value: ctx.actor.system.ability[key] }, ), value: ctx.actor.system.ability[key], - readonly: true, + readonly: !this.isEditable, }); }; return ctx; - } + }; // #endregion // #region Actions