commit df631e59e2cd2ecd07a48cd537d1e88d6333c963 truex <truex@equwal.com> 2026-09-26 19:19:00 -0700 Show the hover color of the top bar only where a pointer can hover On the phone the hover background stayed on the last button that was tapped. The hover rule is now in @media (hover: hover), so a touch screen does not use it.
src/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/style.css b/src/style.css index d2305d8..bf8ec96 100644 --- a/src/style.css +++ b/src/style.css @@ -59,8 +59,11 @@ body { cursor: pointer; } -#topbar button:hover:not(:disabled) { - background: #8882; +/* A touch screen keeps the hover state on the last button that was tapped. */ +@media (hover: hover) { + #topbar button:hover:not(:disabled) { + background: #8882; + } } #topbar button:active:not(:disabled) {