diff options
Diffstat (limited to 'misc/openlayers/theme/default')
42 files changed, 609 insertions, 0 deletions
diff --git a/misc/openlayers/theme/default/google.css b/misc/openlayers/theme/default/google.css new file mode 100644 index 0000000..1b748ef --- /dev/null +++ b/misc/openlayers/theme/default/google.css @@ -0,0 +1,9 @@ +.olLayerGoogleCopyright { + right: 3px; + bottom: 2px; + left: auto; +} +.olLayerGooglePoweredBy { + left: 2px; + bottom: 2px; +} diff --git a/misc/openlayers/theme/default/google.tidy.css b/misc/openlayers/theme/default/google.tidy.css new file mode 100644 index 0000000..c0e07ac --- /dev/null +++ b/misc/openlayers/theme/default/google.tidy.css @@ -0,0 +1 @@ +.olLayerGoogleCopyright{right:3px;bottom:2px;left:auto;}.olLayerGooglePoweredBy{left:2px;bottom:2px;}
\ No newline at end of file diff --git a/misc/openlayers/theme/default/ie6-style.css b/misc/openlayers/theme/default/ie6-style.css new file mode 100644 index 0000000..a0fd7c6 --- /dev/null +++ b/misc/openlayers/theme/default/ie6-style.css @@ -0,0 +1,10 @@ +.olControlZoomPanel div { + background-image: url(img/zoom-panel-NOALPHA.png); +} +.olControlPanPanel div { + background-image: url(img/pan-panel-NOALPHA.png); +} +.olControlEditingToolbar { + width: 200px; +} + diff --git a/misc/openlayers/theme/default/ie6-style.tidy.css b/misc/openlayers/theme/default/ie6-style.tidy.css new file mode 100644 index 0000000..7a23bbc --- /dev/null +++ b/misc/openlayers/theme/default/ie6-style.tidy.css @@ -0,0 +1 @@ +.olControlZoomPanel div{background-image:url(img/zoom-panel-NOALPHA.png);}.olControlPanPanel div{background-image:url(img/pan-panel-NOALPHA.png);}.olControlEditingToolbar{width:200px;}
\ No newline at end of file diff --git a/misc/openlayers/theme/default/img/add_point_off.png b/misc/openlayers/theme/default/img/add_point_off.png Binary files differnew file mode 100644 index 0000000..26c0233 --- /dev/null +++ b/misc/openlayers/theme/default/img/add_point_off.png diff --git a/misc/openlayers/theme/default/img/add_point_on.png b/misc/openlayers/theme/default/img/add_point_on.png Binary files differnew file mode 100644 index 0000000..1294a2c --- /dev/null +++ b/misc/openlayers/theme/default/img/add_point_on.png diff --git a/misc/openlayers/theme/default/img/blank.gif b/misc/openlayers/theme/default/img/blank.gif Binary files differnew file mode 100644 index 0000000..4bcc753 --- /dev/null +++ b/misc/openlayers/theme/default/img/blank.gif diff --git a/misc/openlayers/theme/default/img/close.gif b/misc/openlayers/theme/default/img/close.gif Binary files differnew file mode 100644 index 0000000..a8958de --- /dev/null +++ b/misc/openlayers/theme/default/img/close.gif diff --git a/misc/openlayers/theme/default/img/drag-rectangle-off.png b/misc/openlayers/theme/default/img/drag-rectangle-off.png Binary files differnew file mode 100644 index 0000000..382a81d --- /dev/null +++ b/misc/openlayers/theme/default/img/drag-rectangle-off.png diff --git a/misc/openlayers/theme/default/img/drag-rectangle-on.png b/misc/openlayers/theme/default/img/drag-rectangle-on.png Binary files differnew file mode 100644 index 0000000..2ed2d5b --- /dev/null +++ b/misc/openlayers/theme/default/img/drag-rectangle-on.png diff --git a/misc/openlayers/theme/default/img/draw_line_off.png b/misc/openlayers/theme/default/img/draw_line_off.png Binary files differnew file mode 100644 index 0000000..a4d67b3 --- /dev/null +++ b/misc/openlayers/theme/default/img/draw_line_off.png diff --git a/misc/openlayers/theme/default/img/draw_line_on.png b/misc/openlayers/theme/default/img/draw_line_on.png Binary files differnew file mode 100644 index 0000000..90dcf3e --- /dev/null +++ b/misc/openlayers/theme/default/img/draw_line_on.png diff --git a/misc/openlayers/theme/default/img/draw_point_off.png b/misc/openlayers/theme/default/img/draw_point_off.png Binary files differnew file mode 100644 index 0000000..5633407 --- /dev/null +++ b/misc/openlayers/theme/default/img/draw_point_off.png diff --git a/misc/openlayers/theme/default/img/draw_point_on.png b/misc/openlayers/theme/default/img/draw_point_on.png Binary files differnew file mode 100644 index 0000000..fff50b7 --- /dev/null +++ b/misc/openlayers/theme/default/img/draw_point_on.png diff --git a/misc/openlayers/theme/default/img/draw_polygon_off.png b/misc/openlayers/theme/default/img/draw_polygon_off.png Binary files differnew file mode 100644 index 0000000..917af35 --- /dev/null +++ b/misc/openlayers/theme/default/img/draw_polygon_off.png diff --git a/misc/openlayers/theme/default/img/draw_polygon_on.png b/misc/openlayers/theme/default/img/draw_polygon_on.png Binary files differnew file mode 100644 index 0000000..05a2cc5 --- /dev/null +++ b/misc/openlayers/theme/default/img/draw_polygon_on.png diff --git a/misc/openlayers/theme/default/img/editing_tool_bar.png b/misc/openlayers/theme/default/img/editing_tool_bar.png Binary files differnew file mode 100644 index 0000000..5977856 --- /dev/null +++ b/misc/openlayers/theme/default/img/editing_tool_bar.png diff --git a/misc/openlayers/theme/default/img/move_feature_off.png b/misc/openlayers/theme/default/img/move_feature_off.png Binary files differnew file mode 100644 index 0000000..ed4472d --- /dev/null +++ b/misc/openlayers/theme/default/img/move_feature_off.png diff --git a/misc/openlayers/theme/default/img/move_feature_on.png b/misc/openlayers/theme/default/img/move_feature_on.png Binary files differnew file mode 100644 index 0000000..62226a2 --- /dev/null +++ b/misc/openlayers/theme/default/img/move_feature_on.png diff --git a/misc/openlayers/theme/default/img/navigation_history.png b/misc/openlayers/theme/default/img/navigation_history.png Binary files differnew file mode 100644 index 0000000..84e3489 --- /dev/null +++ b/misc/openlayers/theme/default/img/navigation_history.png diff --git a/misc/openlayers/theme/default/img/overview_replacement.gif b/misc/openlayers/theme/default/img/overview_replacement.gif Binary files differnew file mode 100644 index 0000000..a82cf5f --- /dev/null +++ b/misc/openlayers/theme/default/img/overview_replacement.gif diff --git a/misc/openlayers/theme/default/img/pan-panel-NOALPHA.png b/misc/openlayers/theme/default/img/pan-panel-NOALPHA.png Binary files differnew file mode 100644 index 0000000..6987268 --- /dev/null +++ b/misc/openlayers/theme/default/img/pan-panel-NOALPHA.png diff --git a/misc/openlayers/theme/default/img/pan-panel.png b/misc/openlayers/theme/default/img/pan-panel.png Binary files differnew file mode 100644 index 0000000..dfe6748 --- /dev/null +++ b/misc/openlayers/theme/default/img/pan-panel.png diff --git a/misc/openlayers/theme/default/img/pan_off.png b/misc/openlayers/theme/default/img/pan_off.png Binary files differnew file mode 100644 index 0000000..30b2aed --- /dev/null +++ b/misc/openlayers/theme/default/img/pan_off.png diff --git a/misc/openlayers/theme/default/img/pan_on.png b/misc/openlayers/theme/default/img/pan_on.png Binary files differnew file mode 100644 index 0000000..e3953a8 --- /dev/null +++ b/misc/openlayers/theme/default/img/pan_on.png diff --git a/misc/openlayers/theme/default/img/panning-hand-off.png b/misc/openlayers/theme/default/img/panning-hand-off.png Binary files differnew file mode 100644 index 0000000..d1c593e --- /dev/null +++ b/misc/openlayers/theme/default/img/panning-hand-off.png diff --git a/misc/openlayers/theme/default/img/panning-hand-on.png b/misc/openlayers/theme/default/img/panning-hand-on.png Binary files differnew file mode 100644 index 0000000..9b7e064 --- /dev/null +++ b/misc/openlayers/theme/default/img/panning-hand-on.png diff --git a/misc/openlayers/theme/default/img/remove_point_off.png b/misc/openlayers/theme/default/img/remove_point_off.png Binary files differnew file mode 100644 index 0000000..76c8606 --- /dev/null +++ b/misc/openlayers/theme/default/img/remove_point_off.png diff --git a/misc/openlayers/theme/default/img/remove_point_on.png b/misc/openlayers/theme/default/img/remove_point_on.png Binary files differnew file mode 100644 index 0000000..cc8d7b2 --- /dev/null +++ b/misc/openlayers/theme/default/img/remove_point_on.png diff --git a/misc/openlayers/theme/default/img/ruler.png b/misc/openlayers/theme/default/img/ruler.png Binary files differnew file mode 100644 index 0000000..aa4883b --- /dev/null +++ b/misc/openlayers/theme/default/img/ruler.png diff --git a/misc/openlayers/theme/default/img/save_features_off.png b/misc/openlayers/theme/default/img/save_features_off.png Binary files differnew file mode 100644 index 0000000..3d305b6 --- /dev/null +++ b/misc/openlayers/theme/default/img/save_features_off.png diff --git a/misc/openlayers/theme/default/img/save_features_on.png b/misc/openlayers/theme/default/img/save_features_on.png Binary files differnew file mode 100644 index 0000000..5640ae8 --- /dev/null +++ b/misc/openlayers/theme/default/img/save_features_on.png diff --git a/misc/openlayers/theme/default/img/view_next_off.png b/misc/openlayers/theme/default/img/view_next_off.png Binary files differnew file mode 100644 index 0000000..9149a24 --- /dev/null +++ b/misc/openlayers/theme/default/img/view_next_off.png diff --git a/misc/openlayers/theme/default/img/view_next_on.png b/misc/openlayers/theme/default/img/view_next_on.png Binary files differnew file mode 100644 index 0000000..e41fb7b --- /dev/null +++ b/misc/openlayers/theme/default/img/view_next_on.png diff --git a/misc/openlayers/theme/default/img/view_previous_off.png b/misc/openlayers/theme/default/img/view_previous_off.png Binary files differnew file mode 100644 index 0000000..8a9ef21 --- /dev/null +++ b/misc/openlayers/theme/default/img/view_previous_off.png diff --git a/misc/openlayers/theme/default/img/view_previous_on.png b/misc/openlayers/theme/default/img/view_previous_on.png Binary files differnew file mode 100644 index 0000000..c009c25 --- /dev/null +++ b/misc/openlayers/theme/default/img/view_previous_on.png diff --git a/misc/openlayers/theme/default/img/zoom-panel-NOALPHA.png b/misc/openlayers/theme/default/img/zoom-panel-NOALPHA.png Binary files differnew file mode 100644 index 0000000..cdde6fc --- /dev/null +++ b/misc/openlayers/theme/default/img/zoom-panel-NOALPHA.png diff --git a/misc/openlayers/theme/default/img/zoom-panel.png b/misc/openlayers/theme/default/img/zoom-panel.png Binary files differnew file mode 100644 index 0000000..c91a4ef --- /dev/null +++ b/misc/openlayers/theme/default/img/zoom-panel.png diff --git a/misc/openlayers/theme/default/style.css b/misc/openlayers/theme/default/style.css new file mode 100644 index 0000000..cbed84e --- /dev/null +++ b/misc/openlayers/theme/default/style.css @@ -0,0 +1,516 @@ +div.olMap { + z-index: 0; + padding: 0 !important; + margin: 0 !important; + cursor: default; +} + +div.olMapViewport { + text-align: left; + -ms-touch-action: none; +} + +div.olLayerDiv { + -moz-user-select: none; + -khtml-user-select: none; +} + +.olLayerGoogleCopyright { + left: 2px; + bottom: 2px; +} +.olLayerGoogleV3.olLayerGoogleCopyright { + right: auto !important; +} +.olLayerGooglePoweredBy { + left: 2px; + bottom: 15px; +} +.olLayerGoogleV3.olLayerGooglePoweredBy { + bottom: 15px !important; +} +/* GMaps should not set styles on its container */ +.olForeignContainer { + opacity: 1 !important; +} +.olControlAttribution { + font-size: smaller; + right: 3px; + bottom: 4.5em; + position: absolute; + display: block; +} +.olControlScale { + right: 3px; + bottom: 3em; + display: block; + position: absolute; + font-size: smaller; +} +.olControlScaleLine { + display: block; + position: absolute; + left: 10px; + bottom: 15px; + font-size: xx-small; +} +.olControlScaleLineBottom { + border: solid 2px black; + border-bottom: none; + margin-top:-2px; + text-align: center; +} +.olControlScaleLineTop { + border: solid 2px black; + border-top: none; + text-align: center; +} + +.olControlPermalink { + right: 3px; + bottom: 1.5em; + display: block; + position: absolute; + font-size: smaller; +} + +div.olControlMousePosition { + bottom: 0; + right: 3px; + display: block; + position: absolute; + font-family: Arial; + font-size: smaller; +} + +.olControlOverviewMapContainer { + position: absolute; + bottom: 0; + right: 0; +} + +.olControlOverviewMapElement { + padding: 10px 18px 10px 10px; + background-color: #00008B; + -moz-border-radius: 1em 0 0 0; +} + +.olControlOverviewMapMinimizeButton, +.olControlOverviewMapMaximizeButton { + height: 18px; + width: 18px; + right: 0; + bottom: 80px; + cursor: pointer; +} + +.olControlOverviewMapExtentRectangle { + overflow: hidden; + background-image: url("img/blank.gif"); + cursor: move; + border: 2px dotted red; +} +.olControlOverviewMapRectReplacement { + overflow: hidden; + cursor: move; + background-image: url("img/overview_replacement.gif"); + background-repeat: no-repeat; + background-position: center; +} + +.olLayerGeoRSSDescription { + float:left; + width:100%; + overflow:auto; + font-size:1.0em; +} +.olLayerGeoRSSClose { + float:right; + color:gray; + font-size:1.2em; + margin-right:6px; + font-family:sans-serif; +} +.olLayerGeoRSSTitle { + float:left;font-size:1.2em; +} + +.olPopupContent { + padding:5px; + overflow: auto; +} + +.olControlNavigationHistory { + background-image: url("img/navigation_history.png"); + background-repeat: no-repeat; + width: 24px; + height: 24px; + +} +.olControlNavigationHistoryPreviousItemActive { + background-position: 0 0; +} +.olControlNavigationHistoryPreviousItemInactive { + background-position: 0 -24px; +} +.olControlNavigationHistoryNextItemActive { + background-position: -24px 0; +} +.olControlNavigationHistoryNextItemInactive { + background-position: -24px -24px; +} + +div.olControlSaveFeaturesItemActive { + background-image: url(img/save_features_on.png); + background-repeat: no-repeat; + background-position: 0 1px; +} +div.olControlSaveFeaturesItemInactive { + background-image: url(img/save_features_off.png); + background-repeat: no-repeat; + background-position: 0 1px; +} + +.olHandlerBoxZoomBox { + border: 2px solid red; + position: absolute; + background-color: white; + opacity: 0.50; + font-size: 1px; + filter: alpha(opacity=50); +} +.olHandlerBoxSelectFeature { + border: 2px solid blue; + position: absolute; + background-color: white; + opacity: 0.50; + font-size: 1px; + filter: alpha(opacity=50); +} + +.olControlPanPanel { + top: 10px; + left: 5px; +} + +.olControlPanPanel div { + background-image: url(img/pan-panel.png); + height: 18px; + width: 18px; + cursor: pointer; + position: absolute; +} + +.olControlPanPanel .olControlPanNorthItemInactive { + top: 0; + left: 9px; + background-position: 0 0; +} +.olControlPanPanel .olControlPanSouthItemInactive { + top: 36px; + left: 9px; + background-position: 18px 0; +} +.olControlPanPanel .olControlPanWestItemInactive { + position: absolute; + top: 18px; + left: 0; + background-position: 0 18px; +} +.olControlPanPanel .olControlPanEastItemInactive { + top: 18px; + left: 18px; + background-position: 18px 18px; +} + +.olControlZoomPanel { + top: 71px; + left: 14px; +} + +.olControlZoomPanel div { + background-image: url(img/zoom-panel.png); + position: absolute; + height: 18px; + width: 18px; + cursor: pointer; +} + +.olControlZoomPanel .olControlZoomInItemInactive { + top: 0; + left: 0; + background-position: 0 0; +} + +.olControlZoomPanel .olControlZoomToMaxExtentItemInactive { + top: 18px; + left: 0; + background-position: 0 -18px; +} + +.olControlZoomPanel .olControlZoomOutItemInactive { + top: 36px; + left: 0; + background-position: 0 18px; +} + +/* + * When a potential text is bigger than the image it move the image + * with some headers (closes #3154) + */ +.olControlPanZoomBar div { + font-size: 1px; +} + +.olPopupCloseBox { + background: url("img/close.gif") no-repeat; + cursor: pointer; +} + +.olFramedCloudPopupContent { + padding: 5px; + overflow: auto; +} + +.olControlNoSelect { + -moz-user-select: none; + -khtml-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: 0; + 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: 10px; + background-color: darkblue; +} + +.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 { + width: 18px; + height: 18px; + top: 5px; + right: 0; + cursor: pointer; +} + +.olBingAttribution { + color: #DDD; +} +.olBingAttribution.road { + color: #333; +} + +.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite { + color: #EEE; +} +.olGoogleAttribution { + color: #333; +} +span.olGoogleAttribution a { + color: #77C; +} +span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a { + color: #EEE; +} + +/** + * Editing and navigation icons. + * (using the editing_tool_bar.png sprint image) + */ +.olControlNavToolbar , +.olControlEditingToolbar { + margin: 5px 5px 0 0; +} +.olControlNavToolbar div, +.olControlEditingToolbar div { + background-image: url("img/editing_tool_bar.png"); + background-repeat: no-repeat; + margin: 0 0 5px 5px; + width: 24px; + height: 22px; + cursor: pointer +} +/* positions */ +.olControlEditingToolbar { + right: 0; + top: 0; +} +.olControlNavToolbar { + top: 295px; + left: 9px; +} +/* layouts */ +.olControlEditingToolbar div { + float: right; +} +/* individual controls */ +.olControlNavToolbar .olControlNavigationItemInactive, +.olControlEditingToolbar .olControlNavigationItemInactive { + background-position: -103px -1px; +} +.olControlNavToolbar .olControlNavigationItemActive , +.olControlEditingToolbar .olControlNavigationItemActive { + background-position: -103px -24px; +} +.olControlNavToolbar .olControlZoomBoxItemInactive { + background-position: -128px -1px; +} +.olControlNavToolbar .olControlZoomBoxItemActive { + background-position: -128px -24px; +} +.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { + background-position: -77px -1px; +} +.olControlEditingToolbar .olControlDrawFeaturePointItemActive { + background-position: -77px -24px; +} +.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { + background-position: -51px -1px; +} +.olControlEditingToolbar .olControlDrawFeaturePathItemActive { + background-position: -51px -24px; +} +.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive{ + background-position: -26px -1px; +} +.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { + background-position: -26px -24px; +} + +div.olControlZoom { + position: absolute; + top: 8px; + left: 8px; + background: rgba(255,255,255,0.4); + border-radius: 4px; + padding: 2px; +} +div.olControlZoom a { + display: block; + margin: 1px; + padding: 0; + color: white; + font-size: 18px; + font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif; + font-weight: bold; + text-decoration: none; + text-align: center; + height: 22px; + width:22px; + line-height: 19px; + background: #130085; /* fallback for IE - IE6 requires background shorthand*/ + background: rgba(0, 60, 136, 0.5); + filter: alpha(opacity=80); +} +div.olControlZoom a:hover { + background: #130085; /* fallback for IE */ + background: rgba(0, 60, 136, 0.7); + filter: alpha(opacity=100); +} +@media only screen and (max-width: 600px) { + div.olControlZoom a:hover { + background: rgba(0, 60, 136, 0.5); + } +} +a.olControlZoomIn { + border-radius: 4px 4px 0 0; +} +a.olControlZoomOut { + border-radius: 0 0 4px 4px; +} + + +/** + * Animations + */ + +.olLayerGrid .olTileImage { + -webkit-transition: opacity 0.2s linear; + -moz-transition: opacity 0.2s linear; + -o-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; +} + +/* Turn on GPU support where available */ +.olTileImage { + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -o-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000; + -moz-perspective: 1000; + -ms-perspective: 1000; + perspective: 1000; +} + +/* when replacing tiles, do not show tile and backbuffer at the same time */ +.olTileReplacing { + display: none; +} + +/* override any max-width image settings (e.g. bootstrap.css) */ +img.olTileImage { + max-width: none; +} diff --git a/misc/openlayers/theme/default/style.mobile.css b/misc/openlayers/theme/default/style.mobile.css new file mode 100644 index 0000000..92e7d00 --- /dev/null +++ b/misc/openlayers/theme/default/style.mobile.css @@ -0,0 +1,70 @@ +div.olControlZoom { + position: absolute; + top: 8px; + left: 8px; + background: rgba(255,255,255,0.4); + border-radius: 4px; + padding: 2px; +} +* { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +div.olControlZoom a { + display: block; + margin: 1px; + padding: 0; + color: white; + font-size: 28px; + font-family: sans-serif; + font-weight: bold; + text-decoration: none; + text-align: center; + height: 32px; + width: 32px; + line-height: 28px; + text-shadow: 0 0 3px rgba(0,0,0,0.8); + background: #130085; /* fallback for IE - IE6 requires background shorthand*/ + background: rgba(0, 60, 136, 0.5); + filter: alpha(opacity=80); +} +a.olControlZoomIn { + border-radius: 4px 4px 0 0; +} +a.olControlZoomOut { + border-radius: 0 0 4px 4px; +} +div.olControlZoom a:hover { + background: #130085; /* fallback for IE */ + background: rgba(0, 60, 136, 0.7); + filter: alpha(opacity=100); +} +@media only screen and (max-width: 600px) { + div.olControlZoom a:hover { + background: rgba(0, 60, 136, 0.5); + } +} +div.olMapViewport { + -ms-touch-action: none; +} +.olLayerGrid .olTileImage { + -webkit-transition: opacity 0.2s linear; + -moz-transition: opacity 0.2s linear; + -o-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; +} +/* Turn on GPU support where available */ +.olTileImage { + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -o-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000; + -moz-perspective: 1000; + -ms-perspective: 1000; + perspective: 1000; +} diff --git a/misc/openlayers/theme/default/style.mobile.tidy.css b/misc/openlayers/theme/default/style.mobile.tidy.css new file mode 100644 index 0000000..bf7eeaf --- /dev/null +++ b/misc/openlayers/theme/default/style.mobile.tidy.css @@ -0,0 +1 @@ +div.olControlZoom{position:absolute;top:8px;left:8px;background:rgba(255,255,255,0.4);border-radius:4px;padding:2px;}*{-webkit-tap-highlight-color:rgba(0,0,0,0);}div.olControlZoom a{display:block;color:#FFF;font-size:28px;font-family:sans-serif;font-weight:700;text-decoration:none;text-align:center;height:32px;width:32px;line-height:28px;text-shadow:0 0 3px rgba(0,0,0,0.8);background:rgba(0,60,136,0.5);filter:alpha(opacity=80);margin:1px;padding:0;}a.olControlZoomIn{border-radius:4px 4px 0 0;}a.olControlZoomOut{border-radius:0 0 4px 4px;}div.olControlZoom a:hover{background:rgba(0,60,136,0.7);filter:alpha(opacity=100);}div.olMapViewport{-ms-touch-action:none;}.olLayerGrid .olTileImage{-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear;}.olTileImage{-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-o-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;-moz-perspective:1000;-ms-perspective:1000;perspective:1000;}@media only screen and max-width 600px{div.olControlZoom a:hover{background:rgba(0,60,136,0.5);}}
\ No newline at end of file diff --git a/misc/openlayers/theme/default/style.tidy.css b/misc/openlayers/theme/default/style.tidy.css new file mode 100644 index 0000000..f973d45 --- /dev/null +++ b/misc/openlayers/theme/default/style.tidy.css @@ -0,0 +1 @@ +div.olMap{z-index:0;cursor:default;margin:0!important;padding:0!important;}div.olMapViewport{text-align:left;-ms-touch-action:none;}.olLayerGoogleCopyright{left:2px;bottom:2px;}.olLayerGoogleV3.olLayerGoogleCopyright{right:auto!important;}.olLayerGooglePoweredBy{left:2px;bottom:15px;}.olLayerGoogleV3.olLayerGooglePoweredBy{bottom:15px!important;}.olForeignContainer{opacity:1!important;}.olControlAttribution{font-size:smaller;right:3px;bottom:4.5em;position:absolute;display:block;}.olControlScale{right:3px;bottom:3em;display:block;position:absolute;font-size:smaller;}.olControlScaleLine{display:block;position:absolute;left:10px;bottom:15px;font-size:xx-small;}.olControlScaleLineBottom{border:solid 2px #000;border-bottom:none;margin-top:-2px;text-align:center;}.olControlScaleLineTop{border:solid 2px #000;border-top:none;text-align:center;}.olControlPermalink{right:3px;bottom:1.5em;display:block;position:absolute;font-size:smaller;}div.olControlMousePosition{bottom:0;right:3px;display:block;position:absolute;font-family:Arial;font-size:smaller;}.olControlOverviewMapContainer{position:absolute;bottom:0;right:0;}.olControlOverviewMapElement{background-color:#00008B;-moz-border-radius:1em 0 0;padding:10px 18px 10px 10px;}.olControlOverviewMapMinimizeButton,.olControlOverviewMapMaximizeButton{height:18px;width:18px;right:0;bottom:80px;cursor:pointer;}.olControlOverviewMapExtentRectangle{overflow:hidden;background-image:url(img/blank.gif);cursor:move;border:2px dotted red;}.olControlOverviewMapRectReplacement{overflow:hidden;cursor:move;background-image:url(img/overview_replacement.gif);background-repeat:no-repeat;background-position:center;}.olLayerGeoRSSDescription{float:left;width:100%;overflow:auto;font-size:1em;}.olLayerGeoRSSClose{float:right;color:gray;font-size:1.2em;margin-right:6px;font-family:sans-serif;}.olLayerGeoRSSTitle{float:left;font-size:1.2em;}.olControlNavigationHistory{background-image:url(img/navigation_history.png);background-repeat:no-repeat;width:24px;height:24px;}.olControlNavigationHistoryPreviousItemActive{background-position:0 0;}.olControlNavigationHistoryPreviousItemInactive{background-position:0 -24px;}.olControlNavigationHistoryNextItemActive{background-position:-24px 0;}.olControlNavigationHistoryNextItemInactive{background-position:-24px -24px;}div.olControlSaveFeaturesItemActive{background-image:url(img/save_features_on.png);background-repeat:no-repeat;background-position:0 1px;}div.olControlSaveFeaturesItemInactive{background-image:url(img/save_features_off.png);background-repeat:no-repeat;background-position:0 1px;}.olHandlerBoxZoomBox{border:2px solid red;position:absolute;background-color:#FFF;opacity:.5;font-size:1px;filter:alpha(opacity=50);}.olHandlerBoxSelectFeature{border:2px solid blue;position:absolute;background-color:#FFF;opacity:.5;font-size:1px;filter:alpha(opacity=50);}.olControlPanPanel{top:10px;left:5px;}.olControlPanPanel div{background-image:url(img/pan-panel.png);height:18px;width:18px;cursor:pointer;position:absolute;}.olControlPanPanel .olControlPanNorthItemInactive{top:0;left:9px;background-position:0 0;}.olControlPanPanel .olControlPanSouthItemInactive{top:36px;left:9px;background-position:18px 0;}.olControlPanPanel .olControlPanWestItemInactive{position:absolute;top:18px;left:0;background-position:0 18px;}.olControlPanPanel .olControlPanEastItemInactive{top:18px;left:18px;background-position:18px 18px;}.olControlZoomPanel{top:71px;left:14px;}.olControlZoomPanel div{background-image:url(img/zoom-panel.png);position:absolute;height:18px;width:18px;cursor:pointer;}.olControlZoomPanel .olControlZoomInItemInactive{top:0;left:0;background-position:0 0;}.olControlZoomPanel .olControlZoomToMaxExtentItemInactive{top:18px;left:0;background-position:0 -18px;}.olControlZoomPanel .olControlZoomOutItemInactive{top:36px;left:0;background-position:0 18px;}.olControlPanZoomBar div{font-size:1px;}.olPopupCloseBox{background:url(img/close.gif) no-repeat;cursor:pointer;}.olImageLoadError{background-color:#FFC0CB;opacity:.5;filter:alpha(opacity=50);}.olCursorWait{cursor:wait;}.olDrawBox{cursor:crosshair;}.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown{cursor:0;}.olControlLayerSwitcher{position:absolute;top:25px;right:0;width:20em;font-family:sans-serif;font-weight:700;margin-top:3px;margin-left:3px;margin-bottom:3px;font-size:smaller;color:#FFF;background-color:transparent;}.olControlLayerSwitcher .layersDiv{background-color:#00008B;padding:5px 10px;}.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{width:18px;height:18px;top:5px;right:0;cursor:pointer;}.olBingAttribution{color:#DDD;}span.olGoogleAttribution a{color:#77C;}.olControlNavToolbar,.olControlEditingToolbar{margin:5px 5px 0 0;}.olControlNavToolbar div,.olControlEditingToolbar div{background-image:url(img/editing_tool_bar.png);background-repeat:no-repeat;width:24px;height:22px;cursor:pointer;margin:0 0 5px 5px;}.olControlEditingToolbar{right:0;top:0;}.olControlNavToolbar{top:295px;left:9px;}.olControlEditingToolbar div{float:right;}.olControlNavToolbar .olControlNavigationItemInactive,.olControlEditingToolbar .olControlNavigationItemInactive{background-position:-103px -1px;}.olControlNavToolbar .olControlNavigationItemActive,.olControlEditingToolbar .olControlNavigationItemActive{background-position:-103px -24px;}.olControlNavToolbar .olControlZoomBoxItemInactive{background-position:-128px -1px;}.olControlNavToolbar .olControlZoomBoxItemActive{background-position:-128px -24px;}.olControlEditingToolbar .olControlDrawFeaturePointItemInactive{background-position:-77px -1px;}.olControlEditingToolbar .olControlDrawFeaturePointItemActive{background-position:-77px -24px;}.olControlEditingToolbar .olControlDrawFeaturePathItemInactive{background-position:-51px -1px;}.olControlEditingToolbar .olControlDrawFeaturePathItemActive{background-position:-51px -24px;}.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive{background-position:-26px -1px;}.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive{background-position:-26px -24px;}div.olControlZoom{position:absolute;top:8px;left:8px;background:rgba(255,255,255,0.4);border-radius:4px;padding:2px;}div.olControlZoom a{display:block;color:#FFF;font-size:18px;font-family:'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;font-weight:700;text-decoration:none;text-align:center;height:22px;width:22px;line-height:19px;background:rgba(0,60,136,0.5);filter:alpha(opacity=80);margin:1px;padding:0;}div.olControlZoom a:hover{background:rgba(0,60,136,0.7);filter:alpha(opacity=100);}a.olControlZoomIn{border-radius:4px 4px 0 0;}a.olControlZoomOut{border-radius:0 0 4px 4px;}.olLayerGrid .olTileImage{-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear;}.olTileImage{-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-o-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;-moz-perspective:1000;-ms-perspective:1000;perspective:1000;}.olTileReplacing{display:none;}img.olTileImage{max-width:none;}div.olLayerDiv,.olControlNoSelect{-khtml-user-select:none;-moz-user-select:none;}.olPopupContent,.olFramedCloudPopupContent{overflow:auto;padding:5px;}.olDragDown,.olControlDragFeatureOver{cursor:move;}.olBingAttribution.road,.olGoogleAttribution{color:#333;}.olGoogleAttribution.hybrid,.olGoogleAttribution.satellite,span.olGoogleAttribution.hybrid a,span.olGoogleAttribution.satellite a{color:#EEE;}@media only screen and max-width 600px{div.olControlZoom a:hover{background:rgba(0,60,136,0.5);}}
\ No newline at end of file |