Add a helper application to manage attributes on characters

This commit is contained in:
Oliver-Akins 2025-06-29 13:35:11 -06:00
parent 91ccd93814
commit 6b81d8d83b
10 changed files with 298 additions and 12 deletions

View file

@ -0,0 +1,33 @@
.taf.AttributeManager {
.attributes {
display: flex;
flex-direction: column;
gap: 8px;
}
.attribute {
display: grid;
grid-template-columns: 1fr auto auto;
align-items: center;
gap: 8px;
padding: 8px;
border: 1px solid rebeccapurple;
border-radius: 4px;
label {
display: flex;
flex-direction: row;
align-items: center;
}
}
.controls {
display: flex;
flex-direction: row;
gap: 8px;
button {
flex-grow: 1;
}
}
}

View file

@ -1,17 +1,10 @@
.taf.PlayerSheet {
> .window-content {
padding: 0.5rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.sheet-header, fieldset, .content {
border-radius: 8px;
border: 1px solid rebeccapurple;
}
.window-content > header {
.sheet-header {
display: flex;
flex-direction: row;
align-items: center;

8
styles/Apps/common.css Normal file
View file

@ -0,0 +1,8 @@
.taf {
> .window-content {
padding: 0.5rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
}

View file

@ -9,4 +9,6 @@
@import url("./elements/prose-mirror.css") layer(elements);
/* Apps */
@import url("./Apps/common.css") layer(apps);
@import url("./Apps/PlayerSheet.css") layer(apps);
@import url("./Apps/AttributeManager.css") layer(apps);