Coding style

This commit is contained in:
Antoine Abt
2014-02-18 15:49:45 +01:00
parent 1a44fb2ff3
commit b6052320ad
2 changed files with 4 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ a.ol-full-screen-true:after {
}
/* invisible but not hidden */
.olHasToolTip [role=tooltip] {
.ol-has-tooltip [role=tooltip] {
position: absolute;
clip: rect(1px 1px 1px 1px); /* < IE8 */
clip: rect(1px, 1px, 1px, 1px);
@@ -203,7 +203,7 @@ a.ol-full-screen-true:after {
}
/* show a tooltip offset to below and right */
.olHasToolTip:hover [role=tooltip], .olHasToolTip:focus [role=tooltip] {
.ol-has-tooltip:hover [role=tooltip], .ol-has-tooltip:focus [role=tooltip] {
clip: auto;
padding: .2em .4em;
height: auto;

View File

@@ -47,7 +47,7 @@ ol.control.Zoom = function(opt_options) {
'role' : 'tooltip'
}, zoomInTipLabel);
var inElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
'class': className + '-in olHasToolTip',
'class': className + '-in ol-has-tooltip',
'name' : 'ZoomIn',
'type' : 'button'
}, tTipZoomIn, zoomInLabel);
@@ -63,7 +63,7 @@ ol.control.Zoom = function(opt_options) {
'type' : 'button'
}, zoomOutTipLabel);
var outElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
'class': className + '-out olHasToolTip',
'class': className + '-out ol-has-tooltip',
'name' : 'ZoomOut'
}, tTipsZoomOut, zoomOutLabel);
goog.events.listen(outElement, [