]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5209 Return the underline of the issue line
authorStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 16:54:01 +0000 (22:54 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 16:54:12 +0000 (22:54 +0600)
sonar-server/Gruntfile.coffee
sonar-server/src/main/less/component-viewer.less

index 6417a05a8760c8bcbb4711a9f3b4c60cbd30f56f..613a32c46b6763b59ba279754abd97d2059c50d3 100644 (file)
@@ -52,8 +52,12 @@ module.exports = (grunt) ->
           skipExternal: true
           rewriteUrl: (url, options, dataURI) ->
             path = url.replace pkg.assets, ''
-            hash = require('crypto').createHash('md5').update(dataURI).digest('hex')
-            "../#{path}?#{hash}"
+            if path.indexOf('data:') == 0
+              "#{path}"
+            else
+              hash = require('crypto').createHash('md5').update(dataURI).digest('hex')
+              "../#{path}?#{hash}"
+
 
 
     coffee:
index 8127a4c6de8f5f001e825faf6a1c772965d6b907..9069ae9b2b7b2f828ad2d663388da35adf2224f6 100644 (file)
   }
 
   .code .issue > pre {
-    background-color: @issueBackgroundColor;
+    display: inline-block;
+    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1M0M2Rjk4M0M3QUYxMUUzODkzRUREMUM5OTNDMjY4QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1M0M2Rjk4NEM3QUYxMUUzODkzRUREMUM5OTNDMjY4QSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjUzQzZGOTgxQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUzQzZGOTgyQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+bcqJtQAAAEhJREFUeNpi+G+swwDGDAwgbAWlwZiJAQFCgfgwEIfDRaC67ID4NRDnQ2kQnwFZwgFqnANMAQOUYY9sF0wBiCGH5CBkrAgQYACuWi4sSGW8yAAAAABJRU5ErkJggg==);
+    background-repeat: repeat-x;
+    background-size: 4px;
+    background-position: bottom;
   }
 
   .code .scm {