mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +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
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue