System development, WIP
This commit is contained in:
+220
@@ -0,0 +1,220 @@
|
||||
.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;
|
||||
}
|
||||
}
|
||||
+215
@@ -0,0 +1,215 @@
|
||||
.mgne-chat-card {
|
||||
.panel-shell();
|
||||
.ornate-frame();
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6rem;
|
||||
padding: 0.68rem;
|
||||
color: @iron;
|
||||
background:
|
||||
radial-gradient(circle at top right, fade(@verdigris, 10%), transparent 22%),
|
||||
linear-gradient(135deg, fade(@ember, 10%), transparent 38%),
|
||||
linear-gradient(180deg, fade(@bone, 4%), transparent 24%),
|
||||
linear-gradient(180deg, fade(@bg-char, 22%), fade(@bg-void, 18%)),
|
||||
url("@{page-bg-url}") right bottom / cover no-repeat,
|
||||
@bg-panel;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-card-header {
|
||||
display: flex;
|
||||
gap: 0.6rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-card-header img {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
border: 1px solid fade(@gold-acid, 38%);
|
||||
box-shadow: 0 0 0 2px fade(@parchment, 6%);
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-eyebrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mgne-chat-card h3 {
|
||||
.caps-heading();
|
||||
margin: 0;
|
||||
color: @label-ink;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-actor,
|
||||
.mgne-chat-card .chat-subtitle,
|
||||
.mgne-chat-card .chat-formula,
|
||||
.mgne-chat-card .chat-special {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-actor {
|
||||
color: @iron;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-formula {
|
||||
color: @iron;
|
||||
|
||||
code {
|
||||
color: @parchment;
|
||||
background: fade(@bg-void, 75%);
|
||||
padding: 0.1em 0.42em;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-result-line {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: end;
|
||||
padding: 0.38rem 0.55rem;
|
||||
border: 1px solid fade(@gold-acid, 28%);
|
||||
border-radius: @radius-sm;
|
||||
background: fade(@bg-void, 78%);
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-result-label {
|
||||
.caps-heading();
|
||||
font-size: 0.62rem;
|
||||
color: @parchment;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-result-total {
|
||||
font-family: @font-display;
|
||||
font-size: 1.08rem;
|
||||
color: @parchment;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-outcome {
|
||||
.caps-heading();
|
||||
margin: 0;
|
||||
padding: 0.3rem 0.55rem;
|
||||
border-radius: @radius-sm;
|
||||
background: fade(@bg-void, 72%);
|
||||
border-left: 3px solid fade(@ember-bright, 70%);
|
||||
color: lighten(@ember-bright, 12%);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-special {
|
||||
padding: 0.42rem 0.55rem;
|
||||
border-left: 3px solid fade(@ember-bright, 55%);
|
||||
background: fade(@bg-input, 85%);
|
||||
color: @parchment;
|
||||
}
|
||||
|
||||
.mgne-chat-card.outcome-critical-success,
|
||||
.mgne-chat-card.outcome-success,
|
||||
.mgne-chat-card.outcome-steady {
|
||||
border-color: fade(@verdigris, 42%);
|
||||
|
||||
.chat-outcome {
|
||||
color: lighten(@verdigris, 28%);
|
||||
border-left-color: fade(@verdigris, 80%);
|
||||
}
|
||||
}
|
||||
|
||||
.mgne-chat-card.outcome-failure,
|
||||
.mgne-chat-card.outcome-broken,
|
||||
.mgne-chat-card.outcome-fumble {
|
||||
border-color: fade(@blood, 48%);
|
||||
|
||||
.chat-outcome {
|
||||
color: lighten(@ember-bright, 18%);
|
||||
border-left-color: fade(@ember-bright, 80%);
|
||||
}
|
||||
}
|
||||
|
||||
.mgne-chat-card.mode-apply-damage .chat-result-total,
|
||||
.mgne-chat-card.mode-damage .chat-result-total {
|
||||
color: lighten(@ember-bright, 8%);
|
||||
}
|
||||
|
||||
.mgne-chat-card .chat-card-actions {
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.mgne-roll-damage-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.45rem;
|
||||
width: 100%;
|
||||
padding: 0.38rem 0.7rem;
|
||||
border: 1px solid @ember-bright;
|
||||
border-radius: @radius-sm;
|
||||
background: @ember;
|
||||
color: #f8ede0;
|
||||
font-family: @font-display;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.06em;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, border-color 0.15s;
|
||||
|
||||
.dmg-formula {
|
||||
color: #fff5e8;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: lighten(@ember, 8%);
|
||||
border-color: lighten(@ember-bright, 12%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&.is-critical {
|
||||
border: 1px solid @gold-acid;
|
||||
background: darken(@gold-acid, 10%);
|
||||
color: #fff5d0;
|
||||
font-weight: 700;
|
||||
|
||||
.dmg-formula {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @gold-acid;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.chat-apply-actions {
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
|
||||
.mgne-apply-damage-select {
|
||||
width: 100%;
|
||||
padding: 0.35rem 0.6rem;
|
||||
border: 1px solid @ember-bright;
|
||||
border-radius: @radius-sm;
|
||||
background: @bg-char;
|
||||
color: @bone;
|
||||
font-family: @font-body;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
|
||||
option {
|
||||
background: @bg-char;
|
||||
color: @bone;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: lighten(@ember-bright, 12%);
|
||||
background: rgba(183, 70, 31, 0.18);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
border-color: @ember-bright;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
.application.mgne.roll-dialog .window-content {
|
||||
padding: 0.55rem;
|
||||
background:
|
||||
radial-gradient(circle at top left, fade(@ember-bright, 14%), transparent 26%),
|
||||
linear-gradient(180deg, fade(@bg-char, 26%), fade(@bg-void, 22%)),
|
||||
url("@{page-bg-url}") center center / cover no-repeat,
|
||||
linear-gradient(180deg, @bg-char, @bg-void 120%);
|
||||
}
|
||||
|
||||
.application.mgne.roll-dialog .dialog-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.application.mgne.roll-dialog .mgne-roll-dialog {
|
||||
background:
|
||||
linear-gradient(135deg, fade(@ember, 10%), transparent 32%),
|
||||
linear-gradient(180deg, fade(@bg-char, 94%), fade(@bg-void, 98%)),
|
||||
@bg-void;
|
||||
border: 1px solid fade(@gold-acid, 28%);
|
||||
border-radius: @radius-sm;
|
||||
box-shadow: @shadow-heavy, @shadow-inset;
|
||||
.ornate-frame();
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
padding: 0.7rem;
|
||||
|
||||
> p:first-child {
|
||||
.caps-heading();
|
||||
font-size: 0.9rem;
|
||||
color: @gold-acid;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
> p:nth-child(2) {
|
||||
margin: 0;
|
||||
color: @bone;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
label {
|
||||
color: @parchment;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: @parchment;
|
||||
}
|
||||
}
|
||||
|
||||
.application.mgne.roll-dialog .mgne-roll-dialog label,
|
||||
.application.mgne.roll-dialog .mgne-roll-dialog .checkbox-line {
|
||||
color: @parchment;
|
||||
}
|
||||
|
||||
.application.mgne.roll-dialog .form-footer button {
|
||||
min-width: 132px;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
@font-face {
|
||||
font-family: "CastorTwoMGNE";
|
||||
src: url("../assets/fonts/CASTOR TWO W01 REGULAR.TTF") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "LoraMGNE";
|
||||
src: url("../assets/fonts/LORA-REGULAR.TTF") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@import "fonts.less";
|
||||
@import "variables.less";
|
||||
@import "mixins.less";
|
||||
@import "base.less";
|
||||
@import "sheets.less";
|
||||
@import "dialogs.less";
|
||||
@import "chat.less";
|
||||
@@ -0,0 +1,57 @@
|
||||
.panel-shell() {
|
||||
position: relative;
|
||||
background:
|
||||
linear-gradient(180deg, fade(@bone, 4%), transparent 24%),
|
||||
linear-gradient(135deg, fade(@ember, 8%), transparent 40%),
|
||||
linear-gradient(180deg, fade(@bg-char, 52%), fade(@bg-void, 34%)),
|
||||
url("@{page-bg-url}") center center / cover no-repeat,
|
||||
linear-gradient(180deg, @bg-panel 0%, color-mix(in srgb, @bg-panel 88%, black) 100%);
|
||||
border: @border-main;
|
||||
border-radius: @radius-md;
|
||||
box-shadow: @shadow-heavy, @shadow-inset;
|
||||
}
|
||||
|
||||
.ornate-frame() {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 6px;
|
||||
pointer-events: none;
|
||||
border: 1px solid fade(@gold-acid, 16%);
|
||||
border-radius: calc(@radius-md - 4px);
|
||||
}
|
||||
}
|
||||
|
||||
.caps-heading() {
|
||||
font-family: @font-display;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.body-copy() {
|
||||
font-family: @font-body;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.metal-button() {
|
||||
.caps-heading();
|
||||
border: 1px solid fade(@gold-acid, 44%);
|
||||
border-radius: 999px;
|
||||
background:
|
||||
linear-gradient(180deg, fade(@ember-bright, 20%), fade(@blood, 10%)),
|
||||
linear-gradient(135deg, fade(@bone, 10%), transparent 40%),
|
||||
@bg-input;
|
||||
color: @parchment;
|
||||
box-shadow: inset 0 1px 0 fade(white, 8%), 0 6px 14px fade(black, 20%);
|
||||
transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, color 120ms ease;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-color: fade(@ember-bright, 70%);
|
||||
color: lighten(@parchment, 8%);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: inset 0 1px 0 fade(white, 14%), 0 8px 18px fade(@blood, 26%);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,643 @@
|
||||
.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 1fr;
|
||||
align-items: center;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
&.active {
|
||||
color: @ember-bright;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
@font-display: "CastorTwoMGNE", "Palatino Linotype", serif;
|
||||
@font-body: "LoraMGNE", "Book Antiqua", serif;
|
||||
@page-bg-url: "../assets/ui/page_background.webp";
|
||||
|
||||
@bg-void: #13100f;
|
||||
@bg-char: #1b1512;
|
||||
@bg-panel: rgba(41, 30, 24, 0.88);
|
||||
@bg-panel-soft: rgba(64, 47, 37, 0.66);
|
||||
@bg-input: rgba(17, 12, 10, 0.72);
|
||||
@parchment: #ccb292;
|
||||
@bone: #ab8b68;
|
||||
@dust: #7e664f;
|
||||
@ash: #5f4d40;
|
||||
@label-ink: #6e3d2a;
|
||||
@label-soft: #81533b;
|
||||
@iron: #52453c;
|
||||
@copper: #8d5f3f;
|
||||
@verdigris: #4f7d73;
|
||||
@ember: #b7461f;
|
||||
@ember-bright: #dd6b2d;
|
||||
@blood: #7f1d17;
|
||||
@gold-acid: #c49a45;
|
||||
@shadow-heavy: 0 14px 30px rgba(0, 0, 0, 0.36);
|
||||
@shadow-inset: inset 0 1px 0 rgba(255, 236, 203, 0.08), inset 0 0 0 1px rgba(255, 236, 203, 0.03);
|
||||
@border-main: 1px solid fade(@bone, 34%);
|
||||
@border-strong: 1px solid fade(@gold-acid, 45%);
|
||||
@radius-sm: 6px;
|
||||
@radius-md: 8px;
|
||||
@radius-lg: 12px;
|
||||
Reference in New Issue
Block a user