Makes the topMenu drop-downs more beautiful
authorLuzifr <szekely@woltlab.com>
Thu, 22 Dec 2011 13:05:52 +0000 (14:05 +0100)
committerLuzifr <szekely@woltlab.com>
Thu, 22 Dec 2011 13:05:52 +0000 (14:05 +0100)
wcfsetup/install/files/acp/style/wcf.css

index 07a3039db1755831669f3c939fd043e48149b562..32e68ed5b9503ab15b2b34f785db6798853e3b08 100644 (file)
@@ -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 {