Merged with main

This commit is contained in:
WBHarry 2025-06-25 23:02:50 +02:00
commit 7ac3066f68
18 changed files with 279 additions and 67 deletions

View file

@ -8,6 +8,7 @@
/* Background */
/* Duality */
/* Fear */
@import '../node_modules/@yaireo/tagify/dist/tagify.css';
.daggerheart.sheet.class .editor {
height: 500px;
}
@ -3577,16 +3578,16 @@ div.daggerheart.views.multiclass {
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row {
display: flex;
gap: 20px;
align-items: baseline;
gap: 5px;
align-items: center;
justify-content: space-between;
padding: 0;
padding-top: 5px;
flex: 1;
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row input[type='text'] {
font-size: 32px;
height: 42px;
width: 380px;
text-align: start;
border: 1px solid transparent;
outline: 2px solid transparent;
@ -3597,6 +3598,36 @@ div.daggerheart.views.multiclass {
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row .level-div {
white-space: nowrap;
display: flex;
justify-content: end;
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row .level-div .label {
display: flex;
align-items: center;
gap: 4px;
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row .level-div input {
width: 40px;
padding: 0;
text-align: center;
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row .level-div .level-button {
color: light-dark(#222, #efe6d8);
font-size: 18px;
line-height: 1;
min-height: unset;
height: min-content;
padding: 4px;
font-family: 'Cinzel', serif;
margin: 0;
font-weight: normal;
border-color: light-dark(#18162e, #f3c267);
background-color: light-dark(transparent, #0e0d15);
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .name-row .level-div .level-button:hover {
background-image: none;
background-color: var(--color-warm-2);
filter: drop-shadow(0 0 3px lightgray);
}
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet .character-details {
display: flex;
@ -4166,6 +4197,9 @@ div.daggerheart.views.multiclass {
gap: 10px;
grid-template-columns: 1fr 1.5fr 1.5fr;
}
.application.sheet.daggerheart.dh-style.class .tab.settings .fieldsets-section .drop-section {
width: 100%;
}
.application.sheet.daggerheart.dh-style.class .tab.settings .list-items {
margin-bottom: 10px;
width: 100%;
@ -4196,6 +4230,22 @@ div.daggerheart.views.multiclass {
justify-content: center;
gap: 10px;
}
@keyframes glow {
0% {
box-shadow: 0 0 1px 1px #f3c267;
}
100% {
box-shadow: 0 0 2px 2px #f3c267;
}
}
@keyframes glow-dark {
0% {
box-shadow: 0 0 1px 1px #18162e;
}
100% {
box-shadow: 0 0 2px 2px #18162e;
}
}
@font-face {
font-family: 'Cinzel';
font-style: normal;
@ -4379,6 +4429,9 @@ div.daggerheart.views.multiclass {
background: light-dark(rgba(0, 0, 0, 0.3), #18162e);
color: light-dark(#18162e, #f3c267);
}
.application.sheet.dh-style button.glow {
animation: glow 0.75s infinite alternate;
}
.application.sheet.dh-style select {
background: light-dark(transparent, transparent);
color: light-dark(#222, #efe6d8);
@ -4602,6 +4655,9 @@ div.daggerheart.views.multiclass {
.system-daggerheart.theme-light .tagify__dropdown .tagify__dropdown__item--active {
color: #efe6d8;
}
.theme-light .application.sheet.dh-style button.glow {
animation: glow-dark 0.75s infinite alternate;
}
.theme-light .application .component.dh-style.card-preview-container {
background-image: url('../assets/parchments/dh-parchment-light.png');
}

View file

@ -45,6 +45,7 @@
@import './less/global/feature-section.less';
@import './less/global/inventory-item.less';
@import './less/global/inventory-fieldset-items.less';
@import '../node_modules/@yaireo/tagify/dist/tagify.css';
.daggerheart {
.vertical-separator {

View file

@ -9,16 +9,16 @@
.name-row {
display: flex;
gap: 20px;
align-items: baseline;
gap: 5px;
align-items: center;
justify-content: space-between;
padding: 0;
padding-top: 5px;
flex: 1;
input[type='text'] {
font-size: 32px;
height: 42px;
width: 380px;
text-align: start;
border: 1px solid transparent;
outline: 2px solid transparent;
@ -31,6 +31,40 @@
.level-div {
white-space: nowrap;
display: flex;
justify-content: end;
.label {
display: flex;
align-items: center;
gap: 4px;
}
input {
width: 40px;
padding: 0;
text-align: center;
}
.level-button {
color: light-dark(@dark, @beige);
font-size: 18px;
line-height: 1;
min-height: unset;
height: min-content;
padding: 4px;
font-family: 'Cinzel', serif;
margin: 0;
font-weight: normal;
border-color: light-dark(@dark-blue, @golden);
background-color: light-dark(transparent, @deep-black);
&:hover {
background-image: none;
background-color: var(--color-warm-2);
filter: drop-shadow(0 0 3px lightgray);
}
}
}
}

View file

@ -48,6 +48,10 @@
background: light-dark(@light-black, @dark-blue);
color: light-dark(@dark-blue, @golden);
}
&.glow {
animation: glow 0.75s infinite alternate;
}
}
select {
@ -336,16 +340,24 @@
}
}
.theme-light .application .component.dh-style.card-preview-container {
background-image: url('../assets/parchments/dh-parchment-light.png');
.preview-text-container {
background-image: url(../assets/parchments/dh-parchment-dark.png);
.theme-light .application {
&.sheet.dh-style {
button.glow {
animation: glow-dark 0.75s infinite alternate;
}
}
.preview-selected-icon-container {
background-image: url(../assets/parchments/dh-parchment-dark.png);
color: var(--color-light-5);
.component.dh-style.card-preview-container {
background-image: url('../assets/parchments/dh-parchment-light.png');
.preview-text-container {
background-image: url(../assets/parchments/dh-parchment-dark.png);
}
.preview-selected-icon-container {
background-image: url(../assets/parchments/dh-parchment-dark.png);
color: var(--color-light-5);
}
}
}

View file

@ -7,6 +7,10 @@
display: grid;
gap: 10px;
grid-template-columns: 1fr 1.5fr 1.5fr;
.drop-section {
width: 100%;
}
}
.list-items {

View file

@ -19,3 +19,23 @@
@soft-shadow: rgba(0, 0, 0, 0.05);
@gradient-hp: linear-gradient(15deg, rgb(70, 20, 10) 0%, rgb(190, 0, 0) 42%, rgb(252, 176, 69) 100%);
@gradient-stress: linear-gradient(15deg, rgb(130, 59, 1) 0%, rgb(252, 142, 69) 65%, rgb(190, 0, 0) 100%);
@keyframes glow {
0% {
box-shadow: 0 0 1px 1px @golden;
}
100% {
box-shadow: 0 0 2px 2px @golden;
}
}
@keyframes glow-dark {
0% {
box-shadow: 0 0 1px 1px @dark-blue;
}
100% {
box-shadow: 0 0 2px 2px @dark-blue;
}
}