daggerheart/styles/less/sheets/actors/character/biography.less
Carlos Fernandez 24813e7e4f
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
Make background tab glassy in character sheet (#1868)
* Make fieldsets glassy in character sheet

* Remove glassy from character features tab
2026-05-11 22:30:39 +02:00

45 lines
1.2 KiB
Text

@import '../../../utils/colors.less';
@import '../../../utils/fonts.less';
.application.sheet.daggerheart.actor.dh-style.character {
.tab.biography {
.items-section {
display: flex;
flex-direction: column;
gap: 10px;
height: 100%;
overflow-y: auto;
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 98%, transparent 100%);
padding-top: 8px;
padding-bottom: 20px;
height: 100%;
scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
}
.characteristics-section {
gap: 20px;
padding: 0 10px;
}
.biography-section {
prose-mirror {
--min-height: 50px;
}
prose-mirror.inactive .editor-content {
position: relative;
}
}
&:has(.prosemirror.active) {
.biography-section {
flex: 1;
&:not(:has(prose-mirror.active)) {
display: none;
}
}
}
}
}