aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/components/badges.less
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/less/components/badges.less')
-rw-r--r--server/sonar-web/src/main/less/components/badges.less14
1 files changed, 13 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/less/components/badges.less b/server/sonar-web/src/main/less/components/badges.less
index 4523a35517e..856125aea62 100644
--- a/server/sonar-web/src/main/less/components/badges.less
+++ b/server/sonar-web/src/main/less/components/badges.less
@@ -19,6 +19,7 @@
*/
@import (reference) "../variables";
@import (reference) "../mixins";
+@import (reference) "../init/links";
.badge {
display: inline-block;
@@ -26,7 +27,7 @@
padding: 2px 7px;
font-size: 11px;
font-weight: 300;
- color: #fff;
+ color: @white;
line-height: 12px;
vertical-align: baseline;
white-space: nowrap;
@@ -35,6 +36,10 @@
&:empty { display: none; }
+ &:hover, &:focus, &:active { color: @white; }
+
+ a& { .link-no-underline; }
+
.list-group-item > &,
.list-group-item-heading > & {
float: right;
@@ -45,3 +50,10 @@
margin-right: 5px;
}
}
+
+.badge-muted {
+ background-color: transparent;
+ color: @secondFontColor;
+
+ &:hover, &:focus, &:active { color: @blue; }
+}