aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-server/src')
-rw-r--r--server/sonar-server/src/main/less/ui.less30
1 files changed, 30 insertions, 0 deletions
diff --git a/server/sonar-server/src/main/less/ui.less b/server/sonar-server/src/main/less/ui.less
index cc627fa577c..eeb002fdde4 100644
--- a/server/sonar-server/src/main/less/ui.less
+++ b/server/sonar-server/src/main/less/ui.less
@@ -312,3 +312,33 @@ input[type=button] {
.markdown {
a { .underlined-link; }
}
+
+
+/*
+ * Display SQALE Rating (also used by the SQALE plugin)
+ */
+
+.rating {
+ padding: 2px 5px;
+ color: #fff;
+}
+
+.rating-A {
+ background-color: #00AA00;
+}
+
+.rating-B {
+ background-color: #80CC00;
+}
+
+.rating-C {
+ background-color: #FFEE00;
+}
+
+.rating-D {
+ background-color: #F77700;
+}
+
+.rating-E {
+ background-color: #EE0000;
+}