Make background tab glassy in character sheet (#1868)
Some checks failed
Project CI / build (24.x) (push) Has been cancelled

* Make fieldsets glassy in character sheet

* Remove glassy from character features tab
This commit is contained in:
Carlos Fernandez 2026-05-11 16:30:39 -04:00 committed by GitHub
parent abd7824c96
commit 24813e7e4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 28 deletions

View file

@ -4,9 +4,7 @@
data-group='{{tabs.biography.group}}'
>
<div class="items-section">
<fieldset class="flex">
<legend>{{localize 'DAGGERHEART.ACTORS.Character.story.characteristics'}}</legend>
<div class="characteristics-section flexrow">
<div class="input">
<span>{{localize 'DAGGERHEART.ACTORS.Character.pronouns'}}</span>
{{formInput systemFields.biography.fields.characteristics.fields.pronouns value=source.system.biography.characteristics.pronouns enriched=source.system.biography.characteristics.pronouns localize=true toggled=true}}
@ -21,14 +19,14 @@
<span>{{localize 'DAGGERHEART.ACTORS.Character.faith'}}</span>
{{formInput systemFields.biography.fields.characteristics.fields.faith value=source.system.biography.characteristics.faith enriched=source.system.biography.characteristics.faith localize=true toggled=true}}
</div>
</fieldset>
</div>
<fieldset class="biography-section">
<fieldset class="glassy biography-section">
<legend>{{localize 'DAGGERHEART.ACTORS.Character.story.backgroundTitle'}}</legend>
{{formInput background.field value=background.value enriched=background.enriched toggled=true}}
</fieldset>
<fieldset class="biography-section">
<fieldset class="glassy biography-section">
<legend>{{localize 'DAGGERHEART.ACTORS.Character.story.connectionsTitle'}}</legend>
{{formInput connections.field value=connections.value enriched=connections.enriched toggled=true}}
</fieldset>

View file

@ -2,26 +2,25 @@
data-group='{{tabs.features.group}}'>
<div class="features-sections">
{{#each document.system.sheetLists as |category|}}
{{#if (eq category.type 'feature' )}}
{{> 'daggerheart.inventory-items'
title=category.title
type='feature'
actorType='character'
collection=category.values
canCreate=@root.editable
showActions=@root.editable
}}
{{else if category.values}}
{{> 'daggerheart.inventory-items'
title=category.title
type='feature'
actorType='character'
collection=category.values
canCreate=false
showActions=@root.editable
}}
{{/if}}
{{#if (eq category.type 'feature' )}}
{{> 'daggerheart.inventory-items'
title=category.title
type='feature'
actorType='character'
collection=category.values
canCreate=@root.editable
showActions=@root.editable
}}
{{else if category.values}}
{{> 'daggerheart.inventory-items'
title=category.title
type='feature'
actorType='character'
collection=category.values
canCreate=false
showActions=@root.editable
}}
{{/if}}
{{/each}}
</div>
</section>