From e3b602a00f2bf75a6917cd5e1c8fbafe5a1eec3c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 23 Jun 2024 17:21:37 +0200 Subject: [PATCH] Fix hover on top menu picto --- htdocs/theme/eldy/global.inc.php | 4 ++-- htdocs/theme/md/style.css.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index ea4a77ee96c..aada2fedf73 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -2960,7 +2960,7 @@ div.tmenucenter { /* we must have a field length of top menu to avoid size to ch /* Test of picto visible on hover, for all picto */ -.tmenudiv:hover .tmenulabel:not(.menuhider), .tmenudiv:hover .tmenulabel:not(.menuhider)::before { +ul.tmenu:hover .tmenulabel:not(.menuhider), .ul.tmenu:hover .tmenulabel:not(.menuhider)::before { display: block; position: relative; overflow: hidden; @@ -2976,7 +2976,7 @@ div.tmenucenter { /* we must have a field length of top menu to avoid size to ch color: var(--colortextbackhmenu); top: 0px; } -.tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider)::before { +ul.tmenu:hover .tmenuimage:not(.menuhider), ul.tmenu:hover .tmenuimage:not(.menuhider)::before { /* For transition transition-delay: 1000ms; transition-property: all; */ margin-top: 0px !important; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index b15f0ba1c80..5509c2ab33f 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -3082,7 +3082,7 @@ span.tmenuimage:not(.menuhider), span.tmenuimage:not(.menuhider)::before { /* Test of picto visible on hover, for all picto */ -.tmenudiv:hover .tmenulabel:not(.menuhider), .tmenudiv:hover .tmenulabel:not(.menuhider)::before { +ul.tmenu:hover .tmenulabel:not(.menuhider), ul.tmenu:hover .tmenulabel:not(.menuhider)::before { display: block; position: relative; overflow: hidden; @@ -3098,7 +3098,7 @@ span.tmenuimage:not(.menuhider), span.tmenuimage:not(.menuhider)::before { color: var(--colortextbackhmenu); top: 0px; } -.tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider)::before { +ul.tmenu:hover .tmenuimage:not(.menuhider), ul.tmenu:hover .tmenuimage:not(.menuhider)::before { /* For transition transition-delay: 1000ms; transition-property: all; */ margin-top: 0px !important;