Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/styles/ol_style.css @ 1000:905cc67da916
Customize Look and Feel to styleguide of the bsh.
gnv/trunk@1201 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 11 Jun 2010 12:06:03 +0000 |
parents | 95004318d1ce |
children | 5b118b59dc14 |
line wrap: on
line diff
--- a/gnv/src/main/webapp/styles/ol_style.css Fri Jun 11 12:00:43 2010 +0000 +++ b/gnv/src/main/webapp/styles/ol_style.css Fri Jun 11 12:06:03 2010 +0000 @@ -34,26 +34,23 @@ } -.olControlPanel .olControlHistoryBackItemActive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/view_previous_on.png"); -} -.olControlPanel .olControlHistoryBackItemInactive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/view_previous_off.png"); +.olControlNavigationHistory { + background-image: url("../images/ol/navigation_history.png"); + background-repeat: no-repeat; + width: 22px; + height: 22px; + } .olControlPanel .olControlPanItemActive { width: 22px; height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/pan_on.png"); + background-image: url("../images/ol/pan_on.png"); } .olControlPanel .olControlPanItemInactive { width: 22px; height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/pan_off.png"); + background-image: url("../images/ol/pan_off.png"); } .olControlPanel .olControlZoomBoxItemActive { @@ -67,61 +64,6 @@ background-image: url("../images/ol/zoom_box_off.png"); } -.olControlPanel .olControlDrawPointItemActive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/draw_point_on.png"); -} -.olControlPanel .olControlDrawPointItemInactive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/draw_point_off.png"); -} - -.olControlPanel .olControlDrawLineItemActive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/draw_line_on.png"); -} -.olControlPanel .olControlDrawLineItemInactive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/draw_line_off.png"); -} - -.olControlPanel .olControlDrawPolygonItemActive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/draw_polygon_on.png"); -} -.olControlPanel .olControlDrawPolygonItemInactive { - width: 22px; - height: 22px; - background-image: url("../scripts/openlayers/OpenLayers-2.9/theme/default/img/draw_polygon_off.png"); -} - -.olControlPanel .olControlMeasureLineItemActive { - width: 22px; - height: 22px; - background-image: url("../images/ol/measure_line_on.png"); -} -.olControlPanel .olControlMeasureLineItemInactive { - width: 22px; - height: 22px; - background-image: url("../images/ol/measure_line_off.png"); -} - -.olControlPanel .olControlMeasurePolygonItemActive { - width: 22px; - height: 22px; - background-image: url("../images/ol/measure_polygon_on.png"); -} -.olControlPanel .olControlMeasurePolygonItemInactive { - width: 22px; - height: 22px; - background-image: url("../images/ol/measure_polygon_off.png"); -} - div.olControlMousePosition { color: #FFFFFF }