| |
| .layout { |
| display: flex; |
| width: 100%; |
| height: 100dvh; |
| overflow: hidden; |
| background: var(--bg-base); |
| color: var(--text-primary); |
| transition: background 0.2s, color 0.2s; |
| } |
|
|
| |
| .sidebar { |
| width: 260px; |
| flex-shrink: 0; |
| background: var(--bg-sidebar); |
| border-right: 1px solid var(--border); |
| display: flex; |
| flex-direction: column; |
| padding: 20px 14px 16px; |
| gap: 20px; |
| overflow-y: auto; |
| } |
|
|
| .sidebar-logo { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| padding: 0 6px; |
| } |
|
|
| .logo-bolt { |
| font-size: 20px; |
| filter: sepia(1) saturate(5) hue-rotate(5deg) brightness(1.1); |
| } |
|
|
| .logo-text { |
| font-size: 17px; |
| font-weight: 600; |
| color: var(--text-primary); |
| letter-spacing: -0.3px; |
| } |
|
|
| |
| .new-chat-btn { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| padding: 10px 14px; |
| background: var(--bg-card); |
| border: 1px solid var(--border-light); |
| border-radius: var(--radius); |
| color: var(--text-secondary); |
| font-size: 13px; |
| font-weight: 500; |
| transition: all 0.15s; |
| } |
|
|
| .new-chat-btn:hover { |
| border-color: var(--accent); |
| color: var(--accent); |
| } |
|
|
| |
| .sidebar-section { flex: 1; } |
|
|
| .sidebar-label { |
| font-size: 10px; |
| font-weight: 600; |
| letter-spacing: 1px; |
| text-transform: uppercase; |
| color: var(--text-muted); |
| margin-bottom: 12px; |
| padding: 0 6px; |
| } |
|
|
| |
| .pipeline { |
| display: flex; |
| flex-direction: column; |
| padding: 0 2px; |
| } |
|
|
| .pipeline-item { |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| .pipeline-step { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| padding: 6px 6px; |
| border-radius: var(--radius-sm); |
| transition: background 0.15s; |
| } |
|
|
| .pipeline-step:hover { |
| background: var(--bg-card); |
| } |
|
|
| .step-icon { |
| width: 34px; |
| height: 34px; |
| border-radius: 8px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| flex-shrink: 0; |
| } |
|
|
| .step-info { |
| display: flex; |
| flex-direction: column; |
| gap: 1px; |
| min-width: 0; |
| } |
|
|
| .step-label { |
| font-size: 13px; |
| font-weight: 600; |
| color: var(--text-primary); |
| } |
|
|
| .step-model { |
| font-size: 11px; |
| color: var(--text-muted); |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .pipeline-connector { |
| width: 1px; |
| height: 14px; |
| background: var(--border-light); |
| margin-left: 22px; |
| } |
|
|
| |
| .dataset-card { |
| background: var(--bg-card); |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| padding: 12px 14px; |
| display: flex; |
| flex-direction: column; |
| gap: 8px; |
| } |
|
|
| .dataset-header { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| font-size: 10px; |
| font-weight: 600; |
| letter-spacing: 1px; |
| text-transform: uppercase; |
| color: var(--text-muted); |
| } |
|
|
| .dataset-name { |
| font-family: ui-monospace, Consolas, monospace; |
| font-size: 13px; |
| font-weight: 600; |
| color: var(--text-primary); |
| } |
|
|
| .dataset-tags { |
| display: flex; |
| gap: 6px; |
| flex-wrap: wrap; |
| } |
|
|
| .dataset-tag { |
| font-size: 11px; |
| padding: 2px 8px; |
| background: var(--bg-base); |
| border: 1px solid var(--border-light); |
| border-radius: var(--radius-full); |
| color: var(--text-secondary); |
| } |
|
|
| .dataset-source { |
| font-size: 11px; |
| color: var(--text-muted); |
| } |
|
|
| |
| .sidebar-footer { |
| display: flex; |
| flex-direction: column; |
| gap: 8px; |
| padding: 0 4px; |
| } |
|
|
| .dark-toggle { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 8px 10px; |
| background: var(--bg-card); |
| border: 1px solid var(--border); |
| border-radius: var(--radius-sm); |
| color: var(--text-secondary); |
| font-size: 13px; |
| transition: all 0.15s; |
| width: 100%; |
| } |
|
|
| .dark-toggle:hover { |
| border-color: var(--border-light); |
| color: var(--text-primary); |
| } |
|
|
| .toggle-left { |
| display: flex; |
| align-items: center; |
| gap: 7px; |
| } |
|
|
| .toggle-right { |
| font-size: 11px; |
| color: var(--text-muted); |
| } |
|
|
| .model-badge { |
| display: flex; |
| align-items: center; |
| gap: 7px; |
| font-size: 12px; |
| font-weight: 500; |
| color: var(--text-secondary); |
| } |
|
|
| .model-dot { |
| width: 7px; |
| height: 7px; |
| border-radius: 50%; |
| background: #22c55e; |
| box-shadow: 0 0 6px #22c55e; |
| flex-shrink: 0; |
| } |
|
|
| .sidebar-sub { |
| font-size: 11px; |
| color: var(--text-muted); |
| } |
|
|
| |
| .chat-main { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| min-width: 0; |
| } |
|
|
| .messages-area { |
| flex: 1; |
| overflow-y: auto; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| |
| .welcome { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| padding: 40px 24px; |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .welcome-glow { |
| position: absolute; |
| top: 20%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| width: 500px; |
| height: 500px; |
| background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 65%); |
| pointer-events: none; |
| } |
|
|
| .welcome-bolt { |
| font-size: 52px; |
| margin-bottom: 18px; |
| filter: sepia(1) saturate(5) hue-rotate(5deg) brightness(1.1); |
| position: relative; |
| } |
|
|
| .welcome-title { |
| font-size: 40px; |
| font-weight: 700; |
| letter-spacing: -1.5px; |
| color: var(--text-primary); |
| margin-bottom: 10px; |
| } |
|
|
| .welcome-sub { |
| font-size: 15px; |
| color: var(--text-secondary); |
| margin-bottom: 36px; |
| } |
|
|
| .suggestions { |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| width: 100%; |
| max-width: 560px; |
| } |
|
|
| .suggestion { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| background: var(--bg-card); |
| border: 1px solid var(--border); |
| color: var(--text-primary); |
| border-radius: var(--radius); |
| padding: 14px 18px; |
| font-size: 14px; |
| text-align: left; |
| transition: all 0.15s; |
| } |
|
|
| .suggestion:hover { |
| border-color: var(--accent); |
| background: rgba(249, 115, 22, 0.06); |
| } |
|
|
| .suggestion-icon { |
| color: var(--accent); |
| flex-shrink: 0; |
| } |
|
|
| |
| .messages { |
| display: flex; |
| flex-direction: column; |
| gap: 24px; |
| max-width: 780px; |
| margin: 0 auto; |
| padding: 28px 28px 8px; |
| width: 100%; |
| } |
|
|
| .msg-row { |
| display: flex; |
| align-items: flex-start; |
| gap: 12px; |
| animation: fadeUp 0.2s ease; |
| } |
|
|
| .msg-row--user { flex-direction: row-reverse; } |
|
|
| @keyframes fadeUp { |
| from { opacity: 0; transform: translateY(8px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
|
|
| |
| .avatar { |
| width: 34px; |
| height: 34px; |
| border-radius: 50%; |
| flex-shrink: 0; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-size: 12px; |
| font-weight: 600; |
| } |
|
|
| .avatar--bot { |
| background: linear-gradient(135deg, #f97316, #ea580c); |
| color: #fff; |
| } |
|
|
| .avatar--user { |
| background: var(--bg-card); |
| border: 1px solid var(--border); |
| color: var(--text-secondary); |
| font-size: 10px; |
| } |
|
|
| |
| .bubble { |
| border-radius: var(--radius); |
| padding: 12px 16px; |
| font-size: 14px; |
| line-height: 1.7; |
| max-width: 620px; |
| word-break: break-word; |
| } |
|
|
| .bubble--user { |
| background: var(--user-bubble); |
| color: #fff; |
| border-bottom-right-radius: 4px; |
| } |
|
|
| .bubble--assistant { |
| background: var(--bg-card); |
| border: 1px solid var(--border); |
| color: var(--text-primary); |
| border-bottom-left-radius: 4px; |
| } |
|
|
| .bubble--error { |
| border-color: rgba(239, 68, 68, 0.4); |
| color: #fca5a5; |
| } |
|
|
| |
| .typing-dot { |
| display: inline-block; |
| width: 7px; |
| height: 7px; |
| border-radius: 50%; |
| background: var(--text-muted); |
| margin: 0 2px; |
| animation: bounce 1.2s infinite; |
| } |
| .typing-dot:nth-child(2) { animation-delay: 0.2s; } |
| .typing-dot:nth-child(3) { animation-delay: 0.4s; } |
|
|
| @keyframes bounce { |
| 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } |
| 40% { transform: translateY(-5px); opacity: 1; } |
| } |
|
|
| |
| .assistant-content { |
| display: flex; |
| flex-direction: column; |
| gap: 8px; |
| min-width: 0; |
| } |
|
|
| .confirm-actions { display: flex; gap: 8px; margin-top: 10px; } |
|
|
| .confirm-btn { |
| padding: 6px 20px; |
| border-radius: 6px; |
| border: none; |
| font-size: 13px; |
| font-weight: 600; |
| cursor: pointer; |
| transition: opacity 0.15s; |
| } |
| .confirm-btn:hover { opacity: 0.85; } |
| .confirm-btn--yes { background: #059669; color: #fff; } |
| .confirm-btn--no { background: #dc2626; color: #fff; } |
|
|
| .sources { display: flex; flex-direction: column; gap: 6px; } |
|
|
| .sources-label { |
| font-size: 10px; |
| font-weight: 600; |
| letter-spacing: 0.8px; |
| text-transform: uppercase; |
| color: var(--text-muted); |
| } |
|
|
| .sources-list { display: flex; flex-wrap: wrap; gap: 6px; } |
|
|
| .source-tag { |
| display: inline-flex; |
| align-items: center; |
| gap: 5px; |
| background: rgba(249, 115, 22, 0.1); |
| border: 1px solid rgba(249, 115, 22, 0.3); |
| color: var(--accent-light); |
| border-radius: var(--radius-full); |
| padding: 3px 10px; |
| font-size: 12px; |
| } |
|
|
| |
| .input-wrapper { |
| padding: 12px 28px 18px; |
| max-width: 780px; |
| margin: 0 auto; |
| width: 100%; |
| } |
|
|
| .input-box { |
| display: flex; |
| align-items: flex-end; |
| gap: 10px; |
| background: var(--bg-input); |
| border: 1px solid var(--border-light); |
| border-radius: var(--radius-full); |
| padding: 10px 10px 10px 20px; |
| transition: border-color 0.15s, box-shadow 0.15s; |
| } |
|
|
| .input-box:focus-within { |
| border-color: var(--accent); |
| box-shadow: 0 0 0 3px rgba(249,115,22,0.12); |
| } |
|
|
| .input-textarea { |
| flex: 1; |
| background: transparent; |
| border: none; |
| outline: none; |
| color: var(--text-primary); |
| font-size: 14px; |
| line-height: 1.6; |
| max-height: 140px; |
| overflow-y: auto; |
| } |
|
|
| .input-textarea::placeholder { color: var(--text-muted); } |
| .input-textarea:disabled { opacity: 0.5; } |
|
|
| .send-btn { |
| width: 36px; |
| height: 36px; |
| border-radius: var(--radius-full); |
| background: var(--bg-card); |
| color: var(--text-muted); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| flex-shrink: 0; |
| transition: all 0.15s; |
| } |
|
|
| .send-btn--active { |
| background: var(--accent); |
| color: #fff; |
| } |
|
|
| .send-btn--active:hover { background: var(--accent-hover); } |
| .send-btn:disabled { opacity: 0.4; cursor: not-allowed; } |
|
|
| .input-hint { |
| text-align: center; |
| font-size: 11px; |
| color: var(--text-muted); |
| margin-top: 8px; |
| } |
|
|