MarkerCluster.Default.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*!
  2. * Copyright 2012 David Leaver
  3. * Leaflet.markercluster.(https://github.com/Leaflet/Leaflet.markercluster/)
  4. * license: MIT
  5. * version: v1.0.3
  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. /* IE 6-8 fallback colors */
  26. .leaflet-oldie .marker-cluster-small {
  27. background-color: rgb(181, 226, 140);
  28. }
  29. .leaflet-oldie .marker-cluster-small div {
  30. background-color: rgb(110, 204, 57);
  31. }
  32. .leaflet-oldie .marker-cluster-medium {
  33. background-color: rgb(241, 211, 87);
  34. }
  35. .leaflet-oldie .marker-cluster-medium div {
  36. background-color: rgb(240, 194, 12);
  37. }
  38. .leaflet-oldie .marker-cluster-large {
  39. background-color: rgb(253, 156, 115);
  40. }
  41. .leaflet-oldie .marker-cluster-large div {
  42. background-color: rgb(241, 128, 23);
  43. }
  44. .marker-cluster {
  45. background-clip: padding-box;
  46. border-radius: 20px;
  47. }
  48. .marker-cluster div {
  49. width: 30px;
  50. height: 30px;
  51. margin-left: 5px;
  52. margin-top: 5px;
  53. text-align: center;
  54. border-radius: 15px;
  55. font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
  56. }
  57. .marker-cluster span {
  58. line-height: 30px;
  59. }