Spaces:
Sleeping
Sleeping
| /* Path: /src/index.css */ | |
| :root { | |
| font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; | |
| line-height: 1.5; | |
| font-weight: 400; | |
| color-scheme: light dark; | |
| color: rgba(255, 255, 255, 0.87); | |
| background-color: #242424; | |
| --sidebar-bg: #1a1a1a; | |
| --main-bg: #242424; | |
| --border-color: #444; | |
| --input-bg: #333; | |
| --button-bg: #1e63c4; | |
| --button-hover-bg: #2a7cdd; | |
| --response-bg: #2d2d2d; | |
| --text-color: #f0f0f0; | |
| --text-muted: #aaa; | |
| } | |
| body { | |
| margin: 0; | |
| display: flex; | |
| place-items: center; | |
| min-width: 320px; | |
| min-height: 100vh; | |
| } | |
| #root { | |
| width: 100%; | |
| height: 100vh; | |
| } | |
| .console-container { | |
| display: flex; | |
| height: 100vh; | |
| width: 100%; | |
| text-align: left; | |
| } | |
| .sidebar { | |
| width: 300px; | |
| background-color: var(--sidebar-bg); | |
| padding: 1rem; | |
| display: flex; | |
| flex-direction: column; | |
| border-right: 1px solid var(--border-color); | |
| } | |
| .sidebar h2 { | |
| margin-top: 0; | |
| border-bottom: 1px solid var(--border-color); | |
| padding-bottom: 0.5rem; | |
| } | |
| .history-list { | |
| flex-grow: 1; | |
| overflow-y: auto; | |
| } | |
| .history-item { | |
| padding: 0.75rem; | |
| border-radius: 4px; | |
| border: 1px solid var(--border-color); | |
| margin-bottom: 0.5rem; | |
| cursor: pointer; | |
| word-wrap: break-word; | |
| color: var(--text-muted); | |
| } | |
| .history-item p { | |
| margin: 0; | |
| white-space: pre-wrap; | |
| } | |
| .history-item:hover { | |
| background-color: var(--input-bg); | |
| color: var(--text-color); | |
| } | |
| .diagnostics { | |
| flex-shrink: 0; | |
| border-top: 1px solid var(--border-color); | |
| padding-top: 1rem; | |
| } | |
| .diagnostics button { | |
| width: 100%; | |
| margin-bottom: 0.5rem; | |
| } | |
| .main-content { | |
| flex-grow: 1; | |
| padding: 1rem 2rem; | |
| display: flex; | |
| flex-direction: column; | |
| height: 100vh; | |
| box-sizing: border-box; | |
| } | |
| main header { | |
| flex-shrink: 0; | |
| } | |
| main form { | |
| display: flex; | |
| flex-direction: column; | |
| margin-bottom: 1rem; | |
| flex-shrink: 0; | |
| } | |
| textarea { | |
| width: 100%; | |
| padding: 0.75rem; | |
| margin-bottom: 0.5rem; | |
| border: 1px solid var(--border-color); | |
| background-color: var(--input-bg); | |
| color: var(--text-color); | |
| border-radius: 4px; | |
| font-family: inherit; | |
| resize: vertical; | |
| } | |
| button { | |
| padding: 0.75rem 1rem; | |
| border: none; | |
| background-color: var(--button-bg); | |
| color: white; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-weight: bold; | |
| } | |
| button:hover:not(:disabled) { | |
| background-color: var(--button-hover-bg); | |
| } | |
| button:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| .response-area { | |
| flex-grow: 1; | |
| background-color: var(--response-bg); | |
| border: 1px solid var(--border-color); | |
| padding: 1rem; | |
| border-radius: 4px; | |
| overflow-y: auto; | |
| } | |
| pre { | |
| white-space: pre-wrap; | |
| word-wrap: break-word; | |
| background-color: var(--sidebar-bg); | |
| padding: 0.75rem; | |
| border-radius: 4px; | |
| } | |
| .error-response { | |
| color: #ff8c8c; | |
| } | |
| /*end-of-file*/ | |