1312 lines
29 KiB
Plaintext
1312 lines
29 KiB
Plaintext
.application.mgne .mgne-sheet {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.application.mgne.character .mgne-sheet-header {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.application.mgne .sheet-header {
|
|
display: grid;
|
|
grid-template-columns: 148px 1fr;
|
|
gap: 0.8rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.application.mgne.item-sheet .sheet-header {
|
|
grid-template-columns: 111px 1fr;
|
|
}
|
|
|
|
.application.mgne .actor-portrait,
|
|
.application.mgne .item-portrait {
|
|
width: 100%;
|
|
max-width: 148px;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
border-radius: @radius-lg;
|
|
border: 1px solid fade(@gold-acid, 40%);
|
|
box-shadow:
|
|
0 12px 24px fade(black, 34%),
|
|
inset 0 0 0 2px fade(@parchment, 8%);
|
|
background:
|
|
radial-gradient(circle at 30% 20%, fade(@bone, 8%), transparent 30%),
|
|
@bg-input;
|
|
}
|
|
|
|
.application.mgne.item-sheet .item-portrait {
|
|
max-width: 111px;
|
|
}
|
|
|
|
.application.mgne .header-fields,
|
|
.application.mgne .resource-bar,
|
|
.application.mgne .ability-grid,
|
|
.application.mgne .inventory-section,
|
|
.application.mgne .daily-resources-panel,
|
|
.application.mgne .tab-panel {
|
|
.panel-shell();
|
|
.ornate-frame();
|
|
padding: 0.65rem;
|
|
}
|
|
|
|
.application.mgne .resource-bar,
|
|
.application.mgne .ability-grid,
|
|
.application.mgne .grid.two,
|
|
.application.mgne .grid.three,
|
|
.application.mgne .condition-value-grid,
|
|
.application.mgne .condition-flag-grid {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.application.mgne .resource-bar {
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne .resource-bar-core {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne .resource-bar-daily {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne .resource-bar-equipment {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne .ability-grid {
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne .grid.two {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne .grid.three {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne.item-sheet .item-form-grid {
|
|
display: grid;
|
|
gap: 0.65rem 0.9rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
|
|
}
|
|
|
|
.application.mgne.item-sheet .item-form-grid-two {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne.item-sheet .item-form-grid-three {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.application.mgne.item-sheet .item-form-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(6rem, max-content) minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
min-width: 0;
|
|
|
|
> label {
|
|
margin: 0;
|
|
line-height: 1.1;
|
|
min-width: 0;
|
|
}
|
|
|
|
> input,
|
|
> select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
}
|
|
|
|
.application.mgne .condition-value-grid {
|
|
grid-template-columns: max-content minmax(auto, 9rem);
|
|
align-items: center;
|
|
margin-bottom: 0.6rem;
|
|
|
|
select {
|
|
width: auto;
|
|
min-width: 5rem;
|
|
max-width: 9rem;
|
|
}
|
|
}
|
|
|
|
.application.mgne .condition-flag-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
|
|
gap: 0.3rem 0.6rem;
|
|
}
|
|
|
|
.application.mgne .resource-box,
|
|
.application.mgne .ability-card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.28rem;
|
|
padding: 0.52rem;
|
|
border-radius: @radius-md;
|
|
border: 1px solid fade(@iron, 30%);
|
|
background:
|
|
linear-gradient(180deg, fade(@bone, 4%), transparent 30%),
|
|
linear-gradient(180deg, fade(@ember, 7%), transparent 80%),
|
|
@bg-panel-soft;
|
|
}
|
|
|
|
.application.mgne .ability-card {
|
|
min-height: 0;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.45rem;
|
|
padding: 0.38rem 0.46rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-track,
|
|
.application.mgne .resource-box-single {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact {
|
|
gap: 0.18rem;
|
|
padding: 0.36rem 0.42rem;
|
|
|
|
> label {
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.11em;
|
|
}
|
|
}
|
|
|
|
.application.mgne .resource-box-inline {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
|
|
> label {
|
|
flex: 0 0 auto;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.application.mgne .resource-box-inline .resource-track,
|
|
.application.mgne .resource-box-inline .numeric-pill {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-track {
|
|
align-items: flex-start;
|
|
|
|
> label {
|
|
padding-top: 1rem;
|
|
}
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-track .numeric-caption {
|
|
color: @label-ink;
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-track .numeric-caption-strong {
|
|
padding: 0.08rem 0.34rem;
|
|
border-radius: 999px;
|
|
background: fade(@gold-acid, 18%);
|
|
border: 1px solid fade(@label-ink, 28%);
|
|
color: darken(@label-ink, 4%);
|
|
font-size: 0.6rem;
|
|
letter-spacing: 0.11em;
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-track .numeric-cluster {
|
|
align-items: center;
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-track .numeric-input {
|
|
width: 3.4rem;
|
|
min-width: 3.4rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-single .numeric-pill {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.application.mgne .resource-box-inline-single .numeric-input {
|
|
width: 3.2rem;
|
|
min-width: 3.2rem;
|
|
}
|
|
|
|
.application.mgne .header-resource {
|
|
align-self: stretch;
|
|
}
|
|
|
|
.application.mgne .header-resource .resource-box {
|
|
height: 100%;
|
|
}
|
|
|
|
.application.mgne .resource-track {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
gap: 0.32rem;
|
|
align-items: end;
|
|
}
|
|
|
|
.application.mgne .resource-track-die {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.application.mgne .numeric-cluster {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.18rem;
|
|
}
|
|
|
|
.application.mgne .numeric-caption {
|
|
.caps-heading();
|
|
color: fade(@label-soft, 94%);
|
|
font-size: 0.58rem;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .numeric-caption {
|
|
font-size: 0.52rem;
|
|
letter-spacing: 0.09em;
|
|
}
|
|
|
|
.application.mgne .track-separator {
|
|
align-self: center;
|
|
color: fade(@gold-acid, 72%);
|
|
font-family: @font-display;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.application.mgne .numeric-input {
|
|
min-width: 0;
|
|
text-align: center;
|
|
text-align-last: center;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
padding-inline: 0.2rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .numeric-input,
|
|
.application.mgne .resource-box-compact .compact-select {
|
|
min-height: 30px;
|
|
padding: 0.18rem 0.16rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.application.mgne .numeric-input-readonly {
|
|
color: @bone;
|
|
}
|
|
|
|
.application.mgne .compact-select {
|
|
text-align: center;
|
|
text-align-last: center;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 700;
|
|
padding-inline: 0.35rem;
|
|
}
|
|
|
|
.application.mgne .numeric-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.18rem;
|
|
border-radius: @radius-md;
|
|
border: 1px solid fade(@gold-acid, 18%);
|
|
background: fade(@bg-input, 64%);
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .numeric-pill {
|
|
padding: 0.1rem;
|
|
}
|
|
|
|
.application.mgne .numeric-pill-suffix {
|
|
gap: 0.35rem;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.application.mgne .numeric-suffix {
|
|
flex: 0 0 auto;
|
|
color: @gold-acid;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.application.mgne .resource-meta {
|
|
display: inline-flex;
|
|
align-self: flex-start;
|
|
margin-top: 0.12rem;
|
|
padding: 0.16rem 0.44rem;
|
|
border-radius: 999px;
|
|
border: 1px solid fade(@verdigris, 20%);
|
|
color: lighten(@verdigris, 18%);
|
|
background: fade(@verdigris, 10%);
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .resource-track {
|
|
gap: 0.22rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .numeric-cluster {
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .track-separator {
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-compact .resource-meta {
|
|
margin-top: 0.06rem;
|
|
padding: 0.1rem 0.34rem;
|
|
font-size: 0.64rem;
|
|
}
|
|
|
|
.application.mgne .resource-inline {
|
|
display: flex;
|
|
gap: 0.32rem;
|
|
align-items: center;
|
|
|
|
span {
|
|
color: @dust;
|
|
}
|
|
}
|
|
|
|
.application.mgne .sheet-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
flex: 0 0 auto;
|
|
justify-content: center;
|
|
}
|
|
|
|
.application.mgne .tab-button {
|
|
min-width: 110px;
|
|
}
|
|
|
|
.application.mgne .tab-button.active {
|
|
border-color: fade(@ember-bright, 70%);
|
|
background:
|
|
linear-gradient(180deg, fade(@ember-bright, 26%), fade(@blood, 12%)),
|
|
linear-gradient(135deg, fade(@parchment, 12%), transparent 45%),
|
|
@bg-input;
|
|
color: lighten(@parchment, 6%);
|
|
}
|
|
|
|
.application.mgne .tab-panel:not(.active) {
|
|
display: none;
|
|
}
|
|
|
|
.application.mgne.character .tab-panel.active {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.application.mgne .inventory-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.application.mgne .daily-resources-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.application.mgne .section-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.application.mgne .section-heading h2 {
|
|
.caps-heading();
|
|
margin: 0;
|
|
color: @bone;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.application.mgne .section-heading small {
|
|
display: inline-block;
|
|
margin-top: 0.12rem;
|
|
color: @dust;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.application.mgne .inventory-header,
|
|
.application.mgne .inline-buttons,
|
|
.application.mgne .item-actions,
|
|
.application.mgne .sheet-actions {
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.application.mgne .resource-box-actions {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin-top: 0.12rem;
|
|
}
|
|
|
|
.application.mgne .resource-box-actions-rest {
|
|
gap: 0.32rem;
|
|
flex-wrap: wrap;
|
|
|
|
> button {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
padding-inline: 0.5rem;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.application.mgne .inventory-header {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.application.mgne .inventory-header h3 {
|
|
.caps-heading();
|
|
margin: 0;
|
|
color: @bone;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.application.mgne .item-row {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr 1fr auto;
|
|
gap: 0.45rem;
|
|
align-items: center;
|
|
padding: 0.48rem 0.2rem 0.48rem 0.55rem;
|
|
border-radius: @radius-sm;
|
|
border: 1px solid transparent;
|
|
background:
|
|
linear-gradient(90deg, fade(@ember, 9%), transparent 35%),
|
|
linear-gradient(180deg, fade(@parchment, 2%), fade(@bg-void, 12%)),
|
|
fade(@bg-input, 80%);
|
|
|
|
&:hover {
|
|
border-color: fade(@gold-acid, 28%);
|
|
background:
|
|
linear-gradient(90deg, fade(@ember, 12%), transparent 35%),
|
|
linear-gradient(180deg, fade(@parchment, 4%), fade(@bg-void, 12%)),
|
|
fade(@bg-input, 88%);
|
|
}
|
|
}
|
|
|
|
.application.mgne .item-name {
|
|
color: @parchment;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.application.mgne .check-grid {
|
|
display: flex;
|
|
gap: 0.7rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.application.mgne.item-sheet .item-check-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
|
|
gap: 0.45rem 0.9rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.application.mgne.item-sheet .check-grid > label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
flex: 0 0 auto;
|
|
width: fit-content;
|
|
margin: 0;
|
|
}
|
|
|
|
.application.mgne .checkbox-line {
|
|
display: inline-flex;
|
|
gap: 0.35rem;
|
|
align-items: center;
|
|
width: fit-content;
|
|
padding: 0.1rem 0.3rem 0.1rem 0.2rem;
|
|
border-radius: 4px;
|
|
transition: background 0.15s, color 0.15s;
|
|
|
|
&.active {
|
|
color: #f5dfa0;
|
|
font-weight: 600;
|
|
text-shadow: 0 0 8px fade(@gold-acid, 55%);
|
|
background: fade(@gold-acid, 14%);
|
|
border: 1px solid fade(@gold-acid, 28%);
|
|
margin: -1px; // compensate border so layout doesn't shift
|
|
}
|
|
|
|
&:not(.active) {
|
|
color: @bone;
|
|
border: 1px solid transparent;
|
|
margin: -1px;
|
|
}
|
|
}
|
|
|
|
.application.mgne .check-grid input[type="checkbox"],
|
|
.application.mgne .checkbox-line input[type="checkbox"] {
|
|
--checkbox-size: 0.9rem;
|
|
flex: 0 0 0.9rem;
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
min-width: 0.9rem;
|
|
padding: 0;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.application.mgne.item-sheet .item-form-grid-two,
|
|
.application.mgne.item-sheet .item-form-grid-three {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
.application.mgne .ability-label {
|
|
display: inline-flex;
|
|
flex: 1 1 auto;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
min-width: 0;
|
|
}
|
|
|
|
.application.mgne .resource-label-accent {
|
|
color: @ember-bright;
|
|
text-shadow: 0 0 12px fade(@ember, 18%);
|
|
}
|
|
|
|
.application.mgne .ability-score {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 58px;
|
|
min-height: 32px;
|
|
padding: 0.08rem;
|
|
border-radius: @radius-sm;
|
|
border: 1px solid fade(@gold-acid, 14%);
|
|
background: fade(@bg-input, 54%);
|
|
}
|
|
|
|
.application.mgne .ability-input {
|
|
font-family: @font-display;
|
|
font-size: 1.05rem;
|
|
line-height: 1;
|
|
color: @bone;
|
|
padding: 0.12rem;
|
|
}
|
|
|
|
.application.mgne select.ability-input {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.application.mgne .ability-score-text {
|
|
flex-direction: column;
|
|
gap: 0.02rem;
|
|
}
|
|
|
|
.application.mgne .ability-defense-main {
|
|
.caps-heading();
|
|
color: @bone;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.application.mgne .ability-defense-sub {
|
|
color: @dust;
|
|
font-size: 0.62rem;
|
|
}
|
|
|
|
.application.mgne .character .ability-card:nth-child(odd),
|
|
.application.mgne .character .resource-box:nth-child(odd) {
|
|
background:
|
|
linear-gradient(180deg, fade(@verdigris, 10%), transparent 55%),
|
|
linear-gradient(180deg, fade(@parchment, 4%), transparent 35%),
|
|
@bg-panel-soft;
|
|
}
|
|
|
|
.application.mgne .creature .resource-box,
|
|
.application.mgne .companion .resource-box,
|
|
.application.mgne .creature .ability-card,
|
|
.application.mgne .companion .ability-card {
|
|
background:
|
|
linear-gradient(180deg, fade(@blood, 11%), transparent 60%),
|
|
linear-gradient(180deg, fade(@parchment, 4%), transparent 35%),
|
|
@bg-panel-soft;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.application.mgne .sheet-header,
|
|
.application.mgne .resource-bar,
|
|
.application.mgne .ability-grid,
|
|
.application.mgne .grid.two,
|
|
.application.mgne .grid.three {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.application.mgne .item-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
// ─── Weight badges ────────────────────────────────────────────────────────────
|
|
.item-weight-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0 0.45em;
|
|
border-radius: 3px;
|
|
font-family: @font-body;
|
|
font-size: 0.7em;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
border: 1px solid transparent;
|
|
|
|
&.weight-trivial {
|
|
color: fade(@bone, 45%);
|
|
border-color: fade(@bone, 20%);
|
|
}
|
|
|
|
&.weight-light {
|
|
color: @bone;
|
|
border-color: fade(@bone, 35%);
|
|
background: fade(@bone, 8%);
|
|
}
|
|
|
|
&.weight-normal {
|
|
color: @gold-acid;
|
|
border-color: fade(@gold-acid, 40%);
|
|
background: fade(@gold-acid, 10%);
|
|
}
|
|
|
|
&.weight-heavy {
|
|
color: @blood;
|
|
border-color: fade(@blood, 45%);
|
|
background: fade(@blood, 12%);
|
|
}
|
|
}
|
|
|
|
// ─── Load display ─────────────────────────────────────────────────────────────
|
|
.load-display {
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
cursor: default;
|
|
}
|
|
|
|
.load-overloaded {
|
|
color: @blood !important;
|
|
text-shadow: 0 0 6px fade(@blood, 50%);
|
|
}
|
|
|
|
.resource-box-overloaded {
|
|
border-color: fade(@blood, 60%) !important;
|
|
background: fade(@blood, 10%) !important;
|
|
|
|
.resource-label-accent {
|
|
color: @blood !important;
|
|
}
|
|
}
|
|
|
|
// ─── Item description tooltip ─────────────────────────────────────────────────
|
|
.item-name[data-tooltip] {
|
|
cursor: help;
|
|
&:hover { text-decoration: underline dotted fade(@gold-acid, 55%); }
|
|
}
|
|
|
|
#tooltip.mgne-item-tooltip {
|
|
max-width: 22rem;
|
|
font-family: @font-body;
|
|
font-size: 0.82rem;
|
|
line-height: 1.5;
|
|
color: @parchment;
|
|
background: darken(@bg-panel-soft, 4%);
|
|
border: 1px solid fade(@gold-acid, 35%);
|
|
border-radius: 4px;
|
|
padding: 0.5rem 0.7rem;
|
|
box-shadow: 0 4px 14px fade(#000, 55%);
|
|
}
|
|
|
|
// ─── Broken / Durability badges ───────────────────────────────────────────────
|
|
.item-broken-badge {
|
|
display: inline-block;
|
|
margin-left: 0.3em;
|
|
padding: 0.05em 0.4em;
|
|
font-size: 0.65em;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: @blood;
|
|
background: fade(@blood, 14%);
|
|
border: 1px solid fade(@blood, 45%);
|
|
border-radius: 3px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.item-burned-badge {
|
|
color: @gold-acid;
|
|
background: fade(@gold-acid, 12%);
|
|
border-color: fade(@gold-acid, 40%);
|
|
}
|
|
|
|
.item-durability-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25em;
|
|
padding: 0.1em 0.45em;
|
|
font-size: 0.7em;
|
|
font-weight: 700;
|
|
color: fade(@bone, 65%);
|
|
border: 1px solid fade(@bone, 20%);
|
|
border-radius: 3px;
|
|
white-space: nowrap;
|
|
letter-spacing: 0.03em;
|
|
|
|
&.durability-broken {
|
|
color: @blood;
|
|
border-color: fade(@blood, 40%);
|
|
background: fade(@blood, 10%);
|
|
text-decoration: line-through;
|
|
}
|
|
}
|
|
|
|
.item-row-broken {
|
|
opacity: 0.6;
|
|
filter: grayscale(0.4);
|
|
|
|
.item-name {
|
|
text-decoration: line-through;
|
|
color: fade(@parchment, 55%);
|
|
}
|
|
}
|
|
|
|
// ─── Weapon properties ────────────────────────────────────────────────────────
|
|
.weapon-properties-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.35rem 0.6rem;
|
|
padding: 0.5rem 0.6rem;
|
|
background: fade(@bone, 4%);
|
|
border: 1px solid fade(@bone, 12%);
|
|
border-radius: 4px;
|
|
margin-bottom: 0.5rem;
|
|
|
|
.property-check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3em;
|
|
font-family: @font-body;
|
|
font-size: 0.82rem;
|
|
color: @parchment;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
padding: 0.15em 0.4em;
|
|
border-radius: 3px;
|
|
transition: background 0.15s;
|
|
|
|
&:hover { background: fade(@gold-acid, 8%); }
|
|
|
|
input[type="checkbox"] { accent-color: @gold-acid; }
|
|
}
|
|
}
|
|
|
|
.weapon-property-badge {
|
|
display: inline-block;
|
|
margin-left: 0.3em;
|
|
padding: 0.05em 0.35em;
|
|
font-size: 0.62em;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: fade(@gold-acid, 85%);
|
|
background: fade(@gold-acid, 10%);
|
|
border: 1px solid fade(@gold-acid, 30%);
|
|
border-radius: 3px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
// ─── Creature trait trigger ───────────────────────────────────────────────────
|
|
.creature-trait-trigger {
|
|
font-size: 0.82em;
|
|
color: fade(@parchment, 65%);
|
|
font-style: italic;
|
|
margin-left: 0.2em;
|
|
}
|
|
|
|
// ─── Creature traits container ────────────────────────────────────────────────
|
|
.creature-traits-container {
|
|
border: 1px solid fade(@blood, 35%);
|
|
border-left: 3px solid fade(@blood, 65%);
|
|
border-radius: 4px;
|
|
background: linear-gradient(135deg, fade(@blood, 5%), transparent 60%),
|
|
fade(@bg-panel-soft, 85%);
|
|
padding: 0.6rem 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.creature-traits-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
border-bottom: 1px solid fade(@blood, 25%);
|
|
padding-bottom: 0.4rem;
|
|
margin-bottom: 0.1rem;
|
|
|
|
h3 {
|
|
margin: 0;
|
|
font-family: @font-display;
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: fade(@blood, 90%);
|
|
}
|
|
|
|
button {
|
|
font-size: 0.72rem;
|
|
padding: 0.15em 0.6em;
|
|
background: fade(@blood, 12%);
|
|
border: 1px solid fade(@blood, 35%);
|
|
color: fade(@blood, 80%);
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
|
|
&:hover {
|
|
background: fade(@blood, 22%);
|
|
color: lighten(@blood, 10%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.creature-traits-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.creature-trait-card {
|
|
background: fade(@bg-void, 30%);
|
|
border: 1px solid fade(@blood, 20%);
|
|
border-radius: 3px;
|
|
padding: 0.35rem 0.5rem;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
|
|
&:hover {
|
|
background: fade(@blood, 8%);
|
|
border-color: fade(@blood, 35%);
|
|
}
|
|
}
|
|
|
|
.creature-trait-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.creature-trait-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35em;
|
|
font-family: @font-body;
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
color: @parchment;
|
|
flex: 1;
|
|
min-width: 0;
|
|
cursor: default;
|
|
|
|
i { color: fade(@blood, 70%); font-size: 0.75em; }
|
|
}
|
|
|
|
.creature-trait-trigger {
|
|
font-size: 0.75rem;
|
|
font-style: italic;
|
|
color: fade(@parchment, 55%);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.creature-trait-card .item-actions {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
|
|
button {
|
|
width: 1.6rem;
|
|
height: 1.6rem;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: transparent;
|
|
border: 1px solid fade(@bone, 18%);
|
|
color: fade(@bone, 50%);
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
font-size: 0.72rem;
|
|
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
|
|
&:hover {
|
|
background: fade(@bone, 10%);
|
|
color: @bone;
|
|
border-color: fade(@bone, 35%);
|
|
}
|
|
}
|
|
}
|
|
|
|
// ============================================================
|
|
// CREATURE SHEET — META ROW + ACTION TABLE
|
|
// ============================================================
|
|
|
|
.creature-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
padding: 0.45rem 0.6rem;
|
|
background: fade(@bg-panel-soft, 50%);
|
|
border: 1px solid fade(@ember, 20%);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.creature-meta-label {
|
|
font-family: @font-display;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
color: fade(@ember, 80%);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.creature-type-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex: 1;
|
|
}
|
|
|
|
.creature-type-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3em;
|
|
font-size: 0.83rem;
|
|
color: @parchment;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
|
|
input[type="checkbox"] {
|
|
accent-color: @ember;
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.creature-number-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.creature-number-input {
|
|
width: 4rem;
|
|
text-align: center;
|
|
font-family: @font-body;
|
|
font-size: 0.9rem;
|
|
color: @parchment;
|
|
background: @bg-input;
|
|
border: 1px solid fade(@ember, 30%);
|
|
border-radius: 3px;
|
|
padding: 0.15em 0.3em;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: fade(@ember, 60%);
|
|
background: fade(@bg-input, 90%);
|
|
}
|
|
}
|
|
|
|
.creature-action-table-section {
|
|
.action-table-drop-zone {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 4px;
|
|
min-height: 2.4rem;
|
|
font-size: 0.88rem;
|
|
color: @parchment;
|
|
|
|
i { font-size: 1em; color: @ember; }
|
|
|
|
.action-table-name {
|
|
font-weight: 600;
|
|
font-family: @font-display;
|
|
color: @parchment;
|
|
}
|
|
|
|
&.drop-hint {
|
|
border: 2px dashed fade(@ember, 35%);
|
|
background: fade(@ember, 4%);
|
|
color: fade(@parchment, 50%);
|
|
font-style: italic;
|
|
justify-content: center;
|
|
cursor: default;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
|
|
i { color: fade(@ember, 50%); }
|
|
|
|
&:hover, &.drag-over {
|
|
background: fade(@ember, 9%);
|
|
border-color: fade(@ember, 60%);
|
|
color: fade(@parchment, 70%);
|
|
i { color: @ember; }
|
|
}
|
|
}
|
|
}
|
|
|
|
.action-table-buttons {
|
|
display: flex;
|
|
gap: 0.3rem;
|
|
align-items: center;
|
|
|
|
button {
|
|
font-size: 0.75rem;
|
|
padding: 0.15em 0.55em;
|
|
background: fade(@ember, 10%);
|
|
border: 1px solid fade(@ember, 30%);
|
|
color: fade(@ember, 80%);
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3em;
|
|
|
|
&:hover {
|
|
background: fade(@ember, 22%);
|
|
color: @ember;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// ============================================================
|
|
// PARTY ACTOR SHEET
|
|
// ============================================================
|
|
|
|
.application.mgne.party {
|
|
|
|
.party-credits-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
margin-top: 0.5rem;
|
|
padding: 0.4rem 0.6rem;
|
|
border: 1px solid fade(@gold-acid, 35%);
|
|
border-radius: @radius-sm;
|
|
background: fade(@bg-input, 70%);
|
|
}
|
|
|
|
.party-credits-stepper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.credits-input {
|
|
width: 5rem;
|
|
text-align: center;
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
font-family: @font-display;
|
|
color: @gold-acid;
|
|
background: fade(@bg-void, 60%);
|
|
border: 1px solid fade(@gold-acid, 30%);
|
|
border-radius: @radius-sm;
|
|
padding: 0.2rem 0.4rem;
|
|
}
|
|
|
|
.credits-symbol {
|
|
color: @gold-acid;
|
|
font-family: @font-display;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
margin: 0 0.1rem;
|
|
}
|
|
|
|
.credits-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 2rem;
|
|
padding: 0.15rem 0.4rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
border: 1px solid fade(@bone, 28%);
|
|
border-radius: @radius-sm;
|
|
background: fade(@bg-input, 80%);
|
|
color: @bone;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
|
|
&:hover {
|
|
background: fade(@gold-acid, 18%);
|
|
border-color: fade(@gold-acid, 55%);
|
|
color: @gold-acid;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ── Party member list ─────────────────────────────────────────
|
|
.application.mgne.party .party-member-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
.application.mgne.party .party-member-row {
|
|
display: grid;
|
|
grid-template-columns: 2rem 1fr 5rem 6rem 5.5rem;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
padding: 0.3rem 0.4rem;
|
|
border-radius: @radius-sm;
|
|
|
|
&.party-member-header {
|
|
color: @dust;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
border-bottom: 1px solid fade(@bone, 18%);
|
|
padding-bottom: 0.25rem;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
&:not(.party-member-header) {
|
|
background: fade(@bg-input, 75%);
|
|
border: 1px solid transparent;
|
|
|
|
&:hover {
|
|
border-color: fade(@gold-acid, 22%);
|
|
background: fade(@bg-input, 90%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.application.mgne.party .party-member-portrait {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
object-fit: cover;
|
|
border-radius: 3px;
|
|
border: 1px solid fade(@bone, 25%);
|
|
}
|
|
|
|
.application.mgne.party .party-member-name a {
|
|
color: @parchment;
|
|
font-weight: 700;
|
|
font-size: 0.9rem;
|
|
|
|
&:hover { color: @gold-acid; }
|
|
}
|
|
|
|
.application.mgne.party .party-member-hp {
|
|
color: @ember-bright;
|
|
font-family: @font-display;
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.application.mgne.party .party-member-type {
|
|
color: @dust;
|
|
font-size: 0.78rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
// ── Party loot list ────────────────────────────────────────────
|
|
.application.mgne.party .party-loot-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
.application.mgne.party .party-loot-row {
|
|
display: grid;
|
|
grid-template-columns: 2rem 1fr 7rem 4rem;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
padding: 0.3rem 0.4rem;
|
|
border-radius: @radius-sm;
|
|
|
|
&.party-loot-header {
|
|
color: @dust;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
border-bottom: 1px solid fade(@bone, 18%);
|
|
padding-bottom: 0.25rem;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
&:not(.party-loot-header) {
|
|
background: fade(@bg-input, 75%);
|
|
border: 1px solid transparent;
|
|
|
|
&:hover {
|
|
border-color: fade(@gold-acid, 22%);
|
|
background: fade(@bg-input, 90%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.application.mgne.party .item-portrait {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
object-fit: cover;
|
|
border-radius: 3px;
|
|
border: 1px solid fade(@bone, 25%);
|
|
}
|
|
|
|
.application.mgne.party .item-type-label {
|
|
color: @dust;
|
|
font-size: 0.78rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
// ── Party drop hint ────────────────────────────────────────────
|
|
.application.mgne.party .party-drop-hint {
|
|
color: fade(@dust, 70%);
|
|
font-size: 0.75rem;
|
|
font-style: italic;
|
|
text-align: center;
|
|
margin-top: 0.5rem;
|
|
padding: 0.3rem;
|
|
border: 1px dashed fade(@bone, 18%);
|
|
border-radius: @radius-sm;
|
|
}
|