Merge branch 'refs/heads/pulls/741/tooltip-on-focus' into feature/2.4.0/accessibility-master

pull/41/head
Romano Licker 13 years ago
commit 3d090fd16a
  1. 10
      public/javascripts/application.js
  2. 6
      public/stylesheets/application.css

@ -670,4 +670,14 @@ jQuery(document).ready(function($) {
$('#nav-login-content').click(function(event){
event.stopPropagation();
});
jQuery('table.cal div.issue.tooltip').each(function(){
var div = $(this);
div.find('a').first().focus(function(){
div.addClass('hover');
});
div.find('a').first().blur(function(){
div.removeClass('hover');
});
});
});

@ -621,10 +621,12 @@ p.cal.legend span {display:block;}
/***** Tooltips ******/
.tooltip{position:relative;z-index:24;}
.tooltip:hover{z-index:25;color:#000;}
.tooltip.hover, .tooltip:hover {
z-index:25;color:#000;
}
.tooltip span.tip{display: none; text-align:left;}
div.tooltip:hover span.tip{
div.tooltip:hover span.tip, div.tooltip.hover span.tip {
display:block;
position:absolute;
top:12px; left:24px; width:270px;

Loading…
Cancel
Save