From 5b9bebb5f9f9b207771d47373ba05bb8f8f13c44 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 16 Oct 2012 13:49:42 +0200 Subject: [PATCH] Fixed badges in main menu --- com.woltlab.wcf/template/mainMenu.tpl | 2 +- wcfsetup/install/files/style/global.less | 10 ---------- wcfsetup/install/files/style/layout.less | 5 +++++ 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/com.woltlab.wcf/template/mainMenu.tpl b/com.woltlab.wcf/template/mainMenu.tpl index 55d3431916..9e103d46bd 100644 --- a/com.woltlab.wcf/template/mainMenu.tpl +++ b/com.woltlab.wcf/template/mainMenu.tpl @@ -2,7 +2,7 @@ diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index a282125140..a897a5c8dd 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -208,16 +208,6 @@ a.badge:hover { top: -3px; } -.mainMenu > ul > li > a > .badge { - font-size: 70%; - top: -1px; -} - -.mainMenu > ul > li.active > a > .badge { - font-size: 65%; - top: -2px; -} - .tabularBoxTitle > hgroup > h1 > .badge { font-size: 70%; top: -1px; diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 67006eeec2..223a7f3e1d 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -150,6 +150,11 @@ background-color: @wcfMainMenuHoverBackgroundColor; text-decoration: none; } + + > .badge { + font-size: 60%; + top: -2px; + } } &.active { -- 2.20.1