Files
2026-07-10 19:49:35 +02:00

58 lines
4.0 KiB
CSS

:root {
color-scheme: dark;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--bg: #0d1117;
--panel: #151b23;
--panel-2: #1c2430;
--line: #2a3544;
--text: #eef4fb;
--muted: #94a3b8;
--accent: #6ea8fe;
--accent-2: #3f83f8;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
button { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); border-radius: 8px; padding: 9px 14px; cursor: pointer; }
button:hover { border-color: #52657d; }
button.primary { background: var(--accent-2); border-color: var(--accent-2); color: white; }
button.secondary { background: #19212c; }
button.danger { background: #2a171b; border-color: #5f2b35; color: #ffb7c1; }
button.wide { width: 100%; padding: 12px; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); background: #111720; }
.topbar h1 { font-size: 22px; margin: 2px 0 0; }
.eyebrow { font-size: 10px; letter-spacing: .18em; color: var(--accent); }
.top-actions, .preset-bar { display: flex; align-items: center; gap: 8px; }
.preset-bar { padding-right: 9px; border-right: 1px solid var(--line); }
.preset-bar select { width: 180px; padding: 9px 10px; }
.workspace { height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(520px, 1fr) 390px; }
.preview-panel { min-width: 0; display: grid; grid-template-rows: 44px 1fr 36px; padding: 14px; gap: 10px; }
.preview-toolbar, .preview-footer { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.preview-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #090d12; }
#previewCanvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: crosshair; }
.preview-hint { position: absolute; left: 14px; bottom: 12px; padding: 6px 9px; border-radius: 7px; background: rgba(8,12,18,.72); color: var(--muted); font-size: 11px; pointer-events: none; }
.controls-panel { overflow-y: auto; border-left: 1px solid var(--line); background: var(--panel); padding: 16px; }
.control-section { background: #121923; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.control-section h2 { font-size: 14px; margin: 0 0 14px; }
label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin: 10px 0; color: #d9e3ef; font-size: 13px; }
label > input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
input[type="number"], input[type="text"], select { width: 100%; border: 1px solid var(--line); background: #0d131b; color: var(--text); border-radius: 7px; padding: 8px 9px; }
select { grid-column: 1 / -1; }
output { color: var(--accent); font-variant-numeric: tabular-nums; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-columns label { display: block; margin-top: 0; }
.two-columns input { margin-top: 6px; }
.two-columns.ranges label { display: grid; grid-template-columns: 1fr auto; }
.two-columns.ranges input { grid-column: 1 / -1; }
.color-list { display: grid; gap: 7px; }
.color-row { grid-template-columns: 1fr 44px 94px; margin: 0; }
.color-row input[type="color"] { width: 44px; height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 2px; background: #0d131b; }
.color-row.inactive { opacity: .32; }
.toggle-row { grid-template-columns: 1fr auto; }
.toggle-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.bottom-actions { position: sticky; bottom: -16px; padding: 12px 0 4px; background: linear-gradient(transparent, var(--panel) 28%); }
@media (max-width: 1100px) {
.preset-bar select { width: 140px; }
.preset-bar button { padding-inline: 8px; }
}