Use mouse cursors (pointer or move) for the control buttons, p=fvanderbiest, r=me, (Closes #3047)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11105 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -123,7 +123,7 @@ OpenLayers.Control.PanZoom = OpenLayers.Class(OpenLayers.Control, {
|
||||
var btn = OpenLayers.Util.createAlphaImageDiv(
|
||||
this.id + "_" + id,
|
||||
xy, sz, imgLocation, "absolute");
|
||||
|
||||
btn.style.cursor = "pointer";
|
||||
//we want to add the outer div
|
||||
this.div.appendChild(btn);
|
||||
|
||||
|
||||
@@ -180,6 +180,7 @@ OpenLayers.Control.PanZoomBar = OpenLayers.Class(OpenLayers.Control.PanZoom, {
|
||||
new OpenLayers.Size(20,9),
|
||||
imgLocation+"slider.png",
|
||||
"absolute");
|
||||
slider.style.cursor = "move";
|
||||
this.slider = slider;
|
||||
|
||||
this.sliderEvents = new OpenLayers.Events(this, slider, null, true,
|
||||
@@ -212,7 +213,7 @@ OpenLayers.Control.PanZoomBar = OpenLayers.Class(OpenLayers.Control.PanZoom, {
|
||||
sz,
|
||||
imgLocation+"zoombar.png");
|
||||
}
|
||||
|
||||
div.style.cursor = "pointer";
|
||||
this.zoombarDiv = div;
|
||||
|
||||
this.divEvents = new OpenLayers.Events(this, div, null, true,
|
||||
|
||||
@@ -93,11 +93,13 @@ div.olControlMousePosition {
|
||||
.olControlOverviewMapMinimizeButton {
|
||||
right: 0px;
|
||||
bottom: 80px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.olControlOverviewMapMaximizeButton {
|
||||
right: 0px;
|
||||
bottom: 80px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.olControlOverviewMapExtentRectangle {
|
||||
@@ -402,6 +404,7 @@ div.olControlSaveFeaturesItemInactive {
|
||||
.olControlLayerSwitcher .minimizeDiv {
|
||||
top: 5px;
|
||||
right: 0px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.olBingAttribution {
|
||||
|
||||
Reference in New Issue
Block a user