From: Marcel Werk Date: Wed, 12 Dec 2012 17:44:11 +0000 (+0100) Subject: Removed ugly text shadow on badges X-Git-Tag: 2.0.0_Beta_1~715 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4769f3eff683a3bb8f9bf8616a9a91da6debcf7;p=GitHub%2FWoltLab%2FWCF.git Removed ugly text shadow on badges --- diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index 7e2631947e..98f41c48d7 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -213,87 +213,64 @@ body > iframe[src="about:blank"] { font-weight: normal !important; padding: 1px 8px 2px; position: relative; + text-shadow: none; white-space: nowrap; - .textShadow(@wcfColor); - /* colors */ &.badgeUpdate { background-color: @wcfTabularBoxBackgroundColor; color: @wcfTabularBoxColor; - - .textShadow(@wcfTabularBoxBackgroundColor); } &.badgeInverse { background-color: @wcfTabularBoxColor; color: @wcfTabularBoxBackgroundColor; - - .textShadow(@wcfTabularBoxColor); } /* default label colors */ &.green { background-color: rgba(0, 153, 0, 1); color: rgba(238, 255, 238, 1); - - .textShadow(rgba(0, 153, 0, 1)); } &.red { background-color: rgba(204, 0, 0, 1); color: rgba(255, 238, 238, 1); - - .textShadow(rgba(204, 0, 0, 1)); } &.black { background-color: #333; color: #fff; - - .textShadow(#333); } &.brown { background-color: #c63; color: #fff; - - .textShadow(#c63); } &.orange { background-color: #f90; color: #fff; - - .textShadow(#f90); } &.yellow { background-color: #ff0; color: #333; - - .textShadow(#ff0); } &.blue { background-color: #09f; color: #fff; - - .textShadow(#09f); } &.purple { background-color: #c0f; color: #fff; - - .textShadow(#c0f); } &.pink { background-color: #f0c; color: #fff; - - .textShadow(#f0c); } }