summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-04-21 12:39:17 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-04-21 12:39:17 +0600
commit30ba10e719b5152c529dc6022f48fe6f5c79dcb7 (patch)
tree4be1be42b90edbc71b593c9aa9f65b26afdcc149 /sonar-server
parent9478b43f24a2575007b7c57c75bcba6b1b7aada1 (diff)
downloadsonarqube-30ba10e719b5152c529dc6022f48fe6f5c79dcb7.tar.gz
sonarqube-30ba10e719b5152c529dc6022f48fe6f5c79dcb7.zip
Component Viewer: improve coverage pop up
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/coffee/component-viewer/source.coffee1
-rw-r--r--sonar-server/src/main/less/component-viewer.less3
2 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/coffee/component-viewer/source.coffee b/sonar-server/src/main/coffee/component-viewer/source.coffee
index a81aeb67bdc..e4ea8c7502a 100644
--- a/sonar-server/src/main/coffee/component-viewer/source.coffee
+++ b/sonar-server/src/main/coffee/component-viewer/source.coffee
@@ -34,6 +34,7 @@ define [
showCoveragePopup: (e) ->
e.stopPropagation()
+ $('body').click()
popup = new CoveragePopupView
triggerEl: $(e.currentTarget).closest('td')
main: @options.main
diff --git a/sonar-server/src/main/less/component-viewer.less b/sonar-server/src/main/less/component-viewer.less
index 439a1ea54dd..f8b175635ee 100644
--- a/sonar-server/src/main/less/component-viewer.less
+++ b/sonar-server/src/main/less/component-viewer.less
@@ -93,7 +93,8 @@
z-index: 100;
padding: 10px;
border: 1px solid @barBorderColor;
- background-color: @barBackgroundColor;
+ background-color: @white;
+ box-shadow: @defaultShadow;
}
.component-viewer-popup-section + .component-viewer-popup-section {