/* Menu Items (1st level) */
.wcf-topMenu > div > ul > li {
- cursor: pointer;
border-width: 0 1px;
border-style: solid;
border-color: transparent;
border-color: rgba(255, 255, 255, .5);
}
+/* Removes the doubled padding if there's a link in the top menu */
+.wcf-topMenu > div > ul > li > span > a {
+ margin: -5px 0 -5px -5px;
+}
+
/* ToDo: Top-Menu Dropdown Caption */
-.wcf-topMenu > div > ul > li .wcf-dropdownCaption,
-.wcf-topMenu > div > ul > li .wcf-dropdownCaption a {
- padding-right: 5px;
+.wcf-topMenu > div > ul > li > .wcf-dropdownCaption,
+.wcf-topMenu > div > ul > li .wcf-dropdownCaption > a {
+ padding: 6px;
}
.wcf-topMenu > div > ul > li:hover .wcf-dropdownCaption,
background-color: rgba(0, 0, 0, .7);
}
+.wcf-topMenu > div > ul > li > .wcf-dropdownCaption > .wcf-badge {
+ margin: -3px 3px;
+ padding: 1px 3px;
+}
+
.wcf-topMenu > div > ul > li > .wcf-dropdownCaption > .wcf-badge,
.wcf-topMenu > div > ul > li:hover > .wcf-dropdownCaption > .wcf-badge {
font-size: 75%;
color: #369 !important;
- margin: -3px 3px;
- padding: 1px 3px;
}
.wcf-topMenu > div > ul > li > .wcf-dropdownCaption > img {
margin: -7px 0 -5px 0;
}
-.wcf-topMenu > div > ul > li > span:not(.wcf-badge) {
- padding: 6px;
-}
-
.wcf-topMenu > div > ul > li > .wcf-dropdownCaption {
- cursor: pointer;
background-image: url('../../icon/dropdown2.svg');
background-position: 97% center;
background-repeat: no-repeat;
padding-right: 15px !important;
- display: inline-block;
}
.wcf-dropdownCaption a {
text-decoration: none;
cursor: pointer;
+ display: inline-block;
+}
+
+.wcf-dropdownCaption:hover,
+.wcf-dropdownCaption a:hover {
+ text-decoration: none;
}
/* Dropdown */