aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-09 18:31:33 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-10 16:13:54 +0100
commit8f00c3f5311f1e650a08a707c568cbeb61379af8 (patch)
treeeebeda305d015fdd11503e7528d5c09b7ab6d4a6 /server/sonar-web/src/main/less
parent85d8cf1d3e3706af1807ecf5689fd7e5cf9ada71 (diff)
downloadsonarqube-8f00c3f5311f1e650a08a707c568cbeb61379af8.tar.gz
sonarqube-8f00c3f5311f1e650a08a707c568cbeb61379af8.zip
SONAR-6360 add detailed "Code Coverage" panel for the "Overview" main page
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r--server/sonar-web/src/main/less/init/misc.less4
-rw-r--r--server/sonar-web/src/main/less/pages/overview.less23
2 files changed, 26 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/less/init/misc.less b/server/sonar-web/src/main/less/init/misc.less
index 272d7552283..bcd74fe3882 100644
--- a/server/sonar-web/src/main/less/init/misc.less
+++ b/server/sonar-web/src/main/less/init/misc.less
@@ -96,6 +96,10 @@ td.big-spacer-top { padding-top: 16px; }
border-radius: 2px;
}
+.flex-1 {
+ flex: 1;
+}
+
// Background Color
diff --git a/server/sonar-web/src/main/less/pages/overview.less b/server/sonar-web/src/main/less/pages/overview.less
index e85da65f77f..5f5cee8629f 100644
--- a/server/sonar-web/src/main/less/pages/overview.less
+++ b/server/sonar-web/src/main/less/pages/overview.less
@@ -245,15 +245,24 @@
overflow: hidden;
}
+.overview-detailed-measures-list + .overview-detailed-measures-list {
+ margin-top: 40px;
+}
+
.overview-detailed-measure {
display: flex;
background-color: #fff;
}
.overview-detailed-measure-nutshell,
-.overview-detailed-measure-leak {
+.overview-detailed-measure-leak,
+.overview-detailed-measure-chart {
position: relative;
padding: 7px 10px;
+
+ & & {
+ padding-right: 0;
+ }
}
.overview-detailed-measure-nutshell {
@@ -270,6 +279,10 @@
text-align: center;
}
+.overview-detailed-measure-name {
+ flex: 1;
+}
+
.overview-detailed-measure-value {
font-size: 16px;
}
@@ -483,6 +496,14 @@
}
}
+.overview-donut-chart {
+ display: inline-block;
+ vertical-align: top;
+ margin-right: 8px;
+}
+
+
+
/*
* Responsive Stuff
*/