LLeMbas: Sign In / Sign Out run the CLI's own sign-in and say whose it replaces. The chat page tells a screen reader what happens and is operable with the keyboard. New tests: the vscode API used against engines.vscode, signing in against a stand-in lembas, and the LLeMbas CLI itself when its source is at hand. The READMEs, the Neovim help (helptags in the install recipe) and the changelog say what changed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
852 lines
23 KiB
CSS
852 lines
23 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-rows: auto minmax(0, 1fr) auto;
|
|
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; }
|
|
|
|
/* ---- 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: 26px;
|
|
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: 26px;
|
|
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: 24px;
|
|
padding: 0 8px;
|
|
font-size: 0.88em;
|
|
}
|
|
button.mini {
|
|
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 {
|
|
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;
|
|
}
|
|
|
|
/* ---- Settings / Autocomplete Tune Drawer ----------------------------------------------- */
|
|
|
|
.settings-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
background: var(--vscode-editorWidget-background, var(--vscode-sideBar-background));
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
|
font-size: 0.9em;
|
|
}
|
|
.sp-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.sp-label {
|
|
font-size: 0.88em;
|
|
font-weight: 600;
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
.sp-val {
|
|
font-family: var(--vscode-editor-font-family);
|
|
font-size: 0.86em;
|
|
padding: 0 6px;
|
|
border-radius: 99px;
|
|
background: var(--vscode-badge-background);
|
|
color: var(--vscode-badge-foreground);
|
|
}
|
|
.sp-slider {
|
|
width: 100%;
|
|
margin: 0;
|
|
accent-color: var(--vscode-button-background);
|
|
cursor: pointer;
|
|
}
|
|
.sp-presets {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
.preset-btn.active {
|
|
color: var(--vscode-button-foreground);
|
|
background: var(--vscode-button-background);
|
|
border-color: var(--vscode-button-background);
|
|
}
|
|
.sp-grid {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.sp-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.sp-checks {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-top: 2px;
|
|
}
|
|
.sp-check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 0.88em;
|
|
color: var(--vscode-foreground);
|
|
cursor: pointer;
|
|
}
|
|
.sp-check input {
|
|
margin: 0;
|
|
accent-color: var(--vscode-button-background);
|
|
}
|
|
|
|
/* ---- 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: 26px; 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: 26px;
|
|
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;
|
|
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: 26px;
|
|
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; }
|