439 lines
6.5 KiB
CSS
439 lines
6.5 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
font-family: Inter, "Segoe UI", system-ui, sans-serif;
|
|
background: #0c1017;
|
|
color: #eef4ff;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background:
|
|
radial-gradient(circle at 18% -12%, rgba(58, 113, 193, 0.22), transparent 30%),
|
|
linear-gradient(180deg, #0d1119 0%, #090d13 100%);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
pre {
|
|
font: inherit;
|
|
}
|
|
|
|
label,
|
|
h2,
|
|
h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
font-weight: 750;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
input[type="range"] {
|
|
width: 100%;
|
|
}
|
|
|
|
input[type="number"],
|
|
input[type="text"],
|
|
select,
|
|
button {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
border-radius: 6px;
|
|
border: 1px solid #303a4d;
|
|
background: #101722;
|
|
color: inherit;
|
|
padding: 8px 10px;
|
|
outline: none;
|
|
}
|
|
|
|
input:focus,
|
|
select:focus,
|
|
button:focus-visible {
|
|
border-color: #6d95d8;
|
|
box-shadow: 0 0 0 3px rgba(109, 149, 216, 0.18);
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
background: #213553;
|
|
border-color: #385174;
|
|
transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
|
|
}
|
|
|
|
button:hover:not(:disabled) {
|
|
background: #294266;
|
|
border-color: #5172a0;
|
|
}
|
|
|
|
button:active:not(:disabled) {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: default;
|
|
opacity: 0.48;
|
|
}
|
|
|
|
pre {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
color: #cbd7ea;
|
|
}
|
|
|
|
.layout {
|
|
width: calc(100% - 40px);
|
|
margin: 0 auto;
|
|
padding: 22px 0 28px;
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.app-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
min-height: 64px;
|
|
}
|
|
|
|
.status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 112px;
|
|
min-height: 34px;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid #31405a;
|
|
background: #101722;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-pill--ready {
|
|
color: #bff0cc;
|
|
border-color: rgba(96, 177, 116, 0.45);
|
|
background: rgba(41, 94, 58, 0.32);
|
|
}
|
|
|
|
.status-pill--error {
|
|
color: #ffd0cf;
|
|
border-color: rgba(222, 101, 101, 0.55);
|
|
background: rgba(112, 45, 48, 0.32);
|
|
}
|
|
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.panel {
|
|
background: rgba(20, 26, 36, 0.92);
|
|
border: 1px solid #263144;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.panel--compiler {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.panel__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.panel__header button {
|
|
width: auto;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.kv {
|
|
display: grid;
|
|
grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1fr);
|
|
gap: 9px 14px;
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.kv dt {
|
|
color: #98aad0;
|
|
}
|
|
|
|
.kv dd {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.stack-panel {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 14px;
|
|
}
|
|
|
|
.stack-panel__header {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.stack-panel__reload {
|
|
min-width: 132px;
|
|
}
|
|
|
|
.stack-panel__grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
}
|
|
|
|
.toolbar__group {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.toolbar__inline {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(120px, 0.28fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.toolbar__inline button {
|
|
width: 100%;
|
|
min-width: 92px;
|
|
}
|
|
|
|
.layer-stack {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.layer-card {
|
|
display: grid;
|
|
gap: 14px;
|
|
padding: 14px;
|
|
border: 1px solid #273246;
|
|
border-radius: 8px;
|
|
background: #101722;
|
|
transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
|
|
}
|
|
|
|
.layer-card:hover {
|
|
border-color: #425a7b;
|
|
}
|
|
|
|
.layer-card--expanded {
|
|
border-color: #6d95d8;
|
|
background: #131d2b;
|
|
box-shadow: inset 0 0 0 1px rgba(109, 149, 216, 0.22);
|
|
}
|
|
|
|
.layer-card--dragging {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.layer-card--drop-target {
|
|
border-color: #9ebcf0;
|
|
box-shadow: 0 0 0 2px rgba(158, 188, 240, 0.2);
|
|
}
|
|
|
|
.layer-card__header,
|
|
.layer-card__meta,
|
|
.layer-card__actions,
|
|
.layer-card__subheader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.layer-card__header,
|
|
.layer-card__subheader {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.layer-card__meta,
|
|
.layer-card__actions {
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.icon-button {
|
|
width: 38px;
|
|
min-width: 38px;
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.layer-card__index {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 999px;
|
|
background: #203452;
|
|
color: #d7e4f8;
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.layer-card__title {
|
|
width: auto;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
text-align: left;
|
|
background: #1f314e;
|
|
}
|
|
|
|
.layer-card__title--static {
|
|
cursor: default;
|
|
}
|
|
|
|
.layer-card__drag-handle {
|
|
color: #98aad0;
|
|
cursor: grab;
|
|
user-select: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.layer-card__actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.layer-card__actions button {
|
|
width: auto;
|
|
min-width: 78px;
|
|
}
|
|
|
|
.layer-card__body {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.layer-card--add {
|
|
border-style: dashed;
|
|
}
|
|
|
|
.layer-card__field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.layer-card__subheader button {
|
|
width: auto;
|
|
min-width: 96px;
|
|
}
|
|
|
|
.parameter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.parameter {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border: 1px solid #273246;
|
|
border-radius: 8px;
|
|
background: #0f151f;
|
|
}
|
|
|
|
.parameter__value {
|
|
color: #98aad0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.parameter__value--pending {
|
|
color: #d8bb76;
|
|
}
|
|
|
|
.parameter__pair {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.toggle--compact {
|
|
min-height: auto;
|
|
}
|
|
|
|
.toggle--field {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.muted {
|
|
margin: 0;
|
|
color: #98aad0;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.layout {
|
|
width: min(100% - 20px, 1500px);
|
|
padding-top: 14px;
|
|
}
|
|
|
|
.app-header,
|
|
.panel__header,
|
|
.layer-card__header,
|
|
.layer-card__subheader {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dashboard-grid,
|
|
.stack-panel__grid,
|
|
.toolbar__inline {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.toolbar__inline button,
|
|
.stack-panel__reload,
|
|
.layer-card__actions,
|
|
.layer-card__actions button,
|
|
.layer-card__field select {
|
|
width: 100%;
|
|
}
|
|
}
|