fix: models
This commit is contained in:
Binary file not shown.
Binary file not shown.
+15
-1
@@ -1,5 +1,6 @@
|
|||||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
|
||||||
|
|
||||||
|
/* Base document reset */
|
||||||
:root {
|
:root {
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
|
||||||
@@ -29,6 +30,7 @@ canvas {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Docs layout */
|
||||||
.docs-page {
|
.docs-page {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 300px minmax(0, 1fr);
|
grid-template-columns: 300px minmax(0, 1fr);
|
||||||
@@ -40,6 +42,7 @@ canvas {
|
|||||||
font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Docs sidebar navigation */
|
||||||
.docs-sidebar {
|
.docs-sidebar {
|
||||||
border-right: 2px solid #d8d0c4;
|
border-right: 2px solid #d8d0c4;
|
||||||
background: #050505;
|
background: #050505;
|
||||||
@@ -150,6 +153,7 @@ canvas {
|
|||||||
color: #050505;
|
color: #050505;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Docs content */
|
||||||
.docs-content {
|
.docs-content {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
@@ -321,6 +325,7 @@ canvas {
|
|||||||
color: #a9a196;
|
color: #a9a196;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Docs responsive layout */
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.docs-page {
|
.docs-page {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -338,6 +343,7 @@ canvas {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* In-game interaction UI */
|
||||||
.crosshair {
|
.crosshair {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@@ -391,6 +397,7 @@ canvas {
|
|||||||
letter-spacing: 0.03em;
|
letter-spacing: 0.03em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hand tracking debug UI */
|
||||||
.hand-tracking-overlay {
|
.hand-tracking-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 16px;
|
top: 16px;
|
||||||
@@ -428,6 +435,7 @@ canvas {
|
|||||||
filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
|
filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Repair model selector UI */
|
||||||
.model-selector-panel {
|
.model-selector-panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -467,6 +475,7 @@ canvas {
|
|||||||
background: #38bdf8;
|
background: #38bdf8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Zustand game state debug UI */
|
||||||
.game-state-hud {
|
.game-state-hud {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 18px;
|
top: 18px;
|
||||||
@@ -538,7 +547,7 @@ canvas {
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Editor page */
|
/* Editor page shell */
|
||||||
.editor-container {
|
.editor-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -604,6 +613,7 @@ canvas {
|
|||||||
font-family: "SFMono-Regular", "Courier New", monospace;
|
font-family: "SFMono-Regular", "Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Editor loading and upload states */
|
||||||
.editor-upload-section {
|
.editor-upload-section {
|
||||||
width: min(520px, calc(100vw - 2rem));
|
width: min(520px, calc(100vw - 2rem));
|
||||||
background: #0d0d0d;
|
background: #0d0d0d;
|
||||||
@@ -679,6 +689,7 @@ canvas {
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Editor scene overlays */
|
||||||
.editor-camera-info {
|
.editor-camera-info {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 16px;
|
top: 16px;
|
||||||
@@ -707,6 +718,7 @@ canvas {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Editor controls panel */
|
||||||
.editor-controls-panel {
|
.editor-controls-panel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 16px;
|
right: 16px;
|
||||||
@@ -1001,6 +1013,7 @@ canvas {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Editor JSON inspector */
|
||||||
.editor-json-section {
|
.editor-json-section {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -1076,6 +1089,7 @@ canvas {
|
|||||||
font-size: 0.74rem;
|
font-size: 0.74rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Editor responsive layout */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.editor-error h2 {
|
.editor-error h2 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user