1291 lines
23 KiB
CSS
1291 lines
23 KiB
CSS
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
font-size: 14px;
|
|
color: #e6e3df;
|
|
background: #1c1c1c;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
min-width: 640px;
|
|
min-height: 520px;
|
|
background: transparent;
|
|
}
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
button {
|
|
border: 0;
|
|
border-radius: 5px;
|
|
padding: 6px 9px;
|
|
background: #f0a347;
|
|
color: #25180b;
|
|
font-weight: 750;
|
|
cursor: pointer;
|
|
}
|
|
button:hover {
|
|
background: #ffc170;
|
|
}
|
|
button:disabled {
|
|
opacity: 0.6;
|
|
cursor: wait;
|
|
}
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
textarea:focus-visible,
|
|
select:focus-visible {
|
|
outline: 3px solid #f0a347;
|
|
outline-offset: 2px;
|
|
}
|
|
.quiet {
|
|
background: #363b43;
|
|
color: #d9dce1;
|
|
}
|
|
.danger {
|
|
background: #59333b;
|
|
color: #ffd7db;
|
|
}
|
|
.muted {
|
|
color: #9299a6;
|
|
}
|
|
.app-shell {
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 9px;
|
|
border: 1px solid #4b4b4b;
|
|
border-radius: 8px;
|
|
background: rgba(34, 34, 34, 0.98);
|
|
}
|
|
.workflow-header {
|
|
display: flex;
|
|
min-height: 24px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
cursor: grab;
|
|
}
|
|
.workspace-heading {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
.brand {
|
|
color: #f0a347;
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.16em;
|
|
}
|
|
.workflow-header h1 {
|
|
overflow: hidden;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.workflow-header > button {
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
}
|
|
.working-pulse {
|
|
width: 7px;
|
|
height: 7px;
|
|
flex: 0 0 auto;
|
|
border-radius: 50%;
|
|
background: #f0a347;
|
|
box-shadow: 0 0 0 0 rgba(240, 163, 71, 0.7);
|
|
animation: work-pulse 1.35s ease-out infinite;
|
|
}
|
|
.workspace-warning {
|
|
padding: 6px 8px;
|
|
border: 1px solid #8c713c;
|
|
border-radius: 5px;
|
|
background: #302817;
|
|
color: #f2cf86;
|
|
font-size: 13px;
|
|
}
|
|
.workspace-warning.collision {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
border-color: #a85b4d;
|
|
background: #35211e;
|
|
color: #ffc0b4;
|
|
}
|
|
.warning-dismiss {
|
|
flex: 0 0 auto;
|
|
padding: 4px 8px;
|
|
}
|
|
.command-error {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 6px 8px;
|
|
border: 1px solid #a65b67;
|
|
border-radius: 5px;
|
|
background: #3d252b;
|
|
color: #ffd7db;
|
|
font-size: 13px;
|
|
}
|
|
.workspace-layout {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: 178px minmax(0, 1fr);
|
|
gap: 6px;
|
|
}
|
|
.directory-sidebar {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
border: 1px solid #484848;
|
|
border-radius: 6px;
|
|
background: #292929;
|
|
padding: 5px;
|
|
}
|
|
.sidebar-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 4px;
|
|
color: #bbb7b0;
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
}
|
|
.sidebar-heading button {
|
|
padding: 3px 8px;
|
|
}
|
|
.directory-row {
|
|
display: flex;
|
|
gap: 2px;
|
|
margin-bottom: 2px;
|
|
}
|
|
.directory-select {
|
|
min-width: 0;
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 1px 4px;
|
|
text-align: left;
|
|
background: #353535;
|
|
color: #e3dfd8;
|
|
}
|
|
.directory-select span:first-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.directory-select small {
|
|
grid-row: 2;
|
|
color: #9099a7;
|
|
font-size: 10px;
|
|
}
|
|
.directory-row.selected .directory-select {
|
|
background: #403a33;
|
|
color: #fff5e7;
|
|
box-shadow: inset 3px 0 #f0a347;
|
|
}
|
|
.directory-badges {
|
|
display: flex;
|
|
gap: 3px;
|
|
}
|
|
.directory-badges b {
|
|
border-radius: 999px;
|
|
padding: 1px 4px;
|
|
font-size: 9px;
|
|
}
|
|
.directory-badges .attention {
|
|
background: #6f5220;
|
|
color: #ffe3a3;
|
|
}
|
|
.directory-badges .error {
|
|
background: #672d2d;
|
|
color: #ffcaca;
|
|
}
|
|
.forget-directory {
|
|
padding: 4px 7px;
|
|
background: #2a303a;
|
|
color: #b8c1cd;
|
|
}
|
|
.session-area {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
.session-strip {
|
|
display: block;
|
|
min-width: 0;
|
|
}
|
|
.session-tab-bar {
|
|
display: flex;
|
|
align-items: end;
|
|
min-width: 0;
|
|
border-bottom: 1px solid #55585d;
|
|
}
|
|
.session-tabs {
|
|
min-width: 0;
|
|
flex: 0 1 auto;
|
|
display: flex;
|
|
overflow-x: auto;
|
|
gap: 4px;
|
|
padding-left: 4px;
|
|
}
|
|
.session-tab {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 28px 28px;
|
|
align-items: stretch;
|
|
flex: 0 0 auto;
|
|
overflow: hidden;
|
|
border: 1px solid #555;
|
|
border-bottom: 0;
|
|
border-radius: 7px 7px 0 0;
|
|
background: #303136;
|
|
}
|
|
.session-tab.selected {
|
|
border-color: #d88735;
|
|
background: #3b3935;
|
|
box-shadow: inset 0 2px #f0a347;
|
|
}
|
|
.session-tab > button[role="tab"] {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
min-width: 112px;
|
|
max-width: 176px;
|
|
padding: 6px 9px 5px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #d5d7dc;
|
|
text-align: left;
|
|
}
|
|
.session-tab > button[role="tab"]:hover {
|
|
background: #383a40;
|
|
}
|
|
.session-tab.selected > button[role="tab"] {
|
|
color: #fff5e7;
|
|
}
|
|
.session-tab > button span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.session-tab small {
|
|
grid-row: 2;
|
|
color: #788077;
|
|
font-size: 10px;
|
|
}
|
|
.session-tab small.streaming,
|
|
.session-tab small.recovering {
|
|
color: #ffc170;
|
|
}
|
|
.renew-session,
|
|
.close-session {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 28px;
|
|
min-width: 0;
|
|
align-self: stretch;
|
|
border: 0;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: #b8bbc1;
|
|
}
|
|
.renew-session {
|
|
color: #a9f2df;
|
|
}
|
|
.renew-session-icon {
|
|
width: 15px;
|
|
height: 15px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.tab-action-spinner {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 2px solid rgba(169, 242, 223, 0.35);
|
|
border-top-color: #a9f2df;
|
|
border-radius: 50%;
|
|
animation: tab-action-spin 0.8s linear infinite;
|
|
}
|
|
.close-session {
|
|
font-size: 16px;
|
|
}
|
|
.session-tab.selected .renew-session,
|
|
.session-tab.selected .close-session {
|
|
color: #fff5e7;
|
|
}
|
|
.renew-session:hover {
|
|
background: #294139;
|
|
color: #c8ffef;
|
|
}
|
|
.close-session:hover {
|
|
background: #4a3131;
|
|
color: #ffd7db;
|
|
}
|
|
.new-session-tab {
|
|
align-self: stretch;
|
|
flex: 0 0 32px;
|
|
margin-left: 4px;
|
|
padding: 0;
|
|
border: 1px solid #d88735;
|
|
border-bottom: 0;
|
|
border-radius: 8px 8px 0 0;
|
|
background: #4a3827;
|
|
color: #ffc170;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
.new-session-tab:hover {
|
|
background: #5a432d;
|
|
color: #ffe0b6;
|
|
}
|
|
.unread-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #f0a347;
|
|
}
|
|
.attention-dot {
|
|
color: #ffcb6b;
|
|
}
|
|
.session-tab-actions {
|
|
display: flex;
|
|
gap: 3px;
|
|
margin-left: auto;
|
|
padding: 0 0 2px 8px;
|
|
}
|
|
.session-tab-actions button {
|
|
white-space: nowrap;
|
|
border: 1px solid #55585d;
|
|
border-bottom: 0;
|
|
border-radius: 6px 6px 0 0;
|
|
padding: 5px 8px;
|
|
background: #383a40;
|
|
color: #e2e4e8;
|
|
}
|
|
.session-tab-actions button:hover {
|
|
background: #4a4540;
|
|
color: #ffc170;
|
|
}
|
|
.session-tab-actions span {
|
|
margin-right: 5px;
|
|
font-size: 15px;
|
|
line-height: 0;
|
|
}
|
|
.directory-add {
|
|
display: flex;
|
|
gap: 5px;
|
|
}
|
|
.directory-add input {
|
|
min-width: 240px;
|
|
flex: 1;
|
|
padding: 7px;
|
|
}
|
|
.workflow {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
gap: 7px;
|
|
}
|
|
.session-lock {
|
|
position: absolute;
|
|
z-index: 18;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 16px;
|
|
background: rgba(20, 18, 16, 0.86);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.session-lock-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: min(420px, 92%);
|
|
padding: 15px 17px;
|
|
border: 1px solid #f0a347;
|
|
border-radius: 8px;
|
|
background: #33271d;
|
|
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
|
|
color: #ffd9aa;
|
|
}
|
|
.session-lock-card > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.session-lock-card strong {
|
|
color: #fff2df;
|
|
font-size: 14px;
|
|
}
|
|
.session-lock-card p {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
}
|
|
.session-lock-card small {
|
|
color: #d8b892;
|
|
}
|
|
.session-lock-bars {
|
|
flex: 0 0 auto;
|
|
transform: scale(1.3);
|
|
}
|
|
.workflow-main {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 190px;
|
|
gap: 5px;
|
|
}
|
|
.transcript-container {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
.transcript {
|
|
height: 100%;
|
|
}
|
|
.transcript,
|
|
.todos-pane,
|
|
.settings,
|
|
.empty-workspace {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
border: 1px solid #4a4a4a;
|
|
border-radius: 6px;
|
|
background: #292929;
|
|
padding: 6px;
|
|
}
|
|
.transcript.working {
|
|
border-color: #f0a347;
|
|
box-shadow:
|
|
inset 3px 0 #f0a347,
|
|
0 0 16px rgba(240, 163, 71, 0.25);
|
|
}
|
|
.transcript:focus-visible {
|
|
outline: 3px solid #f0a347;
|
|
outline-offset: -3px;
|
|
}
|
|
.scroll-to-latest {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 12px;
|
|
transform: translateX(-50%);
|
|
z-index: 2;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
border: 1px solid #f0a347;
|
|
border-radius: 50%;
|
|
background: #3d2d1d;
|
|
box-shadow: 0 5px 14px rgba(0, 0, 0, 0.4);
|
|
color: #ffd39a;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
}
|
|
.scroll-to-latest:hover {
|
|
background: #4b3420;
|
|
color: #fff0da;
|
|
}
|
|
.agent-working {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: -1px -1px 6px;
|
|
padding: 7px 8px;
|
|
border: 1px solid #b76f26;
|
|
border-radius: 5px;
|
|
background: #3d2d1d;
|
|
color: #ffd39a;
|
|
}
|
|
.agent-working > div {
|
|
display: grid;
|
|
gap: 1px;
|
|
}
|
|
.agent-working strong {
|
|
color: #fff0da;
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.agent-working span {
|
|
font-size: 12px;
|
|
}
|
|
.agent-working small {
|
|
color: #d8b892;
|
|
font-size: 10px;
|
|
}
|
|
.working-bars {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
height: 19px;
|
|
}
|
|
.working-bars i {
|
|
width: 3px;
|
|
height: 8px;
|
|
border-radius: 3px;
|
|
background: #f0a347;
|
|
animation: work-bars 0.8s ease-in-out infinite alternate;
|
|
}
|
|
.working-bars i:nth-child(2) {
|
|
animation-delay: 0.18s;
|
|
}
|
|
.working-bars i:nth-child(3) {
|
|
animation-delay: 0.36s;
|
|
}
|
|
.transcript.error {
|
|
border-color: #9d5050;
|
|
}
|
|
.message {
|
|
margin: 3px 0;
|
|
padding: 5px 6px;
|
|
border: 1px solid transparent;
|
|
border-radius: 7px;
|
|
}
|
|
.message.user {
|
|
margin-left: 24px;
|
|
border-color: #73532f;
|
|
background: #332a21;
|
|
}
|
|
.message.assistant {
|
|
margin-right: 12px;
|
|
border-color: #496983;
|
|
background: #253544;
|
|
}
|
|
.message.tool,
|
|
.message.toolResult {
|
|
margin-right: 12px;
|
|
border-color: #2d8372;
|
|
background: #193936;
|
|
}
|
|
.message.error {
|
|
border-color: #bf6570;
|
|
background: #44282d;
|
|
}
|
|
.message strong {
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
color: #c7d0df;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
.message.user strong {
|
|
color: #ffc170;
|
|
}
|
|
.message.assistant strong {
|
|
color: #b9d9ff;
|
|
}
|
|
.message.tool strong,
|
|
.message.toolResult strong {
|
|
color: #a9f2df;
|
|
}
|
|
.message.error strong {
|
|
color: #ffd7db;
|
|
}
|
|
.message pre {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
line-height: 1.32;
|
|
}
|
|
.tool-result-visible > strong,
|
|
.tool-result-label {
|
|
color: #a9f2df;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
.tool-result summary {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 4px 8px;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
.tool-result summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.tool-result summary::after {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
content: "▾";
|
|
color: #a9f2df;
|
|
font-size: 14px;
|
|
}
|
|
.tool-result-preview {
|
|
grid-column: 1 / -1;
|
|
display: block;
|
|
padding: 5px 6px;
|
|
border-left: 2px solid #547d72;
|
|
background: #222b29;
|
|
color: #c9d8d4;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
line-height: 1.32;
|
|
text-transform: none;
|
|
white-space: pre-wrap;
|
|
}
|
|
.tool-result-hidden-hint {
|
|
grid-column: 1 / -1;
|
|
color: #91a69f;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
.tool-result[open] summary::after {
|
|
content: "▴";
|
|
}
|
|
.tool-result[open] summary {
|
|
margin-bottom: 6px;
|
|
}
|
|
.tool-result[open] .tool-result-preview,
|
|
.tool-result[open] .tool-result-hidden-hint {
|
|
display: none;
|
|
}
|
|
.pending-message {
|
|
border-style: dashed;
|
|
}
|
|
.pending-message strong {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.todos-pane {
|
|
background: #292929;
|
|
}
|
|
.todos-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #e0ddd7;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
.todo-list {
|
|
display: grid;
|
|
gap: 3px;
|
|
margin: 4px 0 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.todo-list li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid #484848;
|
|
padding: 3px 0;
|
|
font-size: 10px;
|
|
}
|
|
.todo-list li > div {
|
|
display: grid;
|
|
}
|
|
.todo-list small {
|
|
color: #9099a7;
|
|
}
|
|
.todo-list .completed {
|
|
opacity: 0.55;
|
|
}
|
|
.workflow-footer {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
.pi-controls {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 5px;
|
|
padding: 4px;
|
|
border: 1px solid #4a4a4a;
|
|
border-radius: 5px;
|
|
background: #303030;
|
|
}
|
|
.pi-controls label,
|
|
.model-control {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
gap: 6px;
|
|
align-items: center;
|
|
font-size: 10px;
|
|
}
|
|
.pi-controls select,
|
|
.model-trigger {
|
|
min-width: 0;
|
|
appearance: none;
|
|
color-scheme: dark;
|
|
padding: 5px 25px 5px 6px;
|
|
border: 1px solid #70522f;
|
|
border-radius: 4px;
|
|
background: #2c2a27
|
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23f0a347' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E")
|
|
no-repeat right 7px center;
|
|
color: #f2ece4;
|
|
}
|
|
.pi-controls select:hover,
|
|
.model-trigger:hover {
|
|
border-color: #d88735;
|
|
background-color: #383129;
|
|
}
|
|
.pi-controls select:focus,
|
|
.model-trigger:focus {
|
|
border-color: #f0a347;
|
|
box-shadow: 0 0 0 2px rgba(240, 163, 71, 0.22);
|
|
}
|
|
.pi-controls select option {
|
|
background: #2c2a27;
|
|
color: #f2ece4;
|
|
}
|
|
.pi-controls select option:checked {
|
|
background: #4b3420;
|
|
color: #fff2df;
|
|
}
|
|
.model-selector {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
.model-trigger {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-align: left;
|
|
font-weight: 650;
|
|
}
|
|
.model-trigger > span {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.model-menu {
|
|
position: absolute;
|
|
bottom: calc(100% + 6px);
|
|
left: 0;
|
|
z-index: 30;
|
|
display: grid;
|
|
width: min(400px, calc(100vw - 40px));
|
|
max-height: min(420px, calc(100vh - 80px));
|
|
gap: 6px;
|
|
padding: 8px;
|
|
border: 1px solid #70522f;
|
|
border-radius: 7px;
|
|
background: #292724;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
|
|
}
|
|
.model-menu input {
|
|
width: 100%;
|
|
padding: 7px 9px;
|
|
border: 1px solid #5b5146;
|
|
border-radius: 4px;
|
|
background: #1f1e1c;
|
|
color: #f2ece4;
|
|
}
|
|
.model-result-count {
|
|
margin: 0;
|
|
color: #aaa39a;
|
|
font-size: 10px;
|
|
}
|
|
.model-results {
|
|
display: grid;
|
|
gap: 7px;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
.model-provider-group {
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
.model-provider-heading {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
padding: 4px 5px 3px;
|
|
background: #292724;
|
|
color: #f0a347;
|
|
font-size: 10px;
|
|
font-weight: 850;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.model-option {
|
|
display: grid;
|
|
gap: 1px;
|
|
width: 100%;
|
|
padding: 6px 7px;
|
|
border: 1px solid transparent;
|
|
background: #35322e;
|
|
color: #f2ece4;
|
|
text-align: left;
|
|
}
|
|
.model-option:hover {
|
|
border-color: #8c6338;
|
|
background: #44382d;
|
|
}
|
|
.model-option[aria-selected="true"] {
|
|
border-color: #f0a347;
|
|
background: #4b3420;
|
|
color: #fff2df;
|
|
}
|
|
.model-option small {
|
|
overflow-wrap: anywhere;
|
|
color: #aaa39a;
|
|
font-size: 9px;
|
|
font-weight: 500;
|
|
}
|
|
.model-empty {
|
|
margin: 5px 0;
|
|
text-align: center;
|
|
}
|
|
.session-status-strip {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 4px 6px;
|
|
border: 1px solid #454545;
|
|
border-left: 3px solid #687168;
|
|
border-radius: 5px;
|
|
background: #292a29;
|
|
color: #b7bcb7;
|
|
}
|
|
.session-status-primary,
|
|
.session-status-meta,
|
|
.status-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.session-status-primary {
|
|
min-width: 0;
|
|
flex: 1;
|
|
gap: 6px;
|
|
}
|
|
.session-status-primary strong {
|
|
flex: 0 0 auto;
|
|
color: #d8ddd8;
|
|
font-size: 9px;
|
|
letter-spacing: 0.07em;
|
|
text-transform: uppercase;
|
|
}
|
|
.session-status-detail {
|
|
overflow: hidden;
|
|
color: #9da49d;
|
|
font-size: 10px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.session-status-meta {
|
|
max-width: 68%;
|
|
min-width: 0;
|
|
flex: 0 1 auto;
|
|
justify-content: flex-end;
|
|
gap: 4px;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
.session-status-meta::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.status-chip {
|
|
flex: 0 0 auto;
|
|
gap: 4px;
|
|
max-width: 180px;
|
|
overflow: hidden;
|
|
padding: 2px 5px;
|
|
border: 1px solid #494b49;
|
|
border-radius: 999px;
|
|
background: #323332;
|
|
color: #bcc1bc;
|
|
font-size: 9px;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.status-chip small {
|
|
color: #7f877f;
|
|
font-size: 8px;
|
|
font-weight: 750;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
.work-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
flex: 0 0 auto;
|
|
border-radius: 50%;
|
|
background: #687168;
|
|
}
|
|
.session-status-strip.working {
|
|
border-color: #60492f;
|
|
border-left-color: #f0a347;
|
|
background: #332d26;
|
|
}
|
|
.session-status-strip.working .session-status-primary strong,
|
|
.session-status-strip.working .session-status-detail {
|
|
color: #ffd39a;
|
|
}
|
|
.session-status-strip.working .work-dot {
|
|
background: #f0a347;
|
|
box-shadow: 0 0 8px #f0a347;
|
|
animation: work-pulse 1.35s ease-out infinite;
|
|
}
|
|
.session-status-strip.recovering {
|
|
border-left-color: #b9824b;
|
|
}
|
|
.session-status-strip.error {
|
|
border-color: #6f3f47;
|
|
border-left-color: #e47682;
|
|
background: #34272a;
|
|
}
|
|
.session-status-strip.error .session-status-primary strong,
|
|
.session-status-strip.error .session-status-detail {
|
|
color: #ffb4ba;
|
|
}
|
|
.composer {
|
|
display: flex;
|
|
gap: 7px;
|
|
}
|
|
.composer textarea {
|
|
flex: 1;
|
|
min-height: 48px;
|
|
max-height: 110px;
|
|
resize: vertical;
|
|
padding: 7px;
|
|
border: 1px solid #4a4a4a;
|
|
border-radius: 5px;
|
|
background: #242424;
|
|
color: #f0f4fa;
|
|
}
|
|
.composer-actions {
|
|
display: flex;
|
|
align-items: end;
|
|
gap: 5px;
|
|
}
|
|
.settings,
|
|
.empty-workspace {
|
|
flex: 1;
|
|
}
|
|
.settings-actions {
|
|
display: flex;
|
|
gap: 7px;
|
|
}
|
|
.restart-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: fit-content;
|
|
margin-top: 8px;
|
|
padding: 7px 9px;
|
|
border: 1px solid #b76f26;
|
|
border-radius: 5px;
|
|
background: #41301f;
|
|
color: #ffd39a;
|
|
}
|
|
.restart-progress > span:last-child {
|
|
display: grid;
|
|
gap: 1px;
|
|
}
|
|
.restart-progress small {
|
|
color: #d9b987;
|
|
}
|
|
.default-worktree-control {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin: 8px 0;
|
|
color: #ddd8d0;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
.default-worktree-control select {
|
|
min-width: 0;
|
|
appearance: none;
|
|
color-scheme: dark;
|
|
padding: 5px 28px 5px 7px;
|
|
border: 1px solid #70522f;
|
|
border-radius: 4px;
|
|
background: #2c2a27
|
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23f0a347' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E")
|
|
no-repeat right 8px center;
|
|
color: #f2ece4;
|
|
}
|
|
.default-worktree-control select:hover {
|
|
border-color: #d88735;
|
|
background-color: #383129;
|
|
}
|
|
.default-worktree-control select:focus {
|
|
border-color: #f0a347;
|
|
box-shadow: 0 0 0 2px rgba(240, 163, 71, 0.22);
|
|
}
|
|
.default-worktree-control option {
|
|
background: #2c2a27;
|
|
color: #f2ece4;
|
|
}
|
|
.default-worktree-control option:checked {
|
|
background: #4b3420;
|
|
color: #fff2df;
|
|
}
|
|
.default-worktree-control small {
|
|
color: #b9afa4;
|
|
font-weight: 400;
|
|
}
|
|
.extension-widget {
|
|
padding: 5px 8px;
|
|
border-left: 3px solid #f0a347;
|
|
background: #302a24;
|
|
font-size: 12px;
|
|
}
|
|
.startup-blocker {
|
|
position: absolute;
|
|
z-index: 20;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
background: rgba(20, 18, 16, 0.82);
|
|
backdrop-filter: blur(3px);
|
|
outline: 0;
|
|
}
|
|
.startup-blocker-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: min(380px, 90vw);
|
|
padding: 16px;
|
|
border: 1px solid #f0a347;
|
|
border-radius: 8px;
|
|
background: #33271d;
|
|
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
|
|
color: #ffd9aa;
|
|
}
|
|
.startup-blocker-card > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.startup-blocker-card strong {
|
|
color: #fff2df;
|
|
font-size: 14px;
|
|
}
|
|
.startup-blocker-card p {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
}
|
|
.startup-blocker-card small {
|
|
color: #d8b892;
|
|
}
|
|
.startup-bars {
|
|
flex: 0 0 auto;
|
|
transform: scale(1.35);
|
|
}
|
|
.modal-backdrop,
|
|
.extension-backdrop {
|
|
position: absolute;
|
|
z-index: 10;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
background: rgba(0, 0, 0, 0.62);
|
|
}
|
|
.session-picker,
|
|
.extension {
|
|
width: min(680px, 90vw);
|
|
max-height: 75vh;
|
|
overflow: auto;
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 15px;
|
|
border: 1px solid #b76f26;
|
|
border-radius: 10px;
|
|
background: #2d2e31;
|
|
}
|
|
.session-picker {
|
|
overflow: hidden;
|
|
}
|
|
.picker-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.picker-heading h2,
|
|
.extension h2 {
|
|
margin: 0;
|
|
}
|
|
.session-search input {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border: 1px solid #5f6570;
|
|
border-radius: 6px;
|
|
background: #202125;
|
|
color: #f1f3f4;
|
|
}
|
|
.session-result-count {
|
|
margin: 0;
|
|
color: #8d97a6;
|
|
font-size: 0.85rem;
|
|
}
|
|
.session-list {
|
|
display: grid;
|
|
gap: 6px;
|
|
max-height: min(44vh, 430px);
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
list-style: none;
|
|
}
|
|
.session-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
gap: 12px;
|
|
padding: 10px;
|
|
border: 1px solid #474b54;
|
|
border-radius: 7px;
|
|
background: #25262a;
|
|
text-align: left;
|
|
}
|
|
.session-row:hover {
|
|
border-color: #b76f26;
|
|
background: #303136;
|
|
}
|
|
.session-row-content {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 3px;
|
|
}
|
|
.session-row-content > strong {
|
|
color: #f1f3f4;
|
|
}
|
|
.session-preview,
|
|
.session-metadata {
|
|
overflow: hidden;
|
|
color: #a7afbc;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.session-metadata {
|
|
display: flex;
|
|
gap: 8px;
|
|
color: #8d97a6;
|
|
}
|
|
.session-open {
|
|
flex: 0 0 auto;
|
|
padding: 2px 6px;
|
|
border-radius: 999px;
|
|
background: #234a33;
|
|
color: #a5e3bc;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
}
|
|
.extension-eyebrow,
|
|
.extension-request-label,
|
|
.extension-request-action,
|
|
.extension-request-details {
|
|
margin: 0;
|
|
}
|
|
.extension-eyebrow,
|
|
.extension-request-label {
|
|
color: #b9afa4;
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.extension-request {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 12px;
|
|
border-left: 3px solid #f0a347;
|
|
border-radius: 4px;
|
|
background: #25262a;
|
|
}
|
|
.extension-request-action {
|
|
color: #fff3df;
|
|
font-size: 1.05rem;
|
|
font-weight: 750;
|
|
}
|
|
.extension-request-details {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.extension-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
}
|
|
.extension textarea {
|
|
min-height: 150px;
|
|
}
|
|
.notification {
|
|
padding: 6px;
|
|
}
|
|
@keyframes tab-action-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes work-pulse {
|
|
70% {
|
|
box-shadow: 0 0 0 7px rgba(240, 163, 71, 0);
|
|
}
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(240, 163, 71, 0);
|
|
}
|
|
}
|
|
@keyframes work-bars {
|
|
from {
|
|
transform: scaleY(0.55);
|
|
opacity: 0.55;
|
|
}
|
|
to {
|
|
transform: scaleY(1.35);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
}
|
|
@media (max-width: 800px) {
|
|
.workspace-layout {
|
|
grid-template-columns: 150px minmax(0, 1fr);
|
|
}
|
|
.workflow-main {
|
|
grid-template-columns: minmax(0, 1fr) 165px;
|
|
}
|
|
.session-strip-actions {
|
|
flex-direction: column;
|
|
}
|
|
.session-tab > button[role="tab"] {
|
|
min-width: 125px;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|