Polish terminal search UI with case/regex toggles and match status

Replaces the basic find bar with a polished overlay that matches the
terminal-search CSS. Features:
- Case sensitivity toggle (Aa button)
- Regular expression toggle (.* button)
- Match status indicator (found/no matches)
- Smooth entrance/exit animation
- Clears search decorations on close
- Re-focuses existing bar if already open
This commit is contained in:
2026-04-17 00:00:00 +01:00
parent e56496d423
commit 6ec8c304a9
2 changed files with 108 additions and 22 deletions
+13
View File
@@ -168,6 +168,19 @@
color: var(--text-tertiary);
padding: 0 var(--space-1);
white-space: nowrap;
min-width: 70px;
}
.terminal-search-toggle {
font-family: var(--font-mono);
font-size: var(--text-xs);
opacity: 0.5;
transition: opacity var(--transition-fast), color var(--transition-fast);
}
.terminal-search-toggle.is-active {
opacity: 1;
color: var(--accent);
}
/* -----------------------------------------------------------------------