[FIX]pretty tooltip: attach tooltip to body to insure that some element don't move over the place.

increase tooltip z-index to be visible when a modal is open

bzr revid: csn@openerp.com-20140418101235-08yqheh70wi4hb6g
This commit is contained in:
Cedric Snauwaert
2014-04-18 12:12:35 +02:00
parent 0a6da3662a
commit d535196bb6
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -3307,6 +3307,8 @@ body.oe_single_form .oe_single_form_container {
background: white;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
background-color: transparent;
/*We need a greater z-index in order for tooltip to go over bootstrap modal z-index*/
z-index: 1500;
}
.tooltip .tooltip-inner {
text-align: left !important;
+1
View File
@@ -792,6 +792,7 @@ instance.web.unblockUI = function() {
/* Bootstrap defaults overwrite */
$.fn.tooltip.Constructor.DEFAULTS.placement = 'bottom';
$.fn.tooltip.Constructor.DEFAULTS.html = true;
$.fn.tooltip.Constructor.DEFAULTS.container = 'body';
/**
* Registry for all the client actions key: tag value: widget