The side panel is the whole surface: a tab strip over one frame that holds the conversation, the sessions, the models, autocomplete, every setting, the account and the agent's status. Nothing asks through a Quick Pick, an input box, a progress notification or a message with a button any more. - Views inside the panel, with a roving tab strip; the view is kept across a reload. A tab opens its view whole; what is reached from the conversation opens beside it (below in a narrow frame, next to it in a wide one) and closes back to it. - Settings stay the editor's own: one table generated from the manifest, read and written through the configuration API at the level chosen (User or Workspace), shown with where the value comes from, reset there, followed when changed elsewhere. - Sign in and out in the Account view: the address, the code with a button for the approval page, the question whose sign-in is replaced, cancel. - Rewrite and generate ask for their instruction above the composer, show what is being written with a way to stop it, and the changes to answer. - Sessions can be deleted where the CLI can; the Status view keeps the agent's state, versions, last words and what went wrong. - Every message of the page is checked against a schema; a setting write only touches a key of the table with a value of its type and range. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1166 lines
34 KiB
CSS
1166 lines
34 KiB
CSS
/* Every colour is one of the editor's theme variables. */
|
|
html, body { height: 100%; overflow: hidden; }
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: auto minmax(0, 1fr); /* the tab strip, then the one frame everything is in */
|
|
color: var(--vscode-foreground);
|
|
background: var(--vscode-sideBar-background);
|
|
font-family: var(--vscode-font-family);
|
|
font-size: var(--vscode-font-size);
|
|
line-height: 1.5;
|
|
overflow-x: hidden;
|
|
}
|
|
.chrome { min-width: 0; }
|
|
* { box-sizing: border-box; }
|
|
|
|
/* ---- The tab strip --------------------------------------------------------------------- */
|
|
/* Seven equal tracks that give way before the frame does: nothing here has a width of its own. */
|
|
|
|
.tabs {
|
|
min-width: 0;
|
|
background: var(--vscode-sideBarSectionHeader-background, var(--vscode-sideBar-background));
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
}
|
|
.tablist {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 2px;
|
|
padding: 3px 6px 0;
|
|
}
|
|
button.tab {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
height: 30px;
|
|
padding: 0 2px;
|
|
overflow: hidden;
|
|
color: var(--vscode-descriptionForeground);
|
|
background: transparent;
|
|
border: 0;
|
|
border-bottom: 2px solid transparent;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
button.tab:hover {
|
|
color: var(--vscode-foreground);
|
|
background: var(--vscode-toolbar-hoverBackground);
|
|
}
|
|
button.tab[aria-selected="true"] {
|
|
color: var(--vscode-foreground);
|
|
border-bottom-color: var(--vscode-panelTitle-activeBorder, var(--vscode-focusBorder));
|
|
}
|
|
/* The view that is open beside the conversation: marked, not selected. */
|
|
button.tab.is-beside {
|
|
color: var(--vscode-foreground);
|
|
border-bottom-color: var(--vscode-descriptionForeground);
|
|
border-bottom-style: dashed;
|
|
}
|
|
.tab-icon { flex: none; }
|
|
/* Something in the conversation waits for an answer while another view has the frame. */
|
|
button.tab.needs-you {
|
|
color: var(--vscode-editorWarning-foreground);
|
|
border-bottom-color: var(--vscode-editorWarning-foreground);
|
|
}
|
|
/* Too narrow for words: the label stays the tab's name for a screen reader, and its tooltip. */
|
|
.tab-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
@media (min-width: 680px) {
|
|
.tab-label { position: static; width: auto; height: auto; margin: 0; clip: auto; text-overflow: ellipsis; font-size: 0.9em; }
|
|
}
|
|
|
|
/* ---- The frame: one view, or the conversation with one view beside it ------------------- */
|
|
|
|
.stage {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: minmax(0, 1fr);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
.view { min-width: 0; min-height: 0; }
|
|
.chat-view {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
}
|
|
.pane {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
overflow: hidden;
|
|
background: var(--vscode-sideBar-background);
|
|
}
|
|
.pane:focus { outline: none; }
|
|
.stage.split { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
|
|
.stage.split .pane { border-top: 2px solid var(--vscode-panelTitle-activeBorder, var(--vscode-focusBorder)); }
|
|
@media (min-width: 640px) {
|
|
.stage.split {
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
grid-template-rows: minmax(0, 1fr);
|
|
}
|
|
.stage.split .pane {
|
|
border-top: 0;
|
|
border-left: 2px solid var(--vscode-panelTitle-activeBorder, var(--vscode-focusBorder));
|
|
}
|
|
}
|
|
.pane-head {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
min-height: 36px;
|
|
padding: 4px 10px;
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
}
|
|
.pane-title {
|
|
margin: 0;
|
|
font-size: 0.95em;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.pane-close { display: none; }
|
|
.stage.split .pane-close { display: inline-block; }
|
|
.pane-body {
|
|
min-width: 0;
|
|
padding: 10px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
.pane-status {
|
|
margin: 0 0 8px;
|
|
min-height: 1.5em;
|
|
font-size: 0.9em;
|
|
color: var(--vscode-descriptionForeground);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.pane-status.error { color: var(--vscode-errorForeground); }
|
|
.pane-status:empty { display: none; }
|
|
.pane-note {
|
|
margin: 8px 0;
|
|
font-size: 0.88em;
|
|
color: var(--vscode-descriptionForeground);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.pane-note:empty { display: none; }
|
|
.pane-tools {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
gap: 6px;
|
|
margin: 0 0 8px;
|
|
}
|
|
.pane-tools input { grid-column: 1 / -1; margin: 0; }
|
|
.pane-tools button { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
.pane-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
|
|
gap: 6px;
|
|
margin: 4px 0 10px;
|
|
}
|
|
.pane-actions button { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
h3.group {
|
|
margin: 12px 0 8px;
|
|
padding-bottom: 3px;
|
|
font-size: 0.82em;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--vscode-descriptionForeground);
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
}
|
|
.pane-body > h3.group:first-child { margin-top: 0; }
|
|
|
|
/* ---- Forms: every field is label, control, hint, level — on the form's own rows ---------- */
|
|
/* The form is the grid; a field takes four of its rows and hands them on (subgrid), so two
|
|
fields side by side have their labels, controls, hints and levels on the same lines whatever
|
|
the text in either does. A track gives up its minimum before the frame scrolls sideways. */
|
|
|
|
.form {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
|
|
column-gap: 14px;
|
|
row-gap: 0;
|
|
min-width: 0;
|
|
}
|
|
.field {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: subgrid;
|
|
grid-row: span 4;
|
|
min-width: 0;
|
|
padding-bottom: 14px;
|
|
}
|
|
.f-label {
|
|
font-size: 0.92em;
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.f-control {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
align-content: start;
|
|
min-width: 0;
|
|
min-height: 28px;
|
|
margin-top: 3px;
|
|
}
|
|
.f-control input[type="text"], .f-control input[type="number"], .f-control textarea, .pane-body .q-input {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 28px;
|
|
padding: 2px 8px;
|
|
margin: 0;
|
|
color: var(--vscode-input-foreground);
|
|
background: var(--vscode-input-background);
|
|
border: 1px solid var(--vscode-input-border, var(--vscode-panel-border));
|
|
border-radius: 4px;
|
|
}
|
|
.f-control textarea { height: auto; min-height: 64px; resize: vertical; }
|
|
.f-control textarea:focus { outline: 1px solid var(--vscode-focusBorder); outline-offset: -1px; }
|
|
.f-control .mono { font-family: var(--vscode-editor-font-family); }
|
|
.f-control input:invalid { border-color: var(--vscode-inputValidation-errorBorder, var(--vscode-errorForeground)); }
|
|
/* On or off: a switch of a known size, 28 px high. */
|
|
.f-control input[type="checkbox"] {
|
|
appearance: none;
|
|
position: relative;
|
|
width: 48px;
|
|
height: 28px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
background: var(--vscode-input-background);
|
|
border: 1px solid var(--vscode-contrastBorder, var(--vscode-descriptionForeground));
|
|
border-radius: 99px;
|
|
}
|
|
.f-control input[type="checkbox"]::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 99px;
|
|
background: var(--vscode-descriptionForeground);
|
|
}
|
|
.f-control input[type="checkbox"]:checked {
|
|
background: var(--vscode-button-background);
|
|
border-color: var(--vscode-contrastActiveBorder, var(--vscode-button-background));
|
|
}
|
|
.f-control input[type="checkbox"]:checked::before {
|
|
left: 23px;
|
|
background: var(--vscode-button-foreground);
|
|
}
|
|
.f-control input[type="checkbox"]:focus-visible { outline: 1px solid var(--vscode-focusBorder); outline-offset: 2px; }
|
|
.f-hint {
|
|
margin: 4px 0 0;
|
|
font-size: 0.86em;
|
|
color: var(--vscode-descriptionForeground);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.f-key {
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.92em;
|
|
white-space: nowrap;
|
|
}
|
|
.f-level {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 4px 6px;
|
|
align-items: center;
|
|
margin-top: 5px;
|
|
font-size: 0.86em;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.f-level:empty { margin-top: 0; }
|
|
.f-origin { grid-column: 1 / -1; overflow-wrap: anywhere; }
|
|
.f-origin:empty { display: none; }
|
|
.f-fixed { overflow-wrap: anywhere; }
|
|
|
|
/* ---- Lists in a pane: sessions, files, problems ------------------------------------------ */
|
|
|
|
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 6px;
|
|
align-items: center;
|
|
min-height: 40px;
|
|
padding: 3px 6px;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 5px;
|
|
}
|
|
.row.current { border-color: var(--vscode-focusBorder); }
|
|
.row.plain-row { min-height: 0; padding: 5px 8px; font-size: 0.9em; overflow-wrap: anywhere; }
|
|
.row.plain-row.error { color: var(--vscode-errorForeground); }
|
|
button.row-main {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 1px;
|
|
height: auto;
|
|
min-height: 32px;
|
|
min-width: 0;
|
|
padding: 2px 4px;
|
|
text-align: left;
|
|
white-space: normal;
|
|
color: var(--vscode-foreground);
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
button.row-main:hover { background: var(--vscode-list-hoverBackground, var(--vscode-toolbar-hoverBackground)); }
|
|
.row-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.row-detail { font-size: 0.84em; color: var(--vscode-descriptionForeground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.row-buttons { display: flex; gap: 4px; }
|
|
.row[aria-selected="true"] { background: var(--vscode-list-activeSelectionBackground); color: var(--vscode-list-activeSelectionForeground); }
|
|
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr);
|
|
gap: 5px 10px;
|
|
margin: 0 0 8px;
|
|
font-size: 0.92em;
|
|
}
|
|
.facts dt { font-weight: 600; color: var(--vscode-descriptionForeground); overflow-wrap: anywhere; }
|
|
.facts dd { margin: 0; overflow-wrap: anywhere; }
|
|
.facts dd.warn { color: var(--vscode-editorWarning-foreground); }
|
|
.facts dd.error { color: var(--vscode-errorForeground); }
|
|
.stderr { max-height: 16em; overflow: auto; font-size: 0.86em; }
|
|
.stderr:empty::before { content: "Nothing."; color: var(--vscode-descriptionForeground); }
|
|
|
|
/* ---- Account: the steps of a sign-in, as cards ------------------------------------------- */
|
|
|
|
.flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 10px; }
|
|
.flow:empty { display: none; }
|
|
.flow .card .title { font-family: var(--vscode-font-family); }
|
|
.code-big {
|
|
margin: 6px 0;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 1.5em;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
overflow-wrap: anywhere;
|
|
user-select: all;
|
|
}
|
|
|
|
/* ---- What an editor command left to be answered, above the composer ---------------------- */
|
|
|
|
.tasks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 6px; }
|
|
.task {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 5px;
|
|
padding: 7px 8px;
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-left: 3px solid var(--vscode-editorInfo-foreground, var(--vscode-charts-blue));
|
|
border-radius: 5px;
|
|
font-size: 0.92em;
|
|
}
|
|
.task-title { font-weight: 600; overflow-wrap: anywhere; }
|
|
.task-detail { color: var(--vscode-descriptionForeground); overflow-wrap: anywhere; }
|
|
.task .q-input { margin-top: 0; }
|
|
.task-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
|
|
button.linkish {
|
|
height: auto;
|
|
min-height: 28px;
|
|
padding: 0 2px;
|
|
color: var(--vscode-textLink-foreground);
|
|
background: transparent;
|
|
border: 0;
|
|
text-align: left;
|
|
text-decoration: underline;
|
|
white-space: normal;
|
|
}
|
|
button.linkish:hover { color: var(--vscode-textLink-activeForeground); background: transparent; }
|
|
button.model-btn { min-width: 0; padding: 0 8px; text-align: left; }
|
|
.model-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
/* ---- Header bar ------------------------------------------------------------------------ */
|
|
|
|
.bar {
|
|
display: grid;
|
|
grid-template-rows: auto auto;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
background: var(--vscode-sideBarSectionHeader-background, var(--vscode-sideBar-background));
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
}
|
|
.bar-top {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
.brand-logo {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 3px;
|
|
flex: none;
|
|
image-rendering: pixelated;
|
|
}
|
|
.brand-title {
|
|
font-weight: 600;
|
|
font-size: 0.95em;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.bar-btns {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.bar-controls {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
.select-wrap {
|
|
display: grid;
|
|
grid-template-columns: 8px minmax(0, 1fr);
|
|
gap: 5px;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 99px;
|
|
background: var(--vscode-descriptionForeground);
|
|
flex: none;
|
|
}
|
|
.dot.is-ok { background: var(--vscode-testing-iconPassed, var(--vscode-charts-green)); }
|
|
.dot.is-busy {
|
|
background: var(--vscode-progressBar-background, var(--vscode-charts-blue));
|
|
animation: llembas-pulse 1.2s ease-in-out infinite;
|
|
}
|
|
.mode-dot.mode-plan { background: var(--vscode-charts-purple, var(--vscode-editorInfo-foreground)); }
|
|
.mode-dot.mode-manual { background: var(--vscode-charts-yellow, var(--vscode-editorWarning-foreground)); }
|
|
.mode-dot.mode-edit { background: var(--vscode-charts-blue, var(--vscode-editorInfo-foreground)); }
|
|
.mode-dot.mode-auto { background: var(--vscode-charts-green, var(--vscode-testing-iconPassed)); }
|
|
|
|
@keyframes llembas-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.35; }
|
|
}
|
|
|
|
select, button, textarea, input { font: inherit; }
|
|
select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 28px;
|
|
padding: 0 6px;
|
|
color: var(--vscode-dropdown-foreground);
|
|
background: var(--vscode-dropdown-background);
|
|
border: 1px solid var(--vscode-dropdown-border);
|
|
border-radius: 4px;
|
|
}
|
|
button {
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
color: var(--vscode-button-foreground);
|
|
background: var(--vscode-button-background);
|
|
border: 1px solid var(--vscode-button-border, transparent);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
button:hover { background: var(--vscode-button-hoverBackground); }
|
|
button.second {
|
|
color: var(--vscode-button-secondaryForeground);
|
|
background: var(--vscode-button-secondaryBackground);
|
|
}
|
|
button.second:hover { background: var(--vscode-button-secondaryHoverBackground); }
|
|
button.icon-btn {
|
|
height: 28px;
|
|
padding: 0 8px;
|
|
font-size: 0.88em;
|
|
}
|
|
/* Small to look at, 28 px to press: the part outside the drawn button takes the press too. */
|
|
button.mini::after, button.plain::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -4px;
|
|
right: 0;
|
|
bottom: -4px;
|
|
left: 0;
|
|
}
|
|
button.mini {
|
|
position: relative;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
font-size: 0.82em;
|
|
color: var(--vscode-descriptionForeground);
|
|
background: transparent;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 3px;
|
|
}
|
|
button.mini:hover {
|
|
color: var(--vscode-foreground);
|
|
background: var(--vscode-toolbar-hoverBackground);
|
|
}
|
|
button.plain {
|
|
position: relative;
|
|
width: 22px;
|
|
height: 22px;
|
|
padding: 0;
|
|
color: var(--vscode-foreground);
|
|
background: transparent;
|
|
border-color: transparent;
|
|
}
|
|
button.plain:hover { background: var(--vscode-toolbar-hoverBackground); }
|
|
button:disabled, select:disabled { opacity: 0.55; cursor: default; }
|
|
select:focus, button:focus-visible, textarea:focus, input:focus, .link:focus-visible, .file-chip:focus-visible {
|
|
outline: 1px solid var(--vscode-focusBorder);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
/* ---- Subagent / Team strip ------------------------------------------------------------- */
|
|
|
|
.team-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 5px 10px;
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
background: var(--vscode-editorWidget-background, var(--vscode-sideBar-background));
|
|
font-size: 0.85em;
|
|
}
|
|
.team-label {
|
|
font-weight: 600;
|
|
color: var(--vscode-descriptionForeground);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.team-chip {
|
|
padding: 1px 6px;
|
|
border-radius: 99px;
|
|
background: var(--vscode-badge-background);
|
|
color: var(--vscode-badge-foreground);
|
|
}
|
|
|
|
/* ---- Transcript & Empty State ---------------------------------------------------------- */
|
|
|
|
#log {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 10px;
|
|
}
|
|
|
|
.empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
gap: 14px;
|
|
min-height: 100%;
|
|
padding: 16px 8px;
|
|
}
|
|
.hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.hero-logo {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
image-rendering: pixelated;
|
|
}
|
|
.hero-title {
|
|
font-size: 1.15em;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.hero-sub {
|
|
font-size: 0.9em;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.starter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 6px;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
button.starter {
|
|
height: auto;
|
|
min-height: 30px;
|
|
padding: 5px 8px;
|
|
white-space: normal;
|
|
font-size: 0.88em;
|
|
color: var(--vscode-foreground);
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 6px;
|
|
}
|
|
button.starter:hover {
|
|
background: var(--vscode-list-hoverBackground, var(--vscode-toolbar-hoverBackground));
|
|
border-color: var(--vscode-focusBorder);
|
|
}
|
|
.hero-hints {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
.hint-pill {
|
|
padding: 1px 7px;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.82em;
|
|
color: var(--vscode-descriptionForeground);
|
|
background: var(--vscode-textCodeBlock-background);
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 99px;
|
|
}
|
|
|
|
/* ---- Items ----------------------------------------------------------------------------- */
|
|
|
|
.item { margin: 0 0 12px; overflow-wrap: anywhere; }
|
|
.who-row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin: 0 0 3px;
|
|
}
|
|
.who {
|
|
margin: 0 0 3px;
|
|
font-size: 0.82em;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.who-row .who { margin: 0; }
|
|
.badge {
|
|
padding: 0 6px;
|
|
border-radius: 99px;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.8em;
|
|
color: var(--vscode-badge-foreground);
|
|
background: var(--vscode-badge-background);
|
|
}
|
|
|
|
.user .text, .thought .text, .note { white-space: pre-wrap; }
|
|
.user .body {
|
|
padding: 8px 10px;
|
|
background: var(--vscode-input-background);
|
|
border: 1px solid var(--vscode-input-border, var(--vscode-panel-border));
|
|
border-left: 3px solid var(--vscode-button-background);
|
|
border-radius: 6px;
|
|
}
|
|
.agent {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.thought-box {
|
|
padding: 5px 8px;
|
|
border-left: 2px solid var(--vscode-panel-border);
|
|
background: var(--vscode-editorWidget-background, transparent);
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
.thought-summary {
|
|
cursor: pointer;
|
|
font-size: 0.85em;
|
|
font-weight: 600;
|
|
color: var(--vscode-descriptionForeground);
|
|
user-select: none;
|
|
}
|
|
.thought-box .text {
|
|
margin-top: 6px;
|
|
font-size: 0.92em;
|
|
color: var(--vscode-descriptionForeground);
|
|
font-style: italic;
|
|
}
|
|
|
|
.note {
|
|
padding: 5px 8px;
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: 0.9em;
|
|
border-left: 2px solid var(--vscode-panel-border);
|
|
}
|
|
.note.warn {
|
|
color: var(--vscode-editorWarning-foreground);
|
|
border-left-color: var(--vscode-editorWarning-foreground);
|
|
}
|
|
.note.error {
|
|
color: var(--vscode-errorForeground);
|
|
border-left-color: var(--vscode-errorForeground);
|
|
}
|
|
|
|
/* ---- Tool calls & Plans ---------------------------------------------------------------- */
|
|
|
|
.tool {
|
|
display: grid;
|
|
grid-template-columns: 1.5em minmax(0, 1fr);
|
|
gap: 2px;
|
|
padding: 5px 8px;
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 6px;
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: 0.9em;
|
|
}
|
|
.tool .mark { font-weight: 700; text-align: center; }
|
|
.tool.completed .mark { color: var(--vscode-testing-iconPassed, var(--vscode-charts-green)); }
|
|
.tool.failed .mark { color: var(--vscode-testing-iconFailed, var(--vscode-errorForeground)); }
|
|
.tool.denied .mark { color: var(--vscode-editorWarning-foreground); }
|
|
.tool.running .mark {
|
|
color: var(--vscode-progressBar-background, var(--vscode-charts-blue));
|
|
animation: llembas-pulse 1.1s ease-in-out infinite;
|
|
}
|
|
.tool-main { min-width: 0; }
|
|
.tool-head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.tool-kind {
|
|
padding: 0 5px;
|
|
border-radius: 3px;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.8em;
|
|
text-transform: uppercase;
|
|
color: var(--vscode-badge-foreground);
|
|
background: var(--vscode-badge-background);
|
|
}
|
|
.tool .title { color: var(--vscode-foreground); }
|
|
.tool-ms {
|
|
margin-left: auto;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.82em;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.tool .files {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-top: 4px;
|
|
}
|
|
.file-chip {
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.85em;
|
|
color: var(--vscode-textLink-foreground);
|
|
background: var(--vscode-textCodeBlock-background);
|
|
border: 1px solid var(--vscode-panel-border);
|
|
cursor: pointer;
|
|
}
|
|
.file-chip:hover {
|
|
color: var(--vscode-textLink-activeForeground);
|
|
border-color: var(--vscode-textLink-foreground);
|
|
}
|
|
.tool-output { margin-top: 5px; }
|
|
.tool-output-summary {
|
|
cursor: pointer;
|
|
font-size: 0.85em;
|
|
color: var(--vscode-descriptionForeground);
|
|
user-select: none;
|
|
}
|
|
.tool-output pre {
|
|
margin-top: 4px;
|
|
max-height: 14em;
|
|
overflow: auto;
|
|
}
|
|
|
|
.plan {
|
|
padding: 8px 10px;
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-left: 3px solid var(--vscode-charts-blue, var(--vscode-editorInfo-foreground));
|
|
border-radius: 6px;
|
|
font-size: 0.92em;
|
|
}
|
|
.plan-head {
|
|
display: grid;
|
|
grid-template-columns: 1.4em minmax(0, 1fr);
|
|
align-items: center;
|
|
font-weight: 600;
|
|
}
|
|
.plan-progress {
|
|
display: block;
|
|
width: 100%;
|
|
height: 5px;
|
|
margin: 6px 0;
|
|
accent-color: var(--vscode-progressBar-background);
|
|
}
|
|
.plan-entries { margin-top: 4px; display: flex; flex-direction: column; gap: 3px; }
|
|
.plan-entry { display: grid; grid-template-columns: 1.3em minmax(0, 1fr); gap: 3px; color: var(--vscode-descriptionForeground); }
|
|
.plan-entry.completed { opacity: 0.72; }
|
|
.plan-entry.completed .pmark { color: var(--vscode-testing-iconPassed, var(--vscode-charts-green)); }
|
|
.plan-entry.in_progress { color: var(--vscode-foreground); font-weight: 600; }
|
|
.plan-entry.in_progress .pmark { color: var(--vscode-charts-blue, var(--vscode-editorInfo-foreground)); }
|
|
|
|
/* ---- Markdown content ------------------------------------------------------------------ */
|
|
|
|
.md p, .md ul, .md ol, .md pre, .md .code-block, .md .table-wrap, .md blockquote, .md h1, .md h2, .md h3, .md h4, .md h5, .md h6 { margin: 0 0 8px; }
|
|
.md > :last-child { margin-bottom: 0; }
|
|
.md .plain { white-space: pre-wrap; }
|
|
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 { font-size: 1em; font-weight: 700; margin-top: 10px; }
|
|
.md h1 { font-size: 1.2em; padding-bottom: 3px; border-bottom: 1px solid var(--vscode-panel-border); }
|
|
.md h2 { font-size: 1.1em; }
|
|
.md ul, .md ol { padding-left: 1.5em; }
|
|
.md li { margin-bottom: 2px; }
|
|
.md li.task-item { list-style: none; margin-left: -1.2em; }
|
|
.md li.task-item.checked { color: var(--vscode-descriptionForeground); }
|
|
.md li.depth-1 { margin-left: 1.2em; }
|
|
.md li.depth-2 { margin-left: 2.4em; }
|
|
.md li.depth-3 { margin-left: 3.6em; }
|
|
.md li.depth-4 { margin-left: 4.8em; }
|
|
.md li.depth-5 { margin-left: 6em; }
|
|
.md blockquote {
|
|
padding: 4px 8px;
|
|
border-left: 3px solid var(--vscode-textBlockQuote-border);
|
|
background: var(--vscode-textBlockQuote-background);
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
.md hr { border: 0; border-top: 1px solid var(--vscode-panel-border); margin: 10px 0; }
|
|
|
|
code, pre {
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: var(--vscode-editor-font-size);
|
|
}
|
|
.md code {
|
|
background: var(--vscode-textCodeBlock-background);
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
}
|
|
.md code.file-ref {
|
|
color: var(--vscode-textLink-foreground);
|
|
cursor: pointer;
|
|
}
|
|
.md code.file-ref:hover { text-decoration: underline; }
|
|
|
|
.code-block {
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
background: var(--vscode-textCodeBlock-background);
|
|
}
|
|
.code-head {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 8px;
|
|
background: var(--vscode-editorWidget-background, var(--vscode-sideBar-background));
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
}
|
|
.code-lang {
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.8em;
|
|
color: var(--vscode-descriptionForeground);
|
|
text-transform: lowercase;
|
|
}
|
|
.code-tools { display: flex; gap: 4px; }
|
|
.code-block pre {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
pre {
|
|
margin: 0;
|
|
padding: 8px 10px;
|
|
overflow-x: auto; /* a wide line scrolls here, never the view */
|
|
white-space: pre;
|
|
background: var(--vscode-textCodeBlock-background);
|
|
border-radius: 5px;
|
|
}
|
|
.md pre code { background: transparent; padding: 0; cursor: text; color: inherit; }
|
|
|
|
/* ---- GFM Tables ------------------------------------------------------------------------ */
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 5px;
|
|
}
|
|
.table-wrap table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.92em;
|
|
}
|
|
.table-wrap th, .table-wrap td {
|
|
padding: 5px 8px;
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
border-right: 1px solid var(--vscode-panel-border);
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
.table-wrap th:last-child, .table-wrap td:last-child { border-right: 0; }
|
|
.table-wrap tr:last-child td { border-bottom: 0; }
|
|
.table-wrap thead th {
|
|
font-weight: 600;
|
|
background: var(--vscode-editorWidget-background, var(--vscode-textCodeBlock-background));
|
|
}
|
|
.table-wrap .align-center { text-align: center; }
|
|
.table-wrap .align-right { text-align: right; }
|
|
|
|
.link {
|
|
color: var(--vscode-textLink-foreground);
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
.link:hover { color: var(--vscode-textLink-activeForeground); }
|
|
|
|
/* ---- Interactive Cards (Approval, Question, Plan) -------------------------------------- */
|
|
|
|
.card {
|
|
padding: 10px;
|
|
border: 1px solid var(--vscode-inputValidation-warningBorder, var(--vscode-panel-border));
|
|
border-left: 3px solid var(--vscode-inputValidation-warningBorder, var(--vscode-editorWarning-foreground));
|
|
background: var(--vscode-inputValidation-warningBackground, var(--vscode-editorWidget-background));
|
|
border-radius: 6px;
|
|
}
|
|
.card.info-card {
|
|
border-color: var(--vscode-inputValidation-infoBorder, var(--vscode-panel-border));
|
|
border-left-color: var(--vscode-editorInfo-foreground, var(--vscode-charts-blue));
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
}
|
|
.card.plan-approval {
|
|
border-color: var(--vscode-panel-border);
|
|
border-left-color: var(--vscode-testing-iconPassed, var(--vscode-charts-green));
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
}
|
|
.card.closed {
|
|
border-color: var(--vscode-panel-border);
|
|
border-left-color: var(--vscode-panel-border);
|
|
background: transparent;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.card .title { white-space: pre-wrap; font-family: var(--vscode-editor-font-family); font-weight: 600; margin: 2px 0 4px; }
|
|
.card .reason { font-size: 0.9em; margin: 0 0 6px; color: var(--vscode-descriptionForeground); }
|
|
.card pre { margin: 0 0 6px; max-height: 16em; overflow: auto; }
|
|
.card .plan-md {
|
|
max-height: 22em;
|
|
overflow: auto;
|
|
padding: 8px;
|
|
margin: 4px 0 8px;
|
|
background: var(--vscode-editor-background, var(--vscode-sideBar-background));
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 5px;
|
|
}
|
|
.card .buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
|
|
.q-block { margin: 0 0 10px; }
|
|
.q-header { font-size: 0.82em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--vscode-descriptionForeground); }
|
|
.q-options { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 6px; }
|
|
.q-opt { height: auto; min-height: 28px; padding: 3px 9px; white-space: normal; text-align: left; }
|
|
.q-input {
|
|
display: block;
|
|
width: 100%;
|
|
height: 28px;
|
|
padding: 2px 8px;
|
|
margin-top: 4px;
|
|
color: var(--vscode-input-foreground);
|
|
background: var(--vscode-input-background);
|
|
border: 1px solid var(--vscode-input-border, var(--vscode-panel-border));
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* ---- Media ----------------------------------------------------------------------------- */
|
|
|
|
.media img {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: 60vh;
|
|
height: auto;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
.media .caption {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 6px;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
margin-top: 4px;
|
|
font-size: 0.9em;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.media .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
/* ---- Composer Footer ------------------------------------------------------------------- */
|
|
|
|
footer {
|
|
padding: 8px 10px 10px;
|
|
border-top: 1px solid var(--vscode-panel-border);
|
|
background: var(--vscode-sideBar-background);
|
|
position: relative;
|
|
}
|
|
.popup {
|
|
max-height: 190px;
|
|
overflow-y: auto;
|
|
margin-bottom: 6px;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
background: var(--vscode-editorSuggestWidget-background, var(--vscode-editorWidget-background));
|
|
border-radius: 5px;
|
|
}
|
|
.popup-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
font-size: 0.9em;
|
|
}
|
|
.popup-row.active, .popup-row:hover {
|
|
background: var(--vscode-list-activeSelectionBackground);
|
|
color: var(--vscode-list-activeSelectionForeground);
|
|
}
|
|
.popup-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
.popup-badge {
|
|
padding: 0 4px;
|
|
border-radius: 3px;
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.78em;
|
|
text-transform: uppercase;
|
|
background: var(--vscode-badge-background);
|
|
color: var(--vscode-badge-foreground);
|
|
flex: none;
|
|
}
|
|
.popup-label {
|
|
font-family: var(--vscode-editor-font-family);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.popup-detail {
|
|
opacity: 0.8;
|
|
font-size: 0.88em;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 140px;
|
|
}
|
|
|
|
.attached {
|
|
display: grid;
|
|
min-height: 28px;
|
|
grid-template-columns: minmax(0, 1fr) 22px;
|
|
gap: 4px;
|
|
align-items: center;
|
|
padding: 2px 4px 2px 8px;
|
|
margin-bottom: 6px;
|
|
border: 1px solid var(--vscode-panel-border);
|
|
background: var(--vscode-editorWidget-background, var(--vscode-input-background));
|
|
border-radius: 4px;
|
|
font-size: 0.88em;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.attached-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
.composer {
|
|
border: 1px solid var(--vscode-input-border, var(--vscode-panel-border));
|
|
background: var(--vscode-input-background);
|
|
border-radius: 6px;
|
|
padding: 6px;
|
|
}
|
|
.composer:focus-within {
|
|
border-color: var(--vscode-focusBorder);
|
|
}
|
|
textarea {
|
|
display: block;
|
|
width: 100%;
|
|
resize: none;
|
|
padding: 2px 4px;
|
|
color: var(--vscode-input-foreground);
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
textarea:focus { outline: none; }
|
|
textarea::placeholder { color: var(--vscode-input-placeholderForeground); }
|
|
|
|
.send {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 6px;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
margin-top: 6px;
|
|
padding-top: 6px;
|
|
border-top: 1px solid var(--vscode-panel-border);
|
|
}
|
|
.left-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
.working {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 0.88em;
|
|
color: var(--vscode-descriptionForeground);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.pulse-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 99px;
|
|
background: var(--vscode-progressBar-background, var(--vscode-charts-blue));
|
|
animation: llembas-pulse 1.1s ease-in-out infinite;
|
|
flex: none;
|
|
}
|
|
.usage {
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.8em;
|
|
color: var(--vscode-descriptionForeground);
|
|
white-space: nowrap;
|
|
}
|
|
.actions { display: flex; gap: 4px; }
|
|
[hidden] { display: none !important; }
|
|
|
|
/* Read by a screen reader, not drawn. */
|
|
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
.note .note-action { margin-left: 8px; }
|
|
.md code.file-ref:focus-visible, .file-chip:focus-visible, .link:focus-visible { outline: 1px solid var(--vscode-focusBorder); outline-offset: 1px; }
|
|
|
|
/* ---- High contrast, and no motion where none is wanted ----------------------------------- */
|
|
|
|
.vscode-high-contrast button.tab[aria-selected="true"], .vscode-high-contrast-light button.tab[aria-selected="true"] {
|
|
outline: 1px solid var(--vscode-contrastActiveBorder);
|
|
outline-offset: -2px;
|
|
}
|
|
.vscode-high-contrast .row, .vscode-high-contrast .task, .vscode-high-contrast-light .row, .vscode-high-contrast-light .task {
|
|
border-color: var(--vscode-contrastBorder);
|
|
}
|
|
button.tab:focus-visible { outline: 1px solid var(--vscode-focusBorder); outline-offset: -2px; }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
|
|
}
|