mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 07:36:26 +01:00
Update duality-roll.hbs
testing toggle on specific areas so only tooltip is triggered. Rest of CSS functionality not affected.
This commit is contained in:
parent
1b5c550fd6
commit
65e010caf8
1 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="dice-roll daggerheart chat roll" data-action="expandRoll">
|
<div class="dice-roll daggerheart chat roll" data-action="expandRoll">
|
||||||
<div class="dice-flavor">{{title}}</div>
|
<div class="dice-flavor" data-action="expandRoll">{{title}}</div>
|
||||||
<div class="duality-modifiers">
|
<div class="duality-modifiers" data-action="expandRoll">
|
||||||
{{#each roll.modifiers}}
|
{{#each roll.modifiers}}
|
||||||
<div class="duality-modifier">
|
<div class="duality-modifier">
|
||||||
{{localize label}} {{#if (gte value 0)}}+{{/if}}{{value}}
|
{{localize label}} {{#if (gte value 0)}}+{{/if}}{{value}}
|
||||||
|
|
@ -17,12 +17,12 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="dice-result">
|
<div class="dice-result">
|
||||||
<div class="dice-formula">{{roll.formula}}</div>
|
<div class="dice-formula" data-action="expandRoll">{{roll.formula}}</div>
|
||||||
<div class="dice-tooltip">
|
<div class="dice-tooltip">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<section class="tooltip-part">
|
<section class="tooltip-part">
|
||||||
<div class="dice">
|
<div class="dice" data-action="expandRoll">
|
||||||
<header class="part-header flexrow">
|
<header class="part-header flexrow">
|
||||||
<span class="part-formula">
|
<span class="part-formula">
|
||||||
<span>1{{roll.hope.dice}}</span>
|
<span>1{{roll.hope.dice}}</span>
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{#if roll.advantage.type}}
|
{{#if roll.advantage.type}}
|
||||||
<div class="dice">
|
<div class="dice" data-action="expandRoll">
|
||||||
<header class="part-header flexrow">
|
<header class="part-header flexrow">
|
||||||
<span class="part-formula">
|
<span class="part-formula">
|
||||||
<span>1{{roll.advantage.dice}}</span>
|
<span>1{{roll.advantage.dice}}</span>
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#each roll.extra as | extra | }}
|
{{#each roll.extra as | extra | }}
|
||||||
<div class="dice">
|
<div class="dice" data-action="expandRoll">
|
||||||
<header class="part-header flexrow">
|
<header class="part-header flexrow">
|
||||||
<span class="part-formula">
|
<span class="part-formula">
|
||||||
<span>1{{extra.dice}}</span>
|
<span>1{{extra.dice}}</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue