Merge branch 'main' into web-notify
This commit is contained in:
+64
-2
@@ -1434,6 +1434,11 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
|
||||
--------------------------------------------------------------------------- */
|
||||
|
||||
.chat-list { display: flex; flex-direction: column; }
|
||||
/* A row's Chat actions menu hangs below the button. `.list` clips its children
|
||||
for the rounded corners, which cut the panel off at the list's bottom edge and
|
||||
made the final rows' Hide/Rename items unclickable. Unclip only while a menu is
|
||||
open, mirroring `.list.runs`' filter-menu treatment. */
|
||||
.chat-list.menu-open { overflow: visible; }
|
||||
.chat-search { flex: 1 1 auto; min-width: 0; }
|
||||
|
||||
.chat-group-header {
|
||||
@@ -1457,10 +1462,67 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
|
||||
.chat-row .row-meta { grid-column: 1; }
|
||||
.chat-row-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
|
||||
.chat-row-actions button { padding: 3px 10px; font-size: 12px; }
|
||||
.chat-close { border-color: var(--warn); color: var(--warn); }
|
||||
.chat-reopen { border-color: var(--accent); color: var(--accent); }
|
||||
.chat-menu-wrap { position: relative; }
|
||||
.chat-menu-button { min-width: 30px; font-size: 15px; line-height: 1; }
|
||||
.chat-menu-panel {
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
right: 0;
|
||||
z-index: 25;
|
||||
display: grid;
|
||||
min-width: 190px;
|
||||
padding: 4px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.chat-menu-item {
|
||||
justify-content: flex-start;
|
||||
padding: 7px 10px;
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
border: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.chat-menu-item:hover { background: var(--surface); }
|
||||
.chat-menu-close { color: var(--warn); }
|
||||
.chat-menu-reopen { color: var(--accent); }
|
||||
.chat-closed-chip { opacity: 0.8; }
|
||||
|
||||
/* The Rename chat dialog (C13): a name kept on this device only. */
|
||||
.chat-rename-field { display: grid; gap: 4px; }
|
||||
.chat-rename-label { font-size: 12px; color: var(--muted); }
|
||||
.chat-rename-helper { margin: 0; line-height: 1.5; font-size: 13px; color: var(--muted); }
|
||||
.chat-rename-save:disabled { opacity: 0.5; }
|
||||
|
||||
/* The one hide report (C13): fixed above the pane, replaced rather than queued. */
|
||||
.chat-snackbar {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 20px;
|
||||
z-index: 35;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
max-width: min(560px, calc(100vw - 32px));
|
||||
padding: 12px 16px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
|
||||
font-size: 13px;
|
||||
}
|
||||
.chat-snackbar-message { line-height: 1.4; }
|
||||
.chat-snackbar-undo {
|
||||
flex: none;
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.chat-activity { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
|
||||
.chat-activity-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
|
||||
.chat-activity-streaming { color: var(--accent); }
|
||||
|
||||
Reference in New Issue
Block a user