#661 - add background-repeat style declaration for toolbar images
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3069 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -89,16 +89,20 @@ div.olControlMousePosition {
|
|||||||
|
|
||||||
.olControlNavToolbar .olControlNavigationItemActive {
|
.olControlNavToolbar .olControlNavigationItemActive {
|
||||||
background-image: url("img/panning-hand-on.png");
|
background-image: url("img/panning-hand-on.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlNavToolbar .olControlNavigationItemInactive {
|
.olControlNavToolbar .olControlNavigationItemInactive {
|
||||||
background-image: url("img/panning-hand-off.png");
|
background-image: url("img/panning-hand-off.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlNavToolbar .olControlZoomBoxItemActive {
|
.olControlNavToolbar .olControlZoomBoxItemActive {
|
||||||
background-image: url("img/drag-rectangle-on.png");
|
background-image: url("img/drag-rectangle-on.png");
|
||||||
background-color: orange;
|
background-color: orange;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlNavToolbar .olControlZoomBoxItemInactive {
|
.olControlNavToolbar .olControlZoomBoxItemInactive {
|
||||||
background-image: url("img/drag-rectangle-off.png");
|
background-image: url("img/drag-rectangle-off.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar {
|
.olControlEditingToolbar {
|
||||||
float:right;
|
float:right;
|
||||||
@@ -114,25 +118,33 @@ div.olControlMousePosition {
|
|||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlNavigationItemActive {
|
.olControlEditingToolbar .olControlNavigationItemActive {
|
||||||
background-image: url("img/pan_on.png");
|
background-image: url("img/pan_on.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlNavigationItemInactive {
|
.olControlEditingToolbar .olControlNavigationItemInactive {
|
||||||
background-image: url("img/pan_off.png");
|
background-image: url("img/pan_off.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
|
.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
|
||||||
background-image: url("img/draw_point_on.png");
|
background-image: url("img/draw_point_on.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
|
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
|
||||||
background-image: url("img/draw_point_off.png");
|
background-image: url("img/draw_point_off.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
|
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
|
||||||
background-image: url("img/draw_line_off.png");
|
background-image: url("img/draw_line_off.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
|
.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
|
||||||
background-image: url("img/draw_line_on.png");
|
background-image: url("img/draw_line_on.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive {
|
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive {
|
||||||
background-image: url("img/draw_polygon_off.png");
|
background-image: url("img/draw_polygon_off.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
|
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
|
||||||
background-image: url("img/draw_polygon_on.png");
|
background-image: url("img/draw_polygon_on.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user