363 lines
6.7 KiB
CSS
363 lines
6.7 KiB
CSS
|
|
:root {
|
||
|
|
color-scheme: dark;
|
||
|
|
font-family: "Avenir Next", "Segoe UI", sans-serif;
|
||
|
|
line-height: 1.5;
|
||
|
|
font-weight: 400;
|
||
|
|
text-rendering: optimizeLegibility;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
--color-bg: #13171d;
|
||
|
|
--color-surface: rgba(31, 36, 45, 0.92);
|
||
|
|
--color-surface-strong: #2a313d;
|
||
|
|
--color-border: rgba(255, 255, 255, 0.08);
|
||
|
|
--color-text: #f2eee8;
|
||
|
|
--color-muted: #a8b0bd;
|
||
|
|
--color-accent: #cf7b42;
|
||
|
|
--color-accent-strong: #f3be8f;
|
||
|
|
--color-accent-soft: rgba(207, 123, 66, 0.18);
|
||
|
|
--shadow-panel: 0 18px 48px rgba(3, 7, 12, 0.38);
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
html,
|
||
|
|
body,
|
||
|
|
#root {
|
||
|
|
margin: 0;
|
||
|
|
min-height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
min-height: 100vh;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at top, rgba(80, 96, 120, 0.35) 0%, rgba(23, 28, 37, 0) 42%),
|
||
|
|
linear-gradient(180deg, #1b2029 0%, #101318 100%);
|
||
|
|
color: var(--color-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
button,
|
||
|
|
input {
|
||
|
|
font: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
button {
|
||
|
|
border: 1px solid transparent;
|
||
|
|
border-radius: 12px;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color 120ms ease,
|
||
|
|
border-color 120ms ease,
|
||
|
|
transform 120ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
button:hover:not(:disabled) {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
button:disabled {
|
||
|
|
cursor: not-allowed;
|
||
|
|
opacity: 0.45;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-shell {
|
||
|
|
display: grid;
|
||
|
|
grid-template-rows: 64px minmax(0, 1fr) 36px;
|
||
|
|
min-height: 100vh;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 16px;
|
||
|
|
padding: 0 18px;
|
||
|
|
background: rgba(18, 22, 28, 0.88);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 18px;
|
||
|
|
box-shadow: var(--shadow-panel);
|
||
|
|
backdrop-filter: blur(16px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__brand {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__title {
|
||
|
|
font-size: 1rem;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: 0.12em;
|
||
|
|
text-transform: uppercase;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__subtitle {
|
||
|
|
color: var(--color-muted);
|
||
|
|
font-size: 0.78rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__actions {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: flex-end;
|
||
|
|
gap: 8px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__group {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 8px;
|
||
|
|
background: rgba(255, 255, 255, 0.02);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__button {
|
||
|
|
padding: 0.65rem 0.9rem;
|
||
|
|
background: var(--color-surface-strong);
|
||
|
|
color: var(--color-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__button:hover:not(:disabled) {
|
||
|
|
border-color: rgba(255, 255, 255, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__button--active {
|
||
|
|
background: var(--color-accent-soft);
|
||
|
|
border-color: rgba(207, 123, 66, 0.55);
|
||
|
|
color: var(--color-accent-strong);
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar__button--accent {
|
||
|
|
background: var(--color-accent);
|
||
|
|
color: #20140c;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workspace {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(280px, 320px);
|
||
|
|
gap: 12px;
|
||
|
|
min-height: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.side-column {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 12px;
|
||
|
|
min-height: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
min-height: 0;
|
||
|
|
background: var(--color-surface);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 18px;
|
||
|
|
overflow: hidden;
|
||
|
|
box-shadow: var(--shadow-panel);
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel__header {
|
||
|
|
padding: 14px 16px;
|
||
|
|
border-bottom: 1px solid var(--color-border);
|
||
|
|
color: #e4d8ca;
|
||
|
|
font-size: 0.76rem;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: 0.14em;
|
||
|
|
text-transform: uppercase;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel__body {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 16px;
|
||
|
|
padding: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card {
|
||
|
|
padding: 12px;
|
||
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.label {
|
||
|
|
color: var(--color-muted);
|
||
|
|
font-size: 0.74rem;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: 0.08em;
|
||
|
|
text-transform: uppercase;
|
||
|
|
}
|
||
|
|
|
||
|
|
.value {
|
||
|
|
margin-top: 0.35rem;
|
||
|
|
font-size: 0.95rem;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-field {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.text-input {
|
||
|
|
width: 100%;
|
||
|
|
padding: 0.85rem 0.95rem;
|
||
|
|
background: rgba(7, 9, 13, 0.4);
|
||
|
|
color: var(--color-text);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.inline-actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder-list {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 10px;
|
||
|
|
list-style: none;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder-list li {
|
||
|
|
padding: 10px 12px;
|
||
|
|
color: var(--color-muted);
|
||
|
|
background: rgba(255, 255, 255, 0.03);
|
||
|
|
border: 1px dashed rgba(255, 255, 255, 0.11);
|
||
|
|
border-radius: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-region {
|
||
|
|
display: grid;
|
||
|
|
grid-template-rows: 42px minmax(0, 1fr);
|
||
|
|
min-height: 0;
|
||
|
|
background: rgba(20, 24, 31, 0.92);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 24px;
|
||
|
|
overflow: hidden;
|
||
|
|
box-shadow: var(--shadow-panel);
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-region__header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding: 0 18px;
|
||
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
|
||
|
|
border-bottom: 1px solid var(--color-border);
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-region__title {
|
||
|
|
font-size: 0.76rem;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: 0.16em;
|
||
|
|
text-transform: uppercase;
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-region__caption {
|
||
|
|
color: var(--color-muted);
|
||
|
|
font-size: 0.82rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-canvas {
|
||
|
|
position: relative;
|
||
|
|
min-height: 420px;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at top, rgba(130, 154, 188, 0.28) 0%, rgba(130, 154, 188, 0) 38%),
|
||
|
|
linear-gradient(180deg, #55657c 0%, #2c3440 34%, #151920 100%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-canvas canvas {
|
||
|
|
display: block;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-bar {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 16px;
|
||
|
|
padding: 0 16px;
|
||
|
|
background: rgba(18, 22, 28, 0.88);
|
||
|
|
border: 1px solid var(--color-border);
|
||
|
|
border-radius: 16px;
|
||
|
|
color: var(--color-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-bar__strong {
|
||
|
|
color: var(--color-text);
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.visually-hidden {
|
||
|
|
position: absolute;
|
||
|
|
width: 1px;
|
||
|
|
height: 1px;
|
||
|
|
padding: 0;
|
||
|
|
margin: -1px;
|
||
|
|
overflow: hidden;
|
||
|
|
clip: rect(0, 0, 0, 0);
|
||
|
|
white-space: nowrap;
|
||
|
|
border: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 1100px) {
|
||
|
|
.workspace {
|
||
|
|
grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workspace > .side-column:last-child {
|
||
|
|
grid-column: 1 / -1;
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 820px) {
|
||
|
|
.app-shell {
|
||
|
|
grid-template-rows: auto auto auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
padding: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workspace {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workspace > .side-column:last-child {
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.viewport-canvas {
|
||
|
|
min-height: 320px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-bar {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
padding: 12px 16px;
|
||
|
|
}
|
||
|
|
}
|