aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/init/misc.less
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/less/init/misc.less')
-rw-r--r--server/sonar-web/src/main/less/init/misc.less5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/less/init/misc.less b/server/sonar-web/src/main/less/init/misc.less
index d109674532f..2595e67a970 100644
--- a/server/sonar-web/src/main/less/init/misc.less
+++ b/server/sonar-web/src/main/less/init/misc.less
@@ -131,12 +131,13 @@ td.big-spacer-top { padding-top: 16px; }
// Background Color
-.bg-variant(@color) {
+.bg-variant(@color, @fontColor: #fff) {
background-color: @color;
- color: #fff;
+ color: @fontColor;
}
.bg-danger { .bg-variant(@red); }
.bg-warning { .bg-variant(@orange); }
.bg-info { .bg-variant(@blue); }
.bg-success { .bg-variant(@green); }
+.bg-muted { .bg-variant(@barBackgroundColor, inherit); }