| 1 | .ol-box { |
| 2 | box-sizing: border-box; |
| 3 | border-radius: 2px; |
| 4 | border: 2px solid #00f; |
| 5 | } |
| 6 | |
| 7 | .ol-mouse-position { |
| 8 | top: 8px; |
| 9 | right: 8px; |
| 10 | position: absolute; |
| 11 | } |
| 12 | |
| 13 | .ol-scale-line { |
| 14 | background: rgba(0,60,136,.3); |
| 15 | border-radius: 4px; |
| 16 | bottom: 8px; |
| 17 | left: 8px; |
| 18 | padding: 2px; |
| 19 | position: absolute; |
| 20 | } |
| 21 | |
| 22 | .ol-scale-line-inner { |
| 23 | border: 1px solid #eee; |
| 24 | border-top: none; |
| 25 | color: #eee; |
| 26 | font-size: 10px; |
| 27 | text-align: center; |
| 28 | margin: 1px; |
| 29 | will-change: contents,width; |
| 30 | } |
| 31 | |
| 32 | .ol-overlay-container { |
| 33 | will-change: left,right,top,bottom; |
| 34 | } |
| 35 | |
| 36 | .ol-unsupported { |
| 37 | display: none; |
| 38 | } |
| 39 | |
| 40 | .ol-unselectable, .ol-viewport { |
| 41 | -webkit-touch-callout: none; |
| 42 | -webkit-user-select: none; |
| 43 | -moz-user-select: none; |
| 44 | -ms-user-select: none; |
| 45 | user-select: none; |
| 46 | -webkit-tap-highlight-color: transparent; |
| 47 | } |
| 48 | |
| 49 | .ol-selectable { |
| 50 | -webkit-touch-callout: default; |
| 51 | -webkit-user-select: auto; |
| 52 | -moz-user-select: auto; |
| 53 | -ms-user-select: auto; |
| 54 | user-select: auto; |
| 55 | } |
| 56 | |
| 57 | .ol-grabbing { |
| 58 | cursor: -webkit-grabbing; |
| 59 | cursor: -moz-grabbing; |
| 60 | cursor: grabbing; |
| 61 | } |
| 62 | |
| 63 | .ol-grab { |
| 64 | cursor: move; |
| 65 | cursor: -webkit-grab; |
| 66 | cursor: -moz-grab; |
| 67 | cursor: grab; |
| 68 | } |
| 69 | |
| 70 | .ol-control { |
| 71 | position: absolute; |
| 72 | background-color: rgba(255,255,255,.4); |
| 73 | border-radius: 4px; |
| 74 | padding: 2px; |
| 75 | } |
| 76 | |
| 77 | .ol-control:hover { |
| 78 | background-color: rgba(255,255,255,.6); |
| 79 | } |
| 80 | |
| 81 | .ol-zoom { |
| 82 | top: .5em; |
| 83 | right: .5em; |
| 84 | } |
| 85 | |
| 86 | .ol-rotate { |
| 87 | top: .5em; |
| 88 | right: .5em; |
| 89 | transition: opacity .25s linear,visibility 0s linear; |
| 90 | } |
| 91 | |
| 92 | .ol-rotate.ol-hidden { |
| 93 | opacity: 0; |
| 94 | visibility: hidden; |
| 95 | transition: opacity .25s linear,visibility 0s linear .25s; |
| 96 | } |
| 97 | |
| 98 | .ol-zoom-extent { |
| 99 | top: 4.643em; |
| 100 | left: .5em; |
| 101 | } |
| 102 | |
| 103 | .ol-full-screen { |
| 104 | right: .5em; |
| 105 | top: .5em; |
| 106 | } |
| 107 | |
| 108 | @media print { |
| 109 | .ol-control { |
| 110 | display: none; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | .ol-control button { |
| 115 | display: block; |
| 116 | margin: 1px; |
| 117 | padding: 0; |
| 118 | color: #fff; |
| 119 | font-size: 1.14em; |
| 120 | font-weight: 700; |
| 121 | text-decoration: none; |
| 122 | text-align: center; |
| 123 | height: 1.375em; |
| 124 | width: 1.375em; |
| 125 | line-height: .4em; |
| 126 | background-color: rgba(0,60,136,.5); |
| 127 | border: none; |
| 128 | border-radius: 2px; |
| 129 | } |
| 130 | |
| 131 | .ol-control button::-moz-focus-inner { |
| 132 | border: none; |
| 133 | padding: 0; |
| 134 | } |
| 135 | |
| 136 | .ol-zoom-extent button { |
| 137 | line-height: 1.4em; |
| 138 | } |
| 139 | |
| 140 | .ol-compass { |
| 141 | display: block; |
| 142 | font-weight: 400; |
| 143 | font-size: 1.2em; |
| 144 | will-change: transform; |
| 145 | } |
| 146 | |
| 147 | .ol-touch .ol-control button { |
| 148 | font-size: 1.5em; |
| 149 | } |
| 150 | |
| 151 | .ol-touch .ol-zoom-extent { |
| 152 | top: 5.5em; |
| 153 | } |
| 154 | |
| 155 | .ol-control button:focus, .ol-control button:hover { |
| 156 | text-decoration: none; |
| 157 | background-color: rgba(0,60,136,.7); |
| 158 | } |
| 159 | |
| 160 | .ol-zoom .ol-zoom-in { |
| 161 | border-radius: 2px 2px 0 0; |
| 162 | } |
| 163 | |
| 164 | .ol-zoom .ol-zoom-out { |
| 165 | border-radius: 0 0 2px 2px; |
| 166 | } |
| 167 | |
| 168 | .ol-attribution { |
| 169 | text-align: right; |
| 170 | bottom: .5em; |
| 171 | right: .5em; |
| 172 | max-width: calc(100% - 1.3em); |
| 173 | } |
| 174 | |
| 175 | .ol-attribution ul { |
| 176 | margin: 0; |
| 177 | padding: 0 .5em; |
| 178 | font-size: .7rem; |
| 179 | line-height: 1.375em; |
| 180 | color: #000; |
| 181 | text-shadow: 0 0 2px #fff; |
| 182 | } |
| 183 | |
| 184 | .ol-attribution li { |
| 185 | display: inline; |
| 186 | list-style: none; |
| 187 | line-height: inherit; |
| 188 | } |
| 189 | |
| 190 | .ol-attribution li:not(:last-child):after { |
| 191 | content: " "; |
| 192 | } |
| 193 | |
| 194 | .ol-attribution img { |
| 195 | max-height: 2em; |
| 196 | max-width: inherit; |
| 197 | vertical-align: middle; |
| 198 | } |
| 199 | |
| 200 | .ol-attribution button, .ol-attribution ul { |
| 201 | display: inline-block; |
| 202 | } |
| 203 | |
| 204 | .ol-attribution.ol-collapsed ul { |
| 205 | display: none; |
| 206 | } |
| 207 | |
| 208 | .ol-attribution.ol-logo-only ul { |
| 209 | display: block; |
| 210 | } |
| 211 | |
| 212 | .ol-attribution:not(.ol-collapsed) { |
| 213 | background: rgba(255,255,255,.8); |
| 214 | } |
| 215 | |
| 216 | .ol-attribution.ol-uncollapsible { |
| 217 | bottom: 0; |
| 218 | right: 0; |
| 219 | border-radius: 4px 0 0; |
| 220 | height: 1.1em; |
| 221 | line-height: 1em; |
| 222 | } |
| 223 | |
| 224 | .ol-attribution.ol-logo-only { |
| 225 | background: 0 0; |
| 226 | bottom: .4em; |
| 227 | height: 1.1em; |
| 228 | line-height: 1em; |
| 229 | } |
| 230 | |
| 231 | .ol-attribution.ol-uncollapsible img { |
| 232 | margin-top: -.2em; |
| 233 | max-height: 1.6em; |
| 234 | } |
| 235 | |
| 236 | .ol-attribution.ol-logo-only button, .ol-attribution.ol-uncollapsible button { |
| 237 | display: none; |
| 238 | } |
| 239 | |
| 240 | .ol-zoomslider { |
| 241 | top: 4.5em; |
| 242 | left: .5em; |
| 243 | height: 200px; |
| 244 | } |
| 245 | |
| 246 | .ol-zoomslider button { |
| 247 | position: relative; |
| 248 | height: 10px; |
| 249 | } |
| 250 | |
| 251 | .ol-touch .ol-zoomslider { |
| 252 | top: 5.5em; |
| 253 | } |
| 254 | |
| 255 | .ol-overviewmap { |
| 256 | left: .5em; |
| 257 | bottom: .5em; |
| 258 | } |
| 259 | |
| 260 | .ol-overviewmap.ol-uncollapsible { |
| 261 | bottom: 0; |
| 262 | left: 0; |
| 263 | border-radius: 0 4px 0 0; |
| 264 | } |
| 265 | |
| 266 | .ol-overviewmap .ol-overviewmap-map, .ol-overviewmap button { |
| 267 | display: inline-block; |
| 268 | } |
| 269 | |
| 270 | .ol-overviewmap .ol-overviewmap-map { |
| 271 | border: 1px solid #7b98bc; |
| 272 | height: 150px; |
| 273 | margin: 2px; |
| 274 | width: 150px; |
| 275 | } |
| 276 | |
| 277 | .ol-overviewmap:not(.ol-collapsed) button { |
| 278 | bottom: 1px; |
| 279 | left: 2px; |
| 280 | position: absolute; |
| 281 | } |
| 282 | |
| 283 | .ol-overviewmap.ol-collapsed .ol-overviewmap-map, .ol-overviewmap.ol-uncollapsible button { |
| 284 | display: none; |
| 285 | } |
| 286 | |
| 287 | .ol-overviewmap:not(.ol-collapsed) { |
| 288 | background: rgba(255,255,255,.8); |
| 289 | } |
| 290 | |
| 291 | .ol-overviewmap-box { |
| 292 | border: 2px dotted rgba(0,60,136,.7); |
| 293 | } |
| 294 | |
| 295 | .ol-overviewmap .ol-overviewmap-box:hover { |
| 296 | cursor: move; |
| 297 | } |