fix(ai): selection visible des menus et retrait de l'indice clavier (BUG-015)
BUG-015: l'etat actif des menus / et @ (et de la liste de modeles) utilise --bg-hover + barre d'accent a gauche, car --surface2 est identique a --bg-primary en theme sombre. Retrait de l'indice 'Entree pour envoyer...' sous la zone de saisie.
This commit is contained in:
+7
-2
@@ -9348,7 +9348,11 @@ body.bookslm-resizing { cursor: ew-resize; user-select: none; }
|
||||
.bookslm-menu-item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
|
||||
background: none; border: none; cursor: pointer; padding: 7px 9px; border-radius: 7px;
|
||||
color: var(--text-primary); font-size: 13px; }
|
||||
.bookslm-menu-item:hover, .bookslm-menu-item.active { background: var(--surface2); }
|
||||
.bookslm-menu-item:hover { background: var(--bg-hover); }
|
||||
/* The active (keyboard) item needs a clearly visible highlight: --surface2 is
|
||||
identical to --bg-primary in the default dark theme, so it was invisible. */
|
||||
.bookslm-menu-item.active { background: var(--bg-hover); color: var(--text-primary);
|
||||
box-shadow: inset 3px 0 0 var(--accent); }
|
||||
.bookslm-menu-icon { flex-shrink: 0; }
|
||||
.bookslm-menu-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.bookslm-menu-desc, .bookslm-menu-usage { margin-left: auto; font-size: 11px; color: var(--text-secondary);
|
||||
@@ -9402,7 +9406,8 @@ body.bookslm-resizing { cursor: ew-resize; user-select: none; }
|
||||
.ai-picker-model-option { display: block; width: 100%; text-align: left; font-size: 0.78rem;
|
||||
line-height: 1.3; padding: 5px 8px; border-radius: 5px; background: none; border: none;
|
||||
color: var(--text-primary); cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
|
||||
.ai-picker-model-option:hover, .ai-picker-model-option.active { background: var(--surface2); }
|
||||
.ai-picker-model-option:hover { background: var(--bg-hover); }
|
||||
.ai-picker-model-option.active { background: var(--bg-hover); box-shadow: inset 3px 0 0 var(--accent); }
|
||||
.ai-picker-model-empty { font-size: 0.7rem; color: var(--text-secondary); padding: 6px 8px; text-align: center; }
|
||||
.ai-picker-model-more { font-size: 0.7rem; color: var(--text-secondary); padding: 6px 8px; text-align: center; }
|
||||
/* Capability info button (ⓘ) + informational bubble. */
|
||||
|
||||
Reference in New Issue
Block a user