MarkerCluster.Default.css 1.53 KB
Newer Older
liyang's avatar
liyang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
.marker-cluster-small {
    /* background-color: rgba(181, 226, 140, 0.6); */
    background-color: rgba(3, 169, 244, .3);
  }
  
  .marker-cluster-small div {
    /*background-color: rgba(110, 204, 57, 0.6);*/
    background-color: rgba(3, 169, 244, .8);
  }
  
  .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);*/
    background-color: rgba(3, 169, 244, .6);
  }
  
  .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 "Microsoft YaHei", Arial;
  }
  
  .marker-cluster span {
    line-height: 30px;
  }