From a3f0878123d5e6d587a905ea9d67d7eda4941b7b Mon Sep 17 00:00:00 2001 From: Luzifr Date: Thu, 22 Dec 2011 14:05:52 +0100 Subject: [PATCH] Makes the topMenu drop-downs more beautiful --- wcfsetup/install/files/acp/style/wcf.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 { -- 2.20.1