aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-13 13:55:24 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-14 16:01:30 +0200
commit24f3abee42c9e734418f5ad4359f639bca5eb899 (patch)
treed8f88bdacc4188c5809cc6bca1749e5a5e226829 /server/sonar-web/src/main/less
parent853937dea8fdfe8677b74430f6951682e9b85ddb (diff)
downloadsonarqube-24f3abee42c9e734418f5ad4359f639bca5eb899.tar.gz
sonarqube-24f3abee42c9e734418f5ad4359f639bca5eb899.zip
SONAR-6766 show issue execution flow
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r--server/sonar-web/src/main/less/components/source.less28
1 files changed, 23 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/less/components/source.less b/server/sonar-web/src/main/less/components/source.less
index bddf7ae5786..fd9b82435da 100644
--- a/server/sonar-web/src/main/less/components/source.less
+++ b/server/sonar-web/src/main/less/components/source.less
@@ -110,12 +110,20 @@
position: relative;
padding: 0 10px;
+ pre {
+ float: left;
+ }
+
.issue-list {
margin-left: -10px;
margin-right: -10px;
}
}
+.source-line-code-inner {
+ .clearfix;
+}
+
.source-line-code-issue {
display: inline-block;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1M0M2Rjk4M0M3QUYxMUUzODkzRUREMUM5OTNDMjY4QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1M0M2Rjk4NEM3QUYxMUUzODkzRUREMUM5OTNDMjY4QSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjUzQzZGOTgxQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUzQzZGOTgyQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+bcqJtQAAAEhJREFUeNpi+G+swwDGDAwgbAWlwZiJAQFCgfgwEIfDRaC67ID4NRDnQ2kQnwFZwgFqnANMAQOUYY9sF0wBiCGH5CBkrAgQYACuWi4sSGW8yAAAAABJRU5ErkJggg==);
@@ -452,10 +460,8 @@
text-align: right;
}
-.source-viewer-flow-location {
- position: absolute;
- top: 0;
- right: 10px;
+.source-viewer-issue-location {
+ float: left;
height: @source-line-height - 1px;
line-height: @source-line-height - 1px;
padding: 0 10px;
@@ -463,9 +469,21 @@
background-color: @red;
color: #fff;
font-size: 12px;
- z-index: @issue-flow-location-z-index;
+}
+
+.source-viewer-issue-location + .source-viewer-issue-location {
+ margin-left: 10px;
}
.source-viewer-flow-location + .source-viewer-flow-location {
z-index: @issue-flow-location-z-index - 1;
}
+
+.source-line-issue-locations {
+ float: right;
+ padding-bottom: 1px;
+
+ &:empty {
+ display: none;
+ }
+}