mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 21:34:16 +02:00
Styling pass for scrollbars, fieldsets, and scroll shadows
This commit is contained in:
parent
3eb33a71af
commit
7dec188167
30 changed files with 177 additions and 88 deletions
|
|
@ -4,13 +4,25 @@
|
|||
|
||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||
.tab.features {
|
||||
position: relative;
|
||||
.feature-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 4px;
|
||||
padding: 4px 8px;
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
@import './sheet.less';
|
||||
@import './features.less';
|
||||
@import './header.less';
|
||||
@import './potentialAdversaries.less';
|
||||
@import './sheet.less';
|
||||
@import './notes.less';
|
||||
|
|
|
|||
11
styles/less/sheets/actors/environment/notes.less
Normal file
11
styles/less/sheets/actors/environment/notes.less
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
@import '../../../utils/mixin.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||
.tab.notes {
|
||||
padding: 6px 0 4px 15px;
|
||||
.editor-content {
|
||||
scrollbar-gutter: stable;
|
||||
.with-scroll-shadows();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
@import '../../../utils/colors.less';
|
||||
@import '../../../utils/mixin.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||
.tab.potentialAdversaries {
|
||||
|
|
@ -7,7 +8,8 @@
|
|||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 4px;
|
||||
padding: 0 4px 4px 4px;
|
||||
scrollbar-gutter: stable;
|
||||
.with-scroll-shadows();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@
|
|||
.tab {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding-right: 0;
|
||||
margin-right: 2px;
|
||||
|
||||
&.active {
|
||||
overflow: hidden;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue