diff --git a/less/original/apps.less b/less/original/apps.less index d123b6ec..34a2d302 100644 --- a/less/original/apps.less +++ b/less/original/apps.less @@ -421,7 +421,7 @@ } .item-name { padding-left: 5px; - .modesto(); + //.modesto(); font-size: 16px; } } diff --git a/sw5e.css b/sw5e.css index 426fe368..8328f03d 100644 --- a/sw5e.css +++ b/sw5e.css @@ -461,9 +461,7 @@ } .sw5e.sheet .items-list .items-header .item-name { padding-left: 5px; - font-family: 'Russo One'; - font-size: 14px; - font-weight: 400; + font-size: 16px; } .sw5e.sheet .items-list .item-name { flex: 2; @@ -1060,9 +1058,7 @@ overflow-y: auto; } .sw5e.sheet.item { - min-height: 400px; - max-height: 95%; - min-width: 480px; + min-height: 420px; /* ----------------------------------------- */ /* Sheet Header */ /* ----------------------------------------- */ @@ -1083,7 +1079,7 @@ border: 2px solid #000; } .sw5e.sheet.item .sheet-header .item-subtitle { - flex: 0 0 100px; + flex: 0 0 80px; height: 60px; margin: 0; padding: 5px; @@ -1538,3 +1534,30 @@ max-width: 40px; text-align: right; } +input[type="number"] { + width: calc(100% - 2px); + min-width: 20px; + height: 26px; + background: rgba(0, 0, 0, 0.05); + padding: 1px 3px; + margin: 0; + color: #191813; + font-family: inherit; + font-size: inherit; + text-align: inherit; + line-height: inherit; + border: 1px solid #7a7971; + border-radius: 3px; + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; + -moz-appearance: textfield; +} +input[type="number"]:focus { + box-shadow: 0 0 5px red; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none; +} diff --git a/templates/actors/newActor/npc-sheet.html b/templates/actors/newActor/npc-sheet.html index 05672ee6..810e99f7 100644 --- a/templates/actors/newActor/npc-sheet.html +++ b/templates/actors/newActor/npc-sheet.html @@ -1,26 +1,26 @@
- {{!-- NPC Sheet Header --}} -
- -

- -

-
+ {{!-- NPC Sheet Header --}} +
+ +

+ +

+
- {{ localize "SW5E.AbbreviationCR" }} - + {{ localize "SW5E.AbbreviationCR" }} +
- +
- {{data.details.xp.value}} XP + {{data.details.xp.value}} XP
- -
- -
+
  • +

    {{ localize "SW5E.Speed" }}

    +
    + +
    +
    + +
    +
  • + + +
    - {{!-- NPC Sheet Navigation --}} - + {{!-- NPC Sheet Navigation --}} + - {{!-- NPC Sheet Body --}} -
    -
    + {{!-- NPC Sheet Body --}} +
    +
    - {{!-- Ability Scores --}} -
      - {{#each data.abilities as |ability id|}} -
    • -

      {{ability.label}}

      - -
      - {{numberFormat ability.mod decimals=0 sign=true}} - - {{{ability.icon}}} - {{numberFormat ability.save decimals=0 sign=true}} -
      -
    • - {{/each}} -
    + {{!-- Ability Scores --}} +
      + {{#each data.abilities as |ability id|}} +
    • +

      {{ability.label}}

      + +
      + {{numberFormat ability.mod decimals=0 sign=true}} + + {{{ability.icon}}} + {{numberFormat ability.save decimals=0 sign=true}} +
      +
    • + {{/each}} +
    - {{!-- Skills --}} -
      - {{#each data.skills as |skill s|}} -
    • - - {{{skill.icon}}} -

      {{skill.label}}

      - {{skill.ability}} - {{numberFormat skill.total decimals=0 sign=true}} - ({{skill.passive}}) -
    • - {{/each}} -
    + {{!-- Skills --}} +
      + {{#each data.skills as |skill s|}} +
    • + + {{{skill.icon}}} +

      {{skill.label}}

      + {{skill.ability}} + {{numberFormat skill.total decimals=0 sign=true}} + ({{skill.passive}}) +
    • + {{/each}} +
    -
    +
    - {{!-- Legendary Actions --}} -
    -
    -

    {{ localize "SW5E.LegAct" }}

    -
    - - / - -
    -
    -
    -

    {{ localize "SW5E.LegRes" }}

    -
    - - / - -
    -
    -
    -

    {{ localize "SW5E.LairAct" }}

    -
    - - -
    -
    -
    + {{!-- Legendary Actions --}} +
    +
    +

    {{ localize "SW5E.LegAct" }}

    +
    + + / + +
    +
    +
    +

    {{ localize "SW5E.LegRes" }}

    +
    + + / + +
    +
    +
    +

    {{ localize "SW5E.LairAct" }}

    +
    + + +
    +
    +
    - {{!-- Traits --}} - {{> "systems/sw5e/templates/actors/oldActor/parts/actor-traits.html"}} -
    -
    + {{!-- Traits --}} + {{> "systems/sw5e/templates/actors/oldActor/parts/actor-traits.html"}} +
    +
    - {{!-- Features Tab --}} -
    - {{> "systems/sw5e/templates/actors/oldActor/parts/actor-features.html" sections=features}} -
    + {{!-- Features Tab --}} +
    + {{> "systems/sw5e/templates/actors/oldActor/parts/actor-features.html" sections=features}} +
    - {{!-- Powerbook Tab --}} -
    - {{> "systems/sw5e/templates/actors/oldActor/parts/actor-powerbook.html"}} -
    + {{!-- Powerbook Tab --}} +
    + {{> "systems/sw5e/templates/actors/oldActor/parts/actor-powerbook.html"}} +
    - {{!-- Biography Tab --}} -
    - {{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}} -
    -
    + {{!-- Biography Tab --}} +
    + {{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}} +
    +
    \ No newline at end of file