дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 05:22:23 +02:00
- New Task page: a narrower box with room for a few lines, a lighter heading, and the project, checkout and branch as one quiet line under the box. The agent shows as its icon (name and version in its tooltip); the probe line shows only when the agent fails. - Composer: one + menu for referencing a file, attaching an image and MCP servers; the MCP popover opens from it or /mcp. The current-file chip turns IDE context on and off. - Model and effort: the model button opens one searchable list of model names (pin on hover, context size above it); effort is its own picker beside the model. - Session: the status line moves under the box as one line — branch and worktree on the left, changes, context use, time and terminal on the right; "Ready" is no longer shown.
126 рядки
2.4 KiB
CSS
126 рядки
2.4 KiB
CSS
.home {
|
|
--agent-fs-ui: calc(var(--fs-ui) + var(--agent-font-zoom, 0px));
|
|
--agent-fs-small: calc(var(--fs-small) + var(--agent-font-zoom, 0px));
|
|
--agent-fs-code: calc(var(--fs-code) + var(--agent-font-zoom, 0px));
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px 24px 12vh;
|
|
background: var(--bg-editor);
|
|
color: var(--fg);
|
|
}
|
|
.inner {
|
|
/* A compact block in the middle of the page: narrower than a session's conversation. */
|
|
width: min(680px, 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
}
|
|
.fitWidth .inner {
|
|
width: 100%;
|
|
}
|
|
.heading {
|
|
margin: 0 0 14px;
|
|
font-size: calc(22px + var(--agent-font-zoom, 0px));
|
|
font-weight: 500;
|
|
letter-spacing: -0.01em;
|
|
text-align: center;
|
|
color: var(--fg-strong);
|
|
text-wrap: balance;
|
|
}
|
|
|
|
/* A box to write in, not a search bar: room for a few lines before it grows. */
|
|
.composer :global(.cm-content) {
|
|
min-height: calc(4.5em + 12px);
|
|
}
|
|
|
|
/* Under the box: one quiet group, the project, checkout and branch side by side. */
|
|
.where {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
padding: 0 6px;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.where > button {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
color: inherit;
|
|
font-size: inherit;
|
|
}
|
|
.project {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
height: var(--h-control);
|
|
padding: 0 4px;
|
|
}
|
|
.label {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.projectPicker {
|
|
max-width: 40%;
|
|
}
|
|
|
|
/* The agent shows as its icon only. */
|
|
.agentPicker {
|
|
display: flex;
|
|
flex: none;
|
|
}
|
|
|
|
.note,
|
|
.warning {
|
|
margin: 0;
|
|
padding: 0 4px;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.warning {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.docked {
|
|
justify-content: flex-end;
|
|
padding: 16px 12px 12px;
|
|
}
|
|
.dockedIntro {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 0;
|
|
padding-bottom: 8vh;
|
|
}
|
|
.docked .heading {
|
|
margin: 0;
|
|
font-size: calc(15px + var(--agent-font-zoom, 0px));
|
|
font-weight: 500;
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
.notes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
height: 0;
|
|
}
|
|
.docked .notes {
|
|
height: auto;
|
|
}
|
|
.docked .notes:empty {
|
|
display: none;
|
|
}
|