Bugfix for Constructed

Unstable box needs to hide when Constructed's Inhuman move is selected
This commit is contained in:
fredhicks
2020-07-02 16:54:04 -04:00
parent 5dd2258c3e
commit 6ee7169149
2 changed files with 10 additions and 3 deletions
+6
View File
@@ -612,6 +612,10 @@ input[type="radio"].sheet-radio:checked ~ span.sheet-grayable i
display: inline;
}
input[type="checkbox"].sheet-inverted-triggerbox,
input[type="checkbox"].sheet-inverted-triggerbox:checked,
input[type="checkbox"].sheet-inverted-triggerbox:checked + div.sheet-triggerframe,
input[type="checkbox"].sheet-inverted-triggerbox:checked + span.sheet-triggertext,
input[type="checkbox"].sheet-AllyRevealer ~ div.sheet-Ally,
input[type="checkbox"].sheet-triggerbox + input[type="checkbox"].sheet-checkbox + span.sheet-altbox,
input[type="checkbox"].sheet-triggerbox,
@@ -622,6 +626,7 @@ input[type="checkbox"].sheet-triggerbox + span.sheet-triggertext
display: none;
}
input[type="checkbox"].sheet-inverted-triggerbox + span.sheet-triggertext,
input[type="checkbox"].sheet-triggerbox:checked + input[type="checkbox"].sheet-checkbox + span.sheet-altbox,
input[type="checkbox"].sheet-triggerbox:checked + span.sheet-triggertext
{
@@ -631,6 +636,7 @@ input[type="checkbox"].sheet-triggerbox:checked + span.sheet-triggertext
input[type="checkbox"].sheet-AllyRevealer:checked ~ div.sheet-Ally,
input[type="checkbox"].sheet-HavenRevealer:checked + div.sheet-Haven,
input[type="checkbox"].sheet-SectRevealer:checked + div.sheet-Sect,
input[type="checkbox"].sheet-inverted-triggerbox + div.sheet-triggerframe,
input[type="checkbox"].sheet-triggerbox:checked + div.sheet-triggerframe
{
display: block;
+4 -3
View File
@@ -2934,10 +2934,11 @@
<!-- Final box is always the Harm7 box in case we want to tie behavior to that -->
<input type="checkbox" class="sheet-checkbox" name="attr_Harm7"><span class="sheet-altbox"></span>
<b class="sheet-statelabel"><span data-i18n="dying">Dying</span></b><br>
<b class="sheet-statelabel"><span data-i18n="dying">Dying</span></b>
<input type="checkbox" class="sheet-checkbox" name="attr_Unstable"><span class="sheet-altbox"></span>
<b class="sheet-statelabel"><span data-i18n="unstable">Unstable</span></b>
<input type="checkbox" class="sheet-inverted-triggerbox" name="attr_Moves-Constructed1">
<span class="sheet-triggertext"><br><input type="checkbox" class="sheet-checkbox" name="attr_Unstable"><span class="sheet-altbox"></span>
<b class="sheet-statelabel"><span data-i18n="unstable">Unstable</span></b></span>
</div>
<input type="checkbox" class="sheet-checkbox sheet-ExpToggle" name="attr_Toggle-Unstable-Instructions" value="1" checked><span class="sheet-anglebox"></span>