Files
fvtt-oath-hammer/less/actor-sheet.less

136 lines
2.3 KiB
Plaintext

// ============================================================
// ACTOR SHEET — Character layout, attributes, resources, etc.
// ============================================================
.oathhammer {
.actor-img {
height: @portrait-height;
width: auto;
border: 2px solid @color-blue;
border-radius: 4px;
cursor: pointer;
object-fit: cover;
}
.character-main {
display: flex;
flex-direction: column;
gap: 4px;
.character-pc {
display: flex;
gap: 10px;
flex: 1;
}
.character-left {
min-width: @left-panel-width;
max-width: @left-panel-width;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}
.character-portrait {
display: flex;
justify-content: center;
}
.character-resource {
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 2px;
input {
min-width: 2.5rem;
max-width: 2.5rem;
text-align: center;
}
}
.resource-label {
min-width: 3.5rem;
font-family: @font-secondary;
font-size: @font-size-xs;
}
.character-right {
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
}
.character-name {
display: flex;
align-items: center;
gap: 4px;
input { flex: 1; }
}
}
// Attributes grid
.attributes-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 4px;
}
.attribute-box {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
label {
font-family: @font-secondary;
font-size: @font-size-sm;
text-align: center;
}
input {
width: 2.5rem;
text-align: center;
font-size: @font-size-lg;
}
}
// Currency bar
.currency-bar {
margin-top: 4px;
.currency-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
flex: 1;
input {
width: 4rem;
text-align: center;
}
}
}
// Biodata
.biodata-col {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
// Defense display
.defense-display {
min-width: 3rem;
max-width: 3rem;
text-align: center;
font-weight: bold;
}
}