Changeset 0.21.6 (#92)
This commit is contained in:
@@ -916,6 +916,7 @@ a:hover { text-decoration: underline; }
|
||||
/* ── Input Area ──────────────────────────── */
|
||||
|
||||
.input-area { padding: 0 1rem 1rem; flex-shrink: 0; }
|
||||
.input-area:empty { padding: 0; min-height: 0; }
|
||||
|
||||
/* Token counter below input */
|
||||
.input-meta { display: flex; justify-content: space-between; align-items: center; padding: 2px 12px 0; min-height: 18px; }
|
||||
@@ -1762,15 +1763,39 @@ select option { background: var(--bg-surface); color: var(--text); }
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.mode-btn {
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
width: 32px; height: 32px; border: none;
|
||||
display: flex; align-items: center; gap: 6px;
|
||||
padding: 4px 10px; height: 28px; border: none;
|
||||
border-radius: var(--radius); background: none;
|
||||
color: var(--text-3); cursor: pointer;
|
||||
color: var(--text-3); cursor: pointer; font-size: 12px;
|
||||
transition: background var(--transition), color var(--transition);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.mode-btn svg { flex-shrink: 0; }
|
||||
.mode-btn-label { font-weight: 500; }
|
||||
.mode-btn:hover { background: var(--bg-hover); color: var(--text); }
|
||||
.mode-btn.active { background: var(--bg-active); color: var(--accent); }
|
||||
.sidebar.collapsed .mode-selector { justify-content: center; }
|
||||
.sidebar.collapsed .mode-btn-label { display: none; }
|
||||
.sidebar.collapsed .mode-btn { padding: 4px; width: 28px; justify-content: center; }
|
||||
|
||||
/* ── Sidebar Tabs (v0.21.6) ──────────── */
|
||||
|
||||
.sidebar-tabs {
|
||||
display: flex; padding: 0 8px; gap: 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.sidebar-tab {
|
||||
flex: 1; padding: 6px 0; font-size: 12px; font-weight: 500;
|
||||
background: none; border: none; border-bottom: 2px solid transparent;
|
||||
color: var(--text-3); cursor: pointer;
|
||||
transition: color 0.15s, border-color 0.15s;
|
||||
}
|
||||
.sidebar-tab:hover { color: var(--text-2); }
|
||||
.sidebar-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
|
||||
.sidebar.collapsed .sidebar-tabs { display: none; }
|
||||
.sidebar-tab-panel { flex: 1; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; }
|
||||
.sidebar-files-panel { padding: 0; }
|
||||
|
||||
/* ── REPL Console (v0.21.3) ────────────── */
|
||||
|
||||
@@ -2599,3 +2624,41 @@ select option { background: var(--bg-surface); color: var(--text); }
|
||||
.project-show-archived:hover { color: var(--text-2); }
|
||||
.project-group.archived { opacity: 0.5; }
|
||||
.project-group.archived .project-header { font-style: italic; }
|
||||
|
||||
/* ── Router Workspace Picker (v0.21.6) ──── */
|
||||
|
||||
.router-picker-overlay {
|
||||
position: fixed; inset: 0; z-index: 9999;
|
||||
background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.router-picker {
|
||||
background: var(--bg-primary, #1a1a2e); color: var(--text, #e0e0e0);
|
||||
border: 1px solid var(--border, #333); border-radius: 12px;
|
||||
padding: 24px; min-width: 320px; max-width: 440px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
|
||||
}
|
||||
.router-picker h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
|
||||
.router-picker p { margin: 0 0 16px; font-size: 13px; color: var(--text-2, #999); }
|
||||
.router-picker-list {
|
||||
display: flex; flex-direction: column; gap: 4px;
|
||||
max-height: 280px; overflow-y: auto; margin-bottom: 16px;
|
||||
}
|
||||
.router-picker-empty {
|
||||
padding: 24px; text-align: center; color: var(--text-3, #666); font-size: 13px;
|
||||
}
|
||||
.router-picker-item {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
padding: 10px 12px; border: 1px solid var(--border, #333);
|
||||
border-radius: 8px; background: none; color: var(--text, #e0e0e0);
|
||||
cursor: pointer; font-size: 14px; text-align: left;
|
||||
transition: background 0.15s, border-color 0.15s;
|
||||
}
|
||||
.router-picker-item:hover {
|
||||
background: var(--hover, rgba(255,255,255,0.05));
|
||||
border-color: var(--accent, #6366f1);
|
||||
}
|
||||
.router-picker-icon { font-size: 18px; flex-shrink: 0; }
|
||||
.router-picker-actions {
|
||||
display: flex; gap: 8px; justify-content: flex-end;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user