aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/components/badges.less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-03-30 13:42:42 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-03-30 13:42:42 +0200
commitfcc90027f5b624b333f4e00045a04dacb7d67394 (patch)
treec82aadae3cc621a1832440a5bbb338966cc3ca50 /server/sonar-web/src/main/less/components/badges.less
parent3fa0d737fb0177414765ca800f0271b6859437d9 (diff)
downloadsonarqube-fcc90027f5b624b333f4e00045a04dacb7d67394.tar.gz
sonarqube-fcc90027f5b624b333f4e00045a04dacb7d67394.zip
SONAR-6331 add a project overview page
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; }
+}