Files
SycunandCursor cd1fa6dd50 feat(frontend): migrate remaining workspace pages onto Semi Design
Bring chat, HITL, tool guard, info collect, tasks, workflows, WebShell,
MCP management and the full C2 suite into the Semi workspace so the
default UI no longer depends on classic page redirects for day-to-day
operations. Deep assessment stays on the stacked assessment PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 22:35:29 +08:00

2 lines
5.1 KiB
CSS

.webshell-page{flex-direction:column;gap:12px;display:flex}.webshell-layout{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:12px;display:grid}.webshell-sidebar{border:1px solid var(--semi-color-border);background:var(--semi-color-bg-1);border-radius:8px;flex-direction:column;gap:8px;min-height:520px;padding:12px;display:flex}.webshell-sidebar-head{justify-content:space-between;align-items:center;display:flex}.webshell-conn-list{flex-direction:column;gap:6px;max-height:620px;display:flex;overflow-y:auto}.webshell-conn-loading{justify-content:center;padding:24px 0;display:flex}.webshell-conn-empty{padding:12px 4px;line-height:1.6}.webshell-conn-item{text-align:left;cursor:pointer;color:inherit;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.webshell-conn-item:hover{background:var(--semi-color-fill-0)}.webshell-conn-item.is-active{border-color:var(--semi-color-primary);background:var(--semi-color-primary-light-default)}.webshell-conn-url{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.webshell-conn-meta{flex-wrap:wrap;gap:6px;display:flex}.webshell-main{border:1px solid var(--semi-color-border);background:var(--semi-color-bg-1);border-radius:8px;min-height:520px;padding:12px}.webshell-workspace{flex-direction:column;gap:10px;display:flex}.webshell-workspace-head{border-bottom:1px solid var(--semi-color-border);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:8px;display:flex}.webshell-workspace-title{flex-direction:column;gap:6px;min-width:0;display:flex}.webshell-workspace-url{max-width:640px}.webshell-terminal{flex-direction:column;gap:8px;display:flex}.webshell-terminal-bar{justify-content:space-between;align-items:center;display:flex}.webshell-terminal-log{background:var(--semi-color-fill-0);border:1px solid var(--semi-color-border);border-radius:6px;height:360px;padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;overflow:auto}.webshell-terminal-welcome{color:var(--semi-color-text-2);margin-bottom:8px}.webshell-terminal-line{white-space:pre-wrap;word-break:break-all;margin:0;line-height:1.5}.webshell-terminal-line.kind-cmd{color:var(--semi-color-primary)}.webshell-terminal-line.kind-err{color:var(--semi-color-danger)}.webshell-terminal-pending{color:var(--semi-color-warning)}.webshell-terminal-input{gap:8px;display:flex}.webshell-files{flex-direction:column;gap:8px;display:flex}.webshell-file-toolbar{justify-content:space-between;align-items:center;display:flex}.webshell-file-pathbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.webshell-file-path-input{flex:1;min-width:260px}.webshell-file-filter{max-width:200px}.webshell-breadcrumb{flex-wrap:wrap;align-items:center;gap:2px;font-size:12px;display:flex}.webshell-breadcrumb-item button{cursor:pointer;color:var(--semi-color-link);background:0 0;border:none;padding:2px 4px}.webshell-breadcrumb-sep{color:var(--semi-color-text-3)}.webshell-file-name{cursor:pointer;color:var(--semi-color-link);text-align:left;background:0 0;border:none;padding:0}.webshell-file-name.is-dir{font-weight:600}.webshell-editor-path{margin-bottom:8px}.webshell-editor-area textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.webshell-history{flex-direction:column;gap:8px;display:flex}.webshell-history-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.webshell-history-cmd{word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.webshell-ai{grid-template-columns:240px minmax(0,1fr);gap:12px;display:grid}.webshell-ai-sidebar{border-right:1px solid var(--semi-color-border);min-height:300px;padding-right:10px}.webshell-ai-sidebar-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.webshell-ai-list{flex-direction:column;gap:4px;max-height:460px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.webshell-ai-item{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;gap:2px;padding:6px 8px;display:flex}.webshell-ai-item:hover{background:var(--semi-color-fill-0)}.webshell-ai-item.is-active{border-color:var(--semi-color-primary);background:var(--semi-color-primary-light-default)}.webshell-ai-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.webshell-ai-time{color:var(--semi-color-text-2);font-size:11px}.webshell-ai-main{flex-direction:column;gap:10px;max-height:520px;display:flex;overflow-y:auto}.webshell-ai-loading{justify-content:center;padding:24px 0;display:flex}.webshell-ai-message{border:1px solid var(--semi-color-border);border-radius:6px;padding:10px}.webshell-ai-message-head{align-items:center;gap:8px;margin-bottom:6px;display:flex}.webshell-form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (max-width:1100px){.webshell-layout,.webshell-ai{grid-template-columns:1fr}.webshell-ai-sidebar{border-right:none;border-bottom:1px solid var(--semi-color-border);padding-bottom:8px;padding-right:0}.webshell-form-row{grid-template-columns:1fr}}