aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-17 13:39:46 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-19 09:06:13 +0200
commit41d9a2b483a2ea667d1ca96ce98029dc75b1ed63 (patch)
tree0bf35d5297137d2f9b1d6ad472675e3816d8013d /server/sonar-web/src
parent6d2f8c7900ea8f73f26c0acad5f558fc6f0bdb62 (diff)
downloadsonarqube-41d9a2b483a2ea667d1ca96ce98029dc75b1ed63.tar.gz
sonarqube-41d9a2b483a2ea667d1ca96ce98029dc75b1ed63.zip
SONAR-8150 Change the color of strings when displaying a source code
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/less/sonar-colorizer.less12
1 files changed, 8 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/less/sonar-colorizer.less b/server/sonar-web/src/main/less/sonar-colorizer.less
index 760aec28453..09dddc8b4a8 100644
--- a/server/sonar-web/src/main/less/sonar-colorizer.less
+++ b/server/sonar-web/src/main/less/sonar-colorizer.less
@@ -26,7 +26,7 @@
}
/* constants */
.code .c {
- color: #660E80;
+ color: #660e80;
font-style: normal;
font-weight: bold;
}
@@ -52,7 +52,7 @@
}
/* string */
.code .s {
- color: saturate(@red, 0%);
+ color: #277b31;
font-weight: normal;
}
/* keyword light*/
@@ -75,6 +75,10 @@
}
@keyframes highlightedFadeIn {
- from { background-color: transparent; }
- to { background-color: #b3d4ff; }
+ from {
+ background-color: transparent;
+ }
+ to {
+ background-color: #b3d4ff;
+ }
}