mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-23 10:59:54 +02:00
Make sheet tab scrollbars stable and remove fieldsets
This commit is contained in:
parent
cdf6e7fdd0
commit
8f86d29569
39 changed files with 577 additions and 562 deletions
|
|
@ -261,13 +261,15 @@
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin: 0;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border-color: @color-fieldset-border;
|
border-color: @color-fieldset-border;
|
||||||
|
|
||||||
&.glassy {
|
&.glassy {
|
||||||
background-color: light-dark(@dark-blue-10, @golden-10);
|
background-color: light-dark(@dark-blue-10, @golden-10);
|
||||||
border-color: transparent;
|
border: none;
|
||||||
|
padding-inline: 10px;
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
padding: 2px 12px;
|
padding: 2px 12px;
|
||||||
|
|
@ -512,7 +514,7 @@
|
||||||
height: 1px;
|
height: 1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid @color-border;
|
border-bottom: 1px solid @color-border;
|
||||||
mask-image: linear-gradient(270deg, transparent 0%, black 50%, transparent 100%);
|
mask-image: linear-gradient(270deg, transparent 0%, black 35%, black 50%, black 65%, transparent 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
side-line-div {
|
side-line-div {
|
||||||
|
|
@ -546,50 +548,6 @@
|
||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-buttons {
|
|
||||||
grid-column: span 3;
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
margin-top: 2px;
|
|
||||||
|
|
||||||
.item-button {
|
|
||||||
display: flex;
|
|
||||||
border: 1px solid light-dark(#18162e, #18162e);
|
|
||||||
color: light-dark(#18162e, #18162e);
|
|
||||||
outline: none;
|
|
||||||
box-shadow: none;
|
|
||||||
border-radius: 6px;
|
|
||||||
|
|
||||||
button {
|
|
||||||
border-radius: 3px 0px 0px 3px;
|
|
||||||
color: light-dark(@dark-blue, @dark-blue);
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: @color-text-emphatic;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:first-child) {
|
|
||||||
padding: 6px;
|
|
||||||
background: light-dark(@dark-blue-10, @golden-secondary);
|
|
||||||
border-radius: 0px 3px 3px 0px;
|
|
||||||
color: light-dark(@dark-blue, @dark-golden);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: light-dark(@light-black, @dark-blue);
|
|
||||||
color: light-dark(@dark-blue, @golden-secondary);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.spacer {
|
|
||||||
border-right: 1px solid black;
|
|
||||||
content: '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.artist-attribution {
|
.artist-attribution {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -597,7 +555,7 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-family: @font-body;
|
font-family: @font-body;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
color: light-dark(#14142599, #efe6d850);
|
color: @color-text-subtle;
|
||||||
font-size: var(--font-size-12);
|
font-size: var(--font-size-12);
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
font-size: var(--font-size-12);
|
font-size: var(--font-size-12);
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
padding: 3px 5px;
|
padding: 2px 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,11 @@
|
||||||
|
|
||||||
.item-main {
|
.item-main {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
||||||
|
// Make hover extend out of bounds.
|
||||||
|
// Because of this extra spacing, the scroll container parent needs some padding
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin: -2px;
|
margin: -2px -2px 0 -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
@ -271,6 +274,50 @@
|
||||||
grid-area: labels;
|
grid-area: labels;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.item-buttons {
|
||||||
|
grid-column: span 3;
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
.item-button {
|
||||||
|
display: flex;
|
||||||
|
border: 1px solid light-dark(#18162e, #18162e);
|
||||||
|
color: light-dark(#18162e, #18162e);
|
||||||
|
outline: none;
|
||||||
|
box-shadow: none;
|
||||||
|
border-radius: 6px;
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 3px 0px 0px 3px;
|
||||||
|
color: light-dark(@dark-blue, @dark-blue);
|
||||||
|
white-space: nowrap;
|
||||||
|
border: 0;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: @color-text-emphatic;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(:first-child) {
|
||||||
|
padding: 6px;
|
||||||
|
background: light-dark(@dark-blue-10, @golden-secondary);
|
||||||
|
border-radius: 0px 3px 3px 0px;
|
||||||
|
color: light-dark(@dark-blue, @dark-golden);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: light-dark(@light-black, @dark-blue);
|
||||||
|
color: light-dark(@dark-blue, @golden-secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.spacer {
|
||||||
|
border-right: 1px solid black;
|
||||||
|
content: '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-item {
|
.card-item {
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ body.game:is(.performance-low, .noblur) {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: -webkit-fill-available;
|
min-height: -webkit-fill-available;
|
||||||
transition: opacity 0.3s ease;
|
transition: opacity 0.3s ease;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 16px;
|
||||||
|
|
||||||
.tab {
|
.tab {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,8 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style {
|
.application.sheet.daggerheart.actor.dh-style {
|
||||||
|
--side-indent: 16px;
|
||||||
|
|
||||||
.portrait img,
|
.portrait img,
|
||||||
.profile {
|
.profile {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -39,6 +41,33 @@
|
||||||
|
|
||||||
.window-header > .attribution-header-label {
|
.window-header > .attribution-header-label {
|
||||||
margin-right: var(--spacer-4);
|
margin-right: var(--spacer-4);
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-navigation {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab {
|
||||||
|
padding: 0;
|
||||||
|
.search-section {
|
||||||
|
padding: var(--spacer-16) 12px var(--spacer-8) 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-container {
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
overflow-y: auto;
|
||||||
|
.with-scroll-shadows();
|
||||||
|
|
||||||
|
padding: var(--spacer-16) calc(var(--side-indent) - var(--scrollbar-width)) 4px var(--side-indent);
|
||||||
|
|
||||||
|
> fieldset:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.scroll-container:not(:first-child) {
|
||||||
|
padding-top: var(--spacer-8); // nested have less top padding
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab.inventory {
|
.tab.inventory {
|
||||||
|
|
@ -46,7 +75,7 @@
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
padding: 10px 10px 0;
|
padding: var(--spacer-8) var(--side-indent) var(--spacer-12) var(--side-indent);
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
color: light-dark(@dark, @beige);
|
color: light-dark(@dark, @beige);
|
||||||
|
|
@ -94,7 +123,6 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
color: light-dark(@dark-blue-50, @beige-50);
|
color: light-dark(@dark-blue-50, @beige-50);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 5px;
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
> *:not(line-div, .tab-navigation) {
|
> *:not(line-div, .tab-navigation) {
|
||||||
padding-left: 15px;
|
padding-left: var(--side-indent);
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary .tab.notes.active {
|
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
@ -33,6 +33,8 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin: 0 0 10px 0;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -8,17 +8,11 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
height: 100%;
|
flex: 1;
|
||||||
overflow-y: auto;
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
height: 100%;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.characteristics-section {
|
.characteristics-section {
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
padding: 0 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.biography-section {
|
.biography-section {
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,19 @@
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
.character-header-sheet {
|
.character-header-sheet {
|
||||||
padding: 0 15px;
|
|
||||||
padding-top: var(--header-height);
|
padding-top: var(--header-height);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
> *:not(line-div, .tab-navigation) {
|
||||||
|
margin-left: var(--side-indent);
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
.name-row {
|
.name-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0;
|
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
|
|
@ -100,8 +103,8 @@
|
||||||
.character-details {
|
.character-details {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 5px 0;
|
margin-top: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 10px;
|
||||||
font-size: var(--font-size-12);
|
font-size: var(--font-size-12);
|
||||||
color: @color-text-emphatic;
|
color: @color-text-emphatic;
|
||||||
|
|
||||||
|
|
@ -130,7 +133,6 @@
|
||||||
.character-row {
|
.character-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0;
|
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|
||||||
.resource-section {
|
.resource-section {
|
||||||
|
|
@ -218,7 +220,6 @@
|
||||||
|
|
||||||
.character-traits {
|
.character-traits {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 0;
|
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
max-width: 38.5rem;
|
max-width: 38.5rem;
|
||||||
|
|
@ -325,5 +326,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tab-navigation button[data-action="openSettings"] {
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
@import './sheet.less';
|
||||||
@import './biography.less';
|
@import './biography.less';
|
||||||
@import './effects.less';
|
@import './effects.less';
|
||||||
@import './features.less';
|
@import './features.less';
|
||||||
@import './header.less';
|
@import './header.less';
|
||||||
@import './inventory.less';
|
@import './inventory.less';
|
||||||
@import './loadout.less';
|
@import './loadout.less';
|
||||||
@import './sheet.less';
|
|
||||||
@import './sidebar.less';
|
@import './sidebar.less';
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
margin-top: 20px;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,11 +50,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
height: 100%;
|
|
||||||
overflow-y: auto;
|
|
||||||
margin-top: 20px;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
@import '../../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.character {
|
.application.sheet.daggerheart.actor.dh-style.character {
|
||||||
|
--side-indent: 16px;
|
||||||
|
|
||||||
.window-content {
|
.window-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 275px 1fr;
|
grid-template-columns: 275px 1fr;
|
||||||
|
|
@ -10,28 +12,34 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.character-sidebar-sheet {
|
.character-sidebar-sheet {
|
||||||
grid-row: 1 / span 2;
|
grid-row: 1 / span 2;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.character-header-sheet {
|
||||||
|
position: relative;
|
||||||
|
grid-row: 1;
|
||||||
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab {
|
||||||
|
grid-row: 2;
|
||||||
|
grid-column: 2;
|
||||||
|
padding-right: 0;
|
||||||
|
margin-right: 2px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
&.active {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
overflow: hidden;
|
||||||
|
margin: 0 0 10px 0;
|
||||||
.character-header-sheet {
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
grid-row: 1;
|
|
||||||
grid-column: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab {
|
|
||||||
grid-row: 2;
|
|
||||||
grid-column: 2;
|
|
||||||
&.active {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,17 @@
|
||||||
@import '../../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.companion {
|
.application.sheet.daggerheart.actor.dh-style.companion {
|
||||||
.tab.effects {
|
.tab.effects {
|
||||||
|
margin-right: 2px;
|
||||||
|
padding-right: 0;
|
||||||
.effects-sections {
|
.effects-sections {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 4px;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
.with-scroll-shadows();
|
.with-scroll-shadows();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -138,10 +138,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.environment-navigation {
|
.environment-navigation {
|
||||||
padding: 0 20px;
|
padding-right: 20px;
|
||||||
|
|
||||||
.tab-navigation {
|
.tab-navigation {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
|
@import './sheet.less';
|
||||||
@import './features.less';
|
@import './features.less';
|
||||||
@import './header.less';
|
@import './header.less';
|
||||||
@import './potentialAdversaries.less';
|
@import './potentialAdversaries.less';
|
||||||
@import './sheet.less';
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
@import '../../../utils/colors.less';
|
@import '../../../utils/colors.less';
|
||||||
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.environment {
|
.application.sheet.daggerheart.actor.dh-style.environment {
|
||||||
.tab.potentialAdversaries {
|
.tab.potentialAdversaries {
|
||||||
|
|
@ -6,9 +7,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
|
@import './sheet.less';
|
||||||
@import './header.less';
|
@import './header.less';
|
||||||
@import './party-members.less';
|
@import './party-members.less';
|
||||||
@import './sheet.less';
|
|
||||||
@import './inventory.less';
|
@import './inventory.less';
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
overflow-y: auto;
|
|
||||||
margin-top: 20px;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
.with-scroll-shadows();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,30 @@
|
||||||
@import '../../../utils/fonts.less';
|
@import '../../../utils/fonts.less';
|
||||||
@import '../../../utils/mixin.less';
|
@import '../../../utils/mixin.less';
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.party .tab.partyMembers {
|
.application.sheet.daggerheart.actor.dh-style.party .tab.partyMembers.active {
|
||||||
overflow: auto;
|
padding: var(--spacer-8) 4px 0 10px;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
.with-scroll-shadows();
|
||||||
|
|
||||||
|
.actions-section {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
gap: 20px;
|
||||||
|
background-color: light-dark(@dark-blue-10, @golden-10);
|
||||||
|
|
||||||
|
button {
|
||||||
|
span {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.active-action {
|
||||||
|
animation: glow 0.75s infinite alternate;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.actors-list {
|
.actors-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -17,35 +17,10 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.party {
|
.application.sheet.daggerheart.actor.dh-style.party {
|
||||||
.tab {
|
.tab.active {
|
||||||
|
overflow: auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
|
||||||
scrollbar-gutter: stable;
|
|
||||||
|
|
||||||
&.active {
|
|
||||||
overflow: auto;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.actions-section {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
gap: 20px;
|
|
||||||
background-color: light-dark(@dark-blue-10, @golden-10);
|
|
||||||
|
|
||||||
button {
|
|
||||||
span {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.active-action {
|
|
||||||
animation: glow 0.75s infinite alternate;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -174,10 +174,10 @@
|
||||||
--fade-start: 0;
|
--fade-start: 0;
|
||||||
}
|
}
|
||||||
10%, 100% {
|
10%, 100% {
|
||||||
--fade-start: 12px;
|
--fade-start: 14px;
|
||||||
}
|
}
|
||||||
0%, 90% {
|
0%, 90% {
|
||||||
--fade-end: 12px;
|
--fade-end: 14px;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
--fade-end: 0;
|
--fade-end: 0;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<section class='tab {{tabs.effects.cssClass}} {{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
|
<section class='tab {{tabs.effects.cssClass}} {{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
|
||||||
data-group='{{tabs.effects.group}}'>
|
data-group='{{tabs.effects.group}}'>
|
||||||
<div class="effects-sections">
|
<div class="effects-sections scroll-container">
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> 'daggerheart.inventory-items'
|
||||||
title='DAGGERHEART.GENERAL.activeEffects'
|
title='DAGGERHEART.GENERAL.activeEffects'
|
||||||
type='effect'
|
type='effect'
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,17 @@
|
||||||
<section class='tab {{tabs.features.cssClass}} {{tabs.features.id}}' data-tab='{{tabs.features.id}}'
|
<section
|
||||||
data-group='{{tabs.features.group}}'>
|
class="tab {{tabs.features.cssClass}} {{tabs.features.id}}"
|
||||||
<div class="feature-section">
|
data-tab="{{tabs.features.id}}"
|
||||||
{{> 'daggerheart.inventory-items'
|
data-group="{{tabs.features.group}}">
|
||||||
title=tabs.features.label
|
<div class="feature-section scroll-container">
|
||||||
type='feature'
|
{{#each @root.features as |item|}}
|
||||||
collection=@root.features
|
{{> "daggerheart.inventory-item"
|
||||||
hideContextMenu=true
|
item=item
|
||||||
hideModifyControls=true
|
type="feature"
|
||||||
canCreate=@root.editable
|
actorType=@root.document.type
|
||||||
showActions=@root.editable
|
hideContextMenu=true
|
||||||
}}
|
hideModifyControls=true
|
||||||
|
showActions=@root.editable
|
||||||
|
}}
|
||||||
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<section
|
<section
|
||||||
class='tab {{tabs.biography.cssClass}} {{tabs.biography.id}}'
|
class="tab {{tabs.biography.cssClass}} {{tabs.biography.id}}"
|
||||||
data-tab='{{tabs.biography.id}}'
|
data-tab="{{tabs.biography.id}}"
|
||||||
data-group='{{tabs.biography.group}}'
|
data-group='{{tabs.biography.group}}'
|
||||||
>
|
>
|
||||||
<div class="items-section">
|
<div class="items-section scroll-container">
|
||||||
<div class="characteristics-section flexrow">
|
<div class="characteristics-section flexrow">
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<span>{{localize 'DAGGERHEART.ACTORS.Character.pronouns'}}</span>
|
<span>{{localize 'DAGGERHEART.ACTORS.Character.pronouns'}}</span>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<section class='tab {{tabs.effects.cssClass}} {{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
|
<section class='tab {{tabs.effects.cssClass}} {{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
|
||||||
data-group='{{tabs.effects.group}}'>
|
data-group='{{tabs.effects.group}}'>
|
||||||
|
|
||||||
<div class="effects-sections">
|
<div class="effects-sections scroll-container">
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> 'daggerheart.inventory-items'
|
||||||
title='DAGGERHEART.GENERAL.activeEffects'
|
title='DAGGERHEART.GENERAL.activeEffects'
|
||||||
type='effect'
|
type='effect'
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,23 @@
|
||||||
<section class='tab {{tabs.features.cssClass}} {{tabs.features.id}}' data-tab='{{tabs.features.id}}'
|
<section
|
||||||
data-group='{{tabs.features.group}}'>
|
class="tab {{tabs.features.cssClass}} {{tabs.features.id}}"
|
||||||
<div class="features-sections">
|
data-tab="{{tabs.features.id}}"
|
||||||
|
data-group="{{tabs.features.group}}">
|
||||||
|
<div class="features-section scroll-container">
|
||||||
{{#each document.system.sheetLists as |category|}}
|
{{#each document.system.sheetLists as |category|}}
|
||||||
{{#if (eq category.type 'feature' )}}
|
{{#if (eq category.type "feature" )}}
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> "daggerheart.inventory-items"
|
||||||
title=category.title
|
title=category.title
|
||||||
type='feature'
|
type="feature"
|
||||||
actorType='character'
|
actorType="character"
|
||||||
collection=category.values
|
collection=category.values
|
||||||
canCreate=@root.editable
|
canCreate=@root.editable
|
||||||
showActions=@root.editable
|
showActions=@root.editable
|
||||||
}}
|
}}
|
||||||
{{else if category.values}}
|
{{else if category.values}}
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> "daggerheart.inventory-items"
|
||||||
title=category.title
|
title=category.title
|
||||||
type='feature'
|
type="feature"
|
||||||
actorType='character'
|
actorType="character"
|
||||||
collection=category.values
|
collection=category.values
|
||||||
canCreate=false
|
canCreate=false
|
||||||
showActions=@root.editable
|
showActions=@root.editable
|
||||||
|
|
|
||||||
|
|
@ -79,8 +79,6 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="character-row">
|
<div class="character-row">
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
{{> "systems/daggerheart/templates/sheets/global/partials/gold.hbs" currencies=inventory.currencies}}
|
{{> "systems/daggerheart/templates/sheets/global/partials/gold.hbs" currencies=inventory.currencies}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="items-section">
|
<div class="items-section scroll-container">
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> 'daggerheart.inventory-items'
|
||||||
title='TYPES.Item.weapon'
|
title='TYPES.Item.weapon'
|
||||||
type='weapon'
|
type='weapon'
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="items-section">
|
<div class="items-section scroll-container">
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> 'daggerheart.inventory-items'
|
||||||
title='DAGGERHEART.GENERAL.Tabs.loadout'
|
title='DAGGERHEART.GENERAL.Tabs.loadout'
|
||||||
type='domainCard'
|
type='domainCard'
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,18 @@
|
||||||
<section
|
<section
|
||||||
class='tab {{tabs.features.cssClass}} {{tabs.features.id}}'
|
class="tab {{tabs.features.cssClass}} {{tabs.features.id}}"
|
||||||
data-tab='{{tabs.features.id}}'
|
data-tab="{{tabs.features.id}}"
|
||||||
data-group='{{tabs.features.group}}'
|
data-group="{{tabs.features.group}}"
|
||||||
>
|
>
|
||||||
<div class="feature-section">
|
<div class="feature-section scroll-container">
|
||||||
{{> 'daggerheart.inventory-items'
|
{{#each @root.features as |item|}}
|
||||||
title=tabs.features.label
|
{{> "daggerheart.inventory-item"
|
||||||
type='feature'
|
item=item
|
||||||
collection=@root.features
|
type="feature"
|
||||||
hideContextMenu=true
|
actorType=@root.document.type
|
||||||
hideModifyControls=true
|
hideContextMenu=true
|
||||||
canCreate=@root.editable
|
hideModifyControls=true
|
||||||
showActions=@root.editable
|
showActions=@root.editable
|
||||||
}}
|
}}
|
||||||
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
data-tab='{{tabs.potentialAdversaries.id}}'
|
data-tab='{{tabs.potentialAdversaries.id}}'
|
||||||
data-group='{{tabs.potentialAdversaries.group}}'
|
data-group='{{tabs.potentialAdversaries.group}}'
|
||||||
>
|
>
|
||||||
<div class="items-section">
|
<div class="items-section scroll-container">
|
||||||
{{#each document.system.potentialAdversaries as |category categoryId|}}
|
{{#each document.system.potentialAdversaries as |category categoryId|}}
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> 'daggerheart.inventory-items'
|
||||||
title=category.label
|
title=category.label
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
{{> "systems/daggerheart/templates/sheets/global/partials/gold.hbs" currencies=inventory.currencies}}
|
{{> "systems/daggerheart/templates/sheets/global/partials/gold.hbs" currencies=inventory.currencies}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="items-section">
|
<div class="items-section scroll-container">
|
||||||
{{> 'daggerheart.inventory-items'
|
{{> 'daggerheart.inventory-items'
|
||||||
title='TYPES.Item.weapon'
|
title='TYPES.Item.weapon'
|
||||||
type='weapon'
|
type='weapon'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue