From 2360e8586d319bcb448703b278c37ef6bbd0174c Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 13 Feb 2012 21:12:31 +0100 Subject: [PATCH] Some reordering / simplification --- wcfsetup/install/files/acp/style/wcf.css | 32 +++++++++++++----------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/wcfsetup/install/files/acp/style/wcf.css b/wcfsetup/install/files/acp/style/wcf.css index 3cf482d4c9..a1f8b23e5a 100644 --- a/wcfsetup/install/files/acp/style/wcf.css +++ b/wcfsetup/install/files/acp/style/wcf.css @@ -366,6 +366,10 @@ nav.wcf-topMenu { padding: 0 23px 0; } +.wcf-topMenu ul li { + white-space: nowrap; +} + /* Menu Items (1st level) */ .wcf-topMenu > div > ul > li { @@ -396,18 +400,27 @@ nav.wcf-topMenu { /* ToDo: Top-Menu Dropdown Caption */ +.wcf-topMenu > div > ul > li > .wcf-dropdownCaption { + background-image: url('../../icon/dropdown2.svg'); + background-position: 97% center; + background-repeat: no-repeat; + padding-right: 15px !important; +} + .wcf-topMenu > div > ul > li > .wcf-dropdownCaption, -.wcf-topMenu > div > ul > li .wcf-dropdownCaption > a { +.wcf-topMenu > div > ul > li > .wcf-dropdownCaption > a { padding: 6px; } -.wcf-topMenu > div > ul > li:hover .wcf-dropdownCaption, -.wcf-topMenu > div > ul > li:hover .wcf-dropdownCaption a { +.wcf-topMenu > div > ul > li:hover > .wcf-dropdownCaption, +.wcf-topMenu > div > ul > li:hover > .wcf-dropdownCaption a { text-shadow: 0 -1px 0 rgba(0, 0, 0, .7); color: rgba(255, 255, 255, 1); background-color: rgba(0, 0, 0, .7); } +/* Badges */ + .wcf-topMenu > div > ul > li > .wcf-dropdownCaption > .wcf-badge { margin: -3px 3px; padding: 1px 3px; @@ -419,17 +432,12 @@ nav.wcf-topMenu { color: #369 !important; } +/* Images in front of the caption */ + .wcf-topMenu > div > ul > li > .wcf-dropdownCaption > img { margin: -7px 0 -5px 0; } -.wcf-topMenu > div > ul > li > .wcf-dropdownCaption { - background-image: url('../../icon/dropdown2.svg'); - background-position: 97% center; - background-repeat: no-repeat; - padding-right: 15px !important; -} - /* ToDo: Top-Menu Dropdown Tweaks */ @@ -446,10 +454,6 @@ nav.wcf-topMenu { display: block; } -.wcf-topMenu ul li { - white-space: nowrap; -} - .wcf-topMenu ul li .wcf-dropdown { border-width: 0 1px 1px 1px !important; border-radius: 0 0 5px 5px; -- 2.20.1