Session info + Todo formatting
This commit is contained in:
@@ -1042,25 +1042,102 @@ button.button-primary {
|
||||
}
|
||||
|
||||
.tool-call-todos {
|
||||
@apply my-2 flex flex-col gap-1;
|
||||
@apply my-2 flex flex-col gap-2;
|
||||
list-style: none;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.tool-call-todo-item {
|
||||
font-family: var(--font-family-mono);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: var(--line-height-normal);
|
||||
@apply flex items-start gap-3;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 8px;
|
||||
padding: 10px 12px;
|
||||
background-color: var(--surface-secondary);
|
||||
}
|
||||
|
||||
.tool-call-todo-item code {
|
||||
background-color: rgba(0, 102, 255, 0.12);
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
font-family: var(--font-family-mono);
|
||||
color: inherit;
|
||||
.tool-call-todo-item-completed {
|
||||
background-color: var(--surface-code);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .tool-call-todo-item code {
|
||||
background-color: rgba(0, 128, 255, 0.22);
|
||||
.tool-call-todo-item-active {
|
||||
border-color: var(--accent-primary);
|
||||
background-color: var(--surface-hover);
|
||||
}
|
||||
|
||||
.tool-call-todo-item-cancelled {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox {
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
border-radius: 9999px;
|
||||
border: 2px solid var(--border-base);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--text-muted);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox::after {
|
||||
content: "";
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox[data-status="completed"] {
|
||||
background-color: var(--accent-primary);
|
||||
border-color: var(--accent-primary);
|
||||
color: var(--text-inverted);
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox[data-status="completed"]::after {
|
||||
content: "✓";
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox[data-status="in_progress"]::after {
|
||||
content: "…";
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox[data-status="cancelled"]::after {
|
||||
content: "×";
|
||||
color: var(--status-error);
|
||||
}
|
||||
|
||||
.tool-call-todo-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.tool-call-todo-text {
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: var(--line-height-tight);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.tool-call-todo-item-cancelled .tool-call-todo-text {
|
||||
text-decoration: line-through;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.tool-call-todo-tag {
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
border-radius: 9999px;
|
||||
padding: 2px 8px;
|
||||
background-color: var(--surface-hover);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.tool-call-todo-item-active .tool-call-todo-tag {
|
||||
background-color: var(--accent-primary);
|
||||
color: var(--text-inverted);
|
||||
}
|
||||
|
||||
.tool-call-task-container {
|
||||
|
||||
Reference in New Issue
Block a user