1

I created a map with jQuery.vmap and set the showTooltip: true setting. By default, this tooltip has a black background and white font; I can't inspect element tooltip in Chrome in order to change css style for it.

How can I change the tooltip style in jQuery.vmap?

Owlvark
  • 1,763
  • 17
  • 28
Mahmoud.Eskandari
  • 1,460
  • 3
  • 20
  • 32

1 Answers1

4

Looking at the supplied CSS, it seems that the tooltips are called "labels". The CSS to edit (or override) is:

.jqvmap-label
{
    position: absolute;
    display: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #292929;
    color: white;
    font-family: sans-serif, Verdana;
    font-size: smaller;
    padding: 3px;
    pointer-events:none;
}
Owlvark
  • 1,763
  • 17
  • 28
  • thank you,I don't see included library's :) , just Inspect element is my eye & I should add new eye to see all librarys :).All thing is ok! – Mahmoud.Eskandari Nov 29 '14 at 19:50