159 lines
2.2 KiB
CSS
159 lines
2.2 KiB
CSS
:root {
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: transparent;
|
|
color: #e2e8f0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: transparent;
|
|
}
|
|
|
|
.app {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
user-select: none;
|
|
}
|
|
|
|
.canvas-host {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.debug-panel {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
min-width: 220px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
background: rgba(15, 23, 42, 0.55);
|
|
backdrop-filter: blur(4px);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
dl {
|
|
display: grid;
|
|
grid-template-columns: 120px 1fr;
|
|
gap: 8px 12px;
|
|
}
|
|
|
|
dt {
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
dd {
|
|
margin: 0;
|
|
}
|
|
|
|
.error {
|
|
color: #fecaca;
|
|
}
|
|
|
|
.hint {
|
|
margin: 0 0 8px;
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.error-banner {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
max-width: 320px;
|
|
margin: 0;
|
|
padding: 8px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
background: rgba(127, 29, 29, 0.75);
|
|
border-radius: 8px;
|
|
color: #fee2e2;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.settings-root {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
background: linear-gradient(180deg, #f1f5f9 0%, #dbe4ee 100%);
|
|
color: #0f172a;
|
|
user-select: none;
|
|
}
|
|
|
|
.settings-card {
|
|
width: 100%;
|
|
max-width: 480px;
|
|
margin: 0;
|
|
padding: 20px;
|
|
display: grid;
|
|
gap: 14px;
|
|
align-content: start;
|
|
}
|
|
|
|
.settings-card h1 {
|
|
margin: 0;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.settings-subtitle {
|
|
margin: 0;
|
|
color: #334155;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.settings-error {
|
|
margin: 0;
|
|
color: #991b1b;
|
|
background: #fee2e2;
|
|
border: 1px solid #fca5a5;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.field span {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.field select,
|
|
.field input[type="range"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.field select {
|
|
border: 1px solid #94a3b8;
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
background: #ffffff;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 14px;
|
|
color: #1e293b;
|
|
}
|