From 6e78553be4658f33854f51b7f73b93ea1f1e0cdd Mon Sep 17 00:00:00 2001 From: Paul Maskelyne Date: Sun, 1 Oct 2023 22:18:08 +0100 Subject: [PATCH] improve visibility of chat card properties --- i18n/en.yaml | 1 + scss/base/_tags.scss | 4 + scss/sheets/actors/_player.scss | 10 +- system/src/templates.mjs | 1 + .../actors/partials/background-selector.hbs | 58 +++--- system/templates/actors/player.hbs | 2 +- system/templates/actors/player/abilities.hbs | 5 +- .../actors/player/abilities/attacks.hbs | 52 +++--- .../actors/player/abilities/class.hbs | 12 ++ system/templates/apps/effect-panel.hbs | 106 +++++------ system/templates/apps/module-art-config.hbs | 28 +-- .../apps/shadowdarkling-importer.hbs | 40 ++--- system/templates/chat/ability-card.hbs | 18 +- system/templates/chat/item-card.hbs | 170 +++++++++--------- system/templates/chat/item/armor.hbs | 14 +- system/templates/chat/item/default.hbs | 18 +- system/templates/chat/item/potion.hbs | 14 +- system/templates/chat/item/scroll.hbs | 50 +++--- system/templates/chat/item/spell.hbs | 50 +++--- system/templates/chat/item/wand.hbs | 50 +++--- system/templates/chat/item/weapon.hbs | 26 +-- system/templates/chat/lightsource-drop.hbs | 54 +++--- .../templates/chat/lightsource-toggle-gm.hbs | 16 +- system/templates/chat/lightsource-toggle.hbs | 48 ++--- system/templates/chat/potion-used.hbs | 15 +- system/templates/chat/roll-card.hbs | 26 +-- system/templates/chat/roll-d20-card.hbs | 28 +-- system/templates/chat/roll-hp.hbs | 36 ++-- system/templates/chat/spell-learn.hbs | 11 +- system/templates/chat/welcome-message.hbs | 32 ++-- system/templates/items/item.hbs | 30 +--- system/templates/items/tabs/details.hbs | 2 +- system/templates/partials/details/armor.hbs | 10 +- system/templates/partials/details/scroll.hbs | 32 ++-- system/templates/partials/details/spell.hbs | 32 ++-- system/templates/partials/details/wand.hbs | 32 ++-- system/templates/partials/details/weapon.hbs | 10 +- 37 files changed, 614 insertions(+), 529 deletions(-) create mode 100644 system/templates/actors/player/abilities/class.hbs diff --git a/i18n/en.yaml b/i18n/en.yaml index 97bdbffd..6a9219b0 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -523,6 +523,7 @@ SHADOWDARK.sheet.player.ranged_attacks: Ranged Attacks SHADOWDARK.sheet.player.roll_initiative: Roll Initiative SHADOWDARK.sheet.player.spells_tier: Tier SHADOWDARK.sheet.player.spells: Spells +SHADOWDARK.sheet.abilities.label: Abilities SHADOWDARK.sheet.player.tab.abilities: Abilities SHADOWDARK.sheet.player.tab.background: Background SHADOWDARK.sheet.player.tab.inventory: Inventory diff --git a/scss/base/_tags.scss b/scss/base/_tags.scss index 7e52a7fd..30473118 100644 --- a/scss/base/_tags.scss +++ b/scss/base/_tags.scss @@ -38,6 +38,10 @@ $sans-serif: 'Roboto', system, -apple-system, sans-serif !default; &_secondary { background-color: var(--primary); } + + &_small { + font-size: 10px; + } } } diff --git a/scss/sheets/actors/_player.scss b/scss/sheets/actors/_player.scss index 0c60acda..75a6f44b 100644 --- a/scss/sheets/actors/_player.scss +++ b/scss/sheets/actors/_player.scss @@ -111,7 +111,7 @@ margin-bottom: 2px; } - .attacks-label { + .actions-label { @include p-reset; display: block; padding: 4px; @@ -265,11 +265,17 @@ } .fixed-header { + @include p-reset; + padding-left: 8px; + padding-right: 8px; + padding-top: 8px; + position: sticky; top: 0; + background: url("/ui/parchment.jpg") repeat; + z-index: 10; - padding: 8px; } .hit-points { diff --git a/system/src/templates.mjs b/system/src/templates.mjs index fd7b8376..a7945a7c 100644 --- a/system/src/templates.mjs +++ b/system/src/templates.mjs @@ -13,6 +13,7 @@ export default function() { "systems/shadowdark/templates/actors/player/abilities/ac.hbs", "systems/shadowdark/templates/actors/player/abilities/attacks.hbs", "systems/shadowdark/templates/actors/player/abilities/hp.hbs", + "systems/shadowdark/templates/actors/player/abilities/class.hbs", "systems/shadowdark/templates/actors/player/abilities/initiative.hbs", "systems/shadowdark/templates/actors/player/abilities/luck.hbs", "systems/shadowdark/templates/actors/player/background.hbs", diff --git a/system/templates/actors/partials/background-selector.hbs b/system/templates/actors/partials/background-selector.hbs index eaf2a0a3..2864901f 100644 --- a/system/templates/actors/partials/background-selector.hbs +++ b/system/templates/actors/partials/background-selector.hbs @@ -1,32 +1,32 @@
- - {{#if owner}} - - - - {{/if}} -
-
- {{#if config.item}} - - {{config.item.name}} - - {{else}} - - {{/if}} -
+ + {{#if owner}} + + + + {{/if}} +
+
+ {{#if config.item}} + + {{config.item.name}} + + {{else}} + + {{/if}}
+
diff --git a/system/templates/actors/player.hbs b/system/templates/actors/player.hbs index 996f07b5..b44bd8b2 100644 --- a/system/templates/actors/player.hbs +++ b/system/templates/actors/player.hbs @@ -58,8 +58,8 @@
+
-
{{> actors/player/abilities }} {{> actors/player/spells }} diff --git a/system/templates/actors/player/abilities.hbs b/system/templates/actors/player/abilities.hbs index 4fdbdba9..a2fd0b32 100644 --- a/system/templates/actors/player/abilities.hbs +++ b/system/templates/actors/player/abilities.hbs @@ -24,6 +24,9 @@ {{> actors/player/abilities/ac }} {{> actors/player/abilities/initiative }} - {{> actors/player/abilities/attacks }} +
+ {{> actors/player/abilities/attacks }} + {{> actors/player/abilities/class }} +
diff --git a/system/templates/actors/player/abilities/attacks.hbs b/system/templates/actors/player/abilities/attacks.hbs index cedc6c9e..bdf0750d 100644 --- a/system/templates/actors/player/abilities/attacks.hbs +++ b/system/templates/actors/player/abilities/attacks.hbs @@ -1,26 +1,26 @@ -
- -
    - {{#each attacks.melee as |attack|}} -
  1. - {{{attack.display}}} -
  2. - {{/each}} -
- -
    - {{#each attacks.ranged as |attack|}} -
  1. - {{{attack.display}}} -
  2. - {{/each}} -
-
+ +
    + {{#each attacks.melee as |attack|}} +
  1. + {{{attack.display}}} +
  2. + {{/each}} +
+ +
    + {{#each attacks.ranged as |attack|}} +
  1. + {{{attack.display}}} +
  2. + {{/each}} +
diff --git a/system/templates/actors/player/abilities/class.hbs b/system/templates/actors/player/abilities/class.hbs new file mode 100644 index 00000000..82b8838b --- /dev/null +++ b/system/templates/actors/player/abilities/class.hbs @@ -0,0 +1,12 @@ + +
    + {{#each classAbilities as |ability|}} +
  1. + {{{ability.name}}} +
  2. + {{/each}} +
diff --git a/system/templates/apps/effect-panel.hbs b/system/templates/apps/effect-panel.hbs index 91aee087..a4e5b0b8 100644 --- a/system/templates/apps/effect-panel.hbs +++ b/system/templates/apps/effect-panel.hbs @@ -1,70 +1,74 @@
- {{#each conditionEffects as |effect|}} - {{> effect effect=effect }} - {{/each}} + {{#each conditionEffects as |effect|}} + {{> effect effect=effect }} + {{/each}} {{#if (and conditionEffects.length (or temporaryEffects.length passiveEffects.length))}} -
+
{{/if}} - {{#each temporaryEffects as |effect|}} - {{> effect effect=effect }} - {{/each}} + {{#each temporaryEffects as |effect|}} + {{> effect effect=effect }} + {{/each}} {{#if (and temporaryEffects.length passiveEffects.length)}} -
+
{{/if}} {{#each passiveEffects as |effect|}} - {{> effect effect=effect }} - {{/each}} + {{> effect effect=effect }} + {{/each}}
{{#*inline "effect"}} -
-
-

- {{effect.effectName}} ({{effect.originName}}) -

+
+
+

+ {{effect.effectName}} ({{effect.originName}}) +

-
+
+ {{#if effect.temporary}} +

{{remainingTimeLabel effect}}

+ {{else if effect.talentType}} +

+ {{#ifEq effect.talentType "level"}} + {{localize "SHADOWDARK.talent.class.level"}} + {{/ifEq}} + {{#ifEq effect.talentType "ancestry"}} + {{localize "SHADOWDARK.talent.class.ancestry"}} + {{/ifEq}} + {{#ifEq effect.talentType "class"}} + {{localize "SHADOWDARK.talent.class.class"}} + {{/ifEq}} +

+ {{/if}} +
+ +

+ + {{localize "SHADOWDARK.apps.effect_panel.right_click_to_remove"}} + +

+
+ +
{{#if effect.temporary}} -

{{remainingTimeLabel effect}}

- {{else if effect.talentType}} -

- {{#ifEq effect.talentType "level"}} - {{localize "SHADOWDARK.talent.class.level"}} - {{/ifEq}} - {{#ifEq effect.talentType "ancestry"}} - {{localize "SHADOWDARK.talent.class.ancestry"}} - {{/ifEq}} - {{#ifEq effect.talentType "class"}} - {{localize "SHADOWDARK.talent.class.class"}} - {{/ifEq}} -

+ +
+
+ {{else}} + {{/if}}
- -

{{localize "SHADOWDARK.apps.effect_panel.right_click_to_remove"}}

-
- -
- {{#if effect.temporary}} - -
-
- {{else}} - - {{/if}}
-
-{{/inline}} \ No newline at end of file +{{/inline}} diff --git a/system/templates/apps/module-art-config.hbs b/system/templates/apps/module-art-config.hbs index a4c6bba8..68f6f597 100644 --- a/system/templates/apps/module-art-config.hbs +++ b/system/templates/apps/module-art-config.hbs @@ -1,22 +1,22 @@
{{#each config}}
- -
- - -
+ +
+ + +
{{/each}}
- +
diff --git a/system/templates/apps/shadowdarkling-importer.hbs b/system/templates/apps/shadowdarkling-importer.hbs index ea4dbe52..cdc250e3 100644 --- a/system/templates/apps/shadowdarkling-importer.hbs +++ b/system/templates/apps/shadowdarkling-importer.hbs @@ -1,22 +1,22 @@
-
-
-

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction1"}}

- -
-

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction2"}}

-
-

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction3"}}

- -
-

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction4"}}

-
-
-
- -
+
+
+

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction1"}}

+ +
+

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction2"}}

+
+

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction3"}}

+ +
+

{{localize "SHADOWDARK.apps.shadowdarkling-importer.instruction4"}}

+
+
+
+ +
diff --git a/system/templates/chat/ability-card.hbs b/system/templates/chat/ability-card.hbs index ce66b991..920aa941 100644 --- a/system/templates/chat/ability-card.hbs +++ b/system/templates/chat/ability-card.hbs @@ -1,11 +1,11 @@
-
- -

{{title}}

-
-
- {{#if data.rolls.main}} -
{{{data.rolls.main.renderedHTML}}}
- {{/if}} -
+
+ +

{{title}}

+
+
+ {{#if data.rolls.main}} +
{{{data.rolls.main.renderedHTML}}}
+ {{/if}} +
diff --git a/system/templates/chat/item-card.hbs b/system/templates/chat/item-card.hbs index 035abd99..09d9ae4b 100644 --- a/system/templates/chat/item-card.hbs +++ b/system/templates/chat/item-card.hbs @@ -2,63 +2,65 @@ class="shadowdark chat-card item-card" data-actor-id="{{data.actor.id}}" data-item-id="{{data.item.id}}" - {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}} + {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}} {{#if data.item.isSpell}}data-spell-tier="{{data.item.system.tier}}"{{/if}} > -
- {{#if data.item}} +
+ {{#if data.item}} {{#if isNPC}} {{else}} {{/if}} -

{{data.item.name}}

- {{else}} - -

{{title}}

- {{/if}} -
+

{{data.item.name}}

+ {{else}} + +

{{title}}

+ {{/if}} +
-
- {{{data.item.system.description}}} -
+
+ {{{data.item.system.description}}} +
-
-
+
- {{#if data.rolls.main}} -

- {{#if data.item.isSpell}} - {{localize "SHADOWDARK.roll.spell_casting_check"}}: - {{/if}} - {{#if data.item.isWeapon}} - {{title}}: - {{/if}} -

-
{{{data.rolls.main.renderedHTML}}}
- {{/if}} -
-
- - {{#if isSpell}} - {{#ifEq data.rolls.main.critical "success"}} -
-

{{localize "SHADOWDARK.chat.item_roll.double_numerical"}}

-
- {{/ifEq}} - {{#ifEq data.rolls.main.critical "failure"}} -
- {{#ifEq data.item.type "Wand"}} -

{{localize "SHADOWDARK.chat.item_roll.wand_mishap"}}

- {{/ifEq}} -

{{localize "SHADOWDARK.chat.item_roll.mishap"}}

+ {{#if data.rolls.main}} +
+

+ {{#if data.item.isSpell}} + {{localize "SHADOWDARK.roll.spell_casting_check"}}: + {{/if}} + {{#if data.item.isWeapon}} + {{title}}: + {{/if}} +

+
+
{{{data.rolls.main.renderedHTML}}}
+ {{/if}}
- {{/ifEq}} - {{/if}} +
- {{#if isWeapon}} + {{#if isSpell}} + {{#ifEq data.rolls.main.critical "success"}} +
+

{{localize "SHADOWDARK.chat.item_roll.double_numerical"}}

+
+ {{/ifEq}} + {{#ifEq data.rolls.main.critical "failure"}} +
+ {{#ifEq data.item.type "Wand"}} +

{{localize "SHADOWDARK.chat.item_roll.wand_mishap"}}

+ {{/ifEq}} +

{{localize "SHADOWDARK.chat.item_roll.mishap"}}

+
+ {{/ifEq}} + {{/if}} + + {{#if isWeapon}} {{#ifNeq data.rolls.main.critical "failure"}}
{{#if isVersatile}} @@ -86,10 +88,10 @@
{{/if}}
- {{/ifNeq}} - {{/if}} + {{/ifNeq}} + {{/if}} - {{#if isNPC}} + {{#if isNPC}} {{#ifNeq data.rolls.main.critical "failure"}}
{{/ifNeq}} - {{/if}} + {{/if}} - {{#if data.item.system.damage.special}} + {{#if data.item.system.damage.special}}

{{{data.itemSpecial.name}}} @@ -112,38 +114,44 @@ {{{data.itemSpecial.system.description}}}

- {{/if}} + {{/if}} -
- {{#if isWeapon}} - - {{localize "SHADOWDARK.item.weapon_type"}}: - {{fromConfig "WEAPON_TYPES" data.item.system.type}} - - - {{localize "SHADOWDARK.item.weapon_range"}}: - {{fromConfig "RANGES" data.item.system.range }} - - {{#each propertyNames}} - {{this}} - {{/each}} - {{/if}} - {{#if isSpell}} - - {{localize "SHADOWDARK.item.spell_tier"}}: - {{ data.item.system.tier }} - - - {{localize "SHADOWDARK.item.spell_duration"}}: - {{getSpellDuration - data.item.system.duration.type - data.item.system.duration.value - }} - - - {{localize "SHADOWDARK.item.spell_range"}}: - {{fromConfig "SPELL_RANGES" data.item.system.range }} - - {{/if}} -
+
+ {{#if isWeapon}} +
    +
  • + {{localize "SHADOWDARK.item.weapon_type"}}: + {{fromConfig "WEAPON_TYPES" data.item.system.type}} +
  • +
  • + {{localize "SHADOWDARK.item.weapon_range"}}: + {{fromConfig "RANGES" data.item.system.range }} +
  • + {{#each propertyNames}} +
  • + {{this}} +
  • + {{/each}} +
+ {{/if}} + {{#if isSpell}} +
    +
  • + {{localize "SHADOWDARK.item.spell_tier"}} + {{ data.item.system.tier }} +
  • +
  • + {{localize "SHADOWDARK.item.spell_duration"}}: + {{getSpellDuration + data.item.system.duration.type + data.item.system.duration.value + }} +
  • +
  • + {{localize "SHADOWDARK.item.spell_range"}}: + {{fromConfig "SPELL_RANGES" data.item.system.range }} +
  • +
+ {{/if}} +
diff --git a/system/templates/chat/item/armor.hbs b/system/templates/chat/item/armor.hbs index 900bd2d7..80e60585 100644 --- a/system/templates/chat/item/armor.hbs +++ b/system/templates/chat/item/armor.hbs @@ -25,9 +25,13 @@ {{{description}}}
- + diff --git a/system/templates/chat/item/default.hbs b/system/templates/chat/item/default.hbs index 41a806af..0b882c53 100644 --- a/system/templates/chat/item/default.hbs +++ b/system/templates/chat/item/default.hbs @@ -3,15 +3,15 @@ data-actor-id="{{actor._id}}" data-item-id="{{item._id}}" > -
- -

{{item.name}}

-
+
+ +

{{item.name}}

+
-
- {{{description}}} -
+
+ {{{description}}} +
- + diff --git a/system/templates/chat/item/potion.hbs b/system/templates/chat/item/potion.hbs index ab320238..841a51d8 100644 --- a/system/templates/chat/item/potion.hbs +++ b/system/templates/chat/item/potion.hbs @@ -3,14 +3,14 @@ data-actor-id="{{actor.id}}" data-item-id="{{item._id}}" > -
- -

{{item.name}}

-
+
+ +

{{item.name}}

+
-
- {{{description}}} -
+
+ {{{description}}} +
diff --git a/system/templates/chat/item/spell.hbs b/system/templates/chat/item/spell.hbs index d9daf4a1..242f7228 100644 --- a/system/templates/chat/item/spell.hbs +++ b/system/templates/chat/item/spell.hbs @@ -3,17 +3,17 @@ data-actor-id="{{actor.id}}" data-item-id="{{item._id}}" > -
- -

{{item.name}}

-
+
+ +

{{item.name}}

+
-
+

{{localize "SHADOWDARK.item.spell_class"}} {{spellClasses}}

- {{{description}}} -
+ {{{description}}} +
- + diff --git a/system/templates/chat/item/wand.hbs b/system/templates/chat/item/wand.hbs index ae0e39d3..98c4dcb0 100644 --- a/system/templates/chat/item/wand.hbs +++ b/system/templates/chat/item/wand.hbs @@ -3,18 +3,18 @@ data-actor-id="{{actor.id}}" data-item-id="{{item._id}}" > -
- -

{{item.name}}

-
+
+ +

{{item.name}}

+
-
+

{{localize "SHADOWDARK.item.spell_class"}} {{spellClasses}}

{{item.system.spellName}}

- {{{description}}} -
+ {{{description}}} +
{{#if isSpellcaster}} @@ -29,21 +29,23 @@ {{/if}}
- + diff --git a/system/templates/chat/item/weapon.hbs b/system/templates/chat/item/weapon.hbs index 00677bd6..e13e4ccc 100644 --- a/system/templates/chat/item/weapon.hbs +++ b/system/templates/chat/item/weapon.hbs @@ -3,12 +3,12 @@ data-actor-id="{{actor._id}}" data-item-id="{{item._id}}" > -
- -

{{item.name}}

-
+
+ +

{{item.name}}

+
-
+

{{localize 'SHADOWDARK.item.weapon_type'}} {{fromConfig "WEAPON_TYPES" item.system.type}}, {{localize 'SHADOWDARK.item.weapon_range'}} {{fromConfig "RANGES" item.system.range}} @@ -29,7 +29,7 @@

{{/if}} {{{description}}} -
+
- + diff --git a/system/templates/chat/lightsource-drop.hbs b/system/templates/chat/lightsource-drop.hbs index c2313e3f..efcbf649 100644 --- a/system/templates/chat/lightsource-drop.hbs +++ b/system/templates/chat/lightsource-drop.hbs @@ -1,29 +1,35 @@ -
-
- +
+ -

- {{name}} - {{#if picked_up}} - {{localize "SHADOWDARK.chat.light_source.source.picked_up"}} - {{else}} - {{localize "SHADOWDARK.chat.light_source.source.dropped"}} - {{/if}} -

-
-
-

- {{#ifCond timeRemaining '<' 1}} - {{localize "SHADOWDARK.chat.light_source.seconds_remaining"}} - {{else}} - {{timeRemaining}} {{localize "SHADOWDARK.chat.light_source.remaining"}} - {{/ifCond}} -

-
+

+ {{name}} + {{#if picked_up}} + {{localize "SHADOWDARK.chat.light_source.source.picked_up"}} + {{else}} + {{localize "SHADOWDARK.chat.light_source.source.dropped"}} + {{/if}} +

+
+
+

+ {{#ifCond timeRemaining '<' 1}} + {{localize "SHADOWDARK.chat.light_source.seconds_remaining"}} + {{else}} + {{timeRemaining}} {{localize "SHADOWDARK.chat.light_source.remaining"}} + {{/ifCond}} +

+
diff --git a/system/templates/chat/lightsource-toggle-gm.hbs b/system/templates/chat/lightsource-toggle-gm.hbs index 58efbb8e..3a0f6643 100644 --- a/system/templates/chat/lightsource-toggle-gm.hbs +++ b/system/templates/chat/lightsource-toggle-gm.hbs @@ -1,6 +1,12 @@ -
-
- -

{{message}}

-
+
+
+ +

{{message}}

+
diff --git a/system/templates/chat/lightsource-toggle.hbs b/system/templates/chat/lightsource-toggle.hbs index 74a885bc..17711173 100644 --- a/system/templates/chat/lightsource-toggle.hbs +++ b/system/templates/chat/lightsource-toggle.hbs @@ -1,29 +1,35 @@ -
-
- +
+ -

- {{name}} - {{#if active}} - {{localize "SHADOWDARK.chat.light_source.source.toggle.on"}} - {{else}} - {{localize "SHADOWDARK.chat.light_source.source.toggle.off"}} - {{/if}} -

-
-
-

+

+ {{name}} + {{#if active}} + {{localize "SHADOWDARK.chat.light_source.source.toggle.on"}} + {{else}} + {{localize "SHADOWDARK.chat.light_source.source.toggle.off"}} + {{/if}} +

+
+
+

{{#ifCond timeRemaining '<' 1}} - {{localize "SHADOWDARK.chat.light_source.seconds_remaining"}} + {{localize "SHADOWDARK.chat.light_source.seconds_remaining"}} {{else}} - {{timeRemaining}} {{localize "SHADOWDARK.chat.light_source.remaining"}} + {{timeRemaining}} {{localize "SHADOWDARK.chat.light_source.remaining"}} {{/ifCond}} -

-
+ +
diff --git a/system/templates/chat/potion-used.hbs b/system/templates/chat/potion-used.hbs index 5e22de38..47f20c0b0 100644 --- a/system/templates/chat/potion-used.hbs +++ b/system/templates/chat/potion-used.hbs @@ -3,14 +3,13 @@ data-actor-id="{{actor.id}}" data-item-id="{{item._id}}" > -
- -

{{message}}

-
+
+ +

{{message}}

+
-
+

{{item.name}}

- {{{potionDescription}}} -
- + {{{potionDescription}}} +
diff --git a/system/templates/chat/roll-card.hbs b/system/templates/chat/roll-card.hbs index 7267ef68..b54c585e 100644 --- a/system/templates/chat/roll-card.hbs +++ b/system/templates/chat/roll-card.hbs @@ -1,11 +1,17 @@ -
-
- -

{{title}}

-
-
- {{#if data.rolls.main}} -
{{{data.rolls.main.renderedHTML}}}
- {{/if}} -
+
+
+ +

{{title}}

+
+
+ {{#if data.rolls.main}} +
{{{data.rolls.main.renderedHTML}}}
+ {{/if}} +
diff --git a/system/templates/chat/roll-d20-card.hbs b/system/templates/chat/roll-d20-card.hbs index b4b8c3e2..db1eaa52 100644 --- a/system/templates/chat/roll-d20-card.hbs +++ b/system/templates/chat/roll-d20-card.hbs @@ -1,12 +1,18 @@ -
-
- -

{{title}}

-
- {{{data.rolls.d20.renderedHTML}}} -
- {{#if data.rolls.d20}} -
{{{data.rolls.d20.renderedHTML}}}
- {{/if}} -
+
+
+ +

{{title}}

+
+ {{{data.rolls.d20.renderedHTML}}} +
+ {{#if data.rolls.d20}} +
{{{data.rolls.d20.renderedHTML}}}
+ {{/if}} +
diff --git a/system/templates/chat/roll-hp.hbs b/system/templates/chat/roll-hp.hbs index 20bc967c..ec341fa8 100644 --- a/system/templates/chat/roll-hp.hbs +++ b/system/templates/chat/roll-hp.hbs @@ -1,16 +1,22 @@ -
-
- -

{{title}}

-
-
- {{#if data.rolls.main}} -
{{{data.rolls.main.renderedHTML}}}
- {{/if}} -
-
- -
+
+
+ +

{{title}}

+
+
+ {{#if data.rolls.main}} +
{{{data.rolls.main.renderedHTML}}}
+ {{/if}} +
+
+ +
diff --git a/system/templates/chat/spell-learn.hbs b/system/templates/chat/spell-learn.hbs index 07fd5cf3..ef40a62e 100644 --- a/system/templates/chat/spell-learn.hbs +++ b/system/templates/chat/spell-learn.hbs @@ -3,13 +3,12 @@ data-actor-id="{{actor.id}}" data-item-id="{{item._id}}" > -
- +
+

{{item.name}}

-
+
-
+
{{message}} -
- +
diff --git a/system/templates/chat/welcome-message.hbs b/system/templates/chat/welcome-message.hbs index fcea0c0a..efd4c0b6 100644 --- a/system/templates/chat/welcome-message.hbs +++ b/system/templates/chat/welcome-message.hbs @@ -1,18 +1,18 @@
-
- -

{{title}}

-
-
-

{{localize "SHADOWDARK.chat.welcome_message.intro"}}

- -

{{localize "SHADOWDARK.chat.welcome_message.issues"}}

- -
+
+ +

{{title}}

+
+
+

{{localize "SHADOWDARK.chat.welcome_message.intro"}}

+ +

{{localize "SHADOWDARK.chat.welcome_message.issues"}}

+ +
diff --git a/system/templates/items/item.hbs b/system/templates/items/item.hbs index 1527787b..8ae5e269 100644 --- a/system/templates/items/item.hbs +++ b/system/templates/items/item.hbs @@ -22,7 +22,7 @@
{{#if showTab.details}} - + {{localize "SHADOWDARK.sheet.item.tab.details"}} {{/if}} @@ -47,7 +47,7 @@ {{#if showTab.description}}