You are here

MarkerCluster.Default.css in Leaflet 2.0.x

.marker-cluster-small {
	background-color: rgba(181, 226, 140, 0.6);
	}
.marker-cluster-small div {
	background-color: rgba(110, 204, 57, 0.6);
	}

.marker-cluster-medium {
	background-color: rgba(241, 211, 87, 0.6);
	}
.marker-cluster-medium div {
	background-color: rgba(240, 194, 12, 0.6);
	}

.marker-cluster-large {
	background-color: rgba(253, 156, 115, 0.6);
	}
.marker-cluster-large div {
	background-color: rgba(241, 128, 23, 0.6);
	}

	/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
	}
.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}

File

modules/leaflet_markercluster/js/leaflet_markercluster/dist/MarkerCluster.Default.css
View source
  1. .marker-cluster-small {
  2. background-color: rgba(181, 226, 140, 0.6);
  3. }
  4. .marker-cluster-small div {
  5. background-color: rgba(110, 204, 57, 0.6);
  6. }
  7. .marker-cluster-medium {
  8. background-color: rgba(241, 211, 87, 0.6);
  9. }
  10. .marker-cluster-medium div {
  11. background-color: rgba(240, 194, 12, 0.6);
  12. }
  13. .marker-cluster-large {
  14. background-color: rgba(253, 156, 115, 0.6);
  15. }
  16. .marker-cluster-large div {
  17. background-color: rgba(241, 128, 23, 0.6);
  18. }
  19. /* IE 6-8 fallback colors */
  20. .leaflet-oldie .marker-cluster-small {
  21. background-color: rgb(181, 226, 140);
  22. }
  23. .leaflet-oldie .marker-cluster-small div {
  24. background-color: rgb(110, 204, 57);
  25. }
  26. .leaflet-oldie .marker-cluster-medium {
  27. background-color: rgb(241, 211, 87);
  28. }
  29. .leaflet-oldie .marker-cluster-medium div {
  30. background-color: rgb(240, 194, 12);
  31. }
  32. .leaflet-oldie .marker-cluster-large {
  33. background-color: rgb(253, 156, 115);
  34. }
  35. .leaflet-oldie .marker-cluster-large div {
  36. background-color: rgb(241, 128, 23);
  37. }
  38. .marker-cluster {
  39. background-clip: padding-box;
  40. border-radius: 20px;
  41. }
  42. .marker-cluster div {
  43. width: 30px;
  44. height: 30px;
  45. margin-left: 5px;
  46. margin-top: 5px;
  47. text-align: center;
  48. border-radius: 15px;
  49. font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
  50. }
  51. .marker-cluster span {
  52. line-height: 30px;
  53. }