font-weight: normal !important;
padding: 1px 8px 2px;
position: relative;
- text-shadow: none !important;
white-space: nowrap;
+ .textShadow(@wcfColor);
+
/* colors */
&.badgeUpdate {
background-color: @wcfTabularBoxBackgroundColor;
color: @wcfTabularBoxColor;
+
+ .textShadow(@wcfTabularBoxBackgroundColor);
+ }
+
+ &.badgeInverse {
+ background-color: @wcfTabularBoxColor;
+ color: @wcfTabularBoxBackgroundColor;
+
+ .textShadow(@wcfTabularBoxColor);
}
- &.badgeGreen {
+ /* default label colors */
+ &.green {
background-color: rgba(0, 153, 0, 1);
color: rgba(238, 255, 238, 1);
+
+ .textShadow(rgba(0, 153, 0, 1));
}
- &.badgeRed {
+ &.red {
background-color: rgba(204, 0, 0, 1);
color: rgba(255, 238, 238, 1);
+
+ .textShadow(rgba(204, 0, 0, 1));
}
- &.badgeInverse {
- background-color: @wcfTabularBoxColor;
- color: @wcfTabularBoxBackgroundColor;
+ &.black {
+ background-color: #333;
+ color: #fff;
+
+ .textShadow(#333);
}
- &.label {
- font-size: 90%;
+ &.brown {
+ background-color: #c63;
color: #fff;
- /* TODO: use textShadow() */
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
- /* default label colors */
- &.black {
- background-color: #333;
- }
-
- &.brown {
- background-color: #c63;
- }
-
- &.red {
- background-color: #c00;
- }
-
- &.orange {
- background-color: #f90;
- }
-
- &.yellow {
- background-color: #ff0;
- color: #333;
- /* TODO: use textShadow() */
- text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4);
- }
-
- &.green {
- background-color: #0c0;
- }
+ .textShadow(#c63);
+ }
+
+ &.orange {
+ background-color: #f90;
+ color: #fff;
- &.blue {
- background-color: #09f;
- }
+ .textShadow(#f90);
+ }
+
+ &.yellow {
+ background-color: #ff0;
+ color: #333;
- &.purple {
- background-color: #c0f;
- }
+ .textShadow(#ff0);
+ }
+
+ &.blue {
+ background-color: #09f;
+ color: #fff;
- &.pink {
- background-color: #f0c;
- }
+ .textShadow(#09f);
}
- /* hover */
+ &.purple {
+ background-color: #c0f;
+ color: #fff;
+
+ .textShadow(#c0f);
+ }
+ &.pink {
+ background-color: #f0c;
+ color: #fff;
+
+ .textShadow(#f0c);
+ }
}
a.badge:hover {
color: @wcfContentBackgroundColor;
- text-decoration: none;
-
- &.label {
- text-decoration: none;
-
- &.black {
- background-color: #000;
- }
-
- &.brown {
- background-color: #930;
- }
-
- &.red {
- background-color: #900;
- }
-
- &.orange {
- background-color: #f60;
- }
-
- &.yellow {
- background-color: #cc0;
- }
-
- &.green {
- background-color: #090;
- }
-
- &.blue {
- background-color: #06c;
- }
- &.purple {
- background-color: #90c;
- }
-
- &.pink {
- background-color: #c09;
- }
+ &.black {
+ background-color: #000;
+ }
+
+ &.brown {
+ background-color: #930;
+ }
+
+ &.red {
+ background-color: #900;
+ }
+
+ &.orange {
+ background-color: #f60;
+ }
+
+ &.yellow {
+ background-color: #cc0;
+ }
+
+ &.green {
+ background-color: #090;
+ }
+
+ &.blue {
+ background-color: #06c;
+ }
+
+ &.purple {
+ background-color: #90c;
+ }
+
+ &.pink {
+ background-color: #c09;
}
}