fvtt-cthulhu-eternal/styles/protagonist.less
2024-12-17 09:25:02 +01:00

273 lines
5.2 KiB
Plaintext

.protagonist-content {
.sheet-common();
.protagonist-sheet-common();
overflow: scroll;
}
.sheet-tabs {
background-color: var(--color-light-1);
}
.protagonist-main {
background-color: var(--color-light-1);
display: flex;
.protagonist-pc {
display: flex;
gap: 4px;
flex: 1;
.protagonist-left {
min-width: 180px;
display: flex;
flex-direction: column;
.protagonist-left-image {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 8px;
.protagonist-img {
height: 140px;
width: auto;
border: none;
}
}
.protagonist-dv,
.protagonist-dmax {
.form-fields {
flex: none;
}
}
.protagonist-dmax-edit {
input {
display: flex;
width: 60px;
font-size: calc(var(--font-size-standard) * 1.4);
align-items: center;
justify-content: center;
padding: 0 5px 0 5px;
text-align: center;
}
}
}
.protagonist-right {
display: flex;
flex-direction: column;
gap: 5px;
.protagonist-name {
display: flex;
input {
width: 400px;
}
}
.protagonist-infos {
display: flex;
flex-direction: column;
gap: 4px;
label {
min-width: 120px;
}
.protagonist-hp {
display: flex;
gap: 2px;
align-items: center;
.protagonist-hp-value {
.form-fields input {
flex: none;
width: 50px;
margin-left: 4px;
font-size: calc(var(--font-size-standard) * 1.4);
}
}
.protagonist-hp-max {
clear: both;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 3px 0;
align-items: center;
input {
width: 50px;
text-align: center;
font-size: calc(var(--font-size-standard) * 1.4);
}
}
.hp-separator {
font-size: calc(var(--font-size-standard) * 1.2);
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
}
.protagonist-pc-play {
min-width: 500px;
}
.protagonist-pc-edit {
min-width: 650px;
}
.protagonist-characteristics {
background-color: var(--color-light-1);
display: flex;
flex-direction: column;
gap: 5px;
flex: 1;
.protagonist-characteristic {
display: flex;
align-items: center;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.form-group {
flex: 1;
padding-left: 5px;
.form-fields {
flex: none;
width: 70px;
}
}
}
}
.protagonist-characteristic-play {
min-width: 225px;
}
.protagonist-characteristic-edit {
min-width: 400px;
}
}
.protagonist-biography {
background-color: var(--color-light-1);
prose-mirror.inactive {
min-height: 40px;
}
prose-mirror.active {
min-height: 150px;
}
}
.tab.protagonist-skills {
background-color: var(--color-light-1);
display: grid;
grid-template-columns: 1fr;
legend {
a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 5px;
}
}
.skills {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
.skill {
display: flex;
align-items: center;
gap: 4px;
min-width: 10rem;
max-width: 10rem;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.controls {
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 8rem;
max-width: 8rem;
}
.item-img {
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
}
.tab.protagonist-equipment {
background-color: var(--color-light-1);
display: grid;
grid-template-columns: 1fr;
legend {
a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 5px;
}
}
.weapons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4px;
.weapon {
display: flex;
align-items: center;
gap: 4px;
.item-img {
width: 50px;
height: 50px;
margin: 5px 0 0 0;
}
}
}
.armors {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
.armor {
display: flex;
align-items: center;
gap: 4px;
.item-img {
width: 50px;
height: 50px;
margin: 5px 0 0 0;
}
}
}
.gears {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
.gear {
display: flex;
align-items: center;
gap: 4px;
.item-img {
width: 50px;
height: 50px;
margin: 5px 0 0 0;
}
}
}
prose-mirror.inactive {
min-height: 40px;
}
prose-mirror.active {
min-height: 150px;
}
}