Fixed LESS issue
authorMarcel Werk <burntime@woltlab.com>
Tue, 23 Oct 2012 12:58:30 +0000 (14:58 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 23 Oct 2012 12:58:30 +0000 (14:58 +0200)
wcfsetup/install/files/style/global.less

index 809ff4f10e5be7675d493d1c09338daa7765d86b..cc553e79bc524d41a1d3a288791c75ae30768e7b 100644 (file)
@@ -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 {