aboutsummaryrefslogtreecommitdiff
path: root/kaios
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-12-11 14:11:32 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-01-19 20:34:48 +0000
commitfb13ce8d716cb2b24208e5a48aa704ef50f98697 (patch)
tree3bb1db890e766a51fffdff308387c8d51ab6501f /kaios
parenteb60f001b7053022539c2737b5c2106c8798bde5 (diff)
downloadpuzzles-fb13ce8d716cb2b24208e5a48aa704ef50f98697.zip
puzzles-fb13ce8d716cb2b24208e5a48aa704ef50f98697.tar.gz
puzzles-fb13ce8d716cb2b24208e5a48aa704ef50f98697.tar.bz2
puzzles-fb13ce8d716cb2b24208e5a48aa704ef50f98697.tar.xz
kaios: Turn off :hover highlighting in menus
Even when the virtual pointer is hidden in KaiOS, it still causes :hover on whatever element is nominally under it, which is confusing. Disable all the :hover effects as a workaround.
Diffstat (limited to 'kaios')
-rwxr-xr-xkaios/apppage.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaios/apppage.pl b/kaios/apppage.pl
index 5ea27cf..8f72ee6 100755
--- a/kaios/apppage.pl
+++ b/kaios/apppage.pl
@@ -82,7 +82,7 @@ body {
color: rgba(0,0,0,0.5);
}
-#gamemenu li > :hover:not(:disabled),
+/* #gamemenu li > :hover:not(:disabled), */
#gamemenu li > .focus-within {
/* When the mouse is over a menu item, highlight it */
background-color: rgba(0,0,0,0.3);
@@ -110,7 +110,7 @@ body {
box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.8);
}
-#gamemenu :hover > ul,
+/* #gamemenu :hover > ul, */
#gamemenu .focus-within > ul {
/* Last but by no means least, the all-important line that makes
* submenus be displayed! Any <ul> whose parent <li> is being