GeoNeXt / viewer /style.css
happy0612's picture
Deploy GeoNeXt inference on ZeroGPU
a61978a verified
Raw History Blame Contribute Delete
2.63 kB
:root {
color-scheme: dark;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #080b10;
color: #eef3f8;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
#renderCanvas { width: 100%; height: 100%; display: block; outline: none; touch-action: none; }
.panel {
position: fixed;
top: 18px;
left: 18px;
width: min(360px, calc(100vw - 36px));
max-height: calc(100vh - 36px);
overflow: auto;
padding: 20px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 16px;
background: rgba(12, 17, 24, .88);
box-shadow: 0 20px 60px rgba(0,0,0,.4);
backdrop-filter: blur(16px);
}
header { margin-bottom: 18px; }
.eyebrow { margin: 0 0 4px; color: #77d6ba; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.hint { margin: 7px 0 0; color: #a9b5c2; font-size: 13px; line-height: 1.45; }
section { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.09); }
label { display: block; margin-bottom: 7px; color: #cbd5df; font-size: 12px; font-weight: 650; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
input[type="text"], input:not([type]) { min-width: 0; }
input { font: inherit; }
.row input {
width: 100%;
padding: 10px 11px;
border: 1px solid #303b47;
border-radius: 9px;
outline: none;
background: #111822;
color: #eef3f8;
}
.row input:focus { border-color: #64c9aa; box-shadow: 0 0 0 3px rgba(100,201,170,.12); }
button, .file-button {
padding: 10px 13px;
border: 0;
border-radius: 9px;
background: #6ed0b2;
color: #07110e;
font-size: 12px;
font-weight: 750;
cursor: pointer;
}
button:hover, .file-button:hover { filter: brightness(1.08); }
.file-button { display: inline-block; margin: 9px 0 0; background: #27333f; color: #e6edf4; }
.file-button input { display: none; }
.toggles { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toggles label { display: flex; align-items: center; gap: 6px; margin: 0; }
.secondary { margin-left: auto; background: #27333f; color: #e6edf4; }
footer { display: flex; align-items: center; gap: 8px; color: #a9b5c2; font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ed0b2; box-shadow: 0 0 12px rgba(110,208,178,.65); }
.status-dot.busy { background: #f0c36b; }
.status-dot.error { background: #ff7373; }
@media (max-width: 620px) {
.panel { top: 10px; left: 10px; width: calc(100vw - 20px); max-height: 48vh; padding: 15px; }
}