aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-10-06 11:54:31 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-10-06 12:49:58 +0200
commit82f0ed23d6792f6d74b8db781aa9f3c9707f9b8c (patch)
tree5d12acdbc8d62e6af04206c91349e78c43047c25 /server/sonar-web
parente6b5cdd0c0e3d6c59fefbb0d12dcd0205004122d (diff)
downloadsonarqube-82f0ed23d6792f6d74b8db781aa9f3c9707f9b8c.tar.gz
sonarqube-82f0ed23d6792f6d74b8db781aa9f3c9707f9b8c.zip
SONAR-5669 The green color should not be used to identify symbols in the component viewer
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/less/component-viewer-source-colorizer.less8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/less/component-viewer-source-colorizer.less b/server/sonar-web/src/main/less/component-viewer-source-colorizer.less
index f80ebe3fd83..e11e0e1c402 100644
--- a/server/sonar-web/src/main/less/component-viewer-source-colorizer.less
+++ b/server/sonar-web/src/main/less/component-viewer-source-colorizer.less
@@ -1,4 +1,5 @@
@import (reference) 'variables';
+@import (reference) 'mixins';
.component-viewer-source {
@@ -37,7 +38,12 @@
}
.sym {
- color: darken(saturate(@green, 10%), 15%);
+ @symColor: darken(saturate(@green, 10%), 15%);
+ border-bottom: 1px dotted @symColor;
+ .trans(color);
+
+ &:hover,
+ &.highlighted { color: @symColor; }
}
}