Spaces:
Running
Running
Download src/index.css from DeepThoughtAI/pl_ai_frontend: direct link, hf CLI and curl.
- Browser
- Download file 7.56 kB
-
https://huggingface.co/spaces/DeepThoughtAI/pl_ai_frontend/resolve/main/src/index.css
- Command line
-
hf download hf://spaces/DeepThoughtAI/pl_ai_frontend/src/index.css
-
curl -L -o index.css https://huggingface.co/spaces/DeepThoughtAI/pl_ai_frontend/resolve/main/src/index.css
7.56 kB
| /* Global reset-ish */ | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } | |
| html, | |
| body, | |
| #root { | |
| margin: 0; | |
| padding: 0; | |
| height: 100%; | |
| font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", | |
| "Segoe UI", sans-serif; | |
| } | |
| /* App background */ | |
| .app-root { | |
| position: relative; | |
| min-height: 100vh; | |
| background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617); | |
| color: #e5e7eb; | |
| display: flex; | |
| align-items: stretch; | |
| justify-content: center; | |
| padding: 32px 16px; | |
| } | |
| .app-bg-gradient { | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| background: radial-gradient(circle at 20% 0%, rgba(45, 212, 191, 0.2), transparent 55%), | |
| radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.16), transparent 50%), | |
| radial-gradient(circle at 50% 100%, rgba(148, 163, 184, 0.08), transparent 55%); | |
| opacity: 0.9; | |
| } | |
| /* Shell */ | |
| .app-shell { | |
| position: relative; | |
| z-index: 1; | |
| width: 100%; | |
| max-width: 1120px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| /* Header */ | |
| .app-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 16px; | |
| } | |
| .app-header h1 { | |
| font-size: 1.7rem; | |
| margin: 0 0 4px; | |
| letter-spacing: -0.02em; | |
| } | |
| .app-header p { | |
| margin: 0; | |
| font-size: 0.9rem; | |
| color: #9ca3af; | |
| } | |
| .app-badge { | |
| font-size: 0.75rem; | |
| padding: 4px 10px; | |
| border-radius: 999px; | |
| background: linear-gradient(135deg, #22c55e, #0ea5e9); | |
| color: #020617; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.08em; | |
| } | |
| /* Layout */ | |
| .app-layout { | |
| display: grid; | |
| grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr); | |
| gap: 20px; | |
| } | |
| @media (max-width: 900px) { | |
| .app-layout { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| .app-main-panel, | |
| .app-side-panel { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| /* Cards */ | |
| .card { | |
| border-radius: 18px; | |
| border: 1px solid rgba(148, 163, 184, 0.35); | |
| background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), rgba(15, 23, 42, 0.92)); | |
| box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9); | |
| padding: 16px 18px; | |
| backdrop-filter: blur(18px); | |
| } | |
| .card-query { | |
| padding-bottom: 18px; | |
| } | |
| .card-results { | |
| padding-bottom: 14px; | |
| } | |
| .card-header { | |
| margin-bottom: 10px; | |
| } | |
| .card-header h2 { | |
| margin: 0; | |
| font-size: 0.95rem; | |
| font-weight: 600; | |
| } | |
| .card-subtitle { | |
| display: inline-block; | |
| margin-top: 4px; | |
| font-size: 0.8rem; | |
| color: #9ca3af; | |
| } | |
| /* Fields */ | |
| .field-label { | |
| display: block; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| color: #94a3b8; | |
| margin-bottom: 6px; | |
| } | |
| .field-textarea { | |
| width: 100%; | |
| border-radius: 12px; | |
| border: 1px solid rgba(148, 163, 184, 0.45); | |
| background-color: rgba(15, 23, 42, 0.9); | |
| color: #e5e7eb; | |
| font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace; | |
| font-size: 0.85rem; | |
| padding: 10px 11px; | |
| resize: vertical; | |
| min-height: 80px; | |
| } | |
| .field-textarea:focus { | |
| outline: 2px solid rgba(45, 212, 191, 0.8); | |
| outline-offset: 1px; | |
| border-color: transparent; | |
| } | |
| .field-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-top: 12px; | |
| } | |
| .field-inline { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .field-input { | |
| border-radius: 10px; | |
| border: 1px solid rgba(148, 163, 184, 0.45); | |
| background-color: rgba(15, 23, 42, 0.95); | |
| color: #e5e7eb; | |
| padding: 6px 9px; | |
| font-size: 0.8rem; | |
| min-width: 72px; | |
| } | |
| .field-input.small { | |
| max-width: 90px; | |
| } | |
| .field-input:focus { | |
| outline: 2px solid rgba(59, 130, 246, 0.9); | |
| outline-offset: 1px; | |
| border-color: transparent; | |
| } | |
| .spacer { | |
| flex: 1; | |
| } | |
| /* Buttons */ | |
| .button-primary { | |
| border: none; | |
| border-radius: 999px; | |
| padding: 8px 18px; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| background: linear-gradient(135deg, #22c55e, #0ea5e9); | |
| color: #020617; | |
| box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35); | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: transform 0.09s ease, box-shadow 0.12s ease, filter 0.12s ease, | |
| opacity 0.12s ease; | |
| } | |
| .button-primary:hover { | |
| filter: brightness(1.05); | |
| transform: translateY(-1px); | |
| box-shadow: 0 14px 35px rgba(5, 150, 105, 0.45); | |
| } | |
| .button-primary:active { | |
| transform: translateY(0); | |
| box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3); | |
| } | |
| .button-primary:disabled { | |
| opacity: 0.55; | |
| cursor: not-allowed; | |
| } | |
| /* Alerts */ | |
| .alert { | |
| margin-top: 10px; | |
| padding: 8px 10px; | |
| border-radius: 12px; | |
| font-size: 0.78rem; | |
| } | |
| .alert-error { | |
| border: 1px solid rgba(248, 113, 113, 0.9); | |
| background-color: rgba(127, 29, 29, 0.85); | |
| color: #fee2e2; | |
| } | |
| /* Results */ | |
| .results-body { | |
| margin-top: 4px; | |
| } | |
| .muted { | |
| font-size: 0.8rem; | |
| color: #9ca3af; | |
| } | |
| .solutions-list { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .solution-item { | |
| border-radius: 12px; | |
| border: 1px solid rgba(148, 163, 184, 0.5); | |
| background-color: rgba(15, 23, 42, 0.95); | |
| padding: 8px 9px; | |
| } | |
| .solution-header { | |
| font-size: 0.78rem; | |
| color: #cbd5f5; | |
| margin-bottom: 4px; | |
| } | |
| .solution-json { | |
| margin: 0; | |
| padding: 6px 7px; | |
| border-radius: 8px; | |
| background-color: rgba(15, 23, 42, 0.9); | |
| font-size: 0.75rem; | |
| font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace; | |
| color: #bbf7d0; | |
| overflow-x: auto; | |
| } | |
| /* Raw output */ | |
| .raw-output { | |
| margin-top: 12px; | |
| border-top: 1px dashed rgba(148, 163, 184, 0.4); | |
| padding-top: 10px; | |
| } | |
| .raw-header { | |
| font-size: 0.78rem; | |
| color: #cbd5f5; | |
| margin-bottom: 6px; | |
| } | |
| .raw-body { | |
| border-radius: 10px; | |
| background-color: rgba(15, 23, 42, 0.95); | |
| border: 1px solid rgba(148, 163, 184, 0.5); | |
| padding: 7px 9px; | |
| } | |
| .raw-pre { | |
| margin: 0; | |
| font-size: 0.78rem; | |
| font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace; | |
| color: #e5e7eb; | |
| white-space: pre-wrap; | |
| } | |
| /* History */ | |
| .card-history { | |
| max-height: 380px; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .history-list { | |
| margin-top: 4px; | |
| overflow: auto; | |
| max-height: 320px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .history-item { | |
| border-radius: 12px; | |
| border: 1px solid rgba(148, 163, 184, 0.4); | |
| background-color: rgba(15, 23, 42, 0.92); | |
| padding: 7px 9px; | |
| text-align: left; | |
| cursor: pointer; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 3px; | |
| transition: border-color 0.12s ease, background-color 0.12s ease, | |
| transform 0.08s ease; | |
| } | |
| .history-item:hover { | |
| border-color: rgba(45, 212, 191, 0.9); | |
| background-color: rgba(15, 23, 42, 1); | |
| transform: translateY(-1px); | |
| } | |
| .history-query { | |
| font-size: 0.78rem; | |
| color: #e5e7eb; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace; | |
| } | |
| .history-meta { | |
| font-size: 0.7rem; | |
| color: #9ca3af; | |
| } | |
| /* Footer card */ | |
| .card-footer { | |
| padding: 10px 12px; | |
| } | |
| .footer-text { | |
| margin: 0; | |
| font-size: 0.75rem; | |
| color: #9ca3af; | |
| } | |
| .code-inline { | |
| font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace; | |
| font-size: 0.75rem; | |
| background-color: rgba(15, 23, 42, 0.9); | |
| padding: 1px 4px; | |
| border-radius: 4px; | |
| border: 1px solid rgba(148, 163, 184, 0.4); | |
| } | |