From 83238e742fe3a4bcd3b86a1e53b1419318fd5775 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 12 Apr 2007 15:09:18 +0000 Subject: [PATCH] #661 - add background-repeat style declaration for toolbar images git-svn-id: http://svn.openlayers.org/trunk/openlayers@3069 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- theme/default/style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/theme/default/style.css b/theme/default/style.css index b1e6cc32f6..ba75a09daf 100644 --- a/theme/default/style.css +++ b/theme/default/style.css @@ -89,16 +89,20 @@ div.olControlMousePosition { .olControlNavToolbar .olControlNavigationItemActive { background-image: url("img/panning-hand-on.png"); + background-repeat: no-repeat; } .olControlNavToolbar .olControlNavigationItemInactive { background-image: url("img/panning-hand-off.png"); + background-repeat: no-repeat; } .olControlNavToolbar .olControlZoomBoxItemActive { background-image: url("img/drag-rectangle-on.png"); background-color: orange; + background-repeat: no-repeat; } .olControlNavToolbar .olControlZoomBoxItemInactive { background-image: url("img/drag-rectangle-off.png"); + background-repeat: no-repeat; } .olControlEditingToolbar { float:right; @@ -114,25 +118,33 @@ div.olControlMousePosition { } .olControlEditingToolbar .olControlNavigationItemActive { background-image: url("img/pan_on.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlNavigationItemInactive { background-image: url("img/pan_off.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlDrawFeaturePointItemActive { background-image: url("img/draw_point_on.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlDrawFeaturePointItemInactive { background-image: url("img/draw_point_off.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlDrawFeaturePathItemInactive { background-image: url("img/draw_line_off.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlDrawFeaturePathItemActive { background-image: url("img/draw_line_on.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { background-image: url("img/draw_polygon_off.png"); + background-repeat: no-repeat; } .olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { background-image: url("img/draw_polygon_on.png"); + background-repeat: no-repeat; }