From cc1e8a8b3234eb5ddec9de3ac810cc7517a0a587 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Wed, 8 Sep 2021 13:19:44 +0800 Subject: [PATCH] * bug #14738, fix tootip not show as expected in menu nav. --- module/index/view/index.html.php | 7 +++++++ module/tutorial/js/index.js | 22 +++++++++++++++------- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/module/index/view/index.html.php b/module/index/view/index.html.php index a7d36a5555..bd5ddc5019 100644 --- a/module/index/view/index.html.php +++ b/module/index/view/index.html.php @@ -30,6 +30,13 @@ js::set('manualUrl', ((!empty($config->isINT)) ? $config->manualUrl['int'] : #upgradeContent {top: -272px; height: 262px;} #latestVersionList {height: 200px;} + + +#menuMoreNav > li.dropdown:hover + .tooltip {display: none!important;} +#menuMoreList > li.active {position: relative;} +#menuMoreList > li.active:before {content: ' '; display: block; position: absolute; left: 100%; border-width: 5px 5px 5px 0; border-style: solid; border-color: transparent; border-right-color: #ff9800; width: 0; height: 0; top: 12px} +#menuMoreList > li.active:after {content: attr(data-tip); display: block; position: absolute; left: 100%; background-color: #f1a325; color: #fff; top: 3px; white-space: nowrap; line-height: 16px; padding: 8px 10px; margin-left: 5px; border-radius: 4px;} +