X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/98ed7a815cd1e81a9955d771154257432f7cfd4a..8abe7ec6ed86c05cf15303db0d32453c8ccdfbc9:/public/openlayers/theme/default/style.css diff --git a/public/openlayers/theme/default/style.css b/public/openlayers/theme/default/style.css index 26b39c07b..0627f0e15 100644 --- a/public/openlayers/theme/default/style.css +++ b/public/openlayers/theme/default/style.css @@ -1,7 +1,8 @@ div.olMap { - z-index: 0; + z-index: 0; padding: 0px!important; margin: 0px!important; + cursor: default; } div.olMapViewport { @@ -35,6 +36,8 @@ div.olLayerDiv { font-size: smaller; } .olControlScaleLine { + display: block; + position: absolute; left: 10px; bottom: 15px; font-size: xx-small; @@ -213,12 +216,12 @@ div.olControlMousePosition { .olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { background-position: -26px -23px ; } -.olControlSaveFeaturesItemActive { +div.olControlSaveFeaturesItemActive { background-image: url(img/save_features_on.png); background-repeat: no-repeat; background-position: 0px 1px; } -.olControlSaveFeaturesItemInactive { +div.olControlSaveFeaturesItemInactive { background-image: url(img/save_features_off.png); background-repeat: no-repeat; background-position: 0px 1px; @@ -312,6 +315,83 @@ div.olControlMousePosition { cursor: pointer; } +.olFramedCloudPopupContent { + padding: 5px; + overflow: auto; +} + .olControlNoSelect { -moz-user-select: none; } + +.olImageLoadError { + background-color: pink; + opacity: 0.5; + filter: alpha(opacity=50); /* IE */ +} + +/** + * Cursor styles + */ + +.olCursorWait { + cursor: wait; +} +.olDragDown { + cursor: move; +} +.olDrawBox { + cursor: crosshair; +} +.olControlDragFeatureOver { + cursor: move; +} +.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { + cursor: -moz-grabbing; +} + +/** + * Layer switcher + */ +.olControlLayerSwitcher { + position: absolute; + top: 25px; + right: 0px; + width: 20em; + font-family: sans-serif; + font-weight: bold; + margin-top: 3px; + margin-left: 3px; + margin-bottom: 3px; + font-size: smaller; + color: white; + background-color: transparent; +} + +.olControlLayerSwitcher .layersDiv { + padding-top: 5px; + padding-left: 10px; + padding-bottom: 5px; + padding-right: 75px; + background-color: darkblue; + width: 100%; + height: 100%; +} + +.olControlLayerSwitcher .layersDiv .baseLbl, +.olControlLayerSwitcher .layersDiv .dataLbl { + margin-top: 3px; + margin-left: 3px; + margin-bottom: 3px; +} + +.olControlLayerSwitcher .layersDiv .baseLayersDiv, +.olControlLayerSwitcher .layersDiv .dataLayersDiv { + padding-left: 10px; +} + +.olControlLayerSwitcher .maximizeDiv, +.olControlLayerSwitcher .minimizeDiv { + top: 5px; + right: 0px; +}