]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12504 More consistent color for selected secondary locations badges
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Thu, 3 Oct 2019 14:11:42 +0000 (16:11 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 9 Oct 2019 18:21:06 +0000 (20:21 +0200)
server/sonar-web/src/main/js/app/theme.js
server/sonar-web/src/main/js/components/common/LocationIndex.css

index 65bf4bff0fc9791f45a20d05f9e53378f245b5f5..c44a6de914dc4475f65323c11860d67cd4c3232e 100644 (file)
@@ -39,6 +39,7 @@ module.exports = {
     purple: '#9139d4',
 
     conciseIssueRed: '#d18582',
+    conciseIssueRedSelected: '#a4030f',
 
     gray94: '#efefef',
     gray80: '#cdcdcd',
index ce5f3e7d2291da9f3a5c7cfaeaa70c3a55a35f82..cf94c9a68348d5a57087e5c7fcd9581aeb1ff93e 100644 (file)
@@ -25,7 +25,7 @@
   padding-left: 6px;
   padding-right: 6px;
   border-radius: 2px;
-  background-color: #d18582;
+  background-color: var(--conciseIssueRed);
   color: #fff;
   font-family: var(--baseFontFamily);
   font-size: var(--smallFontSize);
@@ -34,7 +34,7 @@
 }
 
 .location-index.selected {
-  background-color: #8f3030;
+  background-color: var(--conciseIssueRedSelected);
 }
 
 .location-index.muted {