Search controls replace the toolbar buttons instead of a permanent row (Refs #27)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 14:33:50 -05:00
parent 2275889a86
commit c51d289a7e
5 changed files with 29 additions and 14 deletions

View File

@@ -63,8 +63,8 @@ li.seqitem { display: block; list-style: none; margin-left: -1.4rem; } .frameedi
.mbox { position: absolute; box-sizing: border-box; border: 3px solid #e11; box-shadow: 0 0 0 1px #fff; border-radius: 3px; pointer-events: none; }
.mpin { position: absolute; box-sizing: border-box; transform: translate(-50%, -50%); width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e11; color: #fff; border: 2px solid #fff; font: 700 .85rem/1.2rem system-ui, sans-serif; text-align: center; pointer-events: none; }
.annotator { max-width: min(95vw, 70rem); } .annot { display: block; max-width: 100%; max-height: 65vh; margin: .5rem auto; cursor: crosshair; touch-action: none; border: 1px solid var(--line); }
.searchbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .75rem 0 1rem; }
.searchbox { flex: 1 1 14rem; min-width: 8rem; font: inherit; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--card); color: var(--fg); }
.searchbar { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: .5rem; align-items: center; }
.searchbox { flex: 1 1 14rem; min-width: 8rem; font: inherit; padding: .4rem .6rem; line-height: 1.2; border: 1px solid var(--line); border-radius: .4rem; background: var(--card); color: var(--fg); }
.searchnote { min-width: 4.5rem; text-align: right; }
mark.hit { background: var(--warn-bg); color: var(--warn-fg); border-radius: .2rem; padding: 0 .1em; }
mark.hit.cur { background: var(--accent); color: var(--bg); outline: 2px solid var(--accent); }