From c8fcd9e58741b7841ebbd41e620aa553a5aa7d39 Mon Sep 17 00:00:00 2001 From: The Last Scrub Date: Sat, 28 Nov 2020 19:30:39 -0800 Subject: [PATCH] improved gear sheet css --- css/deltagreen.css | 8 ++++-- templates/actor/actor-sheet.html | 29 ++++++++++---------- templates/dialog/modify-percentile-roll.html | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/css/deltagreen.css b/css/deltagreen.css index d95ed97..4fd4504 100644 --- a/css/deltagreen.css +++ b/css/deltagreen.css @@ -232,7 +232,6 @@ div.motivation-editor-container div.editor{ .deltagreen .tabs { height: 40px; - text-align: center; vertical-align: middle; } @@ -250,7 +249,7 @@ div.motivation-editor-container div.editor{ .deltagreen .items-list { list-style: none; - margin: 7px 0; + /*margin: 7px 0; */ padding: 0; overflow-y: auto; } @@ -263,7 +262,6 @@ div.motivation-editor-container div.editor{ } .deltagreen .items-list .item { - /* height: 30px; */ min-height: 30px; line-height: 24px; padding: 3px 0; @@ -450,6 +448,10 @@ div span.bio-grid-label{ column-gap: 4%; } +.centered-item-property{ + text-align: center; +} + .bolded-label{ font-weight: bold; } diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index 22297f1..ed81941 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -242,10 +242,9 @@
  • -
    {{localize 'DG.Gear.Name'}}
    - -
    {{localize 'DG.Gear.DamageOrLethality'}}
    -
    {{localize 'DG.Gear.ArmorPiercing'}}
    + {{localize 'DG.Gear.Name'}} + {{localize 'DG.Gear.DamageOrLethality'}} + {{localize 'DG.Gear.ArmorPiercing'}} @@ -270,18 +269,17 @@ {{#unless item.data.isLethal}} - - {{toUpperCase item.data.damage}} - + + {{toUpperCase item.data.damage}} {{/unless}} {{#if item.data.isLethal}} - {{formatLethality item.data.lethality}} {{/if}} - {{item.data.armorPiercing}} + {{item.data.armorPiercing}}
    @@ -304,7 +302,7 @@
  • {{localize 'DG.Gear.Name'}}
    -
    {{localize 'DG.Gear.ArmorRating'}}
    + {{localize 'DG.Gear.ArmorRating'}}
  • {{item.name}}

    - {{item.data.protection}} + {{item.data.protection}} - + {{#if item.data.equipped}} {{localize 'DG.Gear.Equipped'}} {{/if}} @@ -359,9 +357,10 @@
  • {{item.name}}

    - - + + + {{#if item.data.equipped}} {{localize 'DG.Gear.Equipped'}} {{/if}} diff --git a/templates/dialog/modify-percentile-roll.html b/templates/dialog/modify-percentile-roll.html index e1304bc..fc65128 100644 --- a/templates/dialog/modify-percentile-roll.html +++ b/templates/dialog/modify-percentile-roll.html @@ -7,6 +7,6 @@ {{localize 'DG.ModifySkillRollDialogue.TargetModifier'}} - + \ No newline at end of file