refactor font-family styles to avoid unecessary diplicities (#983)

This commit is contained in:
Murilo Brito 2025-08-17 09:37:39 -03:00 committed by GitHub
parent 2820c96259
commit 96d26a1e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 220 additions and 246 deletions

View file

@ -15,3 +15,5 @@
@import './less/ux/index.less'; @import './less/ux/index.less';
@import '../build/tagify.css'; @import '../build/tagify.css';
@import './less/utils/mixin.less';

View file

@ -32,9 +32,7 @@
width: 30px; width: 30px;
} }
span { span {
font-family: @font-body;
flex: 1; flex: 1;
font-weight: bold;
} }
} }
} }
@ -55,7 +53,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
font-family: @font-body;
flex: 1; flex: 1;
i { i {
text-align: center; text-align: center;

View file

@ -210,7 +210,6 @@
button { button {
flex: 1; flex: 1;
font-family: @font-body;
font-weight: bold; font-weight: bold;
height: 40px; height: 40px;
} }

View file

@ -7,7 +7,6 @@
border-top: 0; border-top: 0;
a { a {
font-family: @font-body;
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
&[disabled] { &[disabled] {

View file

@ -26,7 +26,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
font-family: @font-body;
cursor: pointer; cursor: pointer;
flex: 1; flex: 1;
i { i {
@ -50,7 +49,6 @@
button { button {
flex: 1; flex: 1;
height: 40px; height: 40px;
font-family: @font-body;
font-weight: 600; font-weight: 600;
} }
} }

View file

@ -100,7 +100,6 @@
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
.label { .label {
font-family: @font-body;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
@ -126,7 +125,6 @@
transition: all 0.3s ease; transition: all 0.3s ease;
.label { .label {
font-family: @font-body;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
@ -174,7 +172,6 @@
flex: 1; flex: 1;
height: 100%; height: 100%;
font-weight: bold; font-weight: bold;
font-family: @font-body;
} }
} }
} }

View file

@ -15,8 +15,6 @@
} }
.daggerheart.dh-style.views.downtime { .daggerheart.dh-style.views.downtime {
font-family: @font-body;
.downtime-container { .downtime-container {
.activities-grouping { .activities-grouping {
width: 280px; width: 280px;
@ -39,7 +37,7 @@
.activity-marker { .activity-marker {
font-size: 8px; font-size: 8px;
flex: none; flex: none;
color: light-dark(#18162e, #f3c267); color: light-dark(@dark-blue, @golden);
margin-right: 4px; margin-right: 4px;
} }
@ -93,9 +91,6 @@
.refreshable-title { .refreshable-title {
font-weight: bold; font-weight: bold;
} }
.refreshable-name {
}
} }
} }
@ -107,7 +102,6 @@
button { button {
flex: 1; flex: 1;
height: 40px; height: 40px;
font-family: @font-body;
font-weight: 600; font-weight: 600;
} }
} }

View file

@ -10,7 +10,6 @@
gap: 10px; gap: 10px;
button { button {
font-family: @font-body;
font-weight: bold; font-weight: bold;
height: 40px; height: 40px;
} }

View file

@ -19,7 +19,6 @@
a, a,
span { span {
font-family: @font-body;
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
} }
} }

View file

@ -30,10 +30,6 @@
width: 80%; width: 80%;
} }
span {
font-family: @font-body;
}
.achievement-experience-marker { .achievement-experience-marker {
border: 1px solid; border: 1px solid;
border-radius: 50%; border-radius: 50%;
@ -127,7 +123,6 @@
margin-bottom: 10px; margin-bottom: 10px;
h3 { h3 {
font-family: @font-subtitle;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
margin: 0; margin: 0;
white-space: nowrap; white-space: nowrap;

View file

@ -9,7 +9,6 @@
margin-bottom: 10px; margin-bottom: 10px;
h3 { h3 {
font-family: @font-subtitle;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
margin: 0; margin: 0;
white-space: nowrap; white-space: nowrap;
@ -43,7 +42,6 @@
align-items: center; align-items: center;
gap: 4px; gap: 4px;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
} }
@ -52,7 +50,6 @@
align-items: center; align-items: center;
gap: 4px; gap: 4px;
font-size: 16px; font-size: 16px;
font-family: @font-subtitle;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
margin-bottom: 5px; margin-bottom: 5px;
} }
@ -66,7 +63,6 @@
border-radius: 3px; border-radius: 3px;
padding: 0 4px; padding: 0 4px;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
} }
} }

View file

@ -60,7 +60,6 @@
} }
.checkbox-group-label { .checkbox-group-label {
font-family: @font-body;
font-size: 12px; font-size: 12px;
font-style: italic; font-style: italic;
} }

View file

@ -1,3 +1,5 @@
@import '../../utils/colors.less';
.theme-light .daggerheart.dh-style.dialog.multiclass-choice { .theme-light .daggerheart.dh-style.dialog.multiclass-choice {
.multiclass-container .domain-choice-container button label { .multiclass-container .domain-choice-container button label {
background-image: url(../assets/parchments/dh-parchment-light.png); background-image: url(../assets/parchments/dh-parchment-light.png);
@ -42,7 +44,6 @@
label { label {
position: absolute; position: absolute;
top: 4px; top: 4px;
font-family: @font-body;
border-radius: 6px; border-radius: 6px;
border: 2px solid; border: 2px solid;
padding: 0 2px; padding: 0 2px;

View file

@ -48,7 +48,6 @@
} }
.formula-label { .formula-label {
font-family: @font-body;
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
@ -81,7 +80,6 @@
button[type='submit'] { button[type='submit'] {
gap: 5px; gap: 5px;
flex-direction: row; flex-direction: row;
font-family: @font-body;
font-weight: bold; font-weight: bold;
font-size: var(--font-size-14); font-size: var(--font-size-14);
height: 40px; height: 40px;

View file

@ -76,7 +76,6 @@
textarea { textarea {
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
font-family: @font-body;
scrollbar-width: thin; scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent; scrollbar-color: light-dark(@dark-blue, @golden) transparent;
} }
@ -126,7 +125,6 @@
select { select {
background: light-dark(transparent, transparent); background: light-dark(transparent, transparent);
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
font-family: @font-body;
outline: 2px solid transparent; outline: 2px solid transparent;
border: 1px solid light-dark(@dark, @beige); border: 1px solid light-dark(@dark, @beige);
@ -161,7 +159,6 @@
padding: 0.3rem 0.5rem; padding: 0.3rem 0.5rem;
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
background-color: light-dark(@dark-blue-10, @golden-40); background-color: light-dark(@dark-blue-10, @golden-40);
font-family: @font-body;
border-radius: 3px; border-radius: 3px;
transition: 0.13s ease-out; transition: 0.13s ease-out;
gap: 0.5rem; gap: 0.5rem;
@ -180,7 +177,6 @@
} }
table { table {
font-family: @font-body;
border-radius: 3px; border-radius: 3px;
thead { thead {
@ -309,7 +305,6 @@
} }
legend { legend {
font-family: @font-body;
font-weight: bold; font-weight: bold;
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
} }
@ -317,7 +312,6 @@
input[type='text'], input[type='text'],
input[type='number'] { input[type='number'] {
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
font-family: @font-body;
transition: all 0.3s ease; transition: all 0.3s ease;
outline: 2px solid transparent; outline: 2px solid transparent;
@ -368,7 +362,6 @@
.form-group { .form-group {
width: 100%; width: 100%;
label { label {
font-family: @font-body;
font-weight: bold; font-weight: bold;
font-size: smaller; font-size: smaller;
} }
@ -407,7 +400,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
white-space: nowrap; white-space: nowrap;
font-family: @font-body;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
@ -503,7 +495,6 @@
color: light-dark(@dark-blue, @dark-blue); color: light-dark(@dark-blue, @dark-blue);
white-space: nowrap; white-space: nowrap;
border: 0; border: 0;
font-family: @font-body;
&:hover { &:hover {
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
@ -604,7 +595,6 @@
label { label {
font-size: 16px; font-size: 16px;
font-family: @font-body;
} }
.form-fields { .form-fields {
@ -679,7 +669,6 @@
.tagify__dropdown { .tagify__dropdown {
border: 1px solid light-dark(@dark, @beige) !important; border: 1px solid light-dark(@dark, @beige) !important;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
.tagify__dropdown__wrapper { .tagify__dropdown__wrapper {
@ -774,7 +763,6 @@
} }
.preview-text-container { .preview-text-container {
font-family: @font-body;
padding: 10px 0; padding: 10px 0;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
@ -810,7 +798,6 @@
font-size: 10px; font-size: 10px;
font-variant: small-caps; font-variant: small-caps;
text-align: center; text-align: center;
font-family: @font-body;
font-style: italic; font-style: italic;
color: light-dark(@dark-blue-60, @beige-80); color: light-dark(@dark-blue-60, @beige-80);
} }

View file

@ -24,7 +24,6 @@
align-items: center; align-items: center;
grid-template-columns: 1fr 4fr 1fr; grid-template-columns: 1fr 4fr 1fr;
h4 { h4 {
font-family: @font-body;
font-weight: lighter; font-weight: lighter;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
} }

View file

@ -12,7 +12,6 @@
padding: 5px; padding: 5px;
legend { legend {
font-family: @font-body;
font-weight: bold; font-weight: bold;
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
font-size: var(--font-size-12); font-size: var(--font-size-12);

View file

@ -102,7 +102,6 @@
.item-label { .item-label {
flex: 1; flex: 1;
font-family: @font-body;
align-self: center; align-self: center;
.item-name { .item-name {
@ -202,7 +201,6 @@
padding: 0 0 0 1.25rem; padding: 0 0 0 1.25rem;
li { li {
font-family: @font-body;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
} }
@ -310,7 +308,6 @@
mask-image: linear-gradient(180deg, transparent 0%, black 20%); mask-image: linear-gradient(180deg, transparent 0%, black 20%);
.card-name { .card-name {
font-family: @font-body;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;

View file

@ -34,7 +34,6 @@
padding: 0 0 0 1.25rem; padding: 0 0 0 1.25rem;
li { li {
font-family: @font-body;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
} }

View file

@ -26,7 +26,6 @@
} }
h4 { h4 {
font-family: @font-body;
font-weight: lighter; font-weight: lighter;
color: @beige; color: @beige;
} }

View file

@ -19,7 +19,6 @@
cursor: pointer; cursor: pointer;
h4 { h4 {
font-family: @font-body;
font-weight: lighter; font-weight: lighter;
color: @beige; color: @beige;
} }

View file

@ -26,7 +26,6 @@
} }
h4 { h4 {
font-family: @font-body;
font-weight: lighter; font-weight: lighter;
color: @beige; color: @beige;
} }

View file

@ -21,7 +21,6 @@
a { a {
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);
font-family: @font-body;
} }
} }
} }

View file

@ -18,7 +18,6 @@
.features-dragger { .features-dragger {
display: flex; display: flex;
width: 100%; width: 100%;
font-family: @font-body;
} }
.feature-list { .feature-list {
@ -38,10 +37,6 @@
object-fit: cover; object-fit: cover;
} }
.label {
font-family: @font-body;
}
.controls { .controls {
display: flex; display: flex;
gap: 5px; gap: 5px;

View file

@ -1,3 +1,5 @@
@import '../../utils/colors.less';
.theme-light .application.daggerheart.dh-style.dialog { .theme-light .application.daggerheart.dh-style.dialog {
.tab.details { .tab.details {
.traits-inner-container .trait-container { .traits-inner-container .trait-container {
@ -31,7 +33,6 @@
div { div {
filter: drop-shadow(0 0 3px black); filter: drop-shadow(0 0 3px black);
text-shadow: 0 0 3px black; text-shadow: 0 0 3px black;
font-family: @font-body;
font-size: 12px; font-size: 12px;
} }

View file

@ -45,7 +45,6 @@
border: 1px dashed light-dark(@dark-blue-50, @beige-50); border: 1px dashed light-dark(@dark-blue-50, @beige-50);
border-radius: 3px; border-radius: 3px;
color: light-dark(@dark-blue-50, @beige-50); color: light-dark(@dark-blue-50, @beige-50);
font-family: @font-body;
} }
} }
} }

View file

@ -32,10 +32,6 @@
border-radius: 3px; border-radius: 3px;
} }
.label {
font-family: @font-body;
}
.controls { .controls {
display: flex; display: flex;
gap: 5px; gap: 5px;

View file

@ -64,11 +64,6 @@
flex-direction: column; flex-direction: column;
gap: 12px; gap: 12px;
padding: 16px 0; padding: 16px 0;
.description,
.motives-and-tatics {
font-family: @font-body;
}
} }
.adversary-navigation { .adversary-navigation {

View file

@ -337,7 +337,6 @@
width: 180px; width: 180px;
text-align: start; text-align: start;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
} }
} }
@ -346,7 +345,6 @@
height: 25px; height: 25px;
width: 35px; width: 35px;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
align-content: center; align-content: center;
text-align: center; text-align: center;
@ -368,7 +366,6 @@
button { button {
height: 40px; height: 40px;
width: 100%; width: 100%;
font-family: @font-body;
font-weight: 600; font-weight: 600;
} }
} }

View file

@ -218,7 +218,6 @@
} }
.trait-value { .trait-value {
font-family: @font-body;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 20px; font-size: 20px;

View file

@ -16,7 +16,6 @@
input { input {
border-radius: 50px; border-radius: 50px;
font-family: @font-body;
background: light-dark(@dark-blue-10, @golden-10); background: light-dark(@dark-blue-10, @golden-10);
border: none; border: none;
outline: 2px solid transparent; outline: 2px solid transparent;

View file

@ -16,7 +16,6 @@
input { input {
border-radius: 50px; border-radius: 50px;
font-family: @font-body;
background: light-dark(@dark-blue-10, @golden-10); background: light-dark(@dark-blue-10, @golden-10);
border: none; border: none;
outline: 2px solid transparent; outline: 2px solid transparent;

View file

@ -490,7 +490,6 @@
height: 25px; height: 25px;
width: 35px; width: 35px;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
align-content: center; align-content: center;
text-align: center; text-align: center;

View file

@ -59,7 +59,6 @@
width: 180px; width: 180px;
text-align: start; text-align: start;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
} }
} }
@ -68,7 +67,6 @@
height: 25px; height: 25px;
width: 35px; width: 35px;
font-size: 14px; font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
align-content: center; align-content: center;
text-align: center; text-align: center;

View file

@ -122,12 +122,6 @@
flex-direction: column; flex-direction: column;
gap: 12px; gap: 12px;
padding: 10px 20px; padding: 10px 20px;
.description,
.impulses {
text-align: start;
font-family: @font-body;
}
} }
.environment-navigation { .environment-navigation {

View file

@ -25,7 +25,6 @@
gap: 10px; gap: 10px;
grid-template-columns: 1fr 3fr 1fr; grid-template-columns: 1fr 3fr 1fr;
h4 { h4 {
font-family: @font-body;
font-weight: lighter; font-weight: lighter;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
} }

View file

@ -57,8 +57,7 @@
.title { .title {
font-size: 20px; font-size: 20px;
color: @golden; color: @golden;
font-family: @font-subtitle; font-weight: 700;
margin: 0;
} }
.tags { .tags {
@ -73,7 +72,6 @@
align-items: center; align-items: center;
padding: 3px 5px; padding: 3px 5px;
font-size: 12px; font-size: 12px;
font-family: @font-body;
background: light-dark(@dark-15, @beige-15); background: light-dark(@dark-15, @beige-15);
border: 1px solid light-dark(@dark, @beige); border: 1px solid light-dark(@dark, @beige);
@ -86,9 +84,7 @@
} }
.description { .description {
color: @beige;
padding: 8px; padding: 8px;
font-family: @font-body;
} }
.ability-card-footer { .ability-card-footer {
@ -99,8 +95,6 @@
padding: 0 8px; padding: 0 8px;
button { button {
font-family: @font-body;
font-weight: 600;
height: 40px; height: 40px;
flex: 1 1 calc(50% - 5px); flex: 1 1 calc(50% - 5px);

View file

@ -54,14 +54,12 @@
.title { .title {
font-size: 20px; font-size: 20px;
color: @golden; color: @golden;
font-family: @font-subtitle; font-weight: 700;
margin: 0;
} }
.label { .label {
font-size: 12px; font-size: 12px;
color: @beige; color: @beige;
font-family: @font-body;
margin: 0; margin: 0;
} }
} }
@ -69,9 +67,7 @@
} }
.description { .description {
color: @beige;
padding: 8px; padding: 8px;
font-family: @font-body;
} }
.ability-card-footer { .ability-card-footer {
@ -82,8 +78,6 @@
padding: 0 8px; padding: 0 8px;
button { button {
font-family: @font-body;
font-weight: 600;
height: 40px; height: 40px;
flex: 1 1 calc(50% - 5px); flex: 1 1 calc(50% - 5px);

View file

@ -55,13 +55,11 @@
.title { .title {
font-size: 16px; font-size: 16px;
color: @golden; color: @golden;
font-family: @font-subtitle; font-weight: 700;
margin: 0;
} }
.label { .label {
font-size: 12px; font-size: 12px;
color: @beige; color: @beige;
font-family: @font-body;
margin: 0; margin: 0;
} }
} }
@ -69,16 +67,12 @@
.description { .description {
padding: 8px; padding: 8px;
color: beige;
font-family: @font-body;
font-size: 14px;
} }
} }
.action-use-button { .action-use-button {
width: -webkit-fill-available; width: -webkit-fill-available;
margin: 0 8px; margin: 0 8px;
font-family: @font-body;
font-weight: 600; font-weight: 600;
height: 40px; height: 40px;
} }

View file

@ -9,7 +9,6 @@
border-color: light-dark(@dark-blue, @golden); border-color: light-dark(@dark-blue, @golden);
legend { legend {
font-family: @font-body;
font-weight: bold; font-weight: bold;
color: light-dark(@dark-blue, @golden); color: light-dark(@dark-blue, @golden);

View file

@ -90,7 +90,6 @@
gap: 10px; gap: 10px;
.item-path { .item-path {
font-family: @font-body;
color: light-dark(@dark, @beige); color: light-dark(@dark, @beige);
&.path-link { &.path-link {
@ -136,7 +135,6 @@
input { input {
border-radius: 50px; border-radius: 50px;
font-family: @font-body;
background: light-dark(@dark-blue-10, @golden-10); background: light-dark(@dark-blue-10, @golden-10);
border: none; border: none;
outline: 2px solid transparent; outline: 2px solid transparent;
@ -179,7 +177,6 @@
justify-content: space-between; justify-content: space-between;
padding: 10px; padding: 10px;
border: 1px solid transparent; border: 1px solid transparent;
font-family: @font-body;
transition: all 0.1s ease; transition: all 0.1s ease;
&.expanded + .subfolder-list { &.expanded + .subfolder-list {
@ -187,7 +184,7 @@
} }
&:has(+ .subfolder-list):after { &:has(+ .subfolder-list):after {
content: "+"; content: '+';
} }
} }
@ -231,7 +228,6 @@
grid-template-columns: 40px 400px repeat(auto-fit, minmax(100px, 1fr)); grid-template-columns: 40px 400px repeat(auto-fit, minmax(100px, 1fr));
align-items: center; align-items: center;
text-transform: capitalize; text-transform: capitalize;
font-family: @font-body;
} }
} }
@ -268,7 +264,6 @@
border: 1px solid light-dark(@dark-blue, @golden); border: 1px solid light-dark(@dark-blue, @golden);
border-radius: 3px; border-radius: 3px;
min-height: 30px; min-height: 30px;
font-family: @font-body;
font-weight: bold; font-weight: bold;
> * { > * {
@ -307,7 +302,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 5px; gap: 5px;
font-family: @font-body;
h1 { h1 {
font-size: 32px; font-size: 32px;
@ -332,7 +326,6 @@
padding: 0 0 0 1.25rem; padding: 0 0 0 1.25rem;
li { li {
font-family: @font-body;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
} }
@ -365,7 +358,6 @@
.form-group { .form-group {
label { label {
flex: 1; flex: 1;
font-family: @font-body;
} }
.form-fields { .form-fields {
width: 100%; width: 100%;
@ -395,13 +387,9 @@
margin: 0; margin: 0;
.title { .title {
font-family: @font-subtitle;
margin: 0; margin: 0;
text-align: center; text-align: center;
} }
.hint {
font-family: @font-body;
}
} }
[disabled] { [disabled] {

View file

@ -33,7 +33,6 @@
h2 { h2 {
display: flex; display: flex;
align-items: center; align-items: center;
font-family: @font-subtitle;
position: relative; position: relative;
width: auto; width: auto;
white-space: nowrap; white-space: nowrap;

View file

@ -1,50 +1,14 @@
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cinzel+Decorative:wght@700&family=Montserrat:wght@400;600&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cinzel+Decorative:wght@700&family=Montserrat:wght@400;600&display=swap');
@import './mixin.less';
@font-title: 'Cinzel Decorative', serif; @font-title: 'Cinzel Decorative', serif;
@font-subtitle: 'Cinzel', serif; @font-subtitle: 'Cinzel', serif;
@font-body: 'Montserrat', sans-serif; @font-body: 'Montserrat', sans-serif;
.application.sheet.daggerheart.dh-style { .dh-style {
h1 { .dh-typography();
font-family: @font-title;
margin: 0;
border: none;
font-weight: normal;
} }
h2, .dh-style fieldset {
h3 { .dh-typography();
font-family: @font-subtitle;
margin: 0;
border: none;
font-weight: normal;
}
h4 {
font-family: @font-body;
font-size: 14px;
border: none;
font-weight: 700;
margin: 0;
text-shadow: none;
color: #f3c267;
font-weight: normal;
}
h5 {
font-size: 14px;
color: #f3c267;
margin: 0;
font-weight: normal;
}
p,
span {
font-family: @font-body;
}
small {
font-family: @font-body;
opacity: 0.8;
}
} }

View file

@ -44,3 +44,73 @@
gap: @gap; gap: @gap;
align-items: center; align-items: center;
} }
/**
* Apply default typography styles.
*/
.dh-typography() {
h1 {
font-family: @font-title;
margin: 0;
border: none;
font-weight: normal;
}
h1 input[type='text'] {
font-family: @font-title;
}
h2,
h3 {
font-family: @font-subtitle;
margin: 0;
border: none;
font-weight: normal;
}
h4 {
font-family: @font-body;
font-size: 14px;
border: none;
font-weight: 700;
margin: 0;
text-shadow: none;
font-weight: normal;
}
h5 {
font-family: @font-body;
font-size: 14px;
margin: 0;
font-weight: normal;
}
p,
span,
textarea,
label,
select,
multi-select .tags .tag,
table,
fieldset legend,
input[type='text'],
input[type='number'],
input[type='search'],
.tagify__dropdown,
li {
font-family: @font-body;
}
button span {
font-weight: bold;
}
small {
font-family: @font-body;
opacity: 0.8;
}
nav a {
font-family: @font-body;
}
}

View file

@ -11,7 +11,7 @@
<div class="experience-container"> <div class="experience-container">
<div class="experience-inner-container"> <div class="experience-inner-container">
<input class="experience-description" type="text" name="{{concat "experiences." id ".name" }}" value="{{experience.name}}" placeholder="{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.newExperience"}}" /> <input class="experience-description" type="text" name="{{concat "experiences." id ".name" }}" value="{{experience.name}}" placeholder="{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.newExperience"}}" />
<div class="experience-value">{{numberFormat this.value sign=true}}</div> <span class="experience-value">{{numberFormat this.value sign=true}}</span>
</div> </div>
<textarea name="{{concat "experiences." id ".description"}}">{{experience.description}}</textarea> <textarea name="{{concat "experiences." id ".description"}}">{{experience.description}}</textarea>

View file

@ -19,7 +19,7 @@
<div class="traits-inner-container"> <div class="traits-inner-container">
{{#each traits.values}} {{#each traits.values}}
<div class="trait-container"> <div class="trait-container">
<div>{{this.name}}</div> <span>{{this.name}}</span>
<select name="{{concat "traits." this.key ".value"}}" data-dtype="Number"> <select name="{{concat "traits." this.key ".value"}}" data-dtype="Number">
{{selectOptions this.options selected=this.value valueAttr="key" labelAttr="value" blank=""}} {{selectOptions this.options selected=this.value valueAttr="key" labelAttr="value" blank=""}}
</select> </select>

View file

@ -5,19 +5,19 @@
{{#if this.img}} {{#if this.img}}
<div class="preview-selected-container"> <div class="preview-selected-container">
<img class="preview-image-container" src="{{this.img}}" /> <img class="preview-image-container" src="{{this.img}}" />
<div class="preview-text-container"> <span class="preview-text-container">
{{#if altPartialBlock}} {{#if altPartialBlock}}
{{> @partial-block }} {{> @partial-block }}
{{else}} {{else}}
{{this.name}} {{this.name}}
{{/if}} {{/if}}
</div> </span>
</div> </div>
{{else}} {{else}}
<div class="preview-empty-container"> <div class="preview-empty-container">
<div class="preview-empty-inner-container"> <div class="preview-empty-inner-container">
<i class="preview-add-icon fa-solid fa-plus"></i> <i class="preview-add-icon fa-solid fa-plus"></i>
<div class="preview-empty-subtext">{{> @partial-block }}</div> <span class="preview-empty-subtext">{{> @partial-block }}</span>
</div> </div>
</div> </div>
{{/if}} {{/if}}

View file

@ -1,3 +1,5 @@
<footer> <footer>
<button type="button" data-action="submitBeastform" {{#if (not canSubmit)}}disabled{{/if}}>{{localize "DAGGERHEART.ITEMS.Beastform.transform"}}</button> <button type="button" data-action="submitBeastform" {{#if (not canSubmit)}}disabled{{/if}}>
<span>{{localize "DAGGERHEART.ITEMS.Beastform.transform"}}</span>
</button>
</footer> </footer>

View file

@ -6,17 +6,23 @@
<ul class="moves-list"> <ul class="moves-list">
{{#each this.options as |option key|}} {{#each this.options as |option key|}}
<li class="move-item" data-tooltip="{{concat "#" "deathMove" "#"}}" data-action="selectMove" data-move="{{key}}"data-death-img="{{option.img}}" data-death-name="{{this.name}}" data-death-description="{{this.description}}"> <li class="move-item" data-tooltip="{{concat "#" "deathMove" "#"}}" data-action="selectMove" data-move="{{key}}"data-death-img="{{option.img}}" data-death-name="{{this.name}}" data-death-description="{{this.description}}">
<label class="label" for="{{id}}" data-tooltip="{{localize tooltip}}" data-tooltip-direction="LEFT"> <div class="label" for="{{id}}" data-tooltip="{{localize tooltip}}" data-tooltip-direction="LEFT">
<i class="fa-solid {{icon}} fa-xl"></i> <i class="fa-solid {{icon}} fa-xl"></i>
<span class="label">{{localize this.name}}</span> <span class="label">{{localize this.name}}</span>
</label> </div>
<input type="radio" {{#if (eq ../this.selectedMove.id option.id)}}checked{{/if}}> <input type="radio" {{#if (eq ../this.selectedMove.id option.id)}}checked{{/if}}>
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
<footer class="flexrow"> <footer class="flexrow">
<button data-action="close">{{localize "Cancel"}}</button> <button data-action="close">
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}</button> <span>{{localize "Cancel"}}</span>
</button>
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>
<span>
{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}
</span>
</button>
</footer> </footer>
</div> </div>

View file

@ -8,7 +8,7 @@
<i class="{{#if move.selected}}fa-solid{{else}}fa-regular{{/if}} fa-circle activity-marker"></i> <i class="{{#if move.selected}}fa-solid{{else}}fa-regular{{/if}} fa-circle activity-marker"></i>
<div class="activity-select-section"> <div class="activity-select-section">
<i class="{{move.icon}} activity-icon"></i> <i class="{{move.icon}} activity-icon"></i>
<div>{{move.name}}</div> <span>{{move.name}}</span>
</div> </div>
</div> </div>
{{#if move.selected}}<div class="activity-selected-marker">{{move.selected}}</div>{{/if}} {{#if move.selected}}<div class="activity-selected-marker">{{move.selected}}</div>{{/if}}

View file

@ -14,14 +14,14 @@
<div class="refreshables-container {{#if (and shortRestMoves longRestMoves)}}wide{{/if}}"> <div class="refreshables-container {{#if (and shortRestMoves longRestMoves)}}wide{{/if}}">
{{#each this.refreshables.actionItems as | item |}} {{#each this.refreshables.actionItems as | item |}}
<div class="refreshable-container"> <div class="refreshable-container">
<div class="refreshable-title">{{item.title}}</div> <span class="refreshable-title">{{item.title}}</span>
<div class="refreshable-name">{{item.name}}</div> <span class="refreshable-name">{{item.name}}</span>
</div> </div>
{{/each}} {{/each}}
{{#each this.refreshables.resourceItems as | item |}} {{#each this.refreshables.resourceItems as | item |}}
<div class="refreshable-container"> <div class="refreshable-container">
<div class="refreshable-title">{{item.title}}</div> <span class="refreshable-title">{{item.title}}</span>
<div class="refreshable-name">{{item.name}}</div> <span class="refreshable-name">{{item.name}}</span>
</div> </div>
{{/each}} {{/each}}
</div> </div>

View file

@ -8,7 +8,9 @@
{{/if}} {{/if}}
</div> </div>
<div class="preview-text-container"> <div class="preview-text-container">
<div>{{this.name}}</div> <span>{{this.name}}</span>
<span>
<strong>{{this.featureLabel}}</strong> <strong>{{this.featureLabel}}</strong>
</span>
</div> </div>
</div> </div>

View file

@ -30,7 +30,7 @@
</div> </div>
{{/each}} {{/each}}
</div> </div>
<div class="checkbox-group-label">{{this.label}}</div> <span class="checkbox-group-label">{{this.label}}</span>
</div> </div>
{{/each}} {{/each}}
</fieldset> </fieldset>

View file

@ -19,9 +19,13 @@
{{#if this.achievements.proficiency.shown}} {{#if this.achievements.proficiency.shown}}
<div> <div>
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.achievements.proficiency.new}} {{this.achievements.proficiency.new}}
</span>
</div> </div>
</div> </div>
{{/if}} {{/if}}
@ -29,14 +33,22 @@
<div> <div>
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholds"}}{{#if this.levelAchievements.damageThresholds.unarmored}}({{localize "DAGGERHEART.GENERAL.unarmored"}}){{/if}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholds"}}{{#if this.levelAchievements.damageThresholds.unarmored}}({{localize "DAGGERHEART.GENERAL.unarmored"}}){{/if}}</h5>
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.achievements.damageThresholds.major.new}} {{this.achievements.damageThresholds.major.new}}
</span>
</div> </div>
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.achievements.damageThresholds.severe.new}} {{this.achievements.damageThresholds.severe.new}}
</span>
</div> </div>
</div> </div>
{{/if}} {{/if}}
@ -45,7 +57,7 @@
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.achievements.domainCards.values}} {{#each this.achievements.domainCards.values}}
<div class="summary-selection">{{this.name}}</div> <span class="summary-selection">{{this.name}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>
@ -55,7 +67,7 @@
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.achievements.experiences.values}} {{#each this.achievements.experiences.values}}
<div class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</div> <span class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>
@ -71,32 +83,48 @@
<div> <div>
{{#if this.advancements.statistics.proficiency.shown}} {{#if this.advancements.statistics.proficiency.shown}}
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.advancements.statistics.proficiency.new}} {{this.advancements.statistics.proficiency.new}}
</span>
</div> </div>
{{/if}} {{/if}}
{{#if this.advancements.statistics.hitPoints.shown}} {{#if this.advancements.statistics.hitPoints.shown}}
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.advancements.statistics.hitPoints.new}} {{this.advancements.statistics.hitPoints.new}}
</span>
</div> </div>
{{/if}} {{/if}}
{{#if this.advancements.statistics.stress.shown}} {{#if this.advancements.statistics.stress.shown}}
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.advancements.statistics.stress.new}} {{this.advancements.statistics.stress.new}}
</span>
</div> </div>
{{/if}} {{/if}}
{{#if this.advancements.statistics.evasion.shown}} {{#if this.advancements.statistics.evasion.shown}}
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.advancements.statistics.evasion.new}} {{this.advancements.statistics.evasion.new}}
</span>
</div> </div>
{{/if}} {{/if}}
</div> </div>
@ -108,9 +136,13 @@
{{#each this.advancements.traits}} {{#each this.advancements.traits}}
<div class="increase-container"> <div class="increase-container">
<span>
{{this.label}}: {{this.old}} {{this.label}}: {{this.old}}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.new}} {{this.new}}
</span>
</div> </div>
{{/each}} {{/each}}
</div> </div>
@ -121,7 +153,7 @@
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.advancements.domainCards}} {{#each this.advancements.domainCards}}
<div class="summary-selection">{{this.name}}</div> <span class="summary-selection">{{this.name}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>
@ -132,7 +164,7 @@
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.advancements.experiences}} {{#each this.advancements.experiences}}
<div class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</div> <span class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>
@ -143,7 +175,7 @@
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.advancements.subclass}} {{#each this.advancements.subclass}}
<div class="summary-selection">{{this.name}} - {{this.featureLabel}}</div> <span class="summary-selection">{{this.name}} - {{this.featureLabel}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>
@ -154,9 +186,9 @@
<div> <div>
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
<div class="summary-selection">{{this.name}}</div> <span class="summary-selection">{{this.name}}</span>
<div class="summary-selection">{{this.domain}}</div> <span class="summary-selection">{{this.domain}}</span>
<div class="summary-selection">{{this.subclass}}</div> <span class="summary-selection">{{this.subclass}}</span>
</div> </div>
</div> </div>
{{/with}} {{/with}}
@ -164,21 +196,29 @@
{{#if this.advancements.vicious.damage}} {{#if this.advancements.vicious.damage}}
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.advancements.vicious.damage.new}} {{this.advancements.vicious.damage.new}}
</span>
</div> </div>
{{/if}} {{/if}}
{{#if this.advancements.vicious.range}} {{#if this.advancements.vicious.range}}
<div class="increase-container"> <div class="increase-container">
<span>
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }}
</span>
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
<span>
{{this.advancements.vicious.range.new}} {{this.advancements.vicious.range.new}}
</span>
</div> </div>
{{/if}} {{/if}}
{{#each this.advancements.simple}} {{#each this.advancements.simple}}
<div class="summary-selection-container"> <div class="summary-selection-container">
<div class="summary-selection">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.simpleFeature" feature=this}}</div> <span class="summary-selection">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.simpleFeature" feature=this}}</span>
</div> </div>
{{/each}} {{/each}}
</div> </div>

View file

@ -23,7 +23,7 @@
{{/each}} {{/each}}
</ul> </ul>
<div class="features-dragger"> <div class="features-dragger">
{{localize "DAGGERHEART.GENERAL.dropFeaturesHere"}} <span>{{localize "DAGGERHEART.GENERAL.dropFeaturesHere"}}</span>
</div> </div>
</fieldset> </fieldset>
</section> </section>

View file

@ -10,7 +10,7 @@
<div class="traits-inner-container"> <div class="traits-inner-container">
{{#each document._source.system.traits as | trait key |}} {{#each document._source.system.traits as | trait key |}}
<div class="trait-container"> <div class="trait-container">
<div>{{localize (concat "DAGGERHEART.CONFIG.Traits." key ".name" )}}</div> <span>{{localize (concat "DAGGERHEART.CONFIG.Traits." key ".name" )}}</span>
<input type="text" data-dtype="Number" name="{{concat "system.traits." key ".value"}}" value="{{trait.value}}" /> <input type="text" data-dtype="Number" name="{{concat "system.traits." key ".value"}}" value="{{trait.value}}" />
</div> </div>
{{/each}} {{/each}}

View file

@ -26,7 +26,7 @@
{{/each}} {{/each}}
</div> </div>
<div class="adversaries-dragger"> <div class="adversaries-dragger">
{{localize "DAGGERHEART.GENERAL.dropActorsHere"}} <span>{{localize "DAGGERHEART.GENERAL.dropActorsHere"}}</span>
</div> </div>
</fieldset> </fieldset>
{{/each}} {{/each}}

View file

@ -26,12 +26,12 @@
</div> </div>
<line-div></line-div> <line-div></line-div>
<div class="adversary-info"> <div class="adversary-info">
<div class="description"> <span class="description">
<i>{{{description}}}</i> <i>{{{description}}}</i>
</div> </span>
<div class="motives-and-tatics"> <span class="motives-and-tatics">
<b>{{localize 'DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label'}}: </b>{{{source.system.motivesAndTactics}}} <b>{{localize 'DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label'}}: </b>{{{source.system.motivesAndTactics}}}
</div> </span>
</div> </div>
<div class="adversary-navigation"> <div class="adversary-navigation">

View file

@ -98,9 +98,9 @@
<div class="experience-list"> <div class="experience-list">
{{#each source.system.experiences as |experience id|}} {{#each source.system.experiences as |experience id|}}
<div class="experience-row" data-tooltip-text="{{experience.description}}"> <div class="experience-row" data-tooltip-text="{{experience.description}}">
<div class="experience-value"> <span class="experience-value">
+{{experience.value}} +{{experience.value}}
</div> </span>
<span class="experience-name">{{experience.name}}</span> <span class="experience-name">{{experience.name}}</span>
<div class="controls"> <div class="controls">
<a data-action="sendExpToChat" data-id="{{id}}"> <a data-action="sendExpToChat" data-id="{{id}}">

View file

@ -168,9 +168,9 @@
<div class="experience-list"> <div class="experience-list">
{{#each document.system.experiences as |experience id|}} {{#each document.system.experiences as |experience id|}}
<div class="experience-row" data-tooltip-text="{{experience.description}}"> <div class="experience-row" data-tooltip-text="{{experience.description}}">
<div class="experience-value"> <span class="experience-value">
+{{experience.value}} +{{experience.value}}
</div> </span>
<span>{{experience.name}}</span> <span>{{experience.name}}</span>
<div class="controls"> <div class="controls">
<a data-action="sendExpToChat" data-type="experience" data-id="{{id}}"> <a data-action="sendExpToChat" data-type="experience" data-id="{{id}}">

View file

@ -45,9 +45,9 @@
</div> </div>
{{#each source.system.experiences as |experience id|}} {{#each source.system.experiences as |experience id|}}
<div class="experience-row" data-tooltip-text="{{experience.description}}"> <div class="experience-row" data-tooltip-text="{{experience.description}}">
<div class="experience-value"> <span class="experience-value">
+{{experience.value}} +{{experience.value}}
</div> </span>
<span class="experience-name">{{experience.name}}</span> <span class="experience-name">{{experience.name}}</span>
<div class="controls"> <div class="controls">
<a data-action="sendExpToChat" data-type="experience" data-id="{{id}}"> <a data-action="sendExpToChat" data-type="experience" data-id="{{id}}">

View file

@ -33,12 +33,12 @@
</div> </div>
<line-div></line-div> <line-div></line-div>
<div class="environment-info"> <div class="environment-info">
<div class="description"> <span class="description">
<i>{{{description}}}</i> <i>{{{description}}}</i>
</div> </span>
<div class="impulses"> <span class="impulses">
<b>{{localize 'DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label'}}: </b>{{{source.system.impulses}}} <b>{{localize 'DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label'}}: </b>{{{source.system.impulses}}}
</div> </span>
</div> </div>
<div class="environment-navigation"> <div class="environment-navigation">
{{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}} {{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}

View file

@ -19,6 +19,6 @@
</a> </a>
</div> </div>
</div> </div>
<div class="card-name">{{item.name}}</div> <span class="card-name">{{item.name}}</span>
</div> </div>
</li> </li>

View file

@ -30,7 +30,7 @@ Parameters:
<div class="item-label"> <div class="item-label">
{{!-- Item Name --}} {{!-- Item Name --}}
<div class="item-name">{{localize item.name}} {{#unless noExtensible}}<span class="expanded-icon"><i class="fa-solid fa-expand"></i></span>{{/unless}}</div> <span class="item-name">{{localize item.name}} {{#unless noExtensible}}<span class="expanded-icon"><i class="fa-solid fa-expand"></i></span>{{/unless}}</span>
{{!-- Tags Start --}} {{!-- Tags Start --}}
{{#with item}} {{#with item}}

View file

@ -5,7 +5,7 @@
<nav class='feature-tab sheet-tabs tabs' data-group='primary'> <nav class='feature-tab sheet-tabs tabs' data-group='primary'>
{{#each tabs as |tab|}} {{#each tabs as |tab|}}
<a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'> <a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
{{localize tab.label}} <span>{{localize tab.label}}</span>
</a> </a>
{{/each}} {{/each}}
</nav> </nav>

View file

@ -6,7 +6,7 @@
<h2 class="title">{{item.name}}</h2> <h2 class="title">{{item.name}}</h2>
<ul class="tags"> <ul class="tags">
{{#each item.tags as |tag|}} {{#each item.tags as |tag|}}
<li class="tag">{{tag}}</li> <li class="tag"><span>{{tag}}</span></li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
@ -17,11 +17,11 @@
<footer class="ability-card-footer"> <footer class="ability-card-footer">
{{#each actions as |action|}} {{#each actions as |action|}}
<button class="ability-use-button" id="{{action.id}}"> <button class="ability-use-button" id="{{action.id}}">
{{action.name}} <span>{{action.name}}</span>
</button> </button>
{{#if (eq action.systemPath "attack")}} {{#if (eq action.systemPath "attack")}}
<button class="ability-use-button" id="{{action.id}}" data-direct-damage="true"> <button class="ability-use-button" id="{{action.id}}" data-direct-damage="true">
{{localize "DAGGERHEART.GENERAL.damage"}} <span>{{localize "DAGGERHEART.GENERAL.damage"}}</span>
</button> </button>
{{/if}} {{/if}}
{{!-- {{#if action.cost.value}}<div class="ability-card-action-cost">{{action.cost.value}} {{action.cost.type}}</div>{{/if}} --}} {{!-- {{#if action.cost.value}}<div class="ability-card-action-cost">{{action.cost.value}} {{action.cost.type}}</div>{{/if}} --}}

View file

@ -15,7 +15,9 @@
</div> </div>
</details> </details>
{{#each move.actions as | action index |}} {{#each move.actions as | action index |}}
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}">{{localize action.name}}</button> <button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}">
<span>{{localize action.name}}</span>
</button>
{{/each}} {{/each}}
{{/each}} {{/each}}
</ul> </ul>

View file

@ -57,7 +57,7 @@
<div class="item-list-img"></div> <div class="item-list-img"></div>
<div class="item-list-name" data-sort-key="name" data-sort-type="ASC" data-action="sortList">Name</div> <div class="item-list-name" data-sort-key="name" data-sort-type="ASC" data-action="sortList">Name</div>
{{#each menu.data.columns}} {{#each menu.data.columns}}
<div data-sort-key="{{key}}" data-sort-type="" data-action="sortList">{{label}}</div> <span data-sort-key="{{key}}" data-sort-type="" data-action="sortList">{{label}}</span>
{{/each}} {{/each}}
</div> </div>
{{/if}} {{/if}}
@ -67,14 +67,14 @@
<div class="item-header"> <div class="item-header">
<div class="item-info" data-action="expandContent"> <div class="item-info" data-action="expandContent">
<img src="{{img}}" data-item-key="img" class="item-list-img"> <img src="{{img}}" data-item-key="img" class="item-list-img">
<div data-item-key="name" class="item-list-name">{{name}}</div> <span data-item-key="name" class="item-list-name">{{name}}</span>
{{#each ../menu.data.columns}} {{#each ../menu.data.columns}}
<div data-item-key="{{key}}">{{#with (@root.formatLabel ../this this) as | label |}}{{{label}}}{{/with}}</div> <span data-item-key="{{key}}">{{#with (@root.formatLabel ../this this) as | label |}}{{{label}}}{{/with}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>
<div class="item-desc extensible"> <div class="item-desc extensible">
<div class="wrapper">{{{system.description}}}</div> <span class="wrapper">{{{system.description}}}</span>
</div> </div>
</div> </div>
{{/each}} {{/each}}

View file

@ -18,7 +18,7 @@
data-action="selectFolder" data-action="selectFolder"
data-folder-id="{{../id}}.folders.{{id}}" data-folder-id="{{../id}}.folders.{{id}}"
> >
{{label}} <span>{{label}}</span>
</div> </div>
{{/each}} {{/each}}
</div> </div>