diff options
author | Stas Vilchik <stasvilchik@Stas-Vilchik-iMac.local> | 2014-12-10 10:24:31 +0100 |
---|---|---|
committer | Stas Vilchik <stasvilchik@Stas-Vilchik-iMac.local> | 2014-12-10 10:24:31 +0100 |
commit | 1473d5e01a41a9e087c3ec58b8f767cdc59b21b6 (patch) | |
tree | 81fd31e5629fe9ccc0d63b028a1a26cabbcbbc3a | |
parent | 71b29ec2839fdcc7c5705c53c896c87c2b16e2ed (diff) | |
download | sonarqube-1473d5e01a41a9e087c3ec58b8f767cdc59b21b6.tar.gz sonarqube-1473d5e01a41a9e087c3ec58b8f767cdc59b21b6.zip |
SONAR-5877 Improve readability of issues on the same line
-rw-r--r-- | server/sonar-web/src/main/less/components/issues.less | 6 | ||||
-rw-r--r-- | server/sonar-web/src/main/less/variables.less | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/less/components/issues.less b/server/sonar-web/src/main/less/components/issues.less index d58302438f3..f779aba971f 100644 --- a/server/sonar-web/src/main/less/components/issues.less +++ b/server/sonar-web/src/main/less/components/issues.less @@ -19,7 +19,7 @@ padding-bottom: @bottomPadding; border: 1px solid transparent; border-left-width: 3px; - background-color: #ffeaea; + background-color: @issueBackgroundColor; } .issue-list, @@ -28,11 +28,11 @@ } .issue.selected { - border-color: desaturate(darken(#ffeaea, 40%), 30%) !important; + border-color: @issueBorderColor !important; } .issue + .issue { - border-top: 1px solid @barBorderColor; + margin-top: 5px; } .issue.selected + .issue { diff --git a/server/sonar-web/src/main/less/variables.less b/server/sonar-web/src/main/less/variables.less index 6df9374e5e8..37e5e29e364 100644 --- a/server/sonar-web/src/main/less/variables.less +++ b/server/sonar-web/src/main/less/variables.less @@ -43,7 +43,8 @@ @barBackgroundColor: #f3f3f3; @barBorderColor: darken(@barBackgroundColor, 5%); -@issueBackgroundColor: #ff9090; +@issueBackgroundColor: #ffeaea; +@issueBorderColor: desaturate(darken(@issueBackgroundColor, 40%), 30%); /* |