Removed ugly text shadow on badges
authorMarcel Werk <burntime@woltlab.com>
Wed, 12 Dec 2012 17:44:11 +0000 (18:44 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 12 Dec 2012 17:44:11 +0000 (18:44 +0100)
wcfsetup/install/files/style/global.less

index 7e2631947e0b61f5a12c9e813e0c16e151555c8c..98f41c48d72c2c79090859a4b04cc84d7356a7df 100644 (file)
@@ -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);
        }
 }