From fe2ca741281b34682c1660670c32a29ce2f50c63 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 4 Mar 2016 15:59:06 +0100 Subject: SONAR-7402 apply feedback --- .../components/AllMeasuresDomain.js | 36 ++++++++++++---------- .../src/main/js/apps/component-measures/styles.css | 17 +++++++--- 2 files changed, 32 insertions(+), 21 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/component-measures') diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js b/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js index ba5c86459bf..25d2861d25e 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js +++ b/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js @@ -39,23 +39,25 @@ export default function AllMeasuresDomain ({ domain, component, displayLeakHeade diff --git a/server/sonar-web/src/main/js/apps/component-measures/styles.css b/server/sonar-web/src/main/js/apps/component-measures/styles.css index 040ac570462..18cc9b14459 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/styles.css +++ b/server/sonar-web/src/main/js/apps/component-measures/styles.css @@ -1,6 +1,7 @@ .measures-domains { - width: 600px; - margin: 20px auto; + margin: 20px; + column-count: 2; + column-gap: 60px; } .measures-domains > li + li { @@ -15,11 +16,13 @@ background-color: #fbf3d5; } -.domain-measures > li { + +.domain-measures > li > a { display: flex; + border: none; } -.domain-measures > li:nth-child(odd) { +.domain-measures > li:nth-child(odd) > a { background-color: #f8f8f8; } @@ -33,13 +36,19 @@ width: calc(100% - 160px); } +.domain-measures-name > span { + border-bottom: 1px solid #cae3f2; +} + .domain-measures-value { width: 80px; + color: #444; text-align: right; } .domain-measures-leak { background-color: #fbf3d5; + transition: background-color 0.3s ease; } .domain-measures > li:nth-child(odd) .domain-measures-leak { -- cgit v1.2.3