width of some inputs and class name switches
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1995,22 +1995,10 @@ textarea {
|
||||
width: 12.5%;
|
||||
}
|
||||
|
||||
.sheet-col-1-12 {
|
||||
width: 8.33333%;
|
||||
}
|
||||
|
||||
.sheet-col-1-3-em {
|
||||
.sheet-1-3-em {
|
||||
width: 1.3em;
|
||||
}
|
||||
|
||||
.sheet-col-2-em {
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
.sheet-col-6-em {
|
||||
width: 6em;
|
||||
}
|
||||
|
||||
@for $i from 01 through 100 {
|
||||
$width-name: $i;
|
||||
@if $i < 10 {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_strength_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_strength_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{STRENGTH} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{strength_saving_throw_mod}]]}} @{roll_setting} + @{strength_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_strength_saving_throw}" tabindex="-1">
|
||||
<span name="attr_strength_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_strength_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="STRENGTH"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -22,7 +22,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_dexterity_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_dexterity_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{DEXTERITY} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{dexterity_saving_throw_mod}]]}} @{roll_setting} + @{dexterity_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_dexterity_saving_throw}" tabindex="-1">
|
||||
<span name="attr_dexterity_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_dexterity_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="DEXTERITY"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_constitution_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_constitution_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{CONSTITUTION} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{constitution_saving_throw_mod}]]}} @{roll_setting} + @{constitution_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_constitution_saving_throw}" tabindex="-1">
|
||||
<span name="attr_constitution_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_constitution_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="CONSTITUTION"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -48,7 +48,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_intelligence_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_intelligence_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{INTELLIGENCE} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{intelligence_saving_throw_mod}]]}} @{roll_setting} + @{intelligence_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_intelligence_saving_throw}" tabindex="-1">
|
||||
<span name="attr_intelligence_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_intelligence_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="INTELLIGENCE"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_wisdom_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_wisdom_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{WISDOM} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{wisdom_saving_throw_mod}]]}} @{roll_setting} + @{wisdom_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_wisdom_saving_throw}" tabindex="-1">
|
||||
<span name="attr_wisdom_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_wisdom_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="WISDOM"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -74,7 +74,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_charisma_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_charisma_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{CHARISMA} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{charisma_saving_throw_mod}]]}} @{roll_setting} + @{charisma_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_charisma_saving_throw}" tabindex="-1">
|
||||
<span name="attr_charisma_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_charisma_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="CHARISMA"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_fortitude_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_fortitude_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{FORTITUDE} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{fortitude_saving_throw_mod}]]}} @{roll_setting} + @{fortitude_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_fortitude_saving_throw}" tabindex="-1">
|
||||
<span name="attr_fortitude_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_fortitude_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="FORTITUDE"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -102,7 +102,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_reflex_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_reflex_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{REFLEX} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{reflex_saving_throw_mod}]]}} @{roll_setting} + @{reflex_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_reflex_saving_throw}" tabindex="-1">
|
||||
<span name="attr_reflex_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_reflex_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="REFLEX"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -115,7 +115,7 @@
|
||||
</div>
|
||||
<input type="hidden" name="attr_will_saving_throw_mod">
|
||||
<button type="roll" name="roll_shaped_will_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{WILL} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{will_saving_throw_mod}]]}} @{roll_setting} + @{will_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_will_saving_throw}" tabindex="-1">
|
||||
<span name="attr_will_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_will_saving_throw_mod_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span class="ability-saving-throw-name" data-i18n="WILL"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<button type="roll" name="roll_skill" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (^{@{ability_key}})}} @{roll_info} @{skill_info} {{roll1=[[@{skill_d20} + @{formula}]]}} @{roll_setting} + @{formula}]]}} @{attacher_skill}" tabindex="-1">
|
||||
<div class="shaped-row no-wrap flex-end">
|
||||
<span name="attr_total_with_sign" class="col-2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_total_with_sign" class="2-em input-like center bold border-bottom"></span>
|
||||
<span name="attr_name" class="skill-name presentation pad-l-sm"></span>
|
||||
</div>
|
||||
</button>
|
||||
@@ -52,7 +52,7 @@
|
||||
<input type="hidden" name="attr_passive">
|
||||
<button type="roll" name="roll_passive" class="item-to-show" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{PASSIVE} @{name} (<span data-i18n=@{ability_key}>@{ability_key}<span>)}} @{roll_info} {{roll1=[[@{passive}]]}} @{hide_gm_info} @{attacher_skill}" tabindex="-1">
|
||||
<div class="shaped-row no-wrap flex-end">
|
||||
<span name="attr_passive" class="col-1-3-em input-like small-label center border-bottom"></span>
|
||||
<span name="attr_passive" class="1-3-em input-like small-label center border-bottom"></span>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</button>
|
||||
<input type="hidden" name="attr_xp">
|
||||
<input type="hidden" name="attr_xp_readable">
|
||||
<div class="col-05 edit pad-l-sm">
|
||||
<div class="1-3-em edit pad-l-sm">
|
||||
<input type="text" name="attr_challenge" class="no-border no-spin" accept="Challenge Rating">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<span name="attr_character_name"></span>
|
||||
<span data-i18n="LEGENDARY_ACTIONS_TEXT_2"></span>
|
||||
<span name="attr_legendary_action_amount" class="presentation"></span>
|
||||
<div class="col-2-em inline-block edit"><input type="number" name="attr_legendary_action_amount" class="no-border no-spin"></div>
|
||||
<div class="2-em inline-block edit"><input type="number" name="attr_legendary_action_amount" class="no-border no-spin"></div>
|
||||
<span data-i18n="LEGENDARY_ACTIONS_TEXT_3"></span>
|
||||
<span name="attr_character_name"></span>
|
||||
<span data-i18n="LEGENDARY_ACTIONS_TEXT_4"></span>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<span class="edit">
|
||||
<input type="checkbox" name="attr_strength_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_strength_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_strength_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{STRENGTH} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{strength_saving_throw_mod}]]}} @{roll_setting} + @{strength_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_strength_saving_throw}" tabindex="-1">
|
||||
@@ -22,7 +22,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_dexterity_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_dexterity_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_dexterity_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{DEXTERITY} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{dexterity_saving_throw_mod}]]}} @{roll_setting} + @{dexterity_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_dexterity_saving_throw}" tabindex="-1">
|
||||
@@ -33,7 +33,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_constitution_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_constitution_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_constitution_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{CONSTITUTION} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{constitution_saving_throw_mod}]]}} @{roll_setting} + @{constitution_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_constitution_saving_throw}" tabindex="-1">
|
||||
@@ -46,7 +46,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_intelligence_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_intelligence_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_intelligence_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{INTELLIGENCE} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{intelligence_saving_throw_mod}]]}} @{roll_setting} + @{intelligence_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_intelligence_saving_throw}" tabindex="-1">
|
||||
@@ -57,7 +57,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_wisdom_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_wisdom_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_wisdom_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{WISDOM} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{wisdom_saving_throw_mod}]]}} @{roll_setting} + @{wisdom_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_wisdom_saving_throw}" tabindex="-1">
|
||||
@@ -70,7 +70,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_charisma_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_charisma_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_charisma_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{CHARISMA} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{charisma_saving_throw_mod}]]}} @{roll_setting} + @{charisma_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_charisma_saving_throw}" tabindex="-1">
|
||||
@@ -82,7 +82,7 @@
|
||||
<span class="edit">
|
||||
<input type="checkbox" name="attr_fortitude_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_fortitude_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_fortitude_saving_throw" class="inline" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{FORTITUDE} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{fortitude_saving_throw_mod}]]}} @{roll_setting} + @{fortitude_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_fortitude_saving_throw}" tabindex="-1">
|
||||
@@ -95,7 +95,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_reflex_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_reflex_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_reflex_saving_throw" class="inline" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{REFLEX} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{reflex_saving_throw_mod}]]}} @{roll_setting} + @{reflex_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_reflex_saving_throw}" tabindex="-1">
|
||||
@@ -108,7 +108,7 @@
|
||||
<span class="edit border-left pad-l-sm">
|
||||
<input type="checkbox" name="attr_will_save_prof" value="@{PB}">
|
||||
</span>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_will_save_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<button type="roll" name="roll_shaped_will_saving_throw" class="inline" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=^{WILL} ^{SAVE}}} @{roll_info} {{roll1=[[@{shaped_d20} + @{will_saving_throw_mod}]]}} @{roll_setting} + @{will_saving_throw_mod}]]}} @{hide_gm_info} @{attacher_will_saving_throw}" tabindex="-1">
|
||||
|
||||
@@ -13,17 +13,17 @@
|
||||
<option value="2d20@{d20_mod}kl1" data-i18n="DISADVANTAGE"></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-1-3-em skill-select-wrapper edit">
|
||||
<div class="1-3-em skill-select-wrapper edit">
|
||||
<select name="attr_proficiency" class="no-border">
|
||||
<option value="unproficient" data-i18n="SKILL_SELECT_UNPROFICIENT"></option>
|
||||
<option value="proficient" data-i18n="SKILL_SELECT_PROFICIENT"></option>
|
||||
<option value="expertise" data-i18n="SKILL_SELECT_EXPERTISE"></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-1-3-em edit">
|
||||
<div class="1-3-em edit">
|
||||
<input type="number" name="attr_bonus" class="no-spin small-label" value="0" step="1">
|
||||
</div>
|
||||
<div class="col-6-em edit">
|
||||
<div class="6-em edit">
|
||||
<input type="text" name="attr_name">
|
||||
</div>
|
||||
<button type="roll" name="roll_skill" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (^{@{ability_key}})}} @{roll_info} @{skill_info} {{roll1=[[@{skill_d20} + @{formula}]]}} @{roll_setting} + @{formula}]]}} @{hide_gm_info} @{attacher_skill}" tabindex="-1">
|
||||
|
||||
Reference in New Issue
Block a user