X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c11d961f624cb610c4b8184d24e522b2c093d1ea..e9d3d4d19bcdf91732db57ecaa8d4831c7f585a3:/public/openlayers/theme/default/style.css diff --git a/public/openlayers/theme/default/style.css b/public/openlayers/theme/default/style.css new file mode 100644 index 000000000..ba75a09da --- /dev/null +++ b/public/openlayers/theme/default/style.css @@ -0,0 +1,150 @@ +div.olMapViewport { + -moz-user-select: none +} + +.olLayerGoogleCopyright { + left: 2px; + bottom: 2px; +} +.olLayerGooglePoweredBy { + left: 2px; + bottom: 15px; +} + +.olControlScale { + right: 3px; + bottom: 3em; + display: block; + position: absolute; +} +.olControlPermalink { + right: 3px; + bottom: 1.5em; + display: block; + position: absolute; +} + +div.olControlMousePosition { + bottom: 0em; + right: 3px; + display: block; + position: absolute; + font-family: Arial; + font-size: smaller; +} + +.olControlOverviewMapContainer { + position: absolute; + bottom: 0px; + right: 0px; +} + +.olControlOverviewMapElement { + padding: 10px 18px 10px 10px; + background-color: #00008B; + -moz-border-radius: 1em 0 0 0; +} + +.olControlOverviewMapMinimizeButton { + right: 0px; + bottom: 80px; +} + +.olControlOverviewMapMaximizeButton { + right: 0px; + bottom: 80px; +} + +.olControlOverviewMapExtentRectangle { + cursor: move; + border: 2px dotted red; +} +.olLayerGeoRSSDescription { + float:left; + width:100%; + overflow:auto; + font-size:1.0em; +} +.olLayerGeoRSSClose { + float:right; + color:gray; + font-size:1.2em; + font-family:sans-serif; +} +.olLayerGeoRSSTitle { + float:left;font-size:1.2em; +} + +.olPopupContent { + padding:5px; +} +.olControlNavToolbar div { + display:block; + width: 28px; + height: 28px; + top: 300px; + left: 6px; + position: relative; +} + +.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; + right: 0px; + height: 30px; + width: 200px; +} +.olControlEditingToolbar div { + float:right; + width: 24px; + height: 24px; + margin: 5px; +} +.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; +}