Files
fvtt-machine-gods-noxian-ex…/less/base.less
T
2026-05-05 13:55:42 +02:00

221 lines
4.8 KiB
Plaintext

.application.mgne,
.mgne-chat-card {
--mgne-bg: @bg-char;
--mgne-panel: @bg-panel;
--mgne-panel-soft: @bg-panel-soft;
--mgne-border: fade(@bone, 35%);
--mgne-border-strong: fade(@gold-acid, 42%);
--mgne-accent: @ember-bright;
--mgne-accent-alt: @verdigris;
--mgne-text: @parchment;
--mgne-text-soft: @dust;
--mgne-title: @bone;
--mgne-shadow: @shadow-heavy;
}
.application.mgne {
.body-copy();
color: @parchment;
.window-header {
background:
linear-gradient(90deg, fade(@blood, 40%), fade(@ember, 18%) 25%, transparent 70%),
linear-gradient(180deg, color-mix(in srgb, @bg-char 80%, black), @bg-void);
border-bottom: 1px solid fade(@gold-acid, 35%);
color: @bone;
.window-title {
.caps-heading();
font-size: 1rem;
text-shadow: 0 0 16px fade(@ember-bright, 25%);
}
.header-control {
font-family: var(--font-awesome, "Font Awesome 6 Pro");
font-style: normal;
font-variant: normal;
text-rendering: auto;
}
.header-control::before,
i[class^="fa"],
i[class*=" fa"] {
font-family: inherit;
font-style: normal;
font-variant: normal;
text-rendering: auto;
}
.header-control.fa-solid,
.header-control.fas,
.fa-solid,
.fas {
font-weight: 900;
}
.header-control.fa-regular,
.header-control.far,
.fa-regular,
.far {
font-weight: 400;
}
}
.window-content {
background:
radial-gradient(circle at top left, fade(@ember, 12%), transparent 28%),
radial-gradient(circle at top right, fade(@verdigris, 10%), transparent 24%),
linear-gradient(180deg, fade(@bg-char, 30%), fade(@bg-void, 28%)),
url("@{page-bg-url}") center top / cover no-repeat,
linear-gradient(180deg, @bg-char, @bg-void 120%);
color: @parchment;
min-height: 0;
overflow-y: auto;
scrollbar-gutter: stable;
}
}
.application.mgne.character {
.window-content {
display: flex;
flex-direction: column;
overflow: hidden;
}
}
.application.mgne *,
.mgne-chat-card * {
box-sizing: border-box;
}
.application.mgne input,
.application.mgne select,
.application.mgne textarea,
.application.mgne button,
.application.mgne label,
.application.mgne p,
.application.mgne span,
.application.mgne small,
.mgne-chat-card {
.body-copy();
}
.application.mgne input,
.application.mgne select,
.application.mgne textarea {
width: 100%;
border: 1px solid fade(@bone, 22%);
border-radius: @radius-sm;
background:
linear-gradient(180deg, fade(@bone, 4%), transparent 60%),
@bg-input;
color: @parchment;
padding: 0.4rem 0.52rem;
box-shadow: inset 0 1px 0 fade(white, 4%);
&:focus {
outline: none;
border-color: fade(@ember-bright, 70%);
box-shadow: 0 0 0 1px fade(@ember-bright, 25%), inset 0 1px 0 fade(white, 6%);
}
}
.application.mgne select {
appearance: none;
padding-right: 1.3rem;
background-image:
linear-gradient(45deg, transparent 50%, fade(@gold-acid, 78%) 50%),
linear-gradient(135deg, fade(@gold-acid, 78%) 50%, transparent 50%),
linear-gradient(180deg, fade(@bone, 4%), transparent 60%);
background-position:
calc(100% - 11px) calc(50% - 2px),
calc(100% - 7px) calc(50% - 2px),
0 0;
background-size: 4px 4px, 4px 4px, auto;
background-repeat: no-repeat;
}
.application.mgne textarea {
min-height: 4.5rem;
resize: vertical;
}
.application.mgne button {
.metal-button();
padding: 0.34rem 0.72rem;
}
.application.mgne label {
.caps-heading();
color: @label-ink;
font-size: 0.74rem;
}
.application.mgne fieldset {
.panel-shell();
.ornate-frame();
margin: 0;
}
.application.mgne legend {
.caps-heading();
color: @gold-acid;
display: inline-block;
position: relative;
top: 0.12rem;
font-size: 0.82rem;
line-height: 1.1;
padding: 0.04rem 0.32rem;
}
.application.mgne code,
.mgne-chat-card code {
font-family: "Courier New", monospace;
background: fade(@bg-void, 75%);
color: @bone;
padding: 0.12rem 0.35rem;
border-radius: 4px;
}
.application.mgne .empty-state {
color: fade(@ash, 94%);
font-style: italic;
letter-spacing: 0.03em;
}
.application.mgne .rollable {
color: @ember-bright;
text-shadow: 0 0 12px fade(@ember, 18%);
&:hover {
color: lighten(@ember-bright, 10%);
}
}
#combat .combat-controls .mgne-flee-control {
display: flex;
align-items: center;
justify-content: center;
gap: 0.45rem;
width: 100%;
min-height: 2rem;
margin-top: 0.35rem;
border: 1px solid fade(@gold-acid, 28%);
border-radius: @radius-sm;
background:
linear-gradient(180deg, fade(@blood, 26%), fade(@ember, 14%)),
fade(@bg-input, 92%);
color: @bone;
font-family: @font-body;
font-weight: 700;
&:hover:not(:disabled) {
border-color: fade(@ember-bright, 52%);
color: lighten(@bone, 6%);
}
&:disabled {
opacity: 0.5;
}
}