164 lines
2.2 KiB
CSS
164 lines
2.2 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #15181d;
|
|
--panel: #1d222b;
|
|
--text: #ecf0f5;
|
|
--muted: #a7b1bf;
|
|
--accent: #5fb3ff;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.app {
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.views-wrap {
|
|
padding: 12px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.view-panel {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.view-panel h2 {
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
#sim-canvas,
|
|
.sim-3d {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #0f1116;
|
|
border: 1px solid #2a3342;
|
|
border-radius: 8px;
|
|
min-height: 260px;
|
|
}
|
|
|
|
.sim-3d {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--panel);
|
|
border-left: 1px solid #2a3342;
|
|
padding: 16px;
|
|
}
|
|
|
|
#tweakpane-root {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
#tweakpane-root .tp-dfwv {
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 0 14px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
h2 {
|
|
margin: 12px 0 8px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.row output {
|
|
color: var(--muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.buttons {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.buttons.single {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
button {
|
|
background: #2b3850;
|
|
border: 1px solid #3d5274;
|
|
color: var(--text);
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background: #35486a;
|
|
}
|
|
|
|
input[type='range'] {
|
|
width: 100%;
|
|
}
|
|
|
|
input[type='text'],
|
|
select {
|
|
width: 100%;
|
|
background: #10141b;
|
|
color: var(--text);
|
|
border: 1px solid #2f3a4d;
|
|
border-radius: 6px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.diag pre {
|
|
margin: 0;
|
|
background: #10141b;
|
|
border: 1px solid #2a3342;
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
white-space: pre-wrap;
|
|
color: #d4dbe7;
|
|
line-height: 1.3;
|
|
font-size: 12px;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.app {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.panel {
|
|
border-left: 0;
|
|
border-top: 1px solid #2a3342;
|
|
}
|
|
|
|
.views-wrap {
|
|
grid-template-columns: 1fr;
|
|
min-height: 70vh;
|
|
}
|
|
}
|