mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 05:01:08 +01:00
Merge branch 'development' of https://github.com/Foundryborne/daggerheart into feature/party-sheet
This commit is contained in:
commit
1a0c6f46bc
648 changed files with 7471 additions and 3950 deletions
|
|
@ -7,6 +7,15 @@
|
|||
#chat-notifications .chat-log {
|
||||
.chat-message {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
|
||||
.message-header .message-header-metadata .message-metadata,
|
||||
.message-header .message-header-main .message-sub-header-container {
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.message-header .message-header-main .message-sub-header-container h4 {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -36,7 +45,7 @@
|
|||
|
||||
.message-metadata {
|
||||
font-family: @font-body;
|
||||
color: light-dark(@dark, @beige);
|
||||
color: @beige;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -59,14 +68,14 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
color: light-dark(@dark, @beige);
|
||||
color: @beige;
|
||||
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
font-family: @font-subtitle;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
color: @golden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -77,7 +86,7 @@
|
|||
.flavor-text {
|
||||
font-size: var(--font-size-12);
|
||||
line-height: 20px;
|
||||
color: var(--color-dark-4);
|
||||
color: light-dark(@dark, @beige);
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
.formula-label {
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
line-height: 17px;
|
||||
white-space: nowrap;
|
||||
color: light-dark(@dark, @beige);
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@
|
|||
z-index: 1;
|
||||
|
||||
.remove {
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -210,7 +210,13 @@
|
|||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
|
|
@ -400,7 +406,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
white-space: nowrap;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: 400;
|
||||
|
||||
&.modifier-label {
|
||||
|
|
@ -527,7 +533,7 @@
|
|||
font-family: @font-body;
|
||||
margin-top: 4px;
|
||||
color: light-dark(#14142599, #efe6d850);
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
padding-left: 3px;
|
||||
}
|
||||
}
|
||||
|
|
@ -541,7 +547,7 @@
|
|||
text-align: center;
|
||||
}
|
||||
.title-hint {
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
@ -603,9 +609,12 @@
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.25rem 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
label {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.form-fields {
|
||||
|
|
@ -613,6 +622,21 @@
|
|||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&.setting-two-values {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.25rem 0.5rem;
|
||||
|
||||
.form-group {
|
||||
justify-content: end;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.hint {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -776,7 +800,7 @@
|
|||
.preview-text-container {
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: light-dark(@beige, @dark);
|
||||
background-image: url(../assets/parchments/dh-parchment-light.png);
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
|
@ -799,14 +823,14 @@
|
|||
justify-content: center;
|
||||
|
||||
.preview-add-icon {
|
||||
font-size: 40px;
|
||||
font-size: var(--font-size-40);
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
|
||||
.preview-empty-subtext {
|
||||
position: absolute;
|
||||
bottom: 5%;
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-10);
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
|
|
@ -821,7 +845,7 @@
|
|||
width: 54px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid;
|
||||
font-size: 48px;
|
||||
font-size: var(--font-size-48);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
|
|||
14
styles/less/global/enrichment.less
Normal file
14
styles/less/global/enrichment.less
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
.measured-template-button,
|
||||
.enriched-damage-button,
|
||||
.duality-roll-button {
|
||||
display: inline;
|
||||
|
||||
&.inline {
|
||||
min-height: unset;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
53
styles/less/global/global.less
Normal file
53
styles/less/global/global.less
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
.drag-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 3px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.daggerheart.dh-style {
|
||||
.hint {
|
||||
flex: 0 0 100%;
|
||||
margin: 0;
|
||||
color: var(--color-form-hint);
|
||||
}
|
||||
|
||||
.form-group:hover {
|
||||
.hint {
|
||||
color: var(--color-form-hint-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.loader {
|
||||
position: relative;
|
||||
overflow: hidden !important;
|
||||
|
||||
div {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
&:before {
|
||||
font-family: 'Font Awesome 6 Pro';
|
||||
content: '\f110';
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: spinner 1.5s linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spinner {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2,6 +2,8 @@
|
|||
@import './dialog.less';
|
||||
@import './chat.less';
|
||||
@import './elements.less';
|
||||
@import './enrichment.less';
|
||||
@import './global.less';
|
||||
@import './tab-navigation.less';
|
||||
@import './tab-form-footer.less';
|
||||
@import './tab-actions.less';
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
align-self: center;
|
||||
|
||||
.item-name {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
|
||||
.expanded-icon {
|
||||
display: none;
|
||||
|
|
@ -121,9 +121,10 @@
|
|||
.label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
flex-wrap: wrap;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.tag {
|
||||
|
|
@ -135,7 +136,7 @@
|
|||
|
||||
.label {
|
||||
gap: 4px;
|
||||
color: @beige-80;
|
||||
color: light-dark(@dark-80, @beige-80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -179,18 +180,18 @@
|
|||
overflow: hidden;
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
}
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: 600;
|
||||
}
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
font-weight: 600;
|
||||
}
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: @beige;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -231,7 +232,7 @@
|
|||
label {
|
||||
color: light-dark(white, black);
|
||||
filter: drop-shadow(0 0 1px light-dark(@dark-blue, @golden));
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
@ -243,7 +244,7 @@
|
|||
text-shadow: 0 0 3px white;
|
||||
filter: drop-shadow(0 1px white);
|
||||
color: black;
|
||||
font-size: 26px;
|
||||
font-size: 1.625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -310,7 +311,7 @@
|
|||
.card-name {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-size-12);
|
||||
line-height: 15px;
|
||||
|
||||
color: @beige;
|
||||
|
|
@ -351,7 +352,7 @@
|
|||
gap: 4px;
|
||||
|
||||
.resource-edit {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -363,7 +364,7 @@
|
|||
|
||||
i {
|
||||
flex: none;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
@ -383,7 +384,7 @@
|
|||
color: light-dark(white, black);
|
||||
filter: drop-shadow(0 0 1px light-dark(@dark-blue, @golden));
|
||||
z-index: 2;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-18);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
@ -397,7 +398,7 @@
|
|||
text-shadow: 0 0 3px white;
|
||||
filter: drop-shadow(0 1px white);
|
||||
color: black;
|
||||
font-size: 26px;
|
||||
font-size: 1.625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
width: 80%;
|
||||
|
||||
.item-name input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: center;
|
||||
width: 90%;
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
transition: all 0.3s ease;
|
||||
|
||||
.recall-label {
|
||||
font-size: 14px;
|
||||
font-size: var(--font-size-14);
|
||||
opacity: 0;
|
||||
margin-right: 0.3rem;
|
||||
transition: all 0.3s ease;
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
|
||||
.item-name {
|
||||
input[type='text'] {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
height: 42px;
|
||||
text-align: center;
|
||||
width: 90%;
|
||||
|
|
|
|||
|
|
@ -12,18 +12,18 @@
|
|||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
font-size: var(--font-size-32);
|
||||
}
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
font-size: var(--font-size-28);
|
||||
font-weight: 600;
|
||||
}
|
||||
h3 {
|
||||
font-size: 20px;
|
||||
font-size: var(--font-size-20);
|
||||
font-weight: 600;
|
||||
}
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-size: var(--font-size-16);
|
||||
color: @beige;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue