refactor: archive GUI clients; keep minimal TUI with hooks/API
Move Qt/Tauri/full Web SPA under archive/, ship hermit as CLI/TUI plus libcstcore and cst-webui/1 HTTP+SSE (turn lifecycle hooks, capabilities). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
.root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.root:not([data-expanded]) {
|
||||
contain: size layout;
|
||||
height: calc(24px + var(--dsh-content-font-delta, 0px));
|
||||
}
|
||||
|
||||
.row {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* The uncapped body scrolls with the conversation; keep its collapse toggle
|
||||
reachable. Compact Markdown code banners stay in flow below this header. */
|
||||
.root[data-expanded] [data-open] [data-disclosure-header] {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
background: var(--dsw-alias-bg-base);
|
||||
}
|
||||
|
||||
.leading {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.separator {
|
||||
flex: none;
|
||||
width: 2px;
|
||||
height: 2px;
|
||||
margin: 0 8px;
|
||||
border-radius: 1px;
|
||||
background: var(--dsw-alias-label-caption);
|
||||
}
|
||||
|
||||
/* Think text reads the secondary tier — one step under the body size
|
||||
(setting −1 at ≤14, setting −2 above), shared with every flow-row title
|
||||
and summary. */
|
||||
.summary {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
flex: 1 1 auto;
|
||||
font-size: var(--dsh-content-font-size-secondary, 13px);
|
||||
line-height: calc(20px + var(--dsh-content-font-delta-secondary, 0px));
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.summaryText {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.summary[data-streaming] {
|
||||
mask-image: linear-gradient(to right, black calc(100% - 48px), transparent);
|
||||
}
|
||||
|
||||
.summary[data-streaming] .summaryText {
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
.root:not([data-preview]) .separator,
|
||||
.root:not([data-preview]) .summary {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thinkBody {
|
||||
/* Indent under the title, which starts at leading (16 + delta) + gap 6. */
|
||||
padding: 4px 0 4px calc(22px + var(--dsh-content-font-delta, 0px));
|
||||
min-width: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user