fvtt-cthulhu-eternal/styles/protagonist.less

330 lines
6.5 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-04 15:16:33 +01:00
.protagonist-main {
display: flex;
2024-12-04 15:16:33 +01:00
.protagonist-pc {
display: flex;
gap: 10px;
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;
padding-bottom: 20px;
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 {
width: 400px;
}
}
2024-12-04 15:16:33 +01:00
.protagonist-infos {
display: flex;
flex-direction: column;
gap: 10px;
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;
margin-left: 10px;
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 {
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;
}
.form-group {
flex: 1;
padding-left: 5px;
.form-fields {
flex: none;
width: 70px;
}
}
.experience {
display: flex;
align-items: center;
gap: 10px;
margin-left: 10px;
input {
display: flex;
width: 70px;
font-size: calc(var(--font-size-standard) * 1.4);
align-items: center;
justify-content: center;
padding: 0 5px 0 5px;
}
input[type="number"] {
text-align: center;
}
input[type="checkbox"] {
width: 20px;
}
input[type="checkbox"]:checked {
background-color: rgba(0, 0, 0, 0.1);
}
input[type="checkbox"]:checked::after {
color: rgba(0, 0, 0, 0.1);
}
}
}
}
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-resources {
display: flex;
flex-direction: column;
gap: 5px;
flex: 1;
2024-12-04 15:16:33 +01:00
.protagonist-resource {
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;
}
}
2024-12-04 15:16:33 +01:00
.protagonist-resource-edit {
display: flex;
align-items: center;
gap: 10px;
margin-left: 10px;
input {
display: flex;
width: 70px;
font-size: calc(var(--font-size-standard) * 1.4);
align-items: center;
justify-content: center;
padding: 0 5px 0 5px;
}
input[type="number"] {
text-align: center;
}
select {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.5);
text-align: center;
width: 75px;
}
}
}
}
2024-12-04 15:16:33 +01:00
.protagonist-resources-play {
min-width: 235px;
}
2024-12-04 15:16:33 +01:00
.protagonist-resources-edit {
min-width: 400px;
}
}
2024-12-04 15:16:33 +01:00
.protagonist-biography {
prose-mirror.inactive {
min-height: 40px;
}
prose-mirror.active {
min-height: 150px;
}
}
2024-12-04 15:16:33 +01:00
.tab.protagonist-skills {
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);
gap: 10px;
2024-12-04 15:16:33 +01:00
.skill {
display: flex;
align-items: center;
gap: 10px;
.item-img {
width: 50px;
height: 50px;
2024-12-04 15:16:33 +01:00
margin: 5px 0 0 0;
}
}
}
2024-12-04 15:16:33 +01:00
}
.tab.protagonist-equipment {
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: 10px;
.weapon {
display: flex;
align-items: center;
gap: 10px;
.item-img {
width: 50px;
height: 50px;
margin: 5px 0 0 0;
}
}
}
.armors {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
.armor {
display: flex;
align-items: center;
gap: 10px;
.item-img {
width: 50px;
height: 50px;
margin: 5px 0 0 0;
}
}
}
2024-12-04 15:16:33 +01:00
.gears {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
2024-12-04 15:16:33 +01:00
.gear {
display: flex;
2024-12-04 15:16:33 +01:00
align-items: center;
gap: 10px;
2024-12-04 15:16:33 +01:00
.item-img {
width: 50px;
height: 50px;
margin: 5px 0 0 0;
}
}
}
prose-mirror.inactive {
min-height: 40px;
}
prose-mirror.active {
min-height: 150px;
}
}