mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 05:14:16 +02:00
Styling pass for scrollbars, fieldsets, and scroll shadows
This commit is contained in:
parent
ddf4747310
commit
6ee4515c4a
42 changed files with 346 additions and 207 deletions
|
|
@ -1,15 +0,0 @@
|
|||
@import '../../../utils/colors.less';
|
||||
@import '../../../utils/fonts.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||
.tab.features {
|
||||
.feature-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
28
styles/less/sheets/actors/environment/features.less
Normal file
28
styles/less/sheets/actors/environment/features.less
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
@import '../../../utils/colors.less';
|
||||
@import '../../../utils/fonts.less';
|
||||
@import '../../../utils/mixin.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||
.tab.features {
|
||||
position: relative;
|
||||
.feature-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
5
styles/less/sheets/actors/environment/index.less
Normal file
5
styles/less/sheets/actors/environment/index.less
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@import './sheet.less';
|
||||
@import './features.less';
|
||||
@import './header.less';
|
||||
@import './potentialAdversaries.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,8 +8,9 @@
|
|||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%);
|
||||
padding-bottom: 20px;
|
||||
padding-bottom: 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