Was able to make the sheet work with the recent roll20 "enhanced" sheet changes, unfortunately have to use !important on almost all styles for them to work due to order of operations.

This commit is contained in:
James A Culp III
2021-03-13 17:15:13 -05:00
parent 65ee468743
commit de814aaefe
2 changed files with 1298 additions and 1298 deletions
File diff suppressed because it is too large Load Diff
@@ -71,7 +71,7 @@
<h2 data-i18n="total karma">Total Karma</h2><input style="width: 2em;" type="number" name="attr_total_karma" placeholder="#" title="@{total_karma}" />
</div>
<div class="row-long pd-kar">
<h2 data-i18n="essence">Base Essence</h2><input disabled="disabled" style="width: 1.5em;" type="number" step="0.01" min="0.00" name="attr_essence_base" value="6" title="@{essence_base}" /> + <h2 data-i18n="essencemodifier">Modifier</h2><input style="width: 3em;" type="number" step="0.01" min="-6.00" name="attr_essence_mod" placeholder="0" title="@{essence_mod}" /> - <h2 data-i18n="augmentations">Augmentations</h2><span name="attr_aug_essence_cost" title="@{aug_essence_cost}"></span> = <h2 data-i18n="currentessence">Current Essence</h2><span name="attr_essence" title="@{essence}"><span>
<h2 data-i18n="essence">Base Essence</h2><input disabled="disabled" style="width: 1.5em !important;" type="number" step="0.01" min="0.00" name="attr_essence_base" value="6" title="@{essence_base}" /> + <h2 data-i18n="essencemodifier">Modifier</h2><input style="width: 3em !important;" type="number" step="0.01" min="-6.00" name="attr_essence_mod" placeholder="0" title="@{essence_mod}" /> - <h2 data-i18n="augmentations">Augmentations</h2><span name="attr_aug_essence_cost" title="@{aug_essence_cost}"></span> = <h2 data-i18n="currentessence">Current Essence</h2><span name="attr_essence" title="@{essence}"><span>
</div>
</div>
</div>
@@ -355,8 +355,9 @@
<label data-i18n="movement">Movement</label>
<div class="attr-und">
<div class="settings">
<input type="number" name="attr_move_speed" style="width: 2em;" value="10" placeholder="10" title="@{move_speed}" /><span class="tiny-span">/</span>
<input type="number" name="attr_sprint_speed" style="width: 2em;" value="15" placeholder="15" title="@{sprint_speed}" />
<input style="width: 2em !important;" type="number" name="attr_move_speed" value="10" placeholder="10" title="@{move_speed}" />
<span class="tiny-span">/</span>
<input style="width: 2em !important;" type="number" name="attr_sprint_speed" value="15" placeholder="15" title="@{sprint_speed}" />
</div>
<div class="display">
<button type="roll" name="sprint" value="@{gm_toggle} &{template:rolls}{{header=^{sprint}}}{{base=^{base} @{sprint_speed}+(Athletics+Agility)}}{{dice=[[@{sprint_speed}+((@{athletics}+@{agility}+@{wounds_toggle}+@{modifiers_toggle}+@{edge_toggle})d6>5@{explode_toggle})]] meters}}{{mod=[[@{modifiers_toggle}]]}}{{wound=[[@{wounds_toggle}]]}}{{edge=[[@{edge_toggle}]]}}">