From 403947a6e4987c8ab5477a8f884ad75fe9a0c37a Mon Sep 17 00:00:00 2001 From: leosw Date: Wed, 2 Jun 2021 21:10:12 +0200 Subject: [PATCH] Fix issue in header input forms dropdown down suggestion: applies hover selector --- views/css/d.index.css | 13 +++++-------- views/d.poi.edit.html | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/views/css/d.index.css b/views/css/d.index.css index a8ce0b1..6e69ca0 100755 --- a/views/css/d.index.css +++ b/views/css/d.index.css @@ -118,11 +118,8 @@ header li a { display: block; vertical-align: middle; } -header li a:hover { - color: white; -} -header li:hover a { +header li:hover a, header li:focus-within a { border-bottom: 6px solid blue; background: #212121; } @@ -143,11 +140,11 @@ header .icon.avatar { height: 28px; } -header li.has-sub:hover a { +header li.has-sub:hover a, header li.has-sub:focus-within a { border-bottom: 6px solid #212121; } -header li.has-sub:hover > ul { +header li.has-sub:hover > ul, header li.has-sub:focus-within > ul { display: block; } @@ -176,7 +173,7 @@ header li.has-sub ul li a { border-bottom: none; } -header li.has-sub ul li:hover { +header li.has-sub ul li:hover, header li.has-sub ul li:focus-within { border-left: 6px solid blue; border-bottom: none; } @@ -207,7 +204,7 @@ header input[type=submit] { border-bottom: 1px solid #777; } -header input:hover { +header input:hover, header input:focus-within { background: #DDD; color: #222; } diff --git a/views/d.poi.edit.html b/views/d.poi.edit.html index 796ba86..f8843ad 100755 --- a/views/d.poi.edit.html +++ b/views/d.poi.edit.html @@ -81,7 +81,7 @@ html_form+='
' break; case 'n': - html_form+='
' + html_form+='
' break; case 't': html_form+=''