Commit 87f88ed
Hide blinking text caret on sidebar UI chrome
Caret browsing mode (F7 in Edge/Chrome) and some accessibility tools
force a text caret on every focused element — including buttons, the
section combobox, and read-only value displays like the source URL.
The caret looks wrong on these controls (they aren't text content meant
to be read or edited).
Solution: blanket caret-color:transparent on #sidebar, with caret-color
restored on input/textarea elements where editing actually happens
(Title, Note, PDF page range). Selection still works everywhere — only
the visual caret indicator is suppressed.
Also adds user-select:none on #section-selected so double-click on the
combobox doesn't highlight the section path text (it's a click target,
not selectable content).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9a6d7e9 commit 87f88ed
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
209 | 218 | | |
210 | 219 | | |
211 | 220 | | |
| |||
349 | 358 | | |
350 | 359 | | |
351 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
352 | 364 | | |
353 | 365 | | |
354 | 366 | | |
| |||
0 commit comments