[Feature] Manual Character Editing (#490)

* Initial

* Added Character-Settings

* Finalized Character-Settings

* Hide CharacterSetup if any part is done manually

* Fixed class/subclass drag-drop

* Fixed relinking of Features from items created on Character

* Adding features on CharacterItems now adds them on the Character and relinks

* Made suggested items inactive in the Class sheet if rendered from inside a Character

* Added hope to CharacterSetting

* add style to textarea element, add spellcasting and domain class into char sheet and move rest buttons to another place

* Fixed characterCreation experience description

---------

Co-authored-by: moliloo <dev.murilobrito@gmail.com>
This commit is contained in:
WBHarry 2025-08-01 17:16:35 +02:00 committed by GitHub
parent 263dfa69ae
commit e1d8f8784a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 1205 additions and 386 deletions

View file

@ -12,18 +12,33 @@
.experience-list {
display: flex;
flex-direction: column;
gap: 10px;
gap: 15px;
}
.experience-item {
.experience-item {
display: flex;
flex-direction: column;
gap: 5px;
.experience-inner-item {
display: grid;
grid-template-columns: 3fr 1fr 30px;
align-items: center;
gap: 5px;
&.no-controls {
grid-template-columns: 3fr 1fr;
}
a {
text-align: center;
}
}
textarea {
width: 100%;
resize: none;
}
}
}
}

View file

@ -0,0 +1,36 @@
.application.daggerheart.dh-style.dialog {
.tab.details {
.traits-inner-container {
width: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
gap: 8px;
.trait-container {
width: 60px;
height: 60px;
background: url(../assets/svg/trait-shield.svg) no-repeat;
display: flex;
flex-direction: column;
align-items: center;
div {
filter: drop-shadow(0 0 3px black);
text-shadow: 0 0 3px black;
font-family: @font-body;
font-size: 12px;
}
input {
text-align: center;
width: 32px;
height: 24px;
position: relative;
top: 2px;
padding: 0;
}
}
}
}
}

View file

@ -2,6 +2,7 @@
@import './adversary-settings/sheet.less';
@import './adversary-settings/experiences.less';
@import './adversary-settings/features.less';
@import './character-settings/sheet.less';
@import './environment-settings/features.less';
@import './environment-settings/adversaries.less';