ref: fb13ce8d716cb2b24208e5a48aa704ef50f98697
parent: eb60f001b7053022539c2737b5c2106c8798bde5
author: Ben Harris <[email protected]>
date: Sun Dec 11 09:11:32 EST 2022
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.
--- a/kaios/apppage.pl
+++ b/kaios/apppage.pl
@@ -82,7 +82,7 @@
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 @@
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