cartodb/lib/assets/javascripts/cdb/themes/css/tooltip/cartodb-tooltip-default.css

67 lines
1.5 KiB
CSS
Raw Normal View History

2020-06-15 10:58:47 +08:00
/**
* CartoDB2.0 tooltip styles (DEFAULT)
*/
div.cartodb-tooltip {
position: absolute;
display: none;
min-width:120px;
max-width:180px;
overflow-y:hidden;
z-index: 50;
}
div.cartodb-tooltip-content-wrapper {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: rgb(255,255,255);
background: rgba(255,255,255,0.9);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5FFFFFF, endColorstr=#E5FFFFFF);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5FFFFFF, endColorstr=#E5FFFFFF)";
zoom: 1;
}
div.cartodb-tooltip-content {
display:block;
padding:8px 8px 8px 9px;
}
div.cartodb-tooltip-content h4 {
display:block;
margin: 0 0 1px 0;
text-transform: uppercase;
font:normal 10px "Helvetica Neue","Helvetica",Arial;
color:#AAA;
word-wrap: break-word;
}
div.cartodb-tooltip-content p {
display:block;
margin: 0 0 4px 0;
padding:0 0 7px;
font:normal 12px "Helvetica Neue", "Helvetica", Arial;
color:#333333;
word-wrap: break-word;
}
div.cartodb-tooltip-content p:last-child {
padding:0;
margin: 0;
}
div.cartodb-tooltip-content a {
color:#0078A8;
}
/* Old tooltip styles */
div.cartodb-tooltip > p {
font-family: "robotoregular", Helvetica, Arial, Sans-serif;
font-size: 15px;
color: #333;
text-align:center;
text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF;
}