roll template gm-info flex

This commit is contained in:
Mark
2016-03-04 17:20:21 +01:00
parent c5e3b61af5
commit fa3d1f4c72
4 changed files with 13 additions and 11 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -1
View File
@@ -1867,9 +1867,11 @@ textarea {
margin-left: 20%;
}
.sheet-gm-info-flex,
.sheet-rolltemplate-5e-shaped .sheet-gm-info-flex,
.sheet-gm-info-block,
.sheet-gm-info-inline-block,
.sheet-rolltemplate-5e-shaped .sheet-gm-info-block,
.sheet-gm-info-inline-block,
.sheet-rolltemplate-5e-shaped .sheet-gm-info-inline-block {
background-color: $light-yellow !important;
display: none;
@@ -73,7 +73,7 @@
<div class="output center">{{text_top}}</div>
{{/text_top}}
{{#roll_toggle}}
<div class="shaped-row center{{#hide_attack}} gm-info-block{{/hide_attack}}">
<div class="shaped-row center{{#hide_attack}} gm-info-flex{{/hide_attack}}">
<div class="col-{{^only_roll_1}}50{{/only_roll_1}}{{#only_roll_1}}100{{/only_roll_1}} output">
{{#rollLess() roll1 roll2}}{{#advantage}}<div class="less-important">{{/advantage}}{{/rollLess() roll1 roll2}}
{{#rollGreater() roll1 roll2}}{{#disadvantage}}<div class="less-important">{{/disadvantage}}{{/rollGreater() roll1 roll2}}
@@ -122,7 +122,7 @@
</div>
{{/saving_throw_dc}}
{{#damage}}
<div class="shaped-row zebra center vert-center{{#hide_damage}} gm-info-block{{/hide_damage}}">
<div class="shaped-row zebra center vert-center{{#hide_damage}} gm-info-flex{{/hide_damage}}">
<div class="col-47">
<div class="output">
{{damage}}
@@ -222,12 +222,12 @@
<div class="output center">{{text_big}}</div>
{{/text_big}}
{{#allprops() freetext text text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll_toggle roll1 roll2 only_roll_1 advantage disadvantage vs_ac ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo spell saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure friendly_level school ritual content cast_as_level heal casting_time concentration duration components materials hide_saving_throw_dc hide_spell_content hide_freetext hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge}}
{{#allprops() freetext text text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll_toggle roll1 roll2 only_roll_1 advantage disadvantage vs_ac ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo spell saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure friendly_level school ritual content cast_as_level heal casting_time concentration duration components materials hide_saving_throw_dc hide_spell_content hide_freetext hide_attack hide_damage hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge}}
<div class="center">
<span class="bold italic">{{key}}.</span>
{{value}}
</div>
{{/allprops() freetext text text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll_toggle roll1 roll2 only_roll_1 advantage disadvantage vs_ac ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo spell saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure friendly_level school ritual content cast_as_level heal casting_time concentration duration components materials hide_saving_throw_dc hide_spell_content hide_freetext hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge}}
{{/allprops() freetext text text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll_toggle roll1 roll2 only_roll_1 advantage disadvantage vs_ac ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo spell saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure friendly_level school ritual content cast_as_level heal casting_time concentration duration components materials hide_saving_throw_dc hide_spell_content hide_freetext hide_attack hide_damage hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge}}
{{#freetext}}
<div class="center{{#hide_freetext}} gm-info-block{{/hide_freetext}}">{{freetext}}</div>