mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
239 lines
6.7 KiB
Text
239 lines
6.7 KiB
Text
@import '../../../utils/colors.less';
|
|
@import '../../../utils/fonts.less';
|
|
@import '../../../utils/mixin.less';
|
|
|
|
// 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%);
|
|
}
|
|
}
|
|
});
|
|
|
|
.application.sheet.daggerheart.actor.dh-style.character {
|
|
.character-header-sheet {
|
|
padding: 0 15px;
|
|
padding-top: var(--header-height);
|
|
width: 100%;
|
|
|
|
.name-row {
|
|
display: flex;
|
|
gap: 5px;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
padding: 0;
|
|
padding-top: 5px;
|
|
flex: 1;
|
|
|
|
h1 {
|
|
display: flex;
|
|
flex: 1;
|
|
padding: 6px 0 0 0;
|
|
font-size: var(--font-size-32);
|
|
text-align: start;
|
|
border: 1px solid transparent;
|
|
outline: 2px solid transparent;
|
|
transition: all 0.3s ease;
|
|
word-break: break-word;
|
|
|
|
&:hover {
|
|
outline: 2px solid light-dark(@dark, @golden);
|
|
}
|
|
}
|
|
|
|
.level-div {
|
|
white-space: nowrap;
|
|
display: flex;
|
|
justify-content: end;
|
|
height: var(--font-size-32);
|
|
margin-top: 6px;
|
|
|
|
.label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
input {
|
|
width: 40px;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.level-button {
|
|
color: light-dark(@dark, @beige);
|
|
font-size: var(--font-size-18);
|
|
line-height: 1;
|
|
min-height: unset;
|
|
height: min-content;
|
|
padding: 4px;
|
|
font-family: 'Cinzel', serif;
|
|
margin: 0;
|
|
font-weight: normal;
|
|
border-color: light-dark(@dark-blue, @golden);
|
|
background-color: light-dark(transparent, @deep-black);
|
|
|
|
&:hover {
|
|
background-image: none;
|
|
background-color: var(--color-warm-2);
|
|
filter: drop-shadow(0 0 3px lightgray);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.character-details {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 5px 0;
|
|
margin-bottom: 10px;
|
|
font-size: var(--font-size-12);
|
|
color: light-dark(@dark-blue, @golden);
|
|
|
|
.missing-header-feature {
|
|
opacity: 0.5;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
span {
|
|
padding: 3px;
|
|
border-radius: 3px;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: light-dark(@dark-blue-40, @golden-40);
|
|
}
|
|
|
|
&.dot {
|
|
background: transparent;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
|
|
.character-row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
margin-bottom: 15px;
|
|
|
|
.hope-section {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.downtime-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
margin-left: auto;
|
|
|
|
button {
|
|
flex: 1;
|
|
padding: 0 0.375rem;
|
|
}
|
|
|
|
button[data-action='viewParty'] {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
|
|
.hope-section,
|
|
.domains-section {
|
|
position: relative;
|
|
display: flex;
|
|
gap: 10px;
|
|
background-color: light-dark(transparent, @dark-blue);
|
|
color: light-dark(@dark-blue, @golden);
|
|
padding: 5px 10px;
|
|
border: 1px solid light-dark(@dark-blue, @golden);
|
|
border-radius: 6px;
|
|
align-items: center;
|
|
width: fit-content;
|
|
height: 30px;
|
|
|
|
h4 {
|
|
font-size: var(--font-size-14);
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
color: light-dark(@dark-blue, @golden);
|
|
}
|
|
|
|
.domain {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
|
|
.label {
|
|
font-size: var(--font-size-14);
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
color: light-dark(@dark-blue, @golden);
|
|
}
|
|
|
|
img {
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
}
|
|
|
|
.hope-value {
|
|
display: flex;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.character-traits {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0;
|
|
margin-bottom: 15px;
|
|
|
|
.trait {
|
|
height: 60px;
|
|
width: 60px;
|
|
cursor: pointer;
|
|
|
|
.trait-name {
|
|
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);
|
|
}
|
|
}
|
|
|
|
.trait-value {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: var(--font-size-20);
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|