feat(assistant): #91 fenêtre de résultats — post épinglé en haut, fournisseur/modèle discret & bouton copier
CI / lint (push) Successful in 1m20s
CI / security (push) Successful in 57s
CI / test (push) Successful in 2m41s
CI / build (push) Successful in 55s
CI / e2e (push) Successful in 10m40s

This commit is contained in:
2026-09-15 12:04:38 -04:00
parent b69cb9b0f8
commit 256f5a4a03
9 changed files with 275 additions and 37 deletions
+12
View File
@@ -9435,6 +9435,18 @@ body.popup-mode .content-area {
.bookslm-activity.error .bookslm-activity-spinner { animation: none; border-top-color: currentColor; }
@keyframes bookslm-spin { to { transform: rotate(360deg); } }
.bookslm-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
/* The newest turn (the assistant's answer being written) is pinned to the
very top of the messages window via flex `order`, so a submitted post and
its live result stay visible regardless of auto-scroll and prior history. */
.bookslm-msg { display: flex; flex-direction: column; gap: 4px; }
.bookslm-msg.latest { order: -1; }
.bookslm-msg-meta { font-size: 10px; color: var(--text-secondary); opacity: 0.85;
padding: 0 2px; align-self: flex-start; user-select: none; }
.bookslm-copy-btn { align-self: flex-end; font-size: 10px; padding: 2px 8px;
border-radius: 6px; border: 1px solid var(--border); background: var(--surface);
color: var(--text-secondary); cursor: pointer; opacity: 0; transition: opacity 0.15s; }
.bookslm-msg:hover .bookslm-copy-btn { opacity: 1; }
.bookslm-copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.bookslm-bubble { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.bookslm-bubble.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bookslm-bubble.assistant { align-self: flex-start; background: var(--surface2); color: var(--text-primary); border-bottom-left-radius: 4px; }