From 910850d4d93f27d040c18842df53f7ae973911de Mon Sep 17 00:00:00 2001 From: dingyongliang Date: Wed, 14 Sep 2022 03:24:54 +0000 Subject: [PATCH] * tash #68926, optimize the global avatar drop-down menu. --- www/theme/default/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 53efc0b64e..922629b38a 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -74,9 +74,10 @@ a.showMoreImage:hover {opacity: 1;} #userNav>li.open>a:before, #userNav>li>a:hover:before {position: absolute; bottom: 0px; left: calc(50% - 10px); width: 0; height: 0; content: ' '; border-color: transparent transparent #fff transparent; border-style: solid; border-width: 0 10px 10px 10px;} #userNav .dropdown-menu {z-index: 2000;} #userNav .dropdown-menu:hover + .dropdown-toggle:before {position: absolute; bottom: 0px; left: calc(50% - 10px); width: 0; height: 0; content: ' '; border-color: transparent transparent #fff transparent; border-style: solid; border-width: 0 10px 10px 10px;} -#userNav .dropdown-menu .dropdown-menu:hover:before {content: none;} #userNav .dropdown-menu, #userNav .create-list {margin-right: -15px !important; border-top: 0px;} #userNav .dropdown-menu .dropdown-submenu>ul {margin-right: 0px !important;} +#userNav .dropdown-menu .dropdown-submenu>ul::before {position: absolute; content: ''; top: -60px; bottom: -40px; left: -40px; right: 0;} +#userNav .dropdown-menu>li>a::before {position: absolute; content: ''; top: -4px; bottom: -4px; left: -10px; right: -10px;} #userNav .create-list:hover:before {right: 21.5% !important;} #modules li>a, #modules ul>li>a {overflow: hidden; white-space: nowrap;}