mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* Add custom formula to weapon base attack * Remove log * Update weapon custom damage formula label + update font-size in px
171 lines
4.6 KiB
Text
Executable file
171 lines
4.6 KiB
Text
Executable file
@import '../utils/colors.less';
|
|
@import '../utils/mixin.less';
|
|
|
|
.appTheme({
|
|
.item-card-header .item-icons-list .item-icon img {
|
|
filter: @golden-filter;
|
|
}
|
|
}, {
|
|
.item-card-header .item-icons-list .item-icon img {
|
|
filter: @bright-beige-filter;
|
|
}
|
|
});
|
|
|
|
.application.sheet.daggerheart.dh-style {
|
|
.item-sheet-header {
|
|
display: flex;
|
|
|
|
.profile {
|
|
height: 150px;
|
|
width: 150px;
|
|
object-fit: cover;
|
|
border-right: 1px solid light-dark(@dark-blue, @golden);
|
|
border-bottom: 1px solid light-dark(@dark-blue, @golden);
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.item-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-top: var(--header-height);
|
|
text-align: center;
|
|
width: 80%;
|
|
|
|
.item-name input[type='text'] {
|
|
font-size: var(--font-size-32);
|
|
height: 42px;
|
|
text-align: center;
|
|
width: 90%;
|
|
transition: all 0.3s ease;
|
|
outline: 2px solid transparent;
|
|
border: 1px solid transparent;
|
|
|
|
&:hover[type='text'],
|
|
&:focus[type='text'] {
|
|
box-shadow: none;
|
|
outline: 2px solid light-dark(@dark-blue, @golden);
|
|
}
|
|
}
|
|
|
|
.item-description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.item-card-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
text-align: center;
|
|
|
|
.profile {
|
|
height: 300px;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
mask-image: linear-gradient(0deg, transparent 0%, black 10%);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.item-icons-list {
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
align-items: end;
|
|
justify-content: center;
|
|
top: 50px;
|
|
right: 10px;
|
|
|
|
.item-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;
|
|
|
|
.recall-label {
|
|
font-size: var(--font-size-14);
|
|
opacity: 0;
|
|
margin-right: 0.3rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
i {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
img {
|
|
height: 24px;
|
|
width: 24px;
|
|
}
|
|
|
|
&:hover {
|
|
max-width: 300px;
|
|
padding: 0 10px;
|
|
border-radius: 60px;
|
|
|
|
.recall-label {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.item-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
top: -25px;
|
|
gap: 5px;
|
|
margin-bottom: -20px;
|
|
|
|
.item-name {
|
|
input[type='text'] {
|
|
font-size: var(--font-size-32);
|
|
height: 42px;
|
|
text-align: center;
|
|
width: 90%;
|
|
transition: all 0.3s ease;
|
|
outline: 2px solid transparent;
|
|
border: 1px solid transparent;
|
|
|
|
&:hover[type='text'],
|
|
&:focus[type='text'] {
|
|
box-shadow: none;
|
|
outline: 2px solid light-dark(@dark-blue, @golden);
|
|
}
|
|
}
|
|
}
|
|
|
|
.item-description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|