703 lines
14 KiB
CSS
703 lines
14 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100;300;400;500;700&family=Montserrat:wght@100;300;400;500;700&family=Ubuntu+Sans:wght@300;400;500;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap");
|
|
|
|
:root {
|
|
color-scheme: dark;
|
|
--bg: #020909;
|
|
--bg-top: var(--bg);
|
|
--bg-mid: var(--bg);
|
|
--bg-bottom: var(--bg);
|
|
--shell-top: #010707;
|
|
--shell-bottom: #010707;
|
|
--panel: #071918;
|
|
--panel-2: #0a2423;
|
|
--line: rgba(103, 240, 228, 0.28);
|
|
--line-deep: rgba(103, 240, 228, 0.18);
|
|
--line-hot: rgba(142, 252, 255, 0.72);
|
|
--text: #e7f1f1;
|
|
--text-bright: var(--text);
|
|
--quiet: #8ba5a3;
|
|
--accent: #ffb84f;
|
|
--accent-strong: var(--accent);
|
|
--corner-accent: var(--accent);
|
|
--cyan: #8efcff;
|
|
--shadow: rgba(0, 0, 0, 0.35);
|
|
--pixel-grid: rgba(142, 252, 255, 0.04);
|
|
--border-width: 1px;
|
|
--border-bottom-width: var(--border-width);
|
|
--corner-accent-size: 0;
|
|
--font-body: "M PLUS 1", "Ubuntu Sans", Ubuntu, "Noto Sans JP", system-ui, sans-serif;
|
|
--font-title: "Montserrat", "Zen Kaku Gothic New", "M PLUS 1", "Ubuntu Sans", system-ui, sans-serif;
|
|
--font-mono: "Ubuntu Sans Mono", "M PLUS 1 Code", "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, var(--bg-top), var(--bg-mid), var(--bg-bottom));
|
|
color: var(--text);
|
|
font-family: var(--font-body);
|
|
}
|
|
|
|
.topbar {
|
|
height: 84px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: linear-gradient(180deg, var(--shell-top), var(--shell-bottom));
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
p {
|
|
margin: 4px 0 0;
|
|
color: var(--quiet);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hud {
|
|
min-width: 168px;
|
|
padding: 8px;
|
|
border: 1px solid var(--line-hot);
|
|
border-radius: 6px;
|
|
background: rgba(7, 25, 24, 0.88);
|
|
color: var(--accent);
|
|
font-family: "Cascadia Mono", Consolas, monospace;
|
|
font-size: 11px;
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.provider-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--line-deep);
|
|
background: color-mix(in srgb, var(--panel) 70%, transparent);
|
|
}
|
|
|
|
.provider-bar label {
|
|
color: var(--quiet);
|
|
font: 700 11px var(--font-mono);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.provider-bar select {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--panel);
|
|
color: var(--text);
|
|
padding: 8px 12px;
|
|
font: 700 13px var(--font-mono);
|
|
min-width: min(28rem, 52vw);
|
|
}
|
|
|
|
.provider-meta {
|
|
color: var(--quiet);
|
|
font: 600 11px var(--font-mono);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.surface {
|
|
padding: 10px 16px 16px;
|
|
}
|
|
|
|
.cockpit {
|
|
display: grid;
|
|
grid-template-columns: 0.78fr 1.08fr 1.34fr;
|
|
gap: 10px;
|
|
min-height: calc(100vh - 138px);
|
|
}
|
|
|
|
.ctb {
|
|
grid-column: 1 / -1;
|
|
min-height: 88px;
|
|
overflow-x: auto;
|
|
display: flex;
|
|
gap: 8px;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.pane {
|
|
min-height: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(7, 25, 24, 0.92);
|
|
padding: 12px;
|
|
box-shadow: 0 12px 26px var(--shadow);
|
|
}
|
|
|
|
.pane h2 {
|
|
margin: 0 0 10px;
|
|
color: var(--quiet);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(10, 36, 35, 0.96);
|
|
padding: 10px;
|
|
box-shadow: 0 8px 20px var(--shadow);
|
|
}
|
|
|
|
.cultui-card[data-command-id] {
|
|
cursor: pointer;
|
|
border-bottom-width: var(--border-bottom-width);
|
|
}
|
|
|
|
.ctb .card {
|
|
flex: 0 0 96px;
|
|
min-height: 76px;
|
|
padding: 6px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--line-hot);
|
|
object-fit: cover;
|
|
background: #123;
|
|
}
|
|
|
|
.card-title {
|
|
white-space: pre-line;
|
|
margin-top: 4px;
|
|
font: 700 11px var(--font-mono);
|
|
}
|
|
|
|
.health {
|
|
color: var(--accent);
|
|
font: 700 10px var(--font-mono);
|
|
}
|
|
|
|
.detail {
|
|
white-space: pre-wrap;
|
|
font: 600 12px var(--font-mono);
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.metrics {
|
|
display: grid;
|
|
gap: 9px;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.metric label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--quiet);
|
|
font: 700 10px var(--font-mono);
|
|
}
|
|
|
|
.bar {
|
|
height: 7px;
|
|
border-radius: 7px;
|
|
background: #010707;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bar span {
|
|
display: block;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #bca8ff, #8efcff);
|
|
}
|
|
|
|
.graph {
|
|
position: relative;
|
|
min-height: calc(100vh - 166px);
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background:
|
|
linear-gradient(var(--pixel-grid) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--pixel-grid) 1px, transparent 1px),
|
|
rgba(3, 15, 17, 0.94);
|
|
background-size: 44px 44px;
|
|
}
|
|
|
|
.node {
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
border: 1px solid var(--line);
|
|
border-radius: 7px;
|
|
background: rgba(10, 36, 35, 0.95);
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.node.selected {
|
|
border-color: var(--line-hot);
|
|
box-shadow: 0 0 0 1px rgba(142, 252, 255, 0.38);
|
|
}
|
|
|
|
.node .detail {
|
|
margin-top: 6px;
|
|
color: var(--quiet);
|
|
font-size: 10px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cockpit {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.cultui-vn-stage {
|
|
position: relative;
|
|
min-height: calc(100vh - 138px);
|
|
overflow: hidden;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.cultui-grid {
|
|
min-height: calc(100vh - 138px);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 10px;
|
|
align-content: start;
|
|
}
|
|
|
|
.cultui-surface-root {
|
|
min-height: calc(100vh - 150px);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 12px;
|
|
align-content: start;
|
|
}
|
|
|
|
.cultui-surface-root[data-direction="vertical"] {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.cultui-surface-root[data-direction="horizontal"] {
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
|
|
.cultui-pane {
|
|
border-width: var(--border-width);
|
|
border-bottom-width: var(--border-bottom-width);
|
|
}
|
|
|
|
.cultui-partition {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.cultui-partition.split-x {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.cultui-partition.split-y,
|
|
.cultui-partition.split-none {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cultui-partition.split-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.cultui-partition[data-role="inspector.row"] {
|
|
min-height: 34px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 4px;
|
|
background: linear-gradient(180deg, rgba(32, 31, 43, 0.96), rgba(19, 20, 29, 0.96));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.cultui-partition[data-role="inspector.label"] {
|
|
justify-content: center;
|
|
}
|
|
|
|
.cultui-label {
|
|
color: var(--accent);
|
|
font: 700 13px var(--font-mono);
|
|
line-height: 1.15;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-slider {
|
|
--cultui-slider-value: 0%;
|
|
--part-bleed: 0px;
|
|
position: relative;
|
|
display: grid;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: 18px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cultui-slider-visual {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cultui-slider-input {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cultui-slider-part {
|
|
position: absolute;
|
|
top: 50%;
|
|
display: block;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.cultui-slider-part.track {
|
|
right: 0;
|
|
left: 0;
|
|
height: 6px;
|
|
border-radius: 2px;
|
|
background: rgba(0, 0, 0, 0.34);
|
|
}
|
|
|
|
.cultui-slider-part.fill {
|
|
left: 0;
|
|
width: var(--cultui-slider-value);
|
|
height: 6px;
|
|
border-radius: 2px;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.cultui-slider-part.thumb {
|
|
left: var(--cultui-slider-value);
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
transform: translate(-50%, -50%);
|
|
box-shadow: 0 0 7px color-mix(in srgb, var(--accent) 45%, transparent);
|
|
}
|
|
|
|
.cultui-slider-part[data-anchor-value="true"] {
|
|
left: var(--cultui-slider-value);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.cultui-partition[data-role="inspector.row"] {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.cultui-partition[data-role="inspector.label"] {
|
|
flex: 0 0 auto !important;
|
|
}
|
|
}
|
|
|
|
body[data-provider="repixelizer"] .surface {
|
|
position: relative;
|
|
}
|
|
|
|
body[data-provider="repixelizer"] .surface::after {
|
|
content: "";
|
|
pointer-events: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
|
|
opacity: 0.28;
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
body[data-pixel-art="true"] img,
|
|
body[data-pixel-art="true"] .cultui-background {
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.cultui-title {
|
|
color: var(--accent);
|
|
font: 100 18px var(--font-title);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.mono {
|
|
color: var(--accent);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.cultui-reactive-metric {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.cultui-reactive-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cultui-stream-item {
|
|
border-left: 2px solid var(--line-hot);
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.cultui-background {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-size: cover;
|
|
background-position: center;
|
|
image-rendering: pixelated;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.cultui-graph {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 18px;
|
|
width: min(48rem, 46vw);
|
|
height: min(29rem, 52vh);
|
|
z-index: 4;
|
|
}
|
|
|
|
.cultui-placed {
|
|
position: absolute;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.cultui-placed[data-placement-mode="keystone"],
|
|
.cultui-placed[data-placement-mode="skew"],
|
|
.cultui-placed[data-placement-mode="sprite-chromakey"] {
|
|
box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.cultui-placed[data-chroma-key] {
|
|
outline: 1px dashed rgba(0, 255, 120, 0.45);
|
|
}
|
|
|
|
.cultui-node {
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
border: 2px solid var(--cyan);
|
|
border-radius: 999px;
|
|
background: rgba(7, 17, 26, 0.76);
|
|
color: var(--text);
|
|
min-width: 68px;
|
|
min-height: 44px;
|
|
padding: 8px 10px;
|
|
font: 700 12px "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
.cultui-node.selected {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 2px rgba(255, 184, 79, 0.28);
|
|
}
|
|
|
|
.cultui-graph svg {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cultui-graph line {
|
|
stroke: rgba(142, 252, 255, 0.36);
|
|
stroke-width: 0.006;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.cultui-layer-embedded-surfaces {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cultui-layer-embedded-surfaces > * {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.cultui-tex {
|
|
min-width: 12rem;
|
|
min-height: 3.2rem;
|
|
border: 1px solid rgba(142, 252, 255, 0.34);
|
|
border-radius: 6px;
|
|
background: rgba(7, 17, 26, 0.78);
|
|
color: var(--text);
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.cultui-tex-label {
|
|
color: var(--accent);
|
|
font: 700 10px "Cascadia Mono", Consolas, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-tex-source {
|
|
margin-top: 4px;
|
|
font: 700 15px "Cambria Math", "STIX Two Math", Georgia, serif;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.cultui-layer-cards {
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 18px;
|
|
left: calc(min(48rem, 46vw) + 36px);
|
|
z-index: 3;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.cultui-dialogue {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 5;
|
|
min-height: 128px;
|
|
border-right: 0;
|
|
border-bottom: 0;
|
|
border-left: 0;
|
|
border-radius: 0;
|
|
background: rgba(5, 8, 13, 0.92);
|
|
}
|
|
|
|
.cultui-rail-actions {
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 6;
|
|
display: grid;
|
|
gap: 8px;
|
|
width: min(28rem, 42vw);
|
|
}
|
|
|
|
.cultui-button {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(10, 36, 35, 0.94);
|
|
color: var(--text);
|
|
padding: 9px 10px;
|
|
text-align: left;
|
|
font: 700 12px "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
.cultui-button:hover,
|
|
.cultui-button:focus-visible {
|
|
border-color: var(--line-hot);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.cultui-image-preview {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.cultui-image-frame,
|
|
.cultui-canvas-grid {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 160px;
|
|
border: 2px solid var(--panel-border);
|
|
background:
|
|
repeating-linear-gradient(45deg, rgba(247, 239, 216, 0.06) 0 8px, rgba(0, 0, 0, 0.18) 8px 16px),
|
|
linear-gradient(180deg, #07172c, #0a2039);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cultui-image-frame {
|
|
aspect-ratio: 1 / 1;
|
|
}
|
|
|
|
.cultui-image-frame img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.cultui-image-preview figcaption,
|
|
.cultui-canvas-grid {
|
|
color: var(--muted);
|
|
font-size: 0.75rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.cultui-canvas-placeholder {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cultui-canvas-placeholder.editor .cultui-canvas-grid {
|
|
min-height: 280px;
|
|
background:
|
|
linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25% 75%, rgba(255,255,255,0.08) 75%),
|
|
linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25% 75%, rgba(255,255,255,0.08) 75%),
|
|
#142033;
|
|
background-position: 0 0, 8px 8px;
|
|
background-size: 16px 16px;
|
|
}
|
|
|
|
.cultui-status-stage {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border: 2px solid var(--panel-border);
|
|
background: rgba(6, 22, 39, 0.92);
|
|
}
|
|
|
|
.cultui-field {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.cultui-field-value {
|
|
display: block;
|
|
border: 2px solid var(--panel-border);
|
|
background: rgba(1, 4, 11, 0.58);
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.cultui-swatch {
|
|
width: 36px;
|
|
min-height: 36px;
|
|
border: 2px solid var(--accent);
|
|
box-shadow: inset 0 0 0 2px rgba(0,0,0,0.45);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cultui-graph {
|
|
right: 12px;
|
|
left: 12px;
|
|
width: auto;
|
|
height: min(18rem, 34vh);
|
|
}
|
|
|
|
.cultui-layer-cards {
|
|
top: calc(30px + min(18rem, 34vh));
|
|
right: 12px;
|
|
left: 12px;
|
|
}
|
|
|
|
.cultui-rail-actions {
|
|
left: 12px;
|
|
width: auto;
|
|
}
|
|
}
|