X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e657cff464b6db8384b56236ad9491223a22b1e2..c5b35406a6236bc8ab993477214bacb303809169:/public/openlayers/theme/default/style.css diff --git a/public/openlayers/theme/default/style.css b/public/openlayers/theme/default/style.css index cd29d4dad..0627f0e15 100644 --- a/public/openlayers/theme/default/style.css +++ b/public/openlayers/theme/default/style.css @@ -1,5 +1,5 @@ div.olMap { - z-index: 0; + z-index: 0; padding: 0px!important; margin: 0px!important; cursor: default; @@ -36,6 +36,8 @@ div.olLayerDiv { font-size: smaller; } .olControlScaleLine { + display: block; + position: absolute; left: 10px; bottom: 15px; font-size: xx-small; @@ -214,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; @@ -322,6 +324,12 @@ div.olControlMousePosition { -moz-user-select: none; } +.olImageLoadError { + background-color: pink; + opacity: 0.5; + filter: alpha(opacity=50); /* IE */ +} + /** * Cursor styles */ @@ -341,3 +349,49 @@ div.olControlMousePosition { .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; +}