Spaces:
Sleeping
Sleeping
Download static/style.css from 1akshith/interior-env: direct link, hf CLI and curl.
- Browser
- Download file 4.42 kB
-
https://huggingface.co/spaces/1akshith/interior-env/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/1akshith/interior-env/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/1akshith/interior-env/resolve/main/static/style.css
4.42 kB
| :root { | |
| --bg: #0f111a; | |
| --glass: rgba(30, 35, 50, 0.7); | |
| --border: rgba(255, 255, 255, 0.1); | |
| --text: #e2e8f0; | |
| --text-dim: #94a3b8; | |
| --primary: #3b82f6; | |
| --primary-hover: #2563eb; | |
| --red: #ef4444; | |
| --green: #10b981; | |
| --door: #f59e0b; | |
| --font: 'Space Grotesk', sans-serif; | |
| --mono: 'JetBrains Mono', monospace; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| background-color: var(--bg); | |
| color: var(--text); | |
| font-family: var(--font); | |
| min-height: 100vh; | |
| } | |
| .background { | |
| position: fixed; inset: 0; z-index: -1; | |
| background-image: | |
| linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px); | |
| background-size: 30px 30px; | |
| opacity: 0.5; | |
| } | |
| .container { max-width: 1400px; margin: 0 auto; padding: 2rem; } | |
| .glass { | |
| background: var(--glass); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| } | |
| .panel { padding: 1.5rem; margin-bottom: 1.5rem; } | |
| header { text-align: center; padding: 1.5rem; margin-bottom: 2rem; } | |
| header h1 { font-size: 2.5rem; letter-spacing: -1px; } | |
| .highlight { color: var(--primary); } | |
| .text-green { color: var(--green); } | |
| .text-center { text-align: center; } | |
| h2, h3 { margin-bottom: 1rem; color: #fff; font-weight: 600; } | |
| .hidden { display: none ; } | |
| /* Grid Selection */ | |
| .task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } | |
| .task-card { | |
| padding: 1.5rem; border: 1px solid var(--border); | |
| border-radius: 8px; cursor: pointer; transition: all 0.2s; | |
| background: rgba(0,0,0,0.2); | |
| } | |
| .task-card:hover { border-color: var(--primary); transform: translateY(-3px); } | |
| .task-card h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.5rem; text-transform: uppercase;} | |
| .badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.8rem; background: rgba(59,130,246,0.2); border: 1px solid var(--primary);} | |
| /* Simulation Screen */ | |
| .status-bar { | |
| display: flex; justify-content: space-between; padding: 1rem 2rem; | |
| margin-bottom: 1.5rem; font-family: var(--mono); font-size: 1.1rem; | |
| } | |
| .status { padding: 0.3rem 1rem; border-radius: 4px; } | |
| .status.fail { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } | |
| .status.pass { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; } | |
| .main-layout { display: grid; grid-template-columns: 350px 1fr; gap: 1.5rem; } | |
| /* Sidebar */ | |
| .sidebar { display: flex; flex-direction: column; gap: 1rem; } | |
| .item-list { list-style: none; font-family: var(--mono); font-size: 0.9rem;} | |
| .item-list li { | |
| padding: 0.8rem; border-left: 4px solid var(--green); | |
| background: rgba(0,0,0,0.4); margin-bottom: 0.5rem; | |
| display: flex; justify-content: space-between; border-radius: 4px; | |
| } | |
| .item-list li.unplaced { border-left-color: var(--red); opacity: 0.8; } | |
| .console { | |
| height: 250px; overflow-y: auto; background: #000; | |
| padding: 1rem; font-family: var(--mono); font-size: 0.85rem; | |
| color: #a3a3a3; border-radius: 6px; | |
| } | |
| .console .err { color: #f87171; } | |
| .console .succ { color: #4ade80; } | |
| .controls { display: flex; flex-direction: column; gap: 0.8rem; } | |
| .coords { display: flex; gap: 0.5rem; } | |
| input, select { | |
| background: rgba(0,0,0,0.5); border: 1px solid var(--border); | |
| color: #fff; padding: 0.8rem; border-radius: 6px; | |
| font-family: var(--mono); width: 100%; outline: none; | |
| } | |
| input:focus, select:focus { border-color: var(--primary); } | |
| .btn { | |
| background: var(--primary); color: #fff; border: none; | |
| padding: 1rem; border-radius: 6px; cursor: pointer; | |
| font-weight: bold; font-family: var(--font); transition: 0.2s; | |
| } | |
| .btn:hover { background: var(--primary-hover); } | |
| /* Blueprint Canvas */ | |
| .blueprint-container { display: flex; flex-direction: column; align-items: center; } | |
| .canvas-wrapper { | |
| background: #000; border: 2px solid var(--border); | |
| border-radius: 8px; padding: 20px; | |
| box-shadow: inset 0 0 20px rgba(0,0,0,0.8); | |
| } | |
| canvas { | |
| background: #1e2233; | |
| image-rendering: pixelated; | |
| } | |
| /* Modal */ | |
| .modal { | |
| position: fixed; inset: 0; background: rgba(0,0,0,0.8); | |
| display: flex; align-items: center; justify-content: center; z-index: 100; | |
| } | |
| .modal-content { padding: 3rem; min-width: 400px; } | |
| .score { font-size: 2.5rem; font-family: var(--mono); margin: 1.5rem 0; color: #fff; } | |