Add an item sheet for editing Traits

This commit is contained in:
Eldritch-Oliver 2025-10-10 21:50:01 -06:00
parent 4d0f29d7f0
commit 7de3f1ca87
6 changed files with 119 additions and 2 deletions

View file

@ -0,0 +1,35 @@
.ripcrypt.TraitSheet {
--input-underline: none;
max-width: 300px;
> .window-content {
display: flex;
flex-direction: column;
gap: 8px;
padding: 4px;
color: var(--base-text);
background: var(--base-background);
}
input {
border-radius: 4px;
padding: 2px 4px;
}
.value {
background: var(--input-background);
color: var(--input-text);
padding: 4px;
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
&:empty {
display: none;
}
}
}