use button elements instead of anchor elements and add tooltips to zoomcontrol

This commit is contained in:
Mark Prins
2014-02-15 10:38:14 +01:00
committed by Antoine Abt
parent 9adf8b01f6
commit 18c2ffe522
2 changed files with 13 additions and 11 deletions

View File

@@ -178,7 +178,7 @@ a.ol-full-screen-true:after {
}
/* invisible but not hidden */
.olHasToolTip span, .olHasTooltip_b_r span {
.olHasToolTip span, .olHasToolTip_b_r span {
position: absolute;
clip: rect(1px 1px 1px 1px); /* < IE8 */
clip: rect(1px, 1px, 1px, 1px);
@@ -193,7 +193,7 @@ a.ol-full-screen-true:after {
/* show a tooltip offset to below and right */
.olHasToolTip:hover span, .olHasToolTip:focus span ,
.olHasTooltip_b_r:hover span , .olHasTooltip_b_r:focus span {
.olHasToolTip_b_r:hover span , .olHasToolTip_b_r:focus span {
clip: auto;
padding: 3px;
height: auto;