Merge branch 'main' into feature/Character-Setup-Rework

This commit is contained in:
WBHarry 2025-07-13 03:09:47 +02:00
commit f751b2d757
63 changed files with 664 additions and 188 deletions

View file

@ -0,0 +1,19 @@
@import '../../utils/fonts.less';
.application.daggerheart.dh-style {
.actions-list {
display: flex;
flex-direction: column;
gap: 10px;
.action-item {
display: flex;
align-items: center;
gap: 5px;
.label {
font-family: @font-body;
}
}
}
}

View file

@ -0,0 +1,20 @@
@import '../../utils/colors.less';
.daggerheart.dialog.dh-style.views.damage-selection {
.damage-section-container {
display: flex;
flex-direction: column;
gap: 12px;
input[type='text'],
input[type='number'] {
color: light-dark(@dark, @beige);
outline: 2px solid transparent;
transition: all 0.3s ease;
&:hover {
outline: 2px solid light-dark(@dark, @beige);
}
}
}
}

View file

@ -114,15 +114,5 @@
}
}
}
.formula-label {
font-family: @font-body;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 17px;
color: light-dark(@dark, @beige);
}
}
}

View file

@ -4,6 +4,10 @@
@import './level-up/summary-container.less';
@import './level-up/tiers-container.less';
@import './actions/action-list.less';
@import './damage-selection/sheet.less';
@import './downtime/downtime-container.less';
@import './beastform/beastform-container.less';

View file

@ -1,5 +1,6 @@
@import '../utils/colors.less';
@import '../utils/fonts.less';
@import '../utils/mixin.less';
.appTheme({
&.dialog {
@ -40,4 +41,19 @@
}
}
}
.submit-btn {
width: 100%;
height: 38px;
}
.formula-label {
font-family: @font-body;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 17px;
color: light-dark(@dark, @beige);
}
}

View file

@ -35,15 +35,16 @@
}
}
input[type='checkbox'] {
input[type='checkbox'],
input[type='radio'] {
&:checked::after {
color: light-dark(@dark, @golden);
color: light-dark(@dark-40, @golden);
}
&:checked::before {
color: light-dark(transparent, @dark-blue);
color: light-dark(@dark-40, @golden-40);
}
&::before {
color: light-dark(@dark, @beige);
color: light-dark(@dark-40, @golden-40);
}
}
@ -103,6 +104,40 @@
}
}
multi-select {
position: relative;
height: 34px;
.tags {
justify-content: flex-start;
margin: 5px;
height: inherit;
.tag {
box-shadow: 0 0 0 1.1em #E5E5E5 inset;
vertical-align: top;
box-sizing: border-box;
max-width: 100%;
padding: 0.3em 0 0.3em 0.5em;
color: black;
border-radius: 3px;
white-space: nowrap;
transition: .13s ease-out;
height: 22px;
font-size: .9rem;
gap: 0.5em;
z-index: 1;
.remove {
font-size: 10px;
margin-inline: auto 4.6666666667px;
}
}
}
select {
position: absolute;
height: inherit;
outline: initial;
}
}
p {
margin: 0;
}

View file

@ -12,3 +12,4 @@
@import './inventory-fieldset-items.less';
@import './prose-mirror.less';
@import './filter-menu.less';
@import './tab-attachments.less';

View file

@ -4,8 +4,8 @@
// Theme handling
.appTheme({
background: @semi-transparent-dark-blue;
backdrop-filter: blur(9px);
background: @dark-blue-60;
backdrop-filter: blur(10px);
}, {
background: url('../assets/parchments/dh-parchment-light.png') no-repeat center;
});
@ -44,6 +44,8 @@
top: -36px;
min-height: -webkit-fill-available;
transition: opacity 0.3s ease;
padding-bottom: 20px;
margin-bottom: -36px;
.tab {
padding: 0 10px;

View file

@ -0,0 +1,7 @@
.daggerheart.dh-style {
.tab.attachments {
.attached-items {
width: 100%;
}
}
}

View file

@ -5,6 +5,7 @@
.tab.experiences {
.add-experience-btn {
width: 100%;
height: 38px;
margin-bottom: 12px;
}

View file

@ -10,6 +10,7 @@
.add-feature-btn {
width: 100%;
height: 38px;
margin-bottom: 12px;
}

View file

@ -10,6 +10,7 @@
.add-action-btn {
width: 100%;
height: 38px;
margin-bottom: 12px;
}

View file

@ -10,6 +10,7 @@
.add-feature-btn {
width: 100%;
height: 38px;
margin-bottom: 12px;
}

View file

@ -9,6 +9,7 @@
gap: 15px 0;
height: 100%;
width: 100%;
padding-bottom: 0;
.adversary-sidebar-sheet {
grid-row: 1 / span 2;

View file

@ -110,10 +110,11 @@
justify-content: space-evenly;
.status-bar {
display: flex;
justify-content: center;
position: relative;
width: 100px;
height: 40px;
justify-items: center;
.status-label {
position: relative;

View file

@ -9,6 +9,7 @@
gap: 15px 0;
height: 100%;
width: 100%;
padding-bottom: 0;
overflow: auto;
.character-sidebar-sheet {

View file

@ -70,10 +70,11 @@
justify-content: space-evenly;
.status-bar {
display: flex;
justify-content: center;
position: relative;
width: 100px;
height: 40px;
justify-items: center;
.status-label {
position: relative;

View file

@ -45,7 +45,9 @@
justify-content: center;
.status-number {
justify-items: center;
display: flex;
flex-direction: column;
align-items: center;
.status-value {
position: relative;
@ -85,6 +87,8 @@
}
.status-bar {
display: flex;
justify-content: center;
position: relative;
width: 100px;
height: 40px;

View file

@ -25,10 +25,12 @@
@dark-blue-10: #18162e10;
@dark-blue-40: #18162e40;
@dark-blue-50: #18162e50;
@dark-blue-60: #18162e60;
@semi-transparent-dark-blue: rgba(24, 22, 46, 0.33);
@dark: #222;
@dark-15: #22222215;
@dark-40: #22222240;
@deep-black: #0e0d15;