mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 21:04:16 +02:00
Merge branch 'main' into feature/granular-action-outcomes
This commit is contained in:
commit
f260d221a8
36 changed files with 540 additions and 348 deletions
|
|
@ -251,8 +251,7 @@
|
|||
|
||||
a:hover,
|
||||
a.active {
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 8px light-dark(@dark-blue, @golden);
|
||||
text-shadow: 0 0 1px currentColor, 0 0 1px currentColor, 0 0 8px light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
||||
fieldset {
|
||||
|
|
|
|||
|
|
@ -19,28 +19,36 @@
|
|||
&:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.feature-line {
|
||||
display: grid;
|
||||
}
|
||||
.feature-line {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr 4fr 1fr;
|
||||
h4 {
|
||||
font-weight: lighter;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
.image {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
}
|
||||
.image-icon {
|
||||
font-size: 26px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr 4fr 1fr;
|
||||
h4 {
|
||||
font-weight: lighter;
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
.image {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
}
|
||||
.controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
a {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
.controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
a {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,20 +5,12 @@
|
|||
// Theme header backgrounds
|
||||
.appTheme({
|
||||
.character-header-sheet {
|
||||
.trait {
|
||||
background: url(../assets/svg/trait-shield.svg) no-repeat;
|
||||
}
|
||||
|
||||
.character-row .domains-section img {
|
||||
filter: @golden-filter;
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.character-header-sheet {
|
||||
.trait {
|
||||
background: url('../assets/svg/trait-shield-light.svg') no-repeat;
|
||||
}
|
||||
|
||||
.character-row .domains-section img {
|
||||
filter: brightness(0) saturate(100%);
|
||||
}
|
||||
|
|
@ -33,13 +25,19 @@
|
|||
|
||||
.name-row {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
gap: 6px;
|
||||
align-items: start;
|
||||
justify-content: space-between;
|
||||
padding: 0;
|
||||
padding-top: 5px;
|
||||
flex: 1;
|
||||
|
||||
[contenteditable],
|
||||
input {
|
||||
border: 1px solid @soft-shadow;
|
||||
background-color: light-dark(@dark-15, @soft-white-shadow);
|
||||
}
|
||||
|
||||
h1 {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
|
|
@ -65,14 +63,16 @@
|
|||
|
||||
.label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: baseline;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
input {
|
||||
border: none;
|
||||
width: 40px;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.level-button {
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 5px 0;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 8px;
|
||||
font-size: var(--font-size-12);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
|
|
@ -131,7 +131,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 12px;
|
||||
|
||||
.resource-section {
|
||||
display: flex;
|
||||
|
|
@ -168,7 +168,7 @@
|
|||
.domains-section {
|
||||
position: relative;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: 4px;
|
||||
background-color: light-dark(transparent, @dark-blue);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
padding: 5px 10px;
|
||||
|
|
@ -183,6 +183,7 @@
|
|||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.domain {
|
||||
|
|
@ -217,37 +218,110 @@
|
|||
|
||||
.character-traits {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0;
|
||||
margin-bottom: 15px;
|
||||
justify-content: space-between;
|
||||
max-width: 38.5rem;
|
||||
gap: 0.5rem;
|
||||
padding-left: 0.5rem;
|
||||
|
||||
.trait {
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
--color-border: light-dark(@semi-transparent-dark-blue, @golden-60);
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
min-width: 4.375rem;
|
||||
|
||||
.trait-name {
|
||||
position: relative;
|
||||
background-color: light-dark(@semi-transparent-dark-blue, @golden-40);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 3px;
|
||||
color: light-dark(var(--color-light-1), @golden);
|
||||
font-size: var(--font-size-12);
|
||||
font-weight: 600;
|
||||
height: 1rem;
|
||||
line-height: 1rem;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
padding: 0 0.1876px 0 0.375rem;
|
||||
margin-right: 0.125rem; /* makes it center SLIGHTLY */
|
||||
text-shadow: 1px 1px 2px @light-black;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 5px;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
font-size: var(--font-size-14);
|
||||
font-weight: 600;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 3px;
|
||||
|
||||
i {
|
||||
line-height: 17px;
|
||||
font-size: var(--font-size-10);
|
||||
.tier-mark {
|
||||
position: absolute;
|
||||
background-color: @dark-blue;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 50%;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
right: calc(100% - 0.4375rem);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
&.marked::before {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
border-radius: 50%;
|
||||
background-color: @golden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.trait-value {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: var(--font-size-20);
|
||||
text-align: center;
|
||||
.trait-value-area {
|
||||
--background: light-dark(#e8e6e3, @dark-blue);
|
||||
display: flex;
|
||||
position: relative;
|
||||
.trait-value {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
justify-content: center;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: var(--font-size-20);
|
||||
text-align: center;
|
||||
margin-bottom: 0.375rem;
|
||||
}
|
||||
|
||||
.spellcasting-mark {
|
||||
position: absolute;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
color: @golden;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -0.375rem;
|
||||
margin-inline: auto;
|
||||
border-radius: 50%;
|
||||
width: 1.125rem;
|
||||
height: 1.125rem;
|
||||
background: radial-gradient(190.63% 190.63% at 50% -80.63%, #18152E 70%, #4D4494 80%, #A0837E 90%, var(--color-border) 100%);
|
||||
font-size: var(--font-size-9);
|
||||
text-shadow: 0 0 2px @light-black;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.trait-name {
|
||||
color: light-dark(@dark, @beige);
|
||||
text-shadow: 0 0 8px light-dark(@dark-80, @beige-80);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,62 +74,6 @@
|
|||
.death-roll-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icons-list {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
align-items: end;
|
||||
justify-content: center;
|
||||
top: 45px;
|
||||
right: 10px;
|
||||
|
||||
.spellcast-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
text-align: center;
|
||||
padding-right: 8px;
|
||||
max-width: 50px;
|
||||
height: 50px;
|
||||
font-size: 1.2rem;
|
||||
background: light-dark(@dark-blue-60, @dark-golden-80);
|
||||
backdrop-filter: blur(8px);
|
||||
border: 4px double light-dark(@beige, @golden);
|
||||
color: light-dark(@beige, @golden);
|
||||
border-radius: 999px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
.spellcast-label {
|
||||
font-size: var(--font-size-14);
|
||||
opacity: 0;
|
||||
margin-right: 0.3rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
i {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
align-content: center;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
&:not(.no-label):hover {
|
||||
max-width: 300px;
|
||||
padding: 0 10px;
|
||||
border-radius: 60px;
|
||||
|
||||
.spellcast-label {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info-section {
|
||||
|
|
|
|||
|
|
@ -280,6 +280,17 @@ body.game:is(.performance-low, .noblur) {
|
|||
}
|
||||
}
|
||||
|
||||
.actors-list.limited {
|
||||
.actor-resources {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.actor-img-frame {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.actors-dragger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -10,4 +10,8 @@
|
|||
font-family: @font-body;
|
||||
color: light-dark(@chat-blue-bg, @beige-50);
|
||||
}
|
||||
|
||||
button.plain.inline-control {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
--golden: #f3c267;
|
||||
--golden-10: #f3c26710;
|
||||
--golden-40: #f3c26740;
|
||||
--golden-60: #f3c26760;
|
||||
--golden-90: #f3c26790;
|
||||
--golden-bg: #f3c2671a;
|
||||
--golden-secondary: #eaaf42;
|
||||
|
|
@ -89,6 +90,7 @@
|
|||
@golden: var(--golden, #f3c267);
|
||||
@golden-10: var(--golden-10, #f3c26710);
|
||||
@golden-40: var(--golden-40, #f3c26740);
|
||||
@golden-60: var(--golden-60, #f3c26760);
|
||||
@golden-90: var(--golden-90, #f3c26790);
|
||||
@golden-bg: var(--golden-bg, #f3c2671a);
|
||||
@golden-secondary: var(--golden-secondary, #eaaf42);
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
--dh-font-title: 'Cinzel Decorative';
|
||||
--dh-font-subtitle: 'Cinzel';
|
||||
--dh-font-body: 'Montserrat';
|
||||
|
||||
/* Include missing font sizes */
|
||||
--font-size-8: 0.5rem;
|
||||
--font-size-9: 0.5625rem;
|
||||
--font-size-22: 1.375rem;
|
||||
}
|
||||
|
||||
@font-title: ~"var(--dh-font-title, 'Cinzel Decorative'), serif";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue