summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-05-12 09:52:59 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-05-12 09:52:59 +0200
commit290d772b934a40269603516f25ca09c2241041c1 (patch)
treeb7b4b973cda33d60c27ddac941b5f44f7df81ca3 /sonar-server/src/main/less
parentb74e7b7bf014de5d79516b4c41a886d3bcfb2984 (diff)
downloadsonarqube-290d772b934a40269603516f25ca09c2241041c1.tar.gz
sonarqube-290d772b934a40269603516f25ca09c2241041c1.zip
Component Viewer: fix display of the rule description
Diffstat (limited to 'sonar-server/src/main/less')
-rw-r--r--sonar-server/src/main/less/component-viewer.less2
-rw-r--r--sonar-server/src/main/less/style.less15
2 files changed, 12 insertions, 5 deletions
diff --git a/sonar-server/src/main/less/component-viewer.less b/sonar-server/src/main/less/component-viewer.less
index 51c2eb28d4d..01fff2e5821 100644
--- a/sonar-server/src/main/less/component-viewer.less
+++ b/sonar-server/src/main/less/component-viewer.less
@@ -177,7 +177,7 @@
background-color: @barBackgroundColor;
}
- .code .issue pre {
+ .code .issue > pre {
display: inline-block;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1M0M2Rjk4M0M3QUYxMUUzODkzRUREMUM5OTNDMjY4QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1M0M2Rjk4NEM3QUYxMUUzODkzRUREMUM5OTNDMjY4QSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjUzQzZGOTgxQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUzQzZGOTgyQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+bcqJtQAAAEhJREFUeNpi+G+swwDGDAwgbAWlwZiJAQFCgfgwEIfDRaC67ID4NRDnQ2kQnwFZwgFqnANMAQOUYY9sF0wBiCGH5CBkrAgQYACuWi4sSGW8yAAAAABJRU5ErkJggg==);
background-repeat: repeat-x;
diff --git a/sonar-server/src/main/less/style.less b/sonar-server/src/main/less/style.less
index 53cf45fb795..dee81837691 100644
--- a/sonar-server/src/main/less/style.less
+++ b/sonar-server/src/main/less/style.less
@@ -970,12 +970,17 @@ th.operations, td.operations {
}
.code-issue-list {
+ background-color: #E4ECF3;
+}
+
+.code-issue-bar,
+.code-issue-list {
font-size: 0;
white-space: nowrap;
- background-color: #E4ECF3;
}
-.code-issue-list > li {
+.code-issue-list > li,
+.code-issue-bar > li {
display: inline-block;
vertical-align: middle;
height: 14px;
@@ -986,12 +991,14 @@ th.operations, td.operations {
font-size: 12px;
}
-.code-issue-list > li:first-child {
+.code-issue-list > li:first-child,
+.code-issue-bar > li:first-child {
padding-left: 0;
border-left: none;
}
-.code-issue-list > li:last-child {
+.code-issue-list > li:last-child,
+.code-issue-bar > li:last-child {
padding-right: 0;
border-right: none;
}