Merged with development

This commit is contained in:
WBHarry 2025-09-06 23:23:07 +02:00
commit 19a07139ff
548 changed files with 4997 additions and 2887 deletions

View file

@ -86,7 +86,7 @@
.flavor-text {
font-size: var(--font-size-12);
line-height: 20px;
color: var(--color-dark-4);
color: light-dark(@dark, @beige);
text-align: center;
display: block;
}

View file

@ -603,9 +603,12 @@
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.25rem 0.5rem;
flex-wrap: wrap;
label {
font-size: var(--font-size-16);
font-size: var(--font-size-14);
font-weight: normal;
}
.form-fields {
@ -613,6 +616,21 @@
gap: 4px;
align-items: center;
}
&.setting-two-values {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.25rem 0.5rem;
.form-group {
justify-content: end;
flex-wrap: nowrap;
}
.hint {
grid-column: 1 / -1;
}
}
}
}

View file

@ -0,0 +1,14 @@
.measured-template-button,
.enriched-damage-button,
.duality-roll-button {
display: inline;
&.inline {
min-height: unset;
height: 18px;
}
i {
font-size: 12px;
}
}

View file

@ -0,0 +1,53 @@
.drag-area {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
height: 40px;
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
border-radius: 3px;
color: light-dark(@dark-blue-50, @beige-50);
font-family: @font-body;
}
.daggerheart.dh-style {
.hint {
flex: 0 0 100%;
margin: 0;
color: var(--color-form-hint);
}
.form-group:hover {
.hint {
color: var(--color-form-hint-hover);
}
}
.loader {
position: relative;
overflow: hidden !important;
div {
opacity: 0.5;
}
&:before {
font-family: 'Font Awesome 6 Pro';
content: '\f110';
position: absolute;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
animation: spinner 1.5s linear infinite;
}
}
@keyframes spinner {
to {
transform: rotate(360deg);
}
}
}

View file

@ -2,6 +2,8 @@
@import './dialog.less';
@import './chat.less';
@import './elements.less';
@import './enrichment.less';
@import './global.less';
@import './tab-navigation.less';
@import './tab-form-footer.less';
@import './tab-actions.less';

View file

@ -34,17 +34,5 @@
width: 100%;
}
}
.adversaries-dragger {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
height: 40px;
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
border-radius: 3px;
color: light-dark(@dark-blue-50, @beige-50);
}
}
}

View file

@ -26,10 +26,6 @@
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;

View file

@ -26,10 +26,6 @@
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;

View file

@ -11,6 +11,21 @@
padding-bottom: 0;
overflow-x: auto;
&.viewMode {
button:not(.btn-toggle-view),
input:not(.search),
.controls,
.character-sidebar-sheet,
.img-portait,
.name-row,
.hope-section,
.downtime-section,
.character-traits,
.card-list {
pointer-events: none;
}
}
.character-sidebar-sheet {
grid-row: 1 / span 2;
grid-column: 1;

View file

@ -77,4 +77,17 @@
}
}
}
.action-section {
display: flex;
padding: 0 10px;
margin-top: 20px;
width: 100%;
button {
height: 40px;
width: 100%;
font-weight: 600;
}
}
}

View file

@ -43,4 +43,18 @@
}
}
}
.tab.questions {
.questions-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
.questions-section {
display: flex;
flex-direction: column;
gap: 4px;
}
}
}
}

View file

@ -2,7 +2,7 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.theme-light {
#interface.theme-light {
.daggerheart.chat.domain-card {
.domain-card-move .domain-card-header {
border-bottom: 1px solid @dark-blue;

View file

@ -2,7 +2,7 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.theme-light {
#interface.theme-light {
.daggerheart.chat.action {
.action-move .action-section {
border-bottom: 1px solid @dark-blue;
@ -79,6 +79,7 @@
display: flex;
flex-direction: column;
gap: 5px;
color: @beige;
.title {
font-size: var(--font-size-20);

View file

@ -2,52 +2,137 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.theme-light {
.daggerheart,
#chat-notifications {
#interface.theme-light {
.daggerheart.chat-sidebar .chat-log,
#chat-notifications .chat-log {
--text-color: @dark-blue;
--bg-color: @dark-blue-40;
.message-content .chat-roll {
.roll-part-header {
span,
span:before,
span:after {
color: @dark-blue;
}
&:before {
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, @dark-blue 100%);
color: @dark-blue;
.chat-message {
.roll-formula {
background: @dark-15;
color: @dark;
}
&.duality {
background-image: url(../assets/parchments/dh-parchment-dark.png);
.message-content {
color: @beige;
}
&:after {
background: linear-gradient(90deg, @dark-blue 0%, rgba(0, 0, 0, 0) 100%);
color: @dark-blue;
.roll-formula {
background: @dark-15;
color: @dark;
}
.message-header {
.message-sub-header-container {
color: @beige;
h4 {
color: @golden;
}
}
.message-header-metadata {
.message-metadata {
color: @beige;
}
}
}
&.hope {
--text-color: @golden;
--bg-color: @golden-40;
.message-header,
.message-content {
background-color: @golden-bg;
}
.roll-formula {
background: var(--bg-color);
color: var(--text-color);
}
}
&.fear {
--text-color: @chat-blue;
--bg-color: @chat-blue-40;
.message-header,
.message-content {
background-color: @chat-blue-bg;
}
.roll-formula {
background: var(--bg-color);
color: var(--text-color);
}
}
&.critical {
--text-color: @chat-purple;
--bg-color: @chat-purple-40;
.message-header,
.message-content {
background-color: @chat-purple-bg;
}
.roll-formula {
background: var(--bg-color);
color: var(--text-color);
}
}
}
.roll-section {
.roll-part-content {
.roll-result-value {
&:not(.duality) {
.font-20 {
color: @dark;
}
.roll-die {
color: @beige;
}
fieldset {
color: @dark-blue;
border-color: @dark-blue;
legend {
color: @dark-blue;
}
}
.chat-roll {
.roll-part-header {
color: @dark-blue;
.dice-tooltip .wrapper .roll-die {
color: @beige;
span::before,
span::after {
color: @dark-blue;
}
&:before {
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, @dark-blue 100%);
}
&:after {
background: linear-gradient(90deg, @dark-blue 0%, rgba(0, 0, 0, 0) 100%);
}
}
.roll-part-content {
&.dice-result {
color: @dark;
}
.roll-result-container {
color: @dark-blue;
}
}
}
}
}
.chat-message .roll-formula {
background: @dark-15;
color: @dark;
}
}
}
.daggerheart.chat {
&.resource-roll {
.reroll-message {
color: @beige;
text-align: center;
font-size: var(--font-size-18);
margin-bottom: 0;

View file

@ -2,7 +2,7 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.theme-light {
#interface.theme-light {
.daggerheart.chat.downtime {
.downtime-moves-list .downtime-move {
&:hover {

View file

@ -1,8 +1,8 @@
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.theme-light {
.chat-message .message-content {
#interface.theme-light {
.chat-message:not(.duality) .message-content {
color: @dark;
blockquote {
@ -58,6 +58,12 @@
font-family: @font-body;
font-weight: bold;
}
.dice-roll .dice-formula,
.dice-roll .dice-total {
background: @dark-blue-40;
color: @dark-blue;
}
}
}
@ -158,8 +164,8 @@
.dice-roll .dice-total {
box-shadow: none;
border: none;
background: light-dark(@dark-blue-40, @golden-40);
color: light-dark(@dark-blue, @golden);
background: @golden-10;
color: @golden;
font-weight: 600;
align-content: center;
}

View file

@ -71,6 +71,7 @@
}
.compendium-results {
position: relative;
padding: 16px;
}
@ -101,10 +102,14 @@
.folder-list,
.item-list-header,
.item-header > div {
gap: 10px;
cursor: pointer;
}
.item-list-header,
.item-header > div {
gap: 10px;
}
.item-filter {
display: flex;
align-items: center;
@ -146,10 +151,6 @@
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;
@ -232,7 +233,8 @@
}
.item-list-header,
.item-list {
.item-list,
.compendium-sidebar > .folder-list {
overflow-y: auto;
scrollbar-gutter: stable;
scrollbar-width: thin;
@ -277,11 +279,11 @@
}
&[data-sort-type='ASC']:after {
content: '\f0d7';
content: '\f884';
}
&[data-sort-type='DESC']:after {
content: '\f0d8';
content: '\f885';
}
}
}
@ -290,6 +292,7 @@
display: flex;
flex-direction: column;
gap: 5px;
flex: 1;
.item-container {
&:hover {
@ -349,6 +352,8 @@
display: grid;
grid-template-rows: 0fr;
transition: all 0.3s ease-in-out;
width: 100%;
.wrapper {
overflow: hidden;
display: grid;
@ -387,8 +392,12 @@
margin: 0;
.title {
margin: 0;
text-align: center;
font-weight: bold;
}
.hint {
flex: unset;
}
}
@ -400,6 +409,7 @@
&.lite,
&.no-folder {
.compendium-sidebar,
.menu-path {
display: none;
}

View file

@ -53,6 +53,10 @@
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
gap: 8px;
max-height: 184px;
overflow: auto;
scrollbar-width: thin;
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
.domain-container {
position: relative;

View file

@ -4,7 +4,7 @@
fieldset {
display: flex;
flex-direction: column;
gap: 4px;
gap: 0.5rem;
&.two-columns {
display: grid;
@ -16,6 +16,12 @@
}
}
&.six-columns {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
gap: 2px;
}
&.start-align {
align-self: flex-start;
}
@ -26,6 +32,7 @@
display: flex;
align-items: center;
gap: 8px;
flex-wrap: nowrap;
}
.settings-items {
@ -103,28 +110,9 @@
gap: 4px;
}
.trait-array-container {
display: flex;
justify-content: space-evenly;
gap: 8px;
margin-bottom: 16px;
.trait-array-item {
position: relative;
display: flex;
justify-content: center;
label {
position: absolute;
top: -7px;
font-size: var(--font-size-12);
font-variant: petite-caps;
z-index: 2;
}
input {
text-align: center;
}
.trait-item {
input {
text-align: center;
}
}