From 7999253c74a040dbdaeb5d94a62e10395b7e9194 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Mon, 22 May 2006 03:27:51 +0000 Subject: [PATCH] Make the zoom box thicker and semi-opaque. git-svn-id: http://svn.openlayers.org/trunk/openlayers@244 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/MouseDefaults.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/MouseDefaults.js b/lib/OpenLayers/Control/MouseDefaults.js index 9e0cfd107f..ee82c4d6cc 100644 --- a/lib/OpenLayers/Control/MouseDefaults.js +++ b/lib/OpenLayers/Control/MouseDefaults.js @@ -30,7 +30,10 @@ OpenLayers.Control.MouseDefaults.prototype = if (evt.shiftKey) { this.map.div.style.cursor = "crosshair"; this.zoomBox = OpenLayers.Util.createDiv('zoomBox'); - this.zoomBox.style.border = '1px solid red'; + this.zoomBox.style.border = '2px solid red'; + this.zoomBox.style.backgroundColor = "white"; + this.zoomBox.style.filter = "alpha(opacity=35)"; // IE + this.zoomBox.style.opacity = "0.35"; this.zoomBox.style.position="absolute"; this.zoomBox.style.zIndex=1000; this.zoomBox.style.top=this.mouseDragStart.y;