mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Improved optional fieldset styling
This commit is contained in:
parent
1cecb4251d
commit
da44ff2510
3 changed files with 7 additions and 3 deletions
|
|
@ -305,6 +305,10 @@
|
|||
min-height: auto;
|
||||
row-gap: 0;
|
||||
|
||||
&.active {
|
||||
row-gap: 10px;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
{{/each}}
|
||||
</ol>
|
||||
|
||||
<fieldset class="armor-change-container optional">
|
||||
<fieldset class="armor-change-container optional {{#if typeChanges.armor}}active{{/if}}">
|
||||
<legend>
|
||||
{{localize "DAGGERHEART.GENERAL.armor"}}
|
||||
<input type="checkbox" class="armor-change-checkbox" data-index="{{typedChanges.armor.index}}" {{checked typedChanges.armor}} />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
||||
<fieldset class="one-column optional">
|
||||
<fieldset class="one-column optional {{#if source.system.stacking}}active{{/if}}">
|
||||
<legend>
|
||||
{{localize "DAGGERHEART.ACTIVEEFFECT.Config.stacking.title"}}
|
||||
<input type="checkbox" class="stacking-change-checkbox" {{checked source.system.stacking}} />
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
{{/if}}
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="one-column optional">
|
||||
<fieldset class="one-column optional {{#if source.system.rangeDependence}}active{{/if}}">
|
||||
<legend>
|
||||
{{localize "DAGGERHEART.ACTIVEEFFECT.Config.rangeDependence.title"}}
|
||||
<input type="checkbox" class="range-dependence-change-checkbox" {{checked source.system.rangeDependence}} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue