Spaces:
Runtime error
Runtime error
Download static/styles.css from LeonardoMdSA/LLMOps-RAG_solution-HS_spaces: direct link, hf CLI and curl.
- Browser
- Download file 3.54 kB
-
https://huggingface.co/spaces/LeonardoMdSA/LLMOps-RAG_solution-HS_spaces/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/LeonardoMdSA/LLMOps-RAG_solution-HS_spaces/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/LeonardoMdSA/LLMOps-RAG_solution-HS_spaces/resolve/main/static/styles.css
3.54 kB
| :root { color-scheme: light dark; } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; | |
| font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, | |
| "Apple Color Emoji", "Segoe UI Emoji"; | |
| background: #0b0b0b; | |
| color: #e5e7eb; | |
| line-height: 1.6; | |
| } | |
| /* ---------- Layout ---------- */ | |
| header { | |
| padding: 16px; | |
| border-bottom: 1px solid #222; | |
| background: #111; | |
| } | |
| header h1 { | |
| margin: 0; | |
| font-size: 20px; | |
| font-weight: 600; | |
| } | |
| main { | |
| max-width: 900px; | |
| margin: 32px auto; | |
| padding: 0 16px; | |
| } | |
| .container { | |
| max-width: 900px; | |
| margin: 0 auto; | |
| } | |
| /* ---------- Cards ---------- */ | |
| .card { | |
| background: #111; | |
| border-radius: 12px; | |
| padding: 24px; | |
| margin-bottom: 24px; | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.4); | |
| } | |
| .card h2 { | |
| margin-top: 0; | |
| font-size: 18px; | |
| font-weight: 600; | |
| } | |
| /* ---------- Dropzone ---------- */ | |
| #dropzone { | |
| border: 2px dashed #666; | |
| border-radius: 10px; | |
| padding: 28px; | |
| text-align: center; | |
| margin-bottom: 12px; | |
| } | |
| #dropzone.hover { | |
| border-color: #dc2626; | |
| background: rgba(220,38,38,0.08); | |
| } | |
| /* ---- HARD RESET FOR HF / CHROMIUM ---- */ | |
| button, | |
| .btn { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| background-image: none; | |
| } | |
| /* Force colors (HF overrides without !important) */ | |
| .btn { | |
| background-color: #dc2626 ; /* RED */ | |
| color: #ffffff ; | |
| } | |
| button.primary { | |
| background-color: #2563eb ; /* BLUE */ | |
| color: #ffffff ; | |
| } | |
| button.secondary { | |
| background-color: #2563eb ; /* BLUE */ | |
| color: #ffffff ; | |
| } | |
| /* ---------- Buttons ---------- */ | |
| /* Choose files */ | |
| .btn { | |
| display: inline-block; | |
| padding: 8px 14px; | |
| background: #dc2626; | |
| color: #ffffff; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| font-size: 14px; | |
| text-decoration: none; | |
| } | |
| .btn:hover { | |
| background: #b91c1c; | |
| } | |
| /* Generic button */ | |
| button { | |
| padding: 10px 14px; | |
| border-radius: 6px; | |
| border: none; | |
| cursor: pointer; | |
| font-size: 14px; | |
| } | |
| /* Upload & Index */ | |
| button.primary { | |
| background: #2563eb; | |
| color: #ffffff; | |
| } | |
| button.primary:hover { | |
| background: #1d4ed8; | |
| } | |
| /* Send */ | |
| button.secondary { | |
| background: #2563eb; | |
| color: #ffffff; | |
| } | |
| button.secondary:hover { | |
| background: #1d4ed8; | |
| } | |
| button:disabled { | |
| opacity: 1; | |
| filter: brightness(0.7); | |
| cursor: not-allowed; | |
| } | |
| /* ---------- Hints ---------- */ | |
| .hint { | |
| font-size: 12px; | |
| opacity: .75; | |
| margin: 8px 0; | |
| } | |
| /* ---------- Messages ---------- */ | |
| .messages { | |
| height: 420px; | |
| border: 1px solid #333; | |
| border-radius: 8px; | |
| padding: 10px; | |
| overflow: auto; | |
| background: #0f0f0f; | |
| } | |
| .bubble { | |
| max-width: 80%; | |
| padding: 10px 12px; | |
| margin: 8px 0; | |
| border-radius: 12px; | |
| white-space: pre-wrap; | |
| } | |
| .bubble.user { | |
| margin-left: auto; | |
| background: #1e90ff; | |
| color: #ffffff; | |
| } | |
| .bubble.assistant { | |
| margin-right: auto; | |
| background: #6b0000; | |
| color: #ffffff; | |
| } | |
| /* ---------- Composer ---------- */ | |
| .composer { | |
| display: flex; | |
| gap: 8px; | |
| margin-top: 10px; | |
| align-items: center; | |
| } | |
| #message-input { | |
| flex: 1; | |
| padding: 10px; | |
| border-radius: 6px; | |
| border: 1px solid #333; | |
| background: #111; | |
| color: #e5e7eb; | |
| resize: vertical; | |
| } | |
| /* ---------- Toast ---------- */ | |
| .toast { | |
| position: fixed; | |
| left: 50%; | |
| bottom: 20px; | |
| transform: translateX(-50%); | |
| background: #111827; | |
| color: white; | |
| padding: 8px 12px; | |
| border-radius: 6px; | |
| opacity: 0; | |
| transition: opacity .3s; | |
| } | |
| /* ---------- Footer ---------- */ | |
| .footer { | |
| text-align: center; | |
| font-size: 12px; | |
| color: #9ca3af; | |
| margin-top: 40px; | |
| } | |