From: Luzifr Date: Thu, 22 Dec 2011 13:05:52 +0000 (+0100) Subject: Makes the topMenu drop-downs more beautiful X-Git-Tag: 2.0.0_Beta_1~1490 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3f0878123d5e6d587a905ea9d67d7eda4941b7b;p=GitHub%2FWoltLab%2FWCF.git Makes the topMenu drop-downs more beautiful --- diff --git a/wcfsetup/install/files/acp/style/wcf.css b/wcfsetup/install/files/acp/style/wcf.css index 07a3039db1..32e68ed5b9 100644 --- a/wcfsetup/install/files/acp/style/wcf.css +++ b/wcfsetup/install/files/acp/style/wcf.css @@ -394,11 +394,15 @@ nav.topMenu { /* ToDo: Top-Menu Dropdown Tweaks */ /* Auto-Opening Dropdowns */ -.topMenu ul li:hover .dropdownCaption ~ .dropdown { +.topMenu ul li .dropdownCaption ~ .dropdown { border-color: rgba(255, 255, 255, .5); background-color: rgba(0, 0, 0, .7); - display: block !important; left: -1px; + min-width: 100%; +} + +.topMenu ul li:hover .dropdownCaption ~ .dropdown { + display: block; } .topMenu ul li {