From: Marcel Werk Date: Tue, 23 Oct 2012 12:58:30 +0000 (+0200) Subject: Fixed LESS issue X-Git-Tag: 2.0.0_Beta_1~844 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2aad5db52a8343ddf42674a6dd4b99e2bd64080;p=GitHub%2FWoltLab%2FWCF.git Fixed LESS issue --- diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index 809ff4f10e..cc553e79bc 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -146,12 +146,12 @@ a { /* ### badges ### */ // sets default badge shadows depending on background color -.badgeShadow(@backgroundColor) when (lightness(@backgroundColor) <= 50%) { - box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, .8); -} -.badgeShadow(@backgroundColor) when (lightness(@backgroundColor) > 50%) { +.badgeShadow(@backgroundColor) when (lightness(@backgroundColor) >= 50%) { box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, .8); } +.badgeShadow(@backgroundColor) when (lightness(@backgroundColor) < 50%) { + box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, .8); +} /* default values */ .badge {