Hi, I'm trying to make some customizations to the 3.5 sheet for my ground, and running into an issue modified HTML: <!-- start NPC section -->
<br>
<input type="checkbox" class="sheet-switch-deprecated-show sheet-arrow" title="Show Deprecated Fields" name="attr_npc-deprecated-show" value="1" checked />
<span style="text-align: left;">Deprecated Values</span>
<table style="width: 790px;">
<tr>
<td class="sheet-table-header-right"><span data-i18n="name">Name</span>:</td>
<td class="sheet-table-left">
<input type="text" style="width: 300px;" name="attr_character_name" title="character_name" placeholder="Name" data-i18n-placeholder="name">
<input type="text" style="width: 300px;" name="attr_character-name2" title="character-name2" >
<div class="sheet-npc-deprecated">
Deprecated Value:
<br /><input type="text" style="width: 600px;" name="attr_npcname" title="Deprecated: npcname" readonly="readonly">
</div>
</td>
</tr>
... added CSS: .sheet-switch-deprecated-show:not(:checked)~.sheet-npc-deprecated {display:none;}
The object is to make a toggle to show/hide the deprecated values, trying to model how it was done on the PC side of the sheet to collapse various sections. What am I doing wrong? Suggestions?