Merged with main

This commit is contained in:
WBHarry 2025-07-01 19:07:50 +02:00
commit ca9fcf12b9
68 changed files with 2062 additions and 1122 deletions

View file

@ -11,6 +11,25 @@ fieldset.daggerheart.chat {
border-left-width: 0;
border-right-width: 0;
border-bottom-width: 0;
legend {
display: flex;
align-items: center;
gap: 5px;
&:before,
&:after {
content: '\f0d8';
font-family: 'Font Awesome 6 Pro';
}
}
&.expanded {
legend:before,
legend:after {
content: '\f0d7';
}
}
.daggerheart.chat {
margin-top: 5px;
}
}
.daggerheart.chat {
@ -209,6 +228,28 @@ fieldset.daggerheart.chat {
margin: -@fullMargin 0;
}
.target-selection {
display: flex;
justify-content: space-around;
input[type='radio'] {
display: none;
&:checked + label {
text-shadow: 0px 0px 4px #ce5937;
}
&:not(:checked) + label {
opacity: 0.75;
}
}
label {
cursor: pointer;
opacity: 0.75;
&.target-selected {
text-shadow: 0px 0px 4px #ce5937;
opacity: 1;
}
}
}
.target-section {
margin-top: 5px;
@ -234,7 +275,8 @@ fieldset.daggerheart.chat {
background: @miss;
}
img, .target-save-container {
img,
.target-save-container {
width: 22px;
height: 22px;
align-self: center;
@ -284,6 +326,10 @@ fieldset.daggerheart.chat {
margin-top: 5px;
}
}
&:not(.expanded) .dice-tooltip {
grid-template-rows: 0fr;
}
}
&.domain-card {
@ -337,6 +383,17 @@ fieldset.daggerheart.chat {
width: 80px;
}
}
button {
&.inner-button {
--button-size: 1.25rem;
--input-height: 1.25rem;
padding: 0 0.25rem;
margin: 5px 1px -4px auto;
&.inner-button-right {
margin-left: auto;
}
}
}
[data-use-perm='false'] {
pointer-events: none;
@ -347,7 +404,7 @@ fieldset.daggerheart.chat {
display: none;
}
&::after {
content: "??";
content: '??';
}
}
}
@ -359,6 +416,12 @@ fieldset.daggerheart.chat {
fieldset.daggerheart.chat {
border-top-width: 0;
display: contents;
legend {
&:before,
&:after {
display: none;
}
}
}
.message-header {
color: var(--color-light-3);
@ -434,7 +497,7 @@ fieldset.daggerheart.chat {
align-items: end;
gap: 0.25rem;
.dice {
.dice-rolls {
.dice-rolls.duality {
margin-bottom: 0;
li {
display: flex;
@ -457,6 +520,11 @@ fieldset.daggerheart.chat {
}
}
}
.target-selection {
label {
color: var(--color-light-1);
}
}
.target-section {
margin: 4px 0;
border: 2px solid;
@ -500,6 +568,31 @@ fieldset.daggerheart.chat {
margin-right: -8px;
}
}
.duality-result {
display: flex;
color: var(--color-light-1);
text-shadow: 0 0 1px black;
font-weight: bold;
background: var(--color-dark-1);
padding: 4px;
border-color: black;
min-height: unset;
height: 26px;
flex: unset;
margin: 0;
margin-left: auto;
align-self: center;
border-radius: 6px;
}
}
}
button {
&.inner-button {
color: var(--color-light-1);
text-shadow: 0 0 1px black;
font-weight: bold;
background: var(--color-dark-1);
border-color: black;
}
}
}

View file

@ -1406,6 +1406,23 @@ fieldset.daggerheart.chat {
border-right-width: 0;
border-bottom-width: 0;
}
fieldset.daggerheart.chat legend {
display: flex;
align-items: center;
gap: 5px;
}
fieldset.daggerheart.chat legend:before,
fieldset.daggerheart.chat legend:after {
content: '\f0d8';
font-family: "Font Awesome 6 Pro";
}
fieldset.daggerheart.chat.expanded legend:before,
fieldset.daggerheart.chat.expanded legend:after {
content: '\f0d7';
}
fieldset.daggerheart.chat .daggerheart.chat {
margin-top: 5px;
}
.daggerheart.chat.downtime {
display: flex;
flex-direction: column;
@ -1538,6 +1555,27 @@ fieldset.daggerheart.chat {
font-variant: all-small-caps;
margin: -8px 0;
}
.daggerheart.chat.roll .target-selection {
display: flex;
justify-content: space-around;
}
.daggerheart.chat.roll .target-selection input[type="radio"] {
display: none;
}
.daggerheart.chat.roll .target-selection input[type="radio"]:checked + label {
text-shadow: 0px 0px 4px #CE5937;
}
.daggerheart.chat.roll .target-selection input[type="radio"]:not(:checked) + label {
opacity: 0.75;
}
.daggerheart.chat.roll .target-selection label {
cursor: pointer;
opacity: 0.75;
}
.daggerheart.chat.roll .target-selection label.target-selected {
text-shadow: 0px 0px 4px #CE5937;
opacity: 1;
}
.daggerheart.chat.roll .target-section {
margin-top: 5px;
}
@ -1599,6 +1637,9 @@ fieldset.daggerheart.chat {
.daggerheart.chat.roll .dice-result .duality-action {
margin-top: 5px;
}
.daggerheart.chat.roll:not(.expanded) .dice-tooltip {
grid-template-rows: 0fr;
}
.daggerheart.chat.domain-card {
display: flex;
flex-direction: column;
@ -1642,6 +1683,15 @@ fieldset.daggerheart.chat {
.daggerheart.chat.domain-card img {
width: 80px;
}
.daggerheart.chat button.inner-button {
--button-size: 1.25rem;
--input-height: 1.25rem;
padding: 0 0.25rem;
margin: 5px 1px -4px auto;
}
.daggerheart.chat button.inner-button.inner-button-right {
margin-left: auto;
}
.daggerheart.chat [data-use-perm='false'] {
pointer-events: none;
border-color: transparent;
@ -1660,6 +1710,10 @@ fieldset.daggerheart.chat {
border-top-width: 0;
display: contents;
}
.theme-colorful .chat-message.duality fieldset.daggerheart.chat legend:before,
.theme-colorful .chat-message.duality fieldset.daggerheart.chat legend:after {
display: none;
}
.theme-colorful .chat-message.duality .message-header {
color: var(--color-light-3);
padding: 0 8px;
@ -1732,10 +1786,10 @@ fieldset.daggerheart.chat {
align-items: end;
gap: 0.25rem;
}
.theme-colorful .chat-message.duality .message-content .dice-result .dice-tooltip .wrapper .tooltip-part .dice .dice-rolls {
.theme-colorful .chat-message.duality .message-content .dice-result .dice-tooltip .wrapper .tooltip-part .dice .dice-rolls.duality {
margin-bottom: 0;
}
.theme-colorful .chat-message.duality .message-content .dice-result .dice-tooltip .wrapper .tooltip-part .dice .dice-rolls li {
.theme-colorful .chat-message.duality .message-content .dice-result .dice-tooltip .wrapper .tooltip-part .dice .dice-rolls.duality li {
display: flex;
align-items: center;
justify-content: center;
@ -1751,6 +1805,9 @@ fieldset.daggerheart.chat {
text-shadow: 0 0 1px black;
font-size: var(--font-size-16);
}
.theme-colorful .chat-message.duality .message-content .dice-result .target-selection label {
color: var(--color-light-1);
}
.theme-colorful .chat-message.duality .message-content .dice-result .target-section {
margin: 4px 0;
border: 2px solid;
@ -1794,6 +1851,29 @@ fieldset.daggerheart.chat {
border-radius: 6px 0 0 0;
margin-right: -8px;
}
.theme-colorful .chat-message.duality .message-content .dice-result .duality-result {
display: flex;
color: var(--color-light-1);
text-shadow: 0 0 1px black;
font-weight: bold;
background: var(--color-dark-1);
padding: 4px;
border-color: black;
min-height: unset;
height: 26px;
flex: unset;
margin: 0;
margin-left: auto;
align-self: center;
border-radius: 6px;
}
.theme-colorful .chat-message.duality button.inner-button {
color: var(--color-light-1);
text-shadow: 0 0 1px black;
font-weight: bold;
background: var(--color-dark-1);
border-color: black;
}
.daggerheart.sheet.feature .editable {
display: flex;
flex-direction: column;
@ -2935,6 +3015,7 @@ div.daggerheart.views.multiclass {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 8px;
}
.daggerheart.levelup .levelup-navigation-container {
display: flex;
@ -3096,6 +3177,13 @@ div.daggerheart.views.multiclass {
align-items: center;
gap: 4px;
}
.daggerheart.levelup .levelup-selections-container .levelup-radio-choices {
display: flex;
gap: 8px;
}
.daggerheart.levelup .levelup-selections-container .levelup-radio-choices label {
flex: 0;
}
.daggerheart.levelup .levelup-summary-container .level-achievements-container,
.daggerheart.levelup .levelup-summary-container .level-advancements-container {
display: flex;
@ -4200,6 +4288,14 @@ div.daggerheart.views.multiclass {
scrollbar-width: thin;
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
}
.application.sheet.daggerheart.actor.dh-style.companion .profile {
height: 80px;
width: 80px;
}
.application.sheet.daggerheart.actor.dh-style.companion .temp-container {
position: relative;
top: 32px;
}
.application.sheet.daggerheart.actor.dh-style.adversary .window-content {
overflow: auto;
}
@ -4610,6 +4706,7 @@ div.daggerheart.views.multiclass {
.application.sheet.dh-style .item-description {
opacity: 1;
transform: translateY(0);
grid-column: 1/-1;
transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.application.sheet.dh-style .item-description.invisible {

View file

@ -25,6 +25,8 @@
@import './less/actors/character/biography.less';
@import './less/actors/character/features.less';
@import './less/actors/companion/sheet.less';
@import './less/actors/adversary.less';
@import './less/actors/environment.less';

View file

@ -1,70 +1,70 @@
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.application.sheet.daggerheart.actor.dh-style.character {
.tab.inventory {
.search-section {
display: flex;
gap: 10px;
align-items: center;
.search-bar {
position: relative;
color: light-dark(@dark-blue-50, @beige-50);
width: 100%;
padding-top: 5px;
input {
border-radius: 50px;
font-family: @font-body;
background: light-dark(@dark-blue-10, @golden-10);
border: none;
outline: 2px solid transparent;
transition: all 0.3s ease;
padding: 0 20px;
&:hover {
outline: 2px solid light-dark(@dark, @golden);
}
&:placeholder {
color: light-dark(@dark-blue-50, @beige-50);
}
&::-webkit-search-cancel-button {
-webkit-appearance: none;
display: none;
}
}
.icon {
align-content: center;
height: 32px;
position: absolute;
right: 20px;
font-size: 16px;
z-index: 1;
color: light-dark(@dark-blue-50, @beige-50);
}
}
}
.items-section {
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
padding: 20px 0;
height: 80%;
scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
}
.currency-section {
display: flex;
gap: 10px;
}
}
}
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.application.sheet.daggerheart.actor.dh-style.character {
.tab.inventory {
.search-section {
display: flex;
gap: 10px;
align-items: center;
.search-bar {
position: relative;
color: light-dark(@dark-blue-50, @beige-50);
width: 100%;
padding-top: 5px;
input {
border-radius: 50px;
font-family: @font-body;
background: light-dark(@dark-blue-10, @golden-10);
border: none;
outline: 2px solid transparent;
transition: all 0.3s ease;
padding: 0 20px;
&:hover {
outline: 2px solid light-dark(@dark, @golden);
}
&:placeholder {
color: light-dark(@dark-blue-50, @beige-50);
}
&::-webkit-search-cancel-button {
-webkit-appearance: none;
display: none;
}
}
.icon {
align-content: center;
height: 32px;
position: absolute;
right: 20px;
font-size: 16px;
z-index: 1;
color: light-dark(@dark-blue-50, @beige-50);
}
}
}
.items-section {
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
padding: 20px 0;
height: 80%;
scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
}
.currency-section {
display: flex;
gap: 10px;
}
}
}

View file

@ -0,0 +1,11 @@
.application.sheet.daggerheart.actor.dh-style.companion {
.profile {
height: 80px;
width: 80px;
}
.temp-container {
position: relative;
top: 32px;
}
}

View file

@ -206,6 +206,8 @@
opacity: 1;
transform: translateY(0);
grid-column: 1/-1; //For item descriptions in sheet elements
transition:
opacity 0.3s ease-out,
transform 0.3s ease-out;

View file

@ -25,6 +25,7 @@
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 8px;
}
}
@ -217,6 +218,15 @@
align-items: center;
gap: 4px;
}
.levelup-radio-choices {
display: flex;
gap: 8px;
label {
flex: 0;
}
}
}
.levelup-summary-container {