Styling pass for scrollbars, fieldsets, and scroll shadows

This commit is contained in:
Carlos Fernandez 2026-05-29 05:41:22 -04:00
parent 3eb33a71af
commit 7dec188167
30 changed files with 177 additions and 88 deletions

View file

@ -8,7 +8,8 @@
flex-direction: column;
gap: 10px;
overflow-y: auto;
padding-bottom: 20px;
padding-bottom: 4px;
scrollbar-gutter: stable;
.with-scroll-shadows();
}
}

View file

@ -3,14 +3,27 @@
@import '../../../utils/mixin.less';
.application.sheet.daggerheart.actor.dh-style.adversary {
.tab.features {
.tab.features.active {
position: relative;
padding-left: 15px;
.feature-section {
display: flex;
flex-direction: column;
gap: 10px;
padding: 6px 2px 4px 0;
overflow-y: auto;
padding-bottom: 20px;
scrollbar-gutter: stable;
.with-scroll-shadows();
}
> button {
--button-size: 1.75rem;
width: 1.75rem;
position: absolute;
inset: auto 16px 0 auto;
box-shadow: 0 0 5px @light-black;
}
&:has(> button) .feature-section {
padding-bottom: calc(1px + 1.75rem);
}
}
}

View file

@ -1,7 +1,6 @@
@import './features.less';
@import './header.less';
@import './sheet.less';
@import './header.less';
@import './features.less';
@import './sidebar.less';
@import './effects.less';
@import './notes.less';

View file

@ -1,3 +1,7 @@
.application.sheet.daggerheart.actor.dh-style.adversary .tab.notes.active {
padding-bottom: 20px;
padding: 6px 0 4px 15px;
.editor-content {
scrollbar-gutter: stable;
.with-scroll-shadows();
}
}

View file

@ -9,28 +9,31 @@
height: 100%;
width: 100%;
padding-bottom: 0;
}
.adversary-sidebar-sheet {
grid-row: 1 / span 2;
grid-column: 1;
.adversary-sidebar-sheet {
grid-row: 1 / span 2;
grid-column: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.adversary-header-sheet {
grid-row: 1;
grid-column: 2;
}
.tab {
grid-row: 2;
grid-column: 2;
&.active {
overflow: hidden;
display: flex;
flex-direction: column;
}
.adversary-header-sheet {
grid-row: 1;
grid-column: 2;
}
.tab {
grid-row: 2;
grid-column: 2;
&.active {
overflow: hidden;
display: flex;
flex-direction: column;
}
padding-right: 0;
margin-right: 2px;
margin-bottom: 16px;
}
}
}