aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-08-04 17:17:21 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-08-14 11:44:44 +0200
commitbb393dd277ab06c8451513a6339171e800fc9944 (patch)
tree8d452b784eed096a3362fb5730d94a5ddd0b82a1 /server/sonar-web/src/main/less
parent21cd227ec55a54d22edfddbb45ec011359bdba3e (diff)
downloadsonarqube-bb393dd277ab06c8451513a6339171e800fc9944.tar.gz
sonarqube-bb393dd277ab06c8451513a6339171e800fc9944.zip
SONAR-9608 SONAR-9611 Create the project overview bubble chart on the measures page
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r--server/sonar-web/src/main/less/components/graphics.less24
1 files changed, 24 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/less/components/graphics.less b/server/sonar-web/src/main/less/components/graphics.less
index 47b0390b2f0..8df1fcb6b70 100644
--- a/server/sonar-web/src/main/less/components/graphics.less
+++ b/server/sonar-web/src/main/less/components/graphics.less
@@ -263,6 +263,30 @@
text-anchor: end;
}
+.color-ratings-legend {
+ display: flex;
+ justify-content: center;
+
+ & > *:not(:first-child) {
+ margin-left: 24px;
+ }
+
+ .color-ratings-legend-rect {
+ display: inline-block;
+ vertical-align: top;
+ margin-top: 1px;
+ margin-right: 4px;
+ border: 1px solid;
+ }
+
+ .color-ratings-legend-rect-inner {
+ display: block;
+ width: 8px;
+ height: 8px;
+ opacity: 0.2;
+ }
+}
+
/*
* Bar Chart
*/