fvtt-cthulhu-eternal/styles/protagonist.less

508 lines
9.7 KiB
Plaintext
Raw Normal View History

2024-12-04 15:16:33 +01:00
.protagonist-content {
.sheet-common();
2024-12-04 15:16:33 +01:00
.protagonist-sheet-common();
overflow: scroll;
}
2024-12-17 09:25:02 +01:00
.sheet-tabs {
background-color: var(--color-light-1);
}
2024-12-04 15:16:33 +01:00
.protagonist-main {
2024-12-17 09:25:02 +01:00
background-color: var(--color-light-1);
display: flex;
2024-12-17 09:25:02 +01:00
2024-12-04 15:16:33 +01:00
.protagonist-pc {
display: flex;
2024-12-17 09:25:02 +01:00
gap: 4px;
flex: 1;
2024-12-04 15:16:33 +01:00
.protagonist-left {
min-width: 180px;
display: flex;
flex-direction: column;
2024-12-04 15:16:33 +01:00
.protagonist-left-image {
display: flex;
justify-content: center;
align-items: center;
2024-12-17 09:25:02 +01:00
padding-bottom: 8px;
2024-12-04 15:16:33 +01:00
.protagonist-img {
height: 140px;
width: auto;
border: none;
}
}
2024-12-04 15:16:33 +01:00
.protagonist-dv,
.protagonist-dmax {
.form-fields {
flex: none;
}
}
2024-12-04 15:16:33 +01:00
.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;
}
}
}
2024-12-04 15:16:33 +01:00
.protagonist-right {
display: flex;
flex-direction: column;
gap: 5px;
2024-12-04 15:16:33 +01:00
.protagonist-name {
display: flex;
input {
2024-12-17 15:47:36 +01:00
font-family: var(--font-title);
font-size: calc(var(--font-size-standard) * 1.4);
width: 400px;
}
}
2024-12-22 23:04:15 +01:00
.san {
input {
min-width: 2.2rem;
}
.san-checkbox {
min-width: 1rem;
max-width: 1rem;
}
.label-field {
flex-grow: 0;
margin-left: 4px;
}
.spacing {
margin-left: 4px;
}
}
.willpower {
input {
min-width: 2.2rem;
}
.label-field {
flex-grow: 0;
margin-left: 4px;
}
.checkbox {
min-width: 1rem;
max-width: 1rem;
}
2024-12-22 23:04:15 +01:00
}
2024-12-04 15:16:33 +01:00
.protagonist-infos {
display: flex;
flex-direction: column;
2024-12-17 09:25:02 +01:00
gap: 4px;
label {
min-width: 120px;
}
2024-12-04 15:16:33 +01:00
.protagonist-hp {
display: flex;
gap: 2px;
align-items: center;
2024-12-04 15:16:33 +01:00
.protagonist-hp-value {
.form-fields input {
flex: none;
width: 50px;
2024-12-17 09:25:02 +01:00
margin-left: 4px;
font-size: calc(var(--font-size-standard) * 1.4);
}
}
2024-12-04 15:16:33 +01:00
.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);
}
}
2024-12-04 15:16:33 +01:00
.hp-separator {
font-size: calc(var(--font-size-standard) * 1.2);
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
}
2024-12-04 15:16:33 +01:00
.protagonist-pc-play {
min-width: 500px;
}
2024-12-04 15:16:33 +01:00
.protagonist-pc-edit {
min-width: 650px;
}
2024-12-04 15:16:33 +01:00
.protagonist-characteristics {
2024-12-17 09:25:02 +01:00
background-color: var(--color-light-1);
display: flex;
flex-direction: column;
gap: 5px;
flex: 1;
2024-12-04 15:16:33 +01:00
.protagonist-characteristic {
display: flex;
align-items: center;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
2025-01-07 17:36:31 +01:00
.rollable {
min-width: 3rem;
max-width: 3rem;
}
.char-text {
margin-left: 0.5rem;
}
.form-group {
2025-01-07 17:36:31 +01:00
flex: 0;
padding-left: 5px;
.form-fields {
2025-01-07 17:36:31 +01:00
font-size: 1.1rem;
flex: none;
2025-01-07 17:36:31 +01:00
width: 40px;
}
}
}
}
2024-12-04 15:16:33 +01:00
.protagonist-characteristic-play {
min-width: 225px;
}
2024-12-04 15:16:33 +01:00
.protagonist-characteristic-edit {
min-width: 400px;
}
}
2024-12-04 15:16:33 +01:00
.protagonist-biography {
2024-12-17 09:25:02 +01:00
background-color: var(--color-light-1);
prose-mirror.inactive {
min-height: 40px;
}
prose-mirror.active {
min-height: 150px;
}
2024-12-22 23:04:15 +01:00
.field-label {
margin-left: 8px;
}
.features,
2024-12-22 23:04:15 +01:00
.biodata {
display: grid;
grid-template-columns: repeat(2, 1fr);
2024-12-22 23:04:15 +01:00
gap: 8px;
label {
min-width: 3.0rem;
}
.feature {
display: flex;
align-items: center;
gap: 4px;
min-width: 18rem;
max-width: 18rem;
}
2024-12-22 23:04:15 +01:00
}
2024-12-22 23:04:15 +01:00
.motivations {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px;
.motivation {
display: flex;
align-items: center;
gap: 4px;
min-width: 14rem;
max-width: 14rem;
.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;
}
}
}
}
2024-12-04 15:16:33 +01:00
.tab.protagonist-skills {
2024-12-17 09:25:02 +01:00
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;
}
}
2024-12-04 15:16:33 +01:00
.skills {
display: grid;
2024-12-04 15:16:33 +01:00
grid-template-columns: repeat(3, 1fr);
2024-12-17 09:25:02 +01:00
gap: 4px;
2024-12-04 15:16:33 +01:00
.skill {
display: flex;
align-items: center;
2024-12-17 09:25:02 +01:00
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;
2024-12-22 23:04:15 +01:00
max-width: 8rem;
}
.item-img {
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
}
.tab.protagonist-status {
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;
}
}
.bonds {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px;
.bond {
display: flex;
align-items: center;
gap: 4px;
min-width: 16rem;
max-width: 16rem;
.controls {
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 12rem;
max-width: 12rem;
}
.type {
2025-01-07 17:26:08 +01:00
min-width: 5rem;
max-width: 5rem;
2024-12-22 23:04:15 +01:00
}
.level {
min-width: 2rem;
max-width: 2rem;
}
.item-img {
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
.mentaldisorders {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px;
.mentaldisorder {
display: flex;
align-items: center;
gap: 4px;
min-width: 16rem;
max-width: 16rem;
.controls {
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 14rem;
max-width: 14rem;
}
.item-img {
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
.injuries {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px;
.injury {
display: flex;
align-items: center;
gap: 4px;
min-width: 16rem;
max-width: 16rem;
.controls {
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 14rem;
max-width: 14rem;
2024-12-17 09:25:02 +01:00
}
.item-img {
2024-12-17 09:25:02 +01:00
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
2024-12-04 15:16:33 +01:00
}
.tab.protagonist-equipment {
2024-12-17 09:25:02 +01:00
background-color: var(--color-light-1);
2024-12-04 15:16:33 +01:00
display: grid;
grid-template-columns: 1fr;
legend {
a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 5px;
}
}
.weapons {
display: grid;
2024-12-22 23:04:15 +01:00
grid-template-columns: repeat(2, 1fr);
2024-12-17 09:25:02 +01:00
gap: 4px;
.weapon {
display: flex;
align-items: center;
2024-12-17 09:25:02 +01:00
gap: 4px;
2024-12-22 23:04:15 +01:00
min-width: 13rem;
max-width: 13srem;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.controls {
min-width: 2rem;
max-width: 2rem;
}
.damage {
min-width: 5rem;
max-width: 5rem;
}
.name {
min-width: 8rem;
max-width: 8rem;
}
.item-img {
2024-12-22 23:04:15 +01:00
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
.armors {
display: grid;
grid-template-columns: repeat(3, 1fr);
2024-12-17 09:25:02 +01:00
gap: 4px;
.armor {
display: flex;
align-items: center;
2024-12-17 09:25:02 +01:00
gap: 4px;
2024-12-22 23:04:15 +01:00
min-width: 13rem;
max-width: 13srem;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.controls {
min-width: 2rem;
max-width: 2rem;
}
.protection {
min-width: 5rem;
max-width: 5rem;
}
.name {
min-width: 8rem;
max-width: 8rem;
}
.item-img {
2024-12-22 23:04:15 +01:00
width: 32px;
height: 32px;
margin: 4px 0 0 0;
}
}
}
2024-12-04 15:16:33 +01:00
.gears {
display: grid;
grid-template-columns: repeat(3, 1fr);
2024-12-17 09:25:02 +01:00
gap: 4px;
2024-12-04 15:16:33 +01:00
.gear {
display: flex;
2024-12-04 15:16:33 +01:00
align-items: center;
2024-12-17 09:25:02 +01:00
gap: 4px;
2024-12-22 23:04:15 +01:00
min-width: 13rem;
max-width: 13srem;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.controls {
min-width: 2rem;
max-width: 2rem;
}
.damage {
min-width: 5rem;
max-width: 5rem;
}
.name {
min-width: 8rem;
max-width: 8rem;
}
2024-12-04 15:16:33 +01:00
.item-img {
2024-12-22 23:04:15 +01:00
width: 32px;
height: 32px;
margin: 4px 0 0 0;
2024-12-04 15:16:33 +01:00
}
}
}
prose-mirror.inactive {
min-height: 40px;
}
prose-mirror.active {
min-height: 150px;
}
}