mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
refactor font-family styles to avoid unecessary diplicities (#983)
This commit is contained in:
parent
2820c96259
commit
96d26a1e5b
69 changed files with 220 additions and 246 deletions
|
|
@ -15,3 +15,5 @@
|
|||
@import './less/ux/index.less';
|
||||
|
||||
@import '../build/tagify.css';
|
||||
|
||||
@import './less/utils/mixin.less';
|
||||
|
|
|
|||
|
|
@ -32,9 +32,7 @@
|
|||
width: 30px;
|
||||
}
|
||||
span {
|
||||
font-family: @font-body;
|
||||
flex: 1;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -55,7 +53,6 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-family: @font-body;
|
||||
flex: 1;
|
||||
i {
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -210,7 +210,6 @@
|
|||
|
||||
button {
|
||||
flex: 1;
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
border-top: 0;
|
||||
|
||||
a {
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
&[disabled] {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-family: @font-body;
|
||||
cursor: pointer;
|
||||
flex: 1;
|
||||
i {
|
||||
|
|
@ -50,7 +49,6 @@
|
|||
button {
|
||||
flex: 1;
|
||||
height: 40px;
|
||||
font-family: @font-body;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@
|
|||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
|
|
@ -126,7 +125,6 @@
|
|||
transition: all 0.3s ease;
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
|
|
@ -174,7 +172,6 @@
|
|||
flex: 1;
|
||||
height: 100%;
|
||||
font-weight: bold;
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
}
|
||||
|
||||
.daggerheart.dh-style.views.downtime {
|
||||
font-family: @font-body;
|
||||
|
||||
.downtime-container {
|
||||
.activities-grouping {
|
||||
width: 280px;
|
||||
|
|
@ -39,7 +37,7 @@
|
|||
.activity-marker {
|
||||
font-size: 8px;
|
||||
flex: none;
|
||||
color: light-dark(#18162e, #f3c267);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -93,9 +91,6 @@
|
|||
.refreshable-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.refreshable-name {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -107,7 +102,6 @@
|
|||
button {
|
||||
flex: 1;
|
||||
height: 40px;
|
||||
font-family: @font-body;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
gap: 10px;
|
||||
|
||||
button {
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
a,
|
||||
span {
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,10 +30,6 @@
|
|||
width: 80%;
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.achievement-experience-marker {
|
||||
border: 1px solid;
|
||||
border-radius: 50%;
|
||||
|
|
@ -127,7 +123,6 @@
|
|||
margin-bottom: 10px;
|
||||
|
||||
h3 {
|
||||
font-family: @font-subtitle;
|
||||
color: light-dark(@dark, @beige);
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
margin-bottom: 10px;
|
||||
|
||||
h3 {
|
||||
font-family: @font-subtitle;
|
||||
color: light-dark(@dark, @beige);
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
|
|
@ -43,7 +42,6 @@
|
|||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +50,6 @@
|
|||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 16px;
|
||||
font-family: @font-subtitle;
|
||||
color: light-dark(@dark, @beige);
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
|
@ -66,7 +63,6 @@
|
|||
border-radius: 3px;
|
||||
padding: 0 4px;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@
|
|||
}
|
||||
|
||||
.checkbox-group-label {
|
||||
font-family: @font-body;
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
@import '../../utils/colors.less';
|
||||
|
||||
.theme-light .daggerheart.dh-style.dialog.multiclass-choice {
|
||||
.multiclass-container .domain-choice-container button label {
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
|
|
@ -42,7 +44,6 @@
|
|||
label {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
font-family: @font-body;
|
||||
border-radius: 6px;
|
||||
border: 2px solid;
|
||||
padding: 0 2px;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@
|
|||
}
|
||||
|
||||
.formula-label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
|
|
@ -81,7 +80,6 @@
|
|||
button[type='submit'] {
|
||||
gap: 5px;
|
||||
flex-direction: row;
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
font-size: var(--font-size-14);
|
||||
height: 40px;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@
|
|||
|
||||
textarea {
|
||||
color: light-dark(@dark, @beige);
|
||||
font-family: @font-body;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
}
|
||||
|
|
@ -126,7 +125,6 @@
|
|||
select {
|
||||
background: light-dark(transparent, transparent);
|
||||
color: light-dark(@dark, @beige);
|
||||
font-family: @font-body;
|
||||
outline: 2px solid transparent;
|
||||
border: 1px solid light-dark(@dark, @beige);
|
||||
|
||||
|
|
@ -161,7 +159,6 @@
|
|||
padding: 0.3rem 0.5rem;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
background-color: light-dark(@dark-blue-10, @golden-40);
|
||||
font-family: @font-body;
|
||||
border-radius: 3px;
|
||||
transition: 0.13s ease-out;
|
||||
gap: 0.5rem;
|
||||
|
|
@ -180,7 +177,6 @@
|
|||
}
|
||||
|
||||
table {
|
||||
font-family: @font-body;
|
||||
border-radius: 3px;
|
||||
|
||||
thead {
|
||||
|
|
@ -309,7 +305,6 @@
|
|||
}
|
||||
|
||||
legend {
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
|
@ -317,7 +312,6 @@
|
|||
input[type='text'],
|
||||
input[type='number'] {
|
||||
color: light-dark(@dark, @beige);
|
||||
font-family: @font-body;
|
||||
transition: all 0.3s ease;
|
||||
outline: 2px solid transparent;
|
||||
|
||||
|
|
@ -368,7 +362,6 @@
|
|||
.form-group {
|
||||
width: 100%;
|
||||
label {
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
|
@ -407,7 +400,6 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
white-space: nowrap;
|
||||
font-family: @font-body;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
|
||||
|
|
@ -503,7 +495,6 @@
|
|||
color: light-dark(@dark-blue, @dark-blue);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
font-family: @font-body;
|
||||
|
||||
&:hover {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
|
@ -604,7 +595,6 @@
|
|||
|
||||
label {
|
||||
font-size: 16px;
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.form-fields {
|
||||
|
|
@ -679,7 +669,6 @@
|
|||
|
||||
.tagify__dropdown {
|
||||
border: 1px solid light-dark(@dark, @beige) !important;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
|
||||
.tagify__dropdown__wrapper {
|
||||
|
|
@ -774,7 +763,6 @@
|
|||
}
|
||||
|
||||
.preview-text-container {
|
||||
font-family: @font-body;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
|
|
@ -810,7 +798,6 @@
|
|||
font-size: 10px;
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
font-family: @font-body;
|
||||
font-style: italic;
|
||||
color: light-dark(@dark-blue-60, @beige-80);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
align-items: center;
|
||||
grid-template-columns: 1fr 4fr 1fr;
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
padding: 5px;
|
||||
|
||||
legend {
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
font-size: var(--font-size-12);
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@
|
|||
|
||||
.item-label {
|
||||
flex: 1;
|
||||
font-family: @font-body;
|
||||
align-self: center;
|
||||
|
||||
.item-name {
|
||||
|
|
@ -202,7 +201,6 @@
|
|||
padding: 0 0 0 1.25rem;
|
||||
|
||||
li {
|
||||
font-family: @font-body;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -310,7 +308,6 @@
|
|||
mask-image: linear-gradient(180deg, transparent 0%, black 20%);
|
||||
|
||||
.card-name {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
padding: 0 0 0 1.25rem;
|
||||
|
||||
li {
|
||||
font-family: @font-body;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
}
|
||||
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
color: @beige;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
cursor: pointer;
|
||||
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
color: @beige;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
}
|
||||
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
color: @beige;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
a {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,11 +14,10 @@
|
|||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.feature-list,
|
||||
.feature-list,
|
||||
.features-dragger {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.feature-list {
|
||||
|
|
@ -38,10 +37,6 @@
|
|||
object-fit: cover;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
@import '../../utils/colors.less';
|
||||
|
||||
.theme-light .application.daggerheart.dh-style.dialog {
|
||||
.tab.details {
|
||||
.traits-inner-container .trait-container {
|
||||
|
|
@ -31,7 +33,6 @@
|
|||
div {
|
||||
filter: drop-shadow(0 0 3px black);
|
||||
text-shadow: 0 0 3px black;
|
||||
font-family: @font-body;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,10 +32,6 @@
|
|||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
|
|
|
|||
|
|
@ -64,11 +64,6 @@
|
|||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 16px 0;
|
||||
|
||||
.description,
|
||||
.motives-and-tatics {
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
|
||||
.adversary-navigation {
|
||||
|
|
|
|||
|
|
@ -337,7 +337,6 @@
|
|||
width: 180px;
|
||||
text-align: start;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
|
|
@ -346,7 +345,6 @@
|
|||
height: 25px;
|
||||
width: 35px;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
|
|
@ -368,7 +366,6 @@
|
|||
button {
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
font-family: @font-body;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -218,7 +218,6 @@
|
|||
}
|
||||
|
||||
.trait-value {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
input {
|
||||
border-radius: 50px;
|
||||
font-family: @font-body;
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
border: none;
|
||||
outline: 2px solid transparent;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
input {
|
||||
border-radius: 50px;
|
||||
font-family: @font-body;
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
border: none;
|
||||
outline: 2px solid transparent;
|
||||
|
|
|
|||
|
|
@ -490,7 +490,6 @@
|
|||
height: 25px;
|
||||
width: 35px;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@
|
|||
width: 180px;
|
||||
text-align: start;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
|
|
@ -68,7 +67,6 @@
|
|||
height: 25px;
|
||||
width: 35px;
|
||||
font-size: 14px;
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -122,12 +122,6 @@
|
|||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 10px 20px;
|
||||
|
||||
.description,
|
||||
.impulses {
|
||||
text-align: start;
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
|
||||
.environment-navigation {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
gap: 10px;
|
||||
grid-template-columns: 1fr 3fr 1fr;
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,8 +57,7 @@
|
|||
.title {
|
||||
font-size: 20px;
|
||||
color: @golden;
|
||||
font-family: @font-subtitle;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.tags {
|
||||
|
|
@ -73,7 +72,6 @@
|
|||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
font-family: @font-body;
|
||||
|
||||
background: light-dark(@dark-15, @beige-15);
|
||||
border: 1px solid light-dark(@dark, @beige);
|
||||
|
|
@ -86,9 +84,7 @@
|
|||
}
|
||||
|
||||
.description {
|
||||
color: @beige;
|
||||
padding: 8px;
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
|
|
@ -99,8 +95,6 @@
|
|||
padding: 0 8px;
|
||||
|
||||
button {
|
||||
font-family: @font-body;
|
||||
font-weight: 600;
|
||||
height: 40px;
|
||||
flex: 1 1 calc(50% - 5px);
|
||||
|
||||
|
|
|
|||
|
|
@ -54,14 +54,12 @@
|
|||
.title {
|
||||
font-size: 20px;
|
||||
color: @golden;
|
||||
font-family: @font-subtitle;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 12px;
|
||||
color: @beige;
|
||||
font-family: @font-body;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -69,9 +67,7 @@
|
|||
}
|
||||
|
||||
.description {
|
||||
color: @beige;
|
||||
padding: 8px;
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
|
|
@ -82,8 +78,6 @@
|
|||
padding: 0 8px;
|
||||
|
||||
button {
|
||||
font-family: @font-body;
|
||||
font-weight: 600;
|
||||
height: 40px;
|
||||
flex: 1 1 calc(50% - 5px);
|
||||
|
||||
|
|
|
|||
|
|
@ -55,13 +55,11 @@
|
|||
.title {
|
||||
font-size: 16px;
|
||||
color: @golden;
|
||||
font-family: @font-subtitle;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
.label {
|
||||
font-size: 12px;
|
||||
color: @beige;
|
||||
font-family: @font-body;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -69,16 +67,12 @@
|
|||
|
||||
.description {
|
||||
padding: 8px;
|
||||
color: beige;
|
||||
font-family: @font-body;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-use-button {
|
||||
width: -webkit-fill-available;
|
||||
margin: 0 8px;
|
||||
font-family: @font-body;
|
||||
font-weight: 600;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
border-color: light-dark(@dark-blue, @golden);
|
||||
|
||||
legend {
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@
|
|||
gap: 10px;
|
||||
|
||||
.item-path {
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
|
||||
&.path-link {
|
||||
|
|
@ -136,7 +135,6 @@
|
|||
|
||||
input {
|
||||
border-radius: 50px;
|
||||
font-family: @font-body;
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
border: none;
|
||||
outline: 2px solid transparent;
|
||||
|
|
@ -179,7 +177,6 @@
|
|||
justify-content: space-between;
|
||||
padding: 10px;
|
||||
border: 1px solid transparent;
|
||||
font-family: @font-body;
|
||||
transition: all 0.1s ease;
|
||||
|
||||
&.expanded + .subfolder-list {
|
||||
|
|
@ -187,7 +184,7 @@
|
|||
}
|
||||
|
||||
&:has(+ .subfolder-list):after {
|
||||
content: "+";
|
||||
content: '+';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -231,7 +228,6 @@
|
|||
grid-template-columns: 40px 400px repeat(auto-fit, minmax(100px, 1fr));
|
||||
align-items: center;
|
||||
text-transform: capitalize;
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -268,7 +264,6 @@
|
|||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 3px;
|
||||
min-height: 30px;
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
|
||||
> * {
|
||||
|
|
@ -307,7 +302,6 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
font-family: @font-body;
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
|
|
@ -332,7 +326,6 @@
|
|||
padding: 0 0 0 1.25rem;
|
||||
|
||||
li {
|
||||
font-family: @font-body;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -365,7 +358,6 @@
|
|||
.form-group {
|
||||
label {
|
||||
flex: 1;
|
||||
font-family: @font-body;
|
||||
}
|
||||
.form-fields {
|
||||
width: 100%;
|
||||
|
|
@ -395,13 +387,9 @@
|
|||
margin: 0;
|
||||
|
||||
.title {
|
||||
font-family: @font-subtitle;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.hint {
|
||||
font-family: @font-body;
|
||||
}
|
||||
}
|
||||
|
||||
[disabled] {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
h2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-family: @font-subtitle;
|
||||
position: relative;
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
|
|
|
|||
|
|
@ -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 './mixin.less';
|
||||
|
||||
@font-title: 'Cinzel Decorative', serif;
|
||||
@font-subtitle: 'Cinzel', serif;
|
||||
@font-body: 'Montserrat', sans-serif;
|
||||
|
||||
.application.sheet.daggerheart.dh-style {
|
||||
h1 {
|
||||
font-family: @font-title;
|
||||
margin: 0;
|
||||
border: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
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;
|
||||
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;
|
||||
}
|
||||
.dh-style {
|
||||
.dh-typography();
|
||||
}
|
||||
|
||||
.dh-style fieldset {
|
||||
.dh-typography();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,3 +44,73 @@
|
|||
gap: @gap;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="experience-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"}}" />
|
||||
<div class="experience-value">{{numberFormat this.value sign=true}}</div>
|
||||
<span class="experience-value">{{numberFormat this.value sign=true}}</span>
|
||||
</div>
|
||||
|
||||
<textarea name="{{concat "experiences." id ".description"}}">{{experience.description}}</textarea>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<div class="traits-inner-container">
|
||||
{{#each traits.values}}
|
||||
<div class="trait-container">
|
||||
<div>{{this.name}}</div>
|
||||
<span>{{this.name}}</span>
|
||||
<select name="{{concat "traits." this.key ".value"}}" data-dtype="Number">
|
||||
{{selectOptions this.options selected=this.value valueAttr="key" labelAttr="value" blank=""}}
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -5,19 +5,19 @@
|
|||
{{#if this.img}}
|
||||
<div class="preview-selected-container">
|
||||
<img class="preview-image-container" src="{{this.img}}" />
|
||||
<div class="preview-text-container">
|
||||
<span class="preview-text-container">
|
||||
{{#if altPartialBlock}}
|
||||
{{> @partial-block }}
|
||||
{{else}}
|
||||
{{this.name}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="preview-empty-container">
|
||||
<div class="preview-empty-inner-container">
|
||||
<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>
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<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>
|
||||
|
|
@ -6,17 +6,23 @@
|
|||
<ul class="moves-list">
|
||||
{{#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}}">
|
||||
<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>
|
||||
<span class="label">{{localize this.name}}</span>
|
||||
</label>
|
||||
</div>
|
||||
<input type="radio" {{#if (eq ../this.selectedMove.id option.id)}}checked{{/if}}>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
<footer class="flexrow">
|
||||
<button data-action="close">{{localize "Cancel"}}</button>
|
||||
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}</button>
|
||||
<button data-action="close">
|
||||
<span>{{localize "Cancel"}}</span>
|
||||
</button>
|
||||
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}
|
||||
</span>
|
||||
</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<i class="{{#if move.selected}}fa-solid{{else}}fa-regular{{/if}} fa-circle activity-marker"></i>
|
||||
<div class="activity-select-section">
|
||||
<i class="{{move.icon}} activity-icon"></i>
|
||||
<div>{{move.name}}</div>
|
||||
<span>{{move.name}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{#if move.selected}}<div class="activity-selected-marker">{{move.selected}}</div>{{/if}}
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@
|
|||
<div class="refreshables-container {{#if (and shortRestMoves longRestMoves)}}wide{{/if}}">
|
||||
{{#each this.refreshables.actionItems as | item |}}
|
||||
<div class="refreshable-container">
|
||||
<div class="refreshable-title">{{item.title}}</div>
|
||||
<div class="refreshable-name">{{item.name}}</div>
|
||||
<span class="refreshable-title">{{item.title}}</span>
|
||||
<span class="refreshable-name">{{item.name}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#each this.refreshables.resourceItems as | item |}}
|
||||
<div class="refreshable-container">
|
||||
<div class="refreshable-title">{{item.title}}</div>
|
||||
<div class="refreshable-name">{{item.name}}</div>
|
||||
<span class="refreshable-title">{{item.title}}</span>
|
||||
<span class="refreshable-name">{{item.name}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
<div class="preview-text-container">
|
||||
<div>{{this.name}}</div>
|
||||
<strong>{{this.featureLabel}}</strong>
|
||||
<span>{{this.name}}</span>
|
||||
<span>
|
||||
<strong>{{this.featureLabel}}</strong>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="checkbox-group-label">{{this.label}}</div>
|
||||
<span class="checkbox-group-label">{{this.label}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -19,9 +19,13 @@
|
|||
{{#if this.achievements.proficiency.shown}}
|
||||
<div>
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.achievements.proficiency.new}}
|
||||
<span>
|
||||
{{this.achievements.proficiency.new}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
@ -29,14 +33,22 @@
|
|||
<div>
|
||||
<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">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.achievements.damageThresholds.major.new}}
|
||||
<span>
|
||||
{{this.achievements.damageThresholds.major.new}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.achievements.damageThresholds.severe.new}}
|
||||
<span>
|
||||
{{this.achievements.damageThresholds.severe.new}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
@ -45,7 +57,7 @@
|
|||
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5>
|
||||
<div class="summary-selection-container">
|
||||
{{#each this.achievements.domainCards.values}}
|
||||
<div class="summary-selection">{{this.name}}</div>
|
||||
<span class="summary-selection">{{this.name}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -55,7 +67,7 @@
|
|||
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}</h5>
|
||||
<div class="summary-selection-container">
|
||||
{{#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}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -71,32 +83,48 @@
|
|||
<div>
|
||||
{{#if this.advancements.statistics.proficiency.shown}}
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.advancements.statistics.proficiency.new}}
|
||||
<span>
|
||||
{{this.advancements.statistics.proficiency.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if this.advancements.statistics.hitPoints.shown}}
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.advancements.statistics.hitPoints.new}}
|
||||
<span>
|
||||
{{this.advancements.statistics.hitPoints.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if this.advancements.statistics.stress.shown}}
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.advancements.statistics.stress.new}}
|
||||
<span>
|
||||
{{this.advancements.statistics.stress.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if this.advancements.statistics.evasion.shown}}
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.advancements.statistics.evasion.new}}
|
||||
<span>
|
||||
{{this.advancements.statistics.evasion.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
@ -108,9 +136,13 @@
|
|||
|
||||
{{#each this.advancements.traits}}
|
||||
<div class="increase-container">
|
||||
{{this.label}}: {{this.old}}
|
||||
<span>
|
||||
{{this.label}}: {{this.old}}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.new}}
|
||||
<span>
|
||||
{{this.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
@ -121,7 +153,7 @@
|
|||
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5>
|
||||
<div class="summary-selection-container">
|
||||
{{#each this.advancements.domainCards}}
|
||||
<div class="summary-selection">{{this.name}}</div>
|
||||
<span class="summary-selection">{{this.name}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -132,7 +164,7 @@
|
|||
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}</h5>
|
||||
<div class="summary-selection-container">
|
||||
{{#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}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -143,7 +175,7 @@
|
|||
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h5>
|
||||
<div class="summary-selection-container">
|
||||
{{#each this.advancements.subclass}}
|
||||
<div class="summary-selection">{{this.name}} - {{this.featureLabel}}</div>
|
||||
<span class="summary-selection">{{this.name}} - {{this.featureLabel}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -154,9 +186,9 @@
|
|||
<div>
|
||||
<h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}</h5>
|
||||
<div class="summary-selection-container">
|
||||
<div class="summary-selection">{{this.name}}</div>
|
||||
<div class="summary-selection">{{this.domain}}</div>
|
||||
<div class="summary-selection">{{this.subclass}}</div>
|
||||
<span class="summary-selection">{{this.name}}</span>
|
||||
<span class="summary-selection">{{this.domain}}</span>
|
||||
<span class="summary-selection">{{this.subclass}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/with}}
|
||||
|
|
@ -164,21 +196,29 @@
|
|||
|
||||
{{#if this.advancements.vicious.damage}}
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.advancements.vicious.damage.new}}
|
||||
<span>
|
||||
{{this.advancements.vicious.damage.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if this.advancements.vicious.range}}
|
||||
<div class="increase-container">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }}
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }}
|
||||
</span>
|
||||
<i class="fa-solid fa-arrow-right-long"></i>
|
||||
{{this.advancements.vicious.range.new}}
|
||||
<span>
|
||||
{{this.advancements.vicious.range.new}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#each this.advancements.simple}}
|
||||
<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>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
{{/each}}
|
||||
</ul>
|
||||
<div class="features-dragger">
|
||||
{{localize "DAGGERHEART.GENERAL.dropFeaturesHere"}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.dropFeaturesHere"}}</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="traits-inner-container">
|
||||
{{#each document._source.system.traits as | trait key |}}
|
||||
<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}}" />
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
{{/each}}
|
||||
</div>
|
||||
<div class="adversaries-dragger">
|
||||
{{localize "DAGGERHEART.GENERAL.dropActorsHere"}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.dropActorsHere"}}</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
{{/each}}
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@
|
|||
</div>
|
||||
<line-div></line-div>
|
||||
<div class="adversary-info">
|
||||
<div class="description">
|
||||
<span class="description">
|
||||
<i>{{{description}}}</i>
|
||||
</div>
|
||||
<div class="motives-and-tatics">
|
||||
</span>
|
||||
<span class="motives-and-tatics">
|
||||
<b>{{localize 'DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label'}}: </b>{{{source.system.motivesAndTactics}}}
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="adversary-navigation">
|
||||
|
|
|
|||
|
|
@ -98,9 +98,9 @@
|
|||
<div class="experience-list">
|
||||
{{#each source.system.experiences as |experience id|}}
|
||||
<div class="experience-row" data-tooltip-text="{{experience.description}}">
|
||||
<div class="experience-value">
|
||||
<span class="experience-value">
|
||||
+{{experience.value}}
|
||||
</div>
|
||||
</span>
|
||||
<span class="experience-name">{{experience.name}}</span>
|
||||
<div class="controls">
|
||||
<a data-action="sendExpToChat" data-id="{{id}}">
|
||||
|
|
|
|||
|
|
@ -168,9 +168,9 @@
|
|||
<div class="experience-list">
|
||||
{{#each document.system.experiences as |experience id|}}
|
||||
<div class="experience-row" data-tooltip-text="{{experience.description}}">
|
||||
<div class="experience-value">
|
||||
<span class="experience-value">
|
||||
+{{experience.value}}
|
||||
</div>
|
||||
</span>
|
||||
<span>{{experience.name}}</span>
|
||||
<div class="controls">
|
||||
<a data-action="sendExpToChat" data-type="experience" data-id="{{id}}">
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@
|
|||
</div>
|
||||
{{#each source.system.experiences as |experience id|}}
|
||||
<div class="experience-row" data-tooltip-text="{{experience.description}}">
|
||||
<div class="experience-value">
|
||||
<span class="experience-value">
|
||||
+{{experience.value}}
|
||||
</div>
|
||||
</span>
|
||||
<span class="experience-name">{{experience.name}}</span>
|
||||
<div class="controls">
|
||||
<a data-action="sendExpToChat" data-type="experience" data-id="{{id}}">
|
||||
|
|
|
|||
|
|
@ -33,12 +33,12 @@
|
|||
</div>
|
||||
<line-div></line-div>
|
||||
<div class="environment-info">
|
||||
<div class="description">
|
||||
<span class="description">
|
||||
<i>{{{description}}}</i>
|
||||
</div>
|
||||
<div class="impulses">
|
||||
</span>
|
||||
<span class="impulses">
|
||||
<b>{{localize 'DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label'}}: </b>{{{source.system.impulses}}}
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
<div class="environment-navigation">
|
||||
{{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
|
||||
|
|
|
|||
|
|
@ -19,6 +19,6 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-name">{{item.name}}</div>
|
||||
<span class="card-name">{{item.name}}</span>
|
||||
</div>
|
||||
</li>
|
||||
|
|
@ -30,7 +30,7 @@ Parameters:
|
|||
<div class="item-label">
|
||||
|
||||
{{!-- 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 --}}
|
||||
{{#with item}}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<nav class='feature-tab sheet-tabs tabs' data-group='primary'>
|
||||
{{#each tabs as |tab|}}
|
||||
<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>
|
||||
{{/each}}
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<h2 class="title">{{item.name}}</h2>
|
||||
<ul class="tags">
|
||||
{{#each item.tags as |tag|}}
|
||||
<li class="tag">{{tag}}</li>
|
||||
<li class="tag"><span>{{tag}}</span></li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -17,11 +17,11 @@
|
|||
<footer class="ability-card-footer">
|
||||
{{#each actions as |action|}}
|
||||
<button class="ability-use-button" id="{{action.id}}">
|
||||
{{action.name}}
|
||||
<span>{{action.name}}</span>
|
||||
</button>
|
||||
{{#if (eq action.systemPath "attack")}}
|
||||
<button class="ability-use-button" id="{{action.id}}" data-direct-damage="true">
|
||||
{{localize "DAGGERHEART.GENERAL.damage"}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.damage"}}</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
{{!-- {{#if action.cost.value}}<div class="ability-card-action-cost">{{action.cost.value}} {{action.cost.type}}</div>{{/if}} --}}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
</div>
|
||||
</details>
|
||||
{{#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}}
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -56,10 +56,10 @@
|
|||
<div class="item-list-header">
|
||||
<div class="item-list-img"></div>
|
||||
<div class="item-list-name" data-sort-key="name" data-sort-type="ASC" data-action="sortList">Name</div>
|
||||
{{#each menu.data.columns}}
|
||||
<div data-sort-key="{{key}}" data-sort-type="" data-action="sortList">{{label}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{#each menu.data.columns}}
|
||||
<span data-sort-key="{{key}}" data-sort-type="" data-action="sortList">{{label}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="item-list">
|
||||
{{#each items}}
|
||||
|
|
@ -67,14 +67,14 @@
|
|||
<div class="item-header">
|
||||
<div class="item-info" data-action="expandContent">
|
||||
<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}}
|
||||
<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}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-desc extensible">
|
||||
<div class="wrapper">{{{system.description}}}</div>
|
||||
<span class="wrapper">{{{system.description}}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
data-action="selectFolder"
|
||||
data-folder-id="{{../id}}.folders.{{id}}"
|
||||
>
|
||||
• {{label}}
|
||||
<span>• {{label}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue