web: create a chat through the directory picker (C2)
This commit is contained in:
@@ -1435,6 +1435,70 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
|
||||
|
||||
.chat-list { display: flex; flex-direction: column; }
|
||||
.chat-search { flex: 1 1 auto; min-width: 0; }
|
||||
.chat-toolbar .chat-new { white-space: nowrap; }
|
||||
|
||||
/* C2: the create pane — the directory picker, the model note and the footer that
|
||||
names the value chat_create will send. */
|
||||
.chat-create { gap: 12px; }
|
||||
.chat-bar.chat-create-bar { align-items: center; justify-content: flex-start; gap: 10px; }
|
||||
.chat-create-back {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
flex: none;
|
||||
}
|
||||
.chat-create-back-glyph { font-size: 16px; line-height: 1; }
|
||||
.detail .chat-create-title { margin: 0; }
|
||||
.chat-create-loading { padding: 18px 4px; }
|
||||
.chat-create-prompt { padding: 2px 2px 0; font-size: 13px; }
|
||||
.chat-create-choices {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-create-choice { cursor: pointer; }
|
||||
.chat-create-choice-path {
|
||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
font-size: 11px;
|
||||
}
|
||||
.chat-create-directories-error { color: var(--bad); }
|
||||
.chat-create-error { color: var(--bad); font-size: 13px; }
|
||||
.chat-create-model-note { margin: 0; font-size: 12px; line-height: 1.5; max-width: 64ch; }
|
||||
.chat-create-footer {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
margin-top: auto;
|
||||
padding: 12px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.chat-create-start {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
}
|
||||
.chat-create-confirm {
|
||||
min-width: 88px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
.chat-create-confirm:disabled,
|
||||
.chat-create-cancel:disabled { opacity: 0.55; }
|
||||
.chat-create-spinner { width: 14px; height: 14px; border-width: 2px; }
|
||||
|
||||
.chat-group-header {
|
||||
padding: 8px 12px 4px;
|
||||
|
||||
Reference in New Issue
Block a user