aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-12-02 14:48:51 +0100
committerStas Vilchik <vilchiks@gmail.com>2014-12-02 14:48:58 +0100
commit0563ba0f7fad3ae6b24f415fafc4aec5a301eb32 (patch)
tree5b958780143505ce59e27be072182969377eeda7
parentd4e835045c66dfeed06fcc1c6c09a531ff2427ee (diff)
downloadsonarqube-0563ba0f7fad3ae6b24f415fafc4aec5a301eb32.tar.gz
sonarqube-0563ba0f7fad3ae6b24f415fafc4aec5a301eb32.zip
SONAR-5877 Return back the issue underline
-rw-r--r--server/sonar-web/src/main/less/components/source.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/less/components/source.less b/server/sonar-web/src/main/less/components/source.less
index 32d1e8001b0..d2df60b8098 100644
--- a/server/sonar-web/src/main/less/components/source.less
+++ b/server/sonar-web/src/main/less/components/source.less
@@ -2,11 +2,13 @@
@import (reference) "../variables";
@lineHeight: 18px;
+@lineWithIssuesBackground: #ffeaea;
@duplicationColor: #f3ca8e;
.source {
width: 100%;
border: 1px solid @barBorderColor;
+ .box-sizing(border-box);
overflow-x: auto;
overflow-y: hidden;
}
@@ -68,6 +70,14 @@
.source-line-code {
padding: 0 10px;
+
+ &.has-issues pre {
+ display: inline-block;
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNy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