]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5877 Improve readability of issues on the same line
authorStas Vilchik <stasvilchik@Stas-Vilchik-iMac.local>
Wed, 10 Dec 2014 09:24:31 +0000 (10:24 +0100)
committerStas Vilchik <stasvilchik@Stas-Vilchik-iMac.local>
Wed, 10 Dec 2014 09:24:31 +0000 (10:24 +0100)
server/sonar-web/src/main/less/components/issues.less
server/sonar-web/src/main/less/variables.less

index d58302438f3ad50eb15407f1c2c5ae83f7ab0f3d..f779aba971f38a9b8ea16070165b054d512b76b2 100644 (file)
@@ -19,7 +19,7 @@
   padding-bottom: @bottomPadding;
   border: 1px solid transparent;
   border-left-width: 3px;
-  background-color: #ffeaea;
+  background-color: @issueBackgroundColor;
 }
 
 .issue-list,
 }
 
 .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 {
index 6df9374e5e87ad99229956f7682f81b6d816fcc1..37e5e29e364519ee94eaa18364f2eb78f831b8ca 100644 (file)
@@ -43,7 +43,8 @@
 @barBackgroundColor: #f3f3f3;
 @barBorderColor: darken(@barBackgroundColor, 5%);
 
-@issueBackgroundColor: #ff9090;
+@issueBackgroundColor: #ffeaea;
+@issueBorderColor: desaturate(darken(@issueBackgroundColor, 40%), 30%);
 
 
 /*