|
264 | 264 | } |
265 | 265 | .leaflet-bar a:first-child { |
266 | 266 | border-top-left-radius: 4px; |
267 | | - border-top-right-radius: 4px; |
268 | | - } |
269 | | -.leaflet-bar a:last-child { |
270 | | - border-bottom-left-radius: 4px; |
271 | | - border-bottom-right-radius: 4px; |
272 | | - border-bottom: none; |
273 | | - } |
274 | | -.leaflet-bar a.leaflet-disabled { |
275 | | - cursor: default; |
276 | | - background-color: #f4f4f4; |
277 | | - color: #bbb; |
278 | | - } |
279 | | - |
280 | | -.leaflet-touch .leaflet-bar a { |
281 | | - width: 30px; |
282 | | - height: 30px; |
283 | | - line-height: 30px; |
284 | | - } |
285 | | - |
286 | | - |
287 | | -/* zoom control */ |
288 | | - |
289 | | -.leaflet-control-zoom-in, |
290 | | -.leaflet-control-zoom-out { |
291 | | - font: bold 18px 'Lucida Console', Monaco, monospace; |
292 | | - text-indent: 1px; |
293 | | - } |
294 | | -.leaflet-control-zoom-out { |
295 | | - font-size: 20px; |
296 | | - } |
297 | | - |
298 | | -.leaflet-touch .leaflet-control-zoom-in { |
299 | | - font-size: 22px; |
300 | | - } |
301 | | -.leaflet-touch .leaflet-control-zoom-out { |
302 | | - font-size: 24px; |
303 | | - } |
304 | | - |
305 | | - |
306 | | -/* layers control */ |
307 | | - |
308 | | -.leaflet-control-layers { |
309 | | - box-shadow: 0 1px 5px rgba(0,0,0,0.4); |
310 | | - background: #fff; |
311 | | - border-radius: 5px; |
312 | | - } |
313 | | -.leaflet-control-layers-toggle { |
314 | | - background-image: url(images/layers.png); |
315 | | - width: 36px; |
316 | | - height: 36px; |
317 | | - } |
318 | | -.leaflet-retina .leaflet-control-layers-toggle { |
319 | | - background-image: url(images/layers-2x.png); |
320 | | - background-size: 26px 26px; |
321 | | - } |
322 | | -.leaflet-touch .leaflet-control-layers-toggle { |
323 | | - width: 44px; |
324 | | - height: 44px; |
325 | | - } |
326 | | -.leaflet-control-layers .leaflet-control-layers-list, |
327 | | -.leaflet-control-layers-expanded .leaflet-control-layers-toggle { |
328 | | - display: none; |
329 | | - } |
330 | | -.leaflet-control-layers-expanded .leaflet-control-layers-list { |
331 | | - display: block; |
332 | | - position: relative; |
333 | | - } |
334 | | -.leaflet-control-layers-expanded { |
335 | | - padding: 6px 10px 6px 6px; |
336 | | - color: #333; |
337 | | - background: #fff; |
338 | | - } |
339 | | -.leaflet-control-layers-scrollbar { |
340 | | - overflow-y: scroll; |
341 | | - padding-right: 5px; |
342 | | - } |
343 | | -.leaflet-control-layers-selector { |
344 | | - margin-top: 2px; |
345 | | - position: relative; |
346 | | - top: 1px; |
347 | | - } |
348 | | -.leaflet-control-layers label { |
349 | | - display: block; |
350 | | - } |
351 | | -.leaflet-control-layers-separator { |
352 | | - height: 0; |
353 | | - border-top: 1px solid #ddd; |
354 | | - margin: 5px -10px 5px -6px; |
355 | | - } |
356 | | - |
357 | | - |
358 | | -/* attribution and scale controls */ |
359 | | - |
360 | | -.leaflet-container .leaflet-control-attribution { |
361 | | - background: #fff; |
362 | | - background: rgba(255, 255, 255, 0.7); |
363 | | - margin: 0; |
364 | | - } |
365 | | -.leaflet-control-attribution, |
366 | | -.leaflet-control-scale-line { |
367 | | - padding: 0 5px; |
368 | | - color: #333; |
369 | | - } |
370 | | -.leaflet-control-attribution a { |
371 | | - text-decoration: none; |
372 | | - } |
373 | | -.leaflet-control-attribution a:hover { |
374 | | - text-decoration: underline; |
375 | | - } |
376 | | -.leaflet-container .leaflet-control-attribution, |
377 | | -.leaflet-container .leaflet-control-scale { |
378 | | - font-size: 11px; |
379 | | - } |
380 | | -.leaflet-left .leaflet-control-scale { |
381 | | - margin-left: 5px; |
382 | | - } |
383 | | -.leaflet-bottom .leaflet-control-scale { |
384 | | - margin-bottom: 5px; |
385 | | - } |
386 | | -.leaflet-control-scale-line { |
387 | | - border: 2px solid #777; |
388 | | - border-top: none; |
389 | | - line-height: 1.1; |
390 | | - padding: 2px 5px 1px; |
391 | | - font-size: 11px; |
392 | | - white-space: nowrap; |
393 | | - overflow: hidden; |
394 | | - -moz-box-sizing: content-box; |
395 | | - box-sizing: content-box; |
396 | | - |
397 | | - background: #fff; |
398 | | - background: rgba(255, 255, 255, 0.5); |
399 | | - } |
400 | | -.leaflet-control-scale-line:not(:first-child) { |
401 | | - border-top: 2px solid #777; |
402 | | - border-bottom: none; |
403 | | - margin-top: -2px; |
404 | | - } |
405 | | -.leaflet-control-scale-line:not(:first-child):not(:last-child) { |
406 | | - border-bottom: 2px solid #777; |
407 | | - } |
408 | | - |
409 | | -.leaflet-touch .leaflet-control-attribution, |
410 | | -.leaflet-touch .leaflet-control-layers, |
411 | | -.leaflet-touch .leaflet-bar { |
412 | | - box-shadow: none; |
413 | | - } |
414 | | -.leaflet-touch .leaflet-control-layers, |
415 | | -.leaflet-touch .leaflet-bar { |
416 | | - border: 2px solid rgba(0,0,0,0.2); |
417 | | - background-clip: padding-box; |
418 | | - } |
419 | | - |
420 | | - |
421 | | -/* popup */ |
422 | | - |
423 | | -.leaflet-popup { |
424 | | - position: absolute; |
425 | | - text-align: center; |
426 | | - } |
427 | | -.leaflet-popup-content-wrapper { |
428 | | - padding: 1px; |
429 | | - text-align: left; |
430 | | - border-radius: 12px; |
431 | | - } |
432 | | -.leaflet-popup-content { |
433 | | - margin: 13px 19px; |
434 | | - line-height: 1.4; |
435 | | - } |
436 | | -.leaflet-popup-content p { |
437 | | - margin: 18px 0; |
438 | | - } |
439 | | -.leaflet-popup-tip-container { |
440 | | - margin: 0 auto; |
441 | | - width: 40px; |
442 | | - height: 20px; |
443 | | - position: relative; |
444 | | - overflow: hidden; |
445 | | - } |
446 | | -.leaflet-popup-tip { |
447 | | - width: 17px; |
448 | | - height: 17px; |
449 | | - padding: 1px; |
450 | | - |
451 | | - margin: -10px auto 0; |
452 | | - |
453 | | - -webkit-transform: rotate(45deg); |
454 | | - -moz-transform: rotate(45deg); |
455 | | - -ms-transform: rotate(45deg); |
456 | | - -o-transform: rotate(45deg); |
457 | | - transform: rotate(45deg); |
458 | | - } |
459 | | -.leaflet-popup-content-wrapper, |
460 | | -.leaflet-popup-tip { |
461 | | - background: white; |
462 | | - color: #333; |
463 | | - box-shadow: 0 3px 14px rgba(0,0,0,0.4); |
464 | | - } |
465 | | -.leaflet-container a.leaflet-popup-close-button { |
466 | | - position: absolute; |
467 | | - top: 0; |
468 | | - right: 0; |
469 | | - padding: 4px 4px 0 0; |
470 | | - border: none; |
471 | | - text-align: center; |
472 | | - width: 18px; |
473 | | - height: 14px; |
474 | | - font: 16px/14px Tahoma, Verdana, sans-serif; |
475 | | - color: #c3c3c3; |
476 | | - text-decoration: none; |
477 | | - font-weight: bold; |
478 | | - background: transparent; |
479 | | - } |
480 | | -.leaflet-container a.leaflet-popup-close-button:hover { |
481 | | - color: #999; |
482 | | - } |
483 | | -.leaflet-popup-scrolled { |
484 | | - overflow: auto; |
485 | | - border-bottom: 1px solid #ddd; |
486 | | - border-top: 1px solid #ddd; |
487 | | - } |
488 | | - |
489 | | -.leaflet-oldie .leaflet-popup-content-wrapper { |
490 | | - zoom: 1; |
491 | | - } |
492 | | -.leaflet-oldie .leaflet-popup-tip { |
493 | | - width: 24px; |
494 | | - margin: 0 auto; |
495 | | - |
496 | | - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; |
497 | | - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); |
498 | | - } |
499 | | -.leaflet-oldie .leaflet-popup-tip-container { |
500 | | - margin-top: -1px; |
501 | | - } |
502 | | - |
503 | | -.leaflet-oldie .leaflet-control-zoom, |
504 | | -.leaflet-oldie .leaflet-control-layers, |
505 | | -.leaflet-oldie .leaflet-popup-content-wrapper, |
506 | | -.leaflet-oldie .leaflet-popup-tip { |
507 | | - border: 1px solid #999; |
508 | | - } |
509 | | - |
510 | | - |
511 | | -/* div icon */ |
512 | | - |
513 | | -.leaflet-div-icon { |
514 | | - background: #fff; |
515 | | - border: 1px solid #666; |
516 | | - } |
517 | | - </style> |
518 | | - </template> |
519 | | -</dom-module> |
| 267 | + border-top-right |
0 commit comments