[OpenLayers-Commits] r6025 - in trunk/openlayers/theme/default: . img
commits at openlayers.org
commits at openlayers.org
Thu Feb 7 15:07:48 EST 2008
Author: tschaub
Date: 2008-02-07 15:07:48 -0500 (Thu, 07 Feb 2008)
New Revision: 6025
Added:
trunk/openlayers/theme/default/img/editing_tool_bar.png
Modified:
trunk/openlayers/theme/default/style.css
Log:
Changing the editing toolbar to use a single image. Thanks iwillig for the work on this. r=me (closes #1330)
Added: trunk/openlayers/theme/default/img/editing_tool_bar.png
===================================================================
(Binary files differ)
Property changes on: trunk/openlayers/theme/default/img/editing_tool_bar.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/openlayers/theme/default/style.css
===================================================================
--- trunk/openlayers/theme/default/style.css 2008-02-07 20:06:51 UTC (rev 6024)
+++ trunk/openlayers/theme/default/style.css 2008-02-07 20:07:48 UTC (rev 6025)
@@ -140,36 +140,44 @@
margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive {
- background-image: url("img/pan_on.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -103px -23px;
}
.olControlEditingToolbar .olControlNavigationItemInactive {
- background-image: url("img/pan_off.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -103px -0px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
- background-image: url("img/draw_point_on.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -77px -23px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
- background-image: url("img/draw_point_off.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -77px -0px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
- background-image: url("img/draw_line_off.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -51px 0px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
- background-image: url("img/draw_line_on.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -51px -23px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive {
- background-image: url("img/draw_polygon_off.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -26px 0px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
- background-image: url("img/draw_polygon_on.png");
+ background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat;
+ background-position: -26px -23px ;
}
.olHandlerBoxZoomBox {
More information about the Commits
mailing list