| :root { |
| --bg-0: #0d0d0f; |
| --bg-1: #111114; |
| --bg-2: #16161a; |
| --bg-3: #1c1c21; |
| --bg-4: #222228; |
| --border: #2a2a32; |
| --border-bright: #3a3a45; |
| --text-0: #e8e8f0; |
| --text-1: #a0a0b8; |
| --text-2: #606078; |
| --accent: #7c6af7; |
| --accent-dim: #4a3fa0; |
| --accent-glow: rgba(124,106,247,0.15); |
| --green: #4ade80; |
| --red: #f87171; |
| --yellow: #fbbf24; |
| --blue: #60a5fa; |
| --orange: #fb923c; |
| --cyan: #22d3ee; |
| --font-mono: 'JetBrains Mono', monospace; |
| --font-ui: 'Geist', sans-serif; |
| --radius: 6px; |
| --tab-h: 38px; |
| --header-h: 44px; |
| --input-h: 64px; |
| --sidebar-w: 340px; |
| } |
|
|
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } |
|
|
| html, body, #root { |
| height: 100%; |
| width: 100%; |
| overflow: hidden; |
| background: var(--bg-0); |
| color: var(--text-0); |
| font-family: var(--font-ui); |
| font-size: 13px; |
| } |
|
|
| |
| ::-webkit-scrollbar { width: 6px; height: 6px; } |
| ::-webkit-scrollbar-track { background: transparent; } |
| ::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; } |
| ::-webkit-scrollbar-thumb:hover { background: var(--text-2); } |
|
|
| |
| .ide { |
| display: flex; |
| flex-direction: column; |
| height: 100vh; |
| width: 100vw; |
| overflow: hidden; |
| } |
|
|
| |
| .header { |
| height: var(--header-h); |
| background: var(--bg-1); |
| border-bottom: 1px solid var(--border); |
| display: flex; |
| align-items: center; |
| padding: 0 12px; |
| gap: 10px; |
| flex-shrink: 0; |
| z-index: 100; |
| } |
|
|
| .header-logo { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| font-weight: 700; |
| font-size: 14px; |
| color: var(--text-0); |
| letter-spacing: 0.5px; |
| } |
|
|
| .header-logo-dot { |
| width: 8px; height: 8px; |
| border-radius: 50%; |
| background: var(--accent); |
| box-shadow: 0 0 8px var(--accent); |
| } |
|
|
| .project-switcher { |
| position: relative; |
| } |
|
|
| .project-btn { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| background: var(--bg-3); |
| border: 1px solid var(--border); |
| color: var(--text-0); |
| padding: 5px 10px; |
| border-radius: var(--radius); |
| cursor: pointer; |
| font-size: 12px; |
| font-family: var(--font-ui); |
| transition: all 0.15s; |
| } |
| .project-btn:hover { border-color: var(--accent); background: var(--bg-4); } |
|
|
| .project-dropdown { |
| position: absolute; |
| top: calc(100% + 4px); |
| left: 0; |
| background: var(--bg-2); |
| border: 1px solid var(--border-bright); |
| border-radius: var(--radius); |
| min-width: 200px; |
| z-index: 200; |
| overflow: hidden; |
| box-shadow: 0 8px 32px rgba(0,0,0,0.5); |
| } |
|
|
| .project-dropdown-item { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| padding: 8px 12px; |
| cursor: pointer; |
| color: var(--text-1); |
| transition: all 0.1s; |
| } |
| .project-dropdown-item:hover { background: var(--bg-4); color: var(--text-0); } |
| .project-dropdown-item.active { color: var(--accent); } |
| .project-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; } |
|
|
| .new-project-btn { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| padding: 8px 12px; |
| color: var(--accent); |
| cursor: pointer; |
| transition: all 0.1s; |
| } |
| .new-project-btn:hover { background: var(--accent-glow); } |
|
|
| .header-spacer { flex: 1; } |
|
|
| .settings-btn { |
| width: 32px; height: 32px; |
| display: flex; align-items: center; justify-content: center; |
| background: transparent; |
| border: 1px solid var(--border); |
| color: var(--text-1); |
| border-radius: var(--radius); |
| cursor: pointer; |
| transition: all 0.15s; |
| font-size: 14px; |
| } |
| .settings-btn:hover { border-color: var(--accent); color: var(--accent); } |
|
|
| |
| .main { |
| display: flex; |
| flex: 1; |
| overflow: hidden; |
| min-height: 0; |
| } |
|
|
| |
| .left-panel { |
| width: var(--sidebar-w); |
| min-width: 260px; |
| max-width: 480px; |
| display: flex; |
| flex-direction: column; |
| border-right: 1px solid var(--border); |
| background: var(--bg-1); |
| flex-shrink: 0; |
| position: relative; |
| } |
|
|
| .left-tabs { |
| display: flex; |
| align-items: center; |
| background: var(--bg-0); |
| border-bottom: 1px solid var(--border); |
| padding: 0 4px; |
| height: var(--tab-h); |
| flex-shrink: 0; |
| gap: 2px; |
| } |
|
|
| |
| .right-panel { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| overflow: hidden; |
| min-width: 0; |
| } |
|
|
| .right-tabs { |
| display: flex; |
| align-items: center; |
| background: var(--bg-0); |
| border-bottom: 1px solid var(--border); |
| padding: 0 4px; |
| height: var(--tab-h); |
| flex-shrink: 0; |
| gap: 2px; |
| overflow-x: auto; |
| } |
| .right-tabs::-webkit-scrollbar { height: 2px; } |
|
|
| |
| .tab { |
| display: flex; |
| align-items: center; |
| gap: 5px; |
| padding: 0 10px; |
| height: 28px; |
| border-radius: 5px; |
| cursor: pointer; |
| color: var(--text-2); |
| font-size: 12px; |
| white-space: nowrap; |
| transition: all 0.1s; |
| border: 1px solid transparent; |
| position: relative; |
| flex-shrink: 0; |
| } |
| .tab:hover { color: var(--text-1); background: var(--bg-3); } |
| .tab.active { |
| color: var(--text-0); |
| background: var(--bg-3); |
| border-color: var(--border); |
| } |
| .tab.active::after { |
| content: ''; |
| position: absolute; |
| bottom: -1px; left: 0; right: 0; |
| height: 2px; |
| background: var(--accent); |
| border-radius: 2px 2px 0 0; |
| } |
|
|
| .tab-close { |
| width: 14px; height: 14px; |
| display: flex; align-items: center; justify-content: center; |
| border-radius: 3px; |
| opacity: 0; |
| font-size: 10px; |
| transition: all 0.1s; |
| } |
| .tab:hover .tab-close { opacity: 0.6; } |
| .tab-close:hover { opacity: 1 !important; background: var(--bg-4); } |
|
|
| .tab-add { |
| width: 26px; height: 26px; |
| display: flex; align-items: center; justify-content: center; |
| border-radius: 5px; |
| cursor: pointer; |
| color: var(--text-2); |
| font-size: 16px; |
| transition: all 0.1s; |
| flex-shrink: 0; |
| position: relative; |
| } |
| .tab-add:hover { color: var(--text-0); background: var(--bg-3); } |
|
|
| .tab-popup { |
| position: absolute; |
| top: calc(100% + 4px); |
| left: 0; |
| background: var(--bg-2); |
| border: 1px solid var(--border-bright); |
| border-radius: var(--radius); |
| min-width: 160px; |
| z-index: 300; |
| overflow: hidden; |
| box-shadow: 0 8px 32px rgba(0,0,0,0.5); |
| } |
| .tab-popup-item { |
| display: flex; align-items: center; gap: 8px; |
| padding: 8px 12px; |
| cursor: pointer; |
| color: var(--text-1); |
| font-size: 12px; |
| transition: all 0.1s; |
| } |
| .tab-popup-item:hover { background: var(--bg-4); color: var(--text-0); } |
|
|
| |
| .tab-content { |
| flex: 1; |
| overflow: hidden; |
| display: flex; |
| flex-direction: column; |
| min-height: 0; |
| } |
|
|
| |
| .agent-panel { |
| display: flex; |
| flex-direction: column; |
| height: 100%; |
| } |
|
|
| .agent-output { |
| flex: 1; |
| overflow-y: auto; |
| padding: 12px; |
| display: flex; |
| flex-direction: column; |
| gap: 8px; |
| min-height: 0; |
| } |
|
|
| .agent-msg { |
| border-radius: var(--radius); |
| padding: 8px 10px; |
| font-size: 12px; |
| line-height: 1.6; |
| animation: fadeIn 0.2s ease; |
| } |
| @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } } |
|
|
| .agent-msg.thinking { |
| background: var(--bg-3); |
| color: var(--text-1); |
| border-left: 2px solid var(--accent); |
| display: flex; align-items: center; gap: 6px; |
| } |
| .agent-msg.plan { |
| background: var(--bg-3); |
| border-left: 2px solid var(--blue); |
| color: var(--text-0); |
| } |
| .agent-msg.analysis { |
| background: var(--bg-3); |
| border-left: 2px solid var(--cyan); |
| color: var(--text-1); |
| } |
| .agent-msg.tool-start { |
| background: var(--bg-3); |
| border-left: 2px solid var(--yellow); |
| color: var(--yellow); |
| font-family: var(--font-mono); |
| font-size: 11px; |
| } |
| .agent-msg.tool-result { |
| background: var(--bg-2); |
| color: var(--text-1); |
| font-family: var(--font-mono); |
| font-size: 11px; |
| border-left: 2px solid var(--green); |
| } |
| .agent-msg.tool-result.error { |
| border-left-color: var(--red); |
| color: var(--red); |
| } |
| .agent-msg.debug { |
| background: var(--bg-3); |
| border-left: 2px solid var(--orange); |
| color: var(--orange); |
| } |
| .agent-msg.final { |
| background: var(--accent-glow); |
| border: 1px solid var(--accent-dim); |
| color: var(--text-0); |
| } |
| .agent-msg.done { |
| color: var(--green); |
| font-weight: 500; |
| display: flex; align-items: center; gap: 6px; |
| } |
|
|
| .model-badge { |
| display: inline-flex; align-items: center; |
| padding: 2px 6px; |
| border-radius: 4px; |
| font-size: 10px; |
| font-family: var(--font-mono); |
| font-weight: 600; |
| margin-bottom: 4px; |
| } |
| .model-badge.qwen { background: rgba(124,106,247,0.2); color: var(--accent); } |
| .model-badge.oss { background: rgba(96,165,250,0.2); color: var(--blue); } |
| .model-badge.llama { background: rgba(74,222,128,0.2); color: var(--green); } |
|
|
| .pulse { |
| width: 6px; height: 6px; |
| border-radius: 50%; |
| background: var(--accent); |
| animation: pulse 1s infinite; |
| } |
| @keyframes pulse { |
| 0%, 100% { opacity: 1; transform: scale(1); } |
| 50% { opacity: 0.4; transform: scale(0.8); } |
| } |
|
|
| |
| .agent-input-wrap { |
| padding: 10px; |
| border-top: 1px solid var(--border); |
| background: var(--bg-1); |
| flex-shrink: 0; |
| } |
|
|
| .agent-input-box { |
| display: flex; |
| align-items: flex-end; |
| gap: 6px; |
| background: var(--bg-3); |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| padding: 8px 10px; |
| transition: border-color 0.15s; |
| } |
| .agent-input-box:focus-within { border-color: var(--accent); } |
|
|
| .agent-textarea { |
| flex: 1; |
| background: transparent; |
| border: none; |
| outline: none; |
| color: var(--text-0); |
| font-family: var(--font-ui); |
| font-size: 13px; |
| resize: none; |
| min-height: 20px; |
| max-height: 120px; |
| line-height: 1.5; |
| } |
| .agent-textarea::placeholder { color: var(--text-2); } |
|
|
| .send-btn { |
| width: 28px; height: 28px; |
| display: flex; align-items: center; justify-content: center; |
| background: var(--accent); |
| border: none; |
| border-radius: 5px; |
| cursor: pointer; |
| color: white; |
| font-size: 12px; |
| transition: all 0.15s; |
| flex-shrink: 0; |
| } |
| .send-btn:hover { background: #6a58e8; } |
| .send-btn:disabled { background: var(--bg-4); color: var(--text-2); cursor: not-allowed; } |
|
|
| .stop-btn { |
| width: 28px; height: 28px; |
| display: flex; align-items: center; justify-content: center; |
| background: rgba(248,113,113,0.15); |
| border: 1px solid rgba(248,113,113,0.3); |
| border-radius: 5px; |
| cursor: pointer; |
| color: var(--red); |
| font-size: 10px; |
| transition: all 0.15s; |
| flex-shrink: 0; |
| } |
| .stop-btn:hover { background: rgba(248,113,113,0.25); } |
|
|
| |
| .assistant-panel { |
| display: flex; |
| flex-direction: column; |
| height: 100%; |
| } |
|
|
| .assistant-model-select { |
| padding: 8px 12px; |
| border-bottom: 1px solid var(--border); |
| display: flex; align-items: center; gap: 6px; |
| font-size: 11px; color: var(--text-2); |
| } |
| .model-select { |
| background: var(--bg-3); |
| border: 1px solid var(--border); |
| color: var(--text-1); |
| padding: 3px 8px; |
| border-radius: 4px; |
| font-size: 11px; |
| font-family: var(--font-ui); |
| cursor: pointer; |
| } |
| .model-select:focus { outline: none; border-color: var(--accent); } |
|
|
| .assistant-messages { |
| flex: 1; |
| overflow-y: auto; |
| padding: 12px; |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| min-height: 0; |
| } |
|
|
| .chat-msg { |
| display: flex; |
| flex-direction: column; |
| gap: 2px; |
| animation: fadeIn 0.2s ease; |
| } |
| .chat-msg.user { align-items: flex-end; } |
| .chat-msg.assistant { align-items: flex-start; } |
|
|
| .chat-bubble { |
| max-width: 90%; |
| padding: 8px 11px; |
| border-radius: 8px; |
| font-size: 12px; |
| line-height: 1.6; |
| } |
| .chat-msg.user .chat-bubble { |
| background: var(--accent-dim); |
| color: var(--text-0); |
| border-bottom-right-radius: 2px; |
| } |
| .chat-msg.assistant .chat-bubble { |
| background: var(--bg-3); |
| color: var(--text-0); |
| border-bottom-left-radius: 2px; |
| border: 1px solid var(--border); |
| } |
|
|
| |
| .files-panel { |
| display: flex; |
| height: 100%; |
| overflow: hidden; |
| } |
|
|
| .file-tree { |
| width: 220px; |
| min-width: 160px; |
| border-right: 1px solid var(--border); |
| overflow-y: auto; |
| background: var(--bg-1); |
| flex-shrink: 0; |
| } |
|
|
| .file-tree-header { |
| padding: 8px 10px; |
| display: flex; align-items: center; justify-content: space-between; |
| border-bottom: 1px solid var(--border); |
| font-size: 11px; |
| color: var(--text-2); |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| } |
| .file-tree-actions { display: flex; gap: 4px; } |
| .tree-action-btn { |
| width: 20px; height: 20px; |
| display: flex; align-items: center; justify-content: center; |
| cursor: pointer; |
| color: var(--text-2); |
| border-radius: 3px; |
| font-size: 13px; |
| transition: all 0.1s; |
| } |
| .tree-action-btn:hover { color: var(--text-0); background: var(--bg-4); } |
|
|
| .tree-item { |
| display: flex; align-items: center; |
| gap: 5px; |
| padding: 4px 8px; |
| cursor: pointer; |
| color: var(--text-1); |
| font-size: 12px; |
| font-family: var(--font-mono); |
| transition: all 0.1s; |
| position: relative; |
| user-select: none; |
| } |
| .tree-item:hover { background: var(--bg-3); color: var(--text-0); } |
| .tree-item.active { background: var(--accent-glow); color: var(--accent); } |
| .tree-item.modified::after { |
| content: 'β'; |
| position: absolute; right: 6px; |
| color: var(--yellow); |
| font-size: 8px; |
| } |
|
|
| .file-editor-area { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| overflow: hidden; |
| min-width: 0; |
| } |
|
|
| .editor-file-tabs { |
| display: flex; |
| align-items: center; |
| background: var(--bg-0); |
| border-bottom: 1px solid var(--border); |
| height: 34px; |
| overflow-x: auto; |
| flex-shrink: 0; |
| } |
| .editor-file-tabs::-webkit-scrollbar { height: 2px; } |
|
|
| .editor-tab { |
| display: flex; align-items: center; gap: 5px; |
| padding: 0 10px; |
| height: 34px; |
| border-right: 1px solid var(--border); |
| cursor: pointer; |
| color: var(--text-2); |
| font-size: 12px; |
| font-family: var(--font-mono); |
| white-space: nowrap; |
| transition: all 0.1s; |
| flex-shrink: 0; |
| } |
| .editor-tab:hover { background: var(--bg-3); color: var(--text-1); } |
| .editor-tab.active { background: var(--bg-2); color: var(--text-0); } |
| .editor-tab .tab-close { opacity: 0; } |
| .editor-tab:hover .tab-close { opacity: 0.6; } |
|
|
| .editor-container { flex: 1; overflow: hidden; } |
|
|
| |
| .console-panel { |
| height: 100%; |
| overflow-y: auto; |
| padding: 10px 12px; |
| font-family: var(--font-mono); |
| font-size: 12px; |
| line-height: 1.7; |
| background: var(--bg-0); |
| } |
|
|
| .console-line { display: flex; gap: 8px; } |
| .console-line.info { color: var(--text-1); } |
| .console-line.success { color: var(--green); } |
| .console-line.error { color: var(--red); } |
| .console-line.warning { color: var(--yellow); } |
| .console-line.tool { color: var(--cyan); } |
| .console-time { |
| color: var(--text-2); |
| flex-shrink: 0; |
| font-size: 10px; |
| padding-top: 1px; |
| } |
|
|
| |
| .shell-panel { |
| height: 100%; |
| display: flex; |
| flex-direction: column; |
| background: var(--bg-0); |
| font-family: var(--font-mono); |
| font-size: 12px; |
| } |
|
|
| .shell-output { |
| flex: 1; |
| overflow-y: auto; |
| padding: 10px 12px; |
| line-height: 1.7; |
| color: var(--text-1); |
| } |
|
|
| .shell-line { white-space: pre-wrap; word-break: break-all; } |
| .shell-line.cmd { color: var(--green); } |
| .shell-line.err { color: var(--red); } |
|
|
| .shell-input-row { |
| display: flex; |
| align-items: center; |
| padding: 6px 12px; |
| border-top: 1px solid var(--border); |
| gap: 4px; |
| flex-shrink: 0; |
| } |
|
|
| .shell-prompt { color: var(--green); flex-shrink: 0; } |
| .shell-input { |
| flex: 1; |
| background: transparent; |
| border: none; |
| outline: none; |
| color: var(--text-0); |
| font-family: var(--font-mono); |
| font-size: 12px; |
| caret-color: var(--green); |
| } |
| .shell-input::placeholder { color: var(--text-2); } |
|
|
| |
| .preview-panel { |
| height: 100%; |
| display: flex; |
| flex-direction: column; |
| background: var(--bg-0); |
| } |
| .preview-bar { |
| padding: 6px 10px; |
| border-bottom: 1px solid var(--border); |
| display: flex; align-items: center; gap: 6px; |
| flex-shrink: 0; |
| } |
| .preview-url { |
| flex: 1; |
| background: var(--bg-3); |
| border: 1px solid var(--border); |
| color: var(--text-1); |
| padding: 4px 8px; |
| border-radius: 4px; |
| font-size: 12px; |
| font-family: var(--font-mono); |
| } |
| .preview-url:focus { outline: none; border-color: var(--accent); } |
| .preview-iframe { flex: 1; border: none; background: white; } |
|
|
| |
| .context-menu { |
| position: fixed; |
| background: var(--bg-2); |
| border: 1px solid var(--border-bright); |
| border-radius: var(--radius); |
| min-width: 160px; |
| z-index: 1000; |
| overflow: hidden; |
| box-shadow: 0 8px 32px rgba(0,0,0,0.5); |
| animation: fadeIn 0.1s ease; |
| } |
| .context-item { |
| display: flex; align-items: center; gap: 8px; |
| padding: 7px 12px; |
| cursor: pointer; |
| color: var(--text-1); |
| font-size: 12px; |
| transition: all 0.1s; |
| } |
| .context-item:hover { background: var(--bg-4); color: var(--text-0); } |
| .context-item.danger { color: var(--red); } |
| .context-item.danger:hover { background: rgba(248,113,113,0.1); } |
| .context-divider { height: 1px; background: var(--border); margin: 3px 0; } |
|
|
| |
| .modal-overlay { |
| position: fixed; inset: 0; |
| background: rgba(0,0,0,0.6); |
| display: flex; align-items: center; justify-content: center; |
| z-index: 500; |
| backdrop-filter: blur(4px); |
| animation: fadeIn 0.15s ease; |
| } |
| .modal { |
| background: var(--bg-2); |
| border: 1px solid var(--border-bright); |
| border-radius: 10px; |
| padding: 24px; |
| min-width: 320px; |
| max-width: 440px; |
| width: 90%; |
| box-shadow: 0 16px 48px rgba(0,0,0,0.5); |
| } |
| .modal-title { |
| font-size: 16px; |
| font-weight: 600; |
| margin-bottom: 16px; |
| color: var(--text-0); |
| } |
| .modal-field { margin-bottom: 12px; } |
| .modal-label { |
| display: block; |
| font-size: 11px; |
| color: var(--text-2); |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| margin-bottom: 6px; |
| } |
| .modal-input { |
| width: 100%; |
| background: var(--bg-3); |
| border: 1px solid var(--border); |
| color: var(--text-0); |
| padding: 8px 10px; |
| border-radius: var(--radius); |
| font-size: 13px; |
| font-family: var(--font-ui); |
| transition: border-color 0.15s; |
| } |
| .modal-input:focus { outline: none; border-color: var(--accent); } |
|
|
| .template-grid { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| gap: 8px; |
| } |
| .template-btn { |
| padding: 10px; |
| background: var(--bg-3); |
| border: 1px solid var(--border); |
| color: var(--text-1); |
| border-radius: var(--radius); |
| cursor: pointer; |
| text-align: center; |
| font-size: 12px; |
| font-family: var(--font-ui); |
| transition: all 0.15s; |
| } |
| .template-btn:hover { border-color: var(--accent); color: var(--text-0); } |
| .template-btn.selected { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); } |
|
|
| .modal-actions { |
| display: flex; justify-content: flex-end; |
| gap: 8px; margin-top: 20px; |
| } |
| .btn { |
| padding: 7px 14px; |
| border-radius: var(--radius); |
| cursor: pointer; |
| font-size: 13px; |
| font-family: var(--font-ui); |
| border: none; |
| transition: all 0.15s; |
| } |
| .btn-primary { background: var(--accent); color: white; } |
| .btn-primary:hover { background: #6a58e8; } |
| .btn-secondary { |
| background: var(--bg-3); |
| color: var(--text-1); |
| border: 1px solid var(--border); |
| } |
| .btn-secondary:hover { background: var(--bg-4); color: var(--text-0); } |
|
|
| |
| .resizer { |
| width: 4px; |
| background: transparent; |
| cursor: col-resize; |
| flex-shrink: 0; |
| transition: background 0.15s; |
| } |
| .resizer:hover { background: var(--accent); } |
|
|
| |
| .markdown h1, .markdown h2, .markdown h3 { margin: 8px 0 4px; font-weight: 600; } |
| .markdown p { margin: 4px 0; } |
| .markdown code { |
| background: var(--bg-4); |
| padding: 1px 5px; |
| border-radius: 3px; |
| font-family: var(--font-mono); |
| font-size: 11px; |
| } |
| .markdown pre { |
| background: var(--bg-0); |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| padding: 10px; |
| overflow-x: auto; |
| margin: 6px 0; |
| font-family: var(--font-mono); |
| font-size: 11px; |
| } |
| .markdown pre code { background: none; padding: 0; } |
| .markdown ul, .markdown ol { padding-left: 16px; margin: 4px 0; } |
| .markdown li { margin: 2px 0; } |
|
|
| |
| @media (max-width: 768px) { |
| :root { --sidebar-w: 100%; } |
|
|
| .ide { height: 100dvh; } |
|
|
| .main { |
| flex-direction: column; |
| } |
|
|
| .left-panel { |
| width: 100%; |
| max-width: 100%; |
| border-right: none; |
| border-bottom: 1px solid var(--border); |
| display: none; |
| } |
| .left-panel.mobile-active { |
| display: flex; |
| flex: 1; |
| } |
|
|
| .right-panel { |
| display: none; |
| flex: 1; |
| } |
| .right-panel.mobile-active { |
| display: flex; |
| } |
|
|
| .mobile-nav { |
| display: flex !important; |
| height: 52px; |
| background: var(--bg-1); |
| border-top: 1px solid var(--border); |
| flex-shrink: 0; |
| } |
|
|
| .mobile-nav-item { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| gap: 3px; |
| cursor: pointer; |
| color: var(--text-2); |
| font-size: 10px; |
| transition: all 0.15s; |
| padding: 6px 0; |
| } |
| .mobile-nav-item.active { color: var(--accent); } |
| .mobile-nav-item-icon { font-size: 18px; } |
|
|
| .left-tabs { display: none; } |
| .header { padding: 0 10px; } |
| } |
|
|
| .mobile-nav { display: none; } |
|
|
| |
| .empty-state { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| gap: 8px; |
| color: var(--text-2); |
| font-size: 13px; |
| } |
| .empty-icon { font-size: 32px; margin-bottom: 4px; } |
|
|