Add a search bar: case-insensitive, steps through matches with Tab/Shift+Tab (Refs #27)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -63,6 +63,11 @@ 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); }
|
||||
.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); }
|
||||
.fuses { grid-column: 1 / -1; } .fuse { align-items: center; margin: .25rem 0; }
|
||||
.fstop { border: 2px solid var(--danger); color: var(--danger); border-radius: .35rem; padding: .35rem .6rem; }
|
||||
.fstuck { background: var(--warn-bg); color: var(--warn-fg); border-radius: .35rem; padding: .35rem .6rem; white-space: pre-wrap; }
|
||||
|
||||
Reference in New Issue
Block a user