1 | html, body, #map { |
---|
2 | margin: 0; |
---|
3 | height: 100%; |
---|
4 | width: 100%; |
---|
5 | } |
---|
6 | #map { |
---|
7 | cursor: move; |
---|
8 | background-color: #CCCCCC; |
---|
9 | /* no highlighting of the map area when tapping the map on touch devices */ |
---|
10 | -webkit-tap-highlight-color: transparent; |
---|
11 | } |
---|
12 | #title, #tags, #shortdesc { |
---|
13 | display: none; |
---|
14 | } |
---|
15 | div.olMapViewport { |
---|
16 | -ms-touch-action: none; |
---|
17 | } |
---|
18 | |
---|
19 | /* Turn on GPU support where available */ |
---|
20 | .olTileImage { |
---|
21 | -webkit-transform: translateZ(0); |
---|
22 | -moz-transform: translateZ(0); |
---|
23 | -o-transform: translateZ(0); |
---|
24 | -ms-transform: translateZ(0); |
---|
25 | transform: translateZ(0); |
---|
26 | -webkit-backface-visibility: hidden; |
---|
27 | -moz-backface-visibility: hidden; |
---|
28 | -ms-backface-visibility: hidden; |
---|
29 | backface-visibility: hidden; |
---|
30 | -webkit-perspective: 1000; |
---|
31 | -moz-perspective: 1000; |
---|
32 | -ms-perspective: 1000; |
---|
33 | perspective: 1000; |
---|
34 | } |
---|
35 | |
---|
36 | /* Tile fade animation */ |
---|
37 | .olLayerGrid .olTileImage { |
---|
38 | -webkit-transition: opacity 0.2s linear; |
---|
39 | -moz-transition: opacity 0.2s linear; |
---|
40 | -o-transition: opacity 0.2s linear; |
---|
41 | transition: opacity 0.2s linear; |
---|
42 | } |
---|
43 | |
---|
44 | /* Zoom Box */ |
---|
45 | .olHandlerBoxZoomBox { |
---|
46 | border: 2px solid red; |
---|
47 | position: absolute; |
---|
48 | background-color: white; |
---|
49 | opacity: 0.50; |
---|
50 | font-size: 1px; |
---|
51 | filter: alpha(opacity=50); |
---|
52 | } |
---|
53 | .olDrawBox { |
---|
54 | cursor: crosshair; |
---|
55 | } |
---|
56 | |
---|
57 | div.olControlAttribution { |
---|
58 | position: absolute; |
---|
59 | font-size: 10px; |
---|
60 | text-align: right; |
---|
61 | color: #BFEFFF; |
---|
62 | bottom: 0; |
---|
63 | right: 0; |
---|
64 | background: rgba(0,0,100,0.2); |
---|
65 | font-family: Arial, Helvetica, sans-serif; |
---|
66 | font-weight: bold; |
---|
67 | padding: 2px 4px; |
---|
68 | border-radius: 5px 0 0 0; |
---|
69 | } |
---|
70 | .olControlAttribution a { |
---|
71 | font-weight: bold; |
---|
72 | color: #BFEFFF; |
---|
73 | text-decoration: none; |
---|
74 | } |
---|
75 | div.olControlZoomPanel { |
---|
76 | height: 108px; |
---|
77 | width: 36px; |
---|
78 | position: absolute; |
---|
79 | top: 20px; |
---|
80 | left: inherit; |
---|
81 | right: 20px; |
---|
82 | } |
---|
83 | div.olControlZoomPanel div { |
---|
84 | cursor: pointer; |
---|
85 | width: 36px; |
---|
86 | height: 36px; |
---|
87 | left: 0; |
---|
88 | background-color: #ccc; |
---|
89 | background-image: none; |
---|
90 | } |
---|
91 | div.olControlZoomPanel .olControlZoomInItemInactive, |
---|
92 | div.olControlZoomPanel .olControlZoomOutItemInactive { |
---|
93 | top: 0; |
---|
94 | background: rgba(0,0,100,0.4); |
---|
95 | position: absolute; |
---|
96 | } |
---|
97 | div.olControlZoomPanel .olControlZoomInItemInactive { |
---|
98 | border-radius: 5px 5px 0 0; |
---|
99 | } |
---|
100 | div.olControlZoomPanel .olControlZoomOutItemInactive { |
---|
101 | border-radius: 0 0 5px 5px; |
---|
102 | top: 37px; |
---|
103 | } |
---|
104 | div.olControlZoomPanel .olControlZoomOutItemInactive:after, |
---|
105 | div.olControlZoomPanel .olControlZoomInItemInactive:after { |
---|
106 | font-weight: bold; |
---|
107 | content: '+'; |
---|
108 | font-size: 36px; |
---|
109 | padding: 7px; |
---|
110 | z-index: 2000; |
---|
111 | color: #BFEFFF; |
---|
112 | line-height: 1em; |
---|
113 | } |
---|
114 | div.olControlZoomPanel .olControlZoomOutItemInactive:after { |
---|
115 | content: 'â'; |
---|
116 | line-height: 0.9em; |
---|
117 | padding: 0 8px; |
---|
118 | } |
---|
119 | div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive { |
---|
120 | display: none; |
---|
121 | } |
---|
122 | div.olControlZoomPanel div.olControlGeolocateItemInactive, |
---|
123 | div.olControlZoomPanel div.olControlGeolocateItemActive { |
---|
124 | position: absolute; |
---|
125 | right: 20px; |
---|
126 | top: 98px; |
---|
127 | border-radius: 5px 5px 5px 5px; |
---|
128 | background: #ccc url(img/locate.png) center no-repeat; |
---|
129 | background-color: rgba(0,0,100,0.4); |
---|
130 | } |
---|
131 | div.olControlZoomPanel div.olControlGeolocateItemActive { |
---|
132 | background-color: rgba(0,0,100,0.2); |
---|
133 | } |
---|
134 | div.olControlGeolocateItemInactive:after { |
---|
135 | font-weight: bold; |
---|
136 | font-size: 36px; |
---|
137 | padding: 7px; |
---|
138 | z-index: 2000; |
---|
139 | color: #BFEFFF; |
---|
140 | line-height: 1em; |
---|
141 | background: none; |
---|
142 | } |
---|
143 | .layerPanel { |
---|
144 | position: absolute; |
---|
145 | top: 20px; |
---|
146 | right: 82px; |
---|
147 | } |
---|
148 | div.layerPanel div { |
---|
149 | display: inline; |
---|
150 | margin-left: 5px; |
---|
151 | cursor: pointer; |
---|
152 | } |
---|
153 | div.layerPanel div:after { |
---|
154 | font-weight: bold; |
---|
155 | font-size: 18px; |
---|
156 | font-family: arial; |
---|
157 | padding: 8px; |
---|
158 | color: #BFEFFF; |
---|
159 | line-height: 36px; |
---|
160 | border-radius: 5px 5px 5px 5px; |
---|
161 | background-color: #ccc; |
---|
162 | background: rgba(0,0,100,0.4); |
---|
163 | } |
---|
164 | div.layerPanel div.labelButtonItemInactive:after, |
---|
165 | div.layerPanel div.labelButtonItemActive:after { |
---|
166 | content: 'Labels'; |
---|
167 | } |
---|
168 | :lang(de) div.layerPanel div.labelButtonItemInactive:after, |
---|
169 | :lang(de) div.layerPanel div.labelButtonItemActive:after { |
---|
170 | content: 'Text'; |
---|
171 | } |
---|
172 | div.layerPanel div.labelButtonItemActive:after { |
---|
173 | text-decoration: underline; |
---|
174 | background: rgba(0,0,100,0.2); |
---|
175 | } |
---|
176 | div.layerPanel div.aerialButtonItemInactive:after, |
---|
177 | div.layerPanel div.aerialButtonItemActive:after { |
---|
178 | content: 'Aerial'; |
---|
179 | border-radius: 5px 0 0 5px; |
---|
180 | } |
---|
181 | :lang(de) div.layerPanel div.aerialButtonItemInactive:after, |
---|
182 | :lang(de) div.layerPanel div.aerialButtonItemActive:after { |
---|
183 | content: 'Luftbild'; |
---|
184 | } |
---|
185 | div.layerPanel div.aerialButtonItemActive:after { |
---|
186 | text-decoration: underline; |
---|
187 | background: rgba(0,0,100,0.2); |
---|
188 | } |
---|
189 | div.layerPanel div.mapButtonItemInactive:after, |
---|
190 | div.layerPanel div.mapButtonItemActive:after { |
---|
191 | content: 'Map'; |
---|
192 | border-radius: 0 5px 5px 0; |
---|
193 | } |
---|
194 | :lang(de) div.layerPanel div.mapButtonItemInactive:after, |
---|
195 | :lang(de) div.layerPanel div.mapButtonItemActive:after { |
---|
196 | content: 'Karte'; |
---|
197 | } |
---|
198 | div.layerPanel div.mapButtonItemActive:after { |
---|
199 | text-decoration: underline; |
---|
200 | background: rgba(0,0,100,0.2); |
---|
201 | } |
---|
202 | div.layerPanel div.mapButtonItemInactive, |
---|
203 | div.layerPanel div.mapButtonItemActive { |
---|
204 | margin-left: 1px; |
---|
205 | } |
---|