plugins.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
  2. -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-in;
  3. -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-in;
  4. -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-in;
  5. transition: transform 0.2s ease-out, opacity 0.2s ease-in;
  6. }
  7. .marker-cluster-small {
  8. background-color: rgba(181, 226, 140, 0.6);
  9. }
  10. .marker-cluster-small div {
  11. background-color: rgba(110, 204, 57, 0.6);
  12. }
  13. .marker-cluster-medium {
  14. background-color: rgba(241, 211, 87, 0.6);
  15. }
  16. .marker-cluster-medium div {
  17. background-color: rgba(240, 194, 12, 0.6);
  18. }
  19. .marker-cluster-large {
  20. background-color: rgba(253, 156, 115, 0.6);
  21. }
  22. .marker-cluster-large div {
  23. background-color: rgba(241, 128, 23, 0.6);
  24. }
  25. .marker-cluster {
  26. background-clip: padding-box;
  27. border-radius: 20px;
  28. }
  29. .marker-cluster div {
  30. width: 30px;
  31. height: 30px;
  32. margin-left: 5px;
  33. margin-top: 5px;
  34. text-align: center;
  35. border-radius: 15px;
  36. font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
  37. }
  38. .marker-cluster span {
  39. line-height: 30px;
  40. }
  41. .leaflet-label {
  42. background: #1f1f1f;
  43. background-clip: padding-box;
  44. border-radius: 4px;
  45. border-style: solid;
  46. border-width: 0px;
  47. display: block;
  48. font-weight: 200;
  49. font-size: 11pt;
  50. padding: 5px;
  51. position: absolute;
  52. -webkit-user-select: none;
  53. -moz-user-select: none;
  54. -ms-user-select: none;
  55. user-select: none;
  56. white-space: nowrap;
  57. z-index: 99999 !important;
  58. }
  59. .leaflet-label:before {
  60. border-right: 6px solid black;
  61. border-right-color: inherit;
  62. border-top: 6px solid transparent;
  63. border-bottom: 6px solid transparent;
  64. content: "";
  65. position: absolute;
  66. top: 5px;
  67. left: -10px;
  68. display: none;
  69. }