Revert "Résultats d'outils : aperçu + « voir plus », vrai compteur, MCP complet"

This reverts commit 91d1796615.
This commit is contained in:
Michael committed 2026-10-02 23:08:31 +02:00
1 parent f54c304019
commit 6aafeeea98
9 files changed
+37 -256

No files matched your search

-14
View File
@@ -444,20 +444,6 @@ button:disabled{opacity:.5;cursor:not-allowed}
.diff-count .a{color:var(--add)}
.diff-count .d{color:var(--del)}
.msg.tool .tool-sub{font-size:10px;color:var(--dim);text-transform:uppercase;letter-spacing:.1em;margin:8px 0 4px}
/* Résultat d'outil tronqué : « voir plus » et « copier » réunis dans une barre
ancrée en bas à droite, au lieu d'une ligne séparée sous le bloc. Le pre
scrolle (max-height), donc la barre est portée par le bloc-parent NON
scrollant (.tool-block) : elle reste au coin quoi qu'on scrolle. */
.msg.tool .tool-block{position:relative}
.msg.tool .tool-block .tool-actions{position:absolute;bottom:7px;right:7px;display:flex;gap:6px;align-items:center;z-index:1}
.msg.tool .tool-actions .copybtn{position:static;bottom:auto;right:auto}
.msg.tool .tool-more{padding:3px 8px;font-size:11px;background:var(--panel);border:1px solid var(--border);color:var(--dim);border-radius:3px;cursor:pointer;opacity:.5;transition:opacity .15s,color .15s,border-color .15s}
.msg.tool .tool-block:hover .tool-actions .tool-more,.msg.tool .tool-block:hover .tool-actions .copybtn{opacity:1}
.msg.tool .tool-more:hover{border-color:var(--accent);color:var(--accent)}
.msg.tool .tool-more:disabled{cursor:default}
/* Déplié : on lève le plafond de hauteur pour voir VRAIMENT plus, au lieu de
rester enfermé dans une fenêtre de 280 px qu'il faut scroller. */
.msg.tool pre.expanded{max-height:none}
.msg.tool pre{position:relative;background:var(--code-bg);border:1px solid var(--border);border-radius:3px;padding:8px 10px;overflow:auto;margin:0;max-height:280px}
.msg.tool pre code{background:transparent;padding:0;font-size:.82em;line-height:1.4;white-space:pre}
.msg.tool .tool-caret{color:var(--accent);animation:toolblink 1s step-end infinite}