MarkerCluster.Default.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. .bigemap-cluster-anim .bigemap-marker-icon, .bigemap-cluster-anim .bigemap-marker-shadow {
  2. -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
  3. -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
  4. -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
  5. transition: transform 0.3s ease-out, opacity 0.3s ease-in;
  6. }
  7. .bigemap-cluster-spider-leg {
  8. /* stroke-dashoffset (duration and function) should match with bigemap-marker-icon transform in order to track it exactly */
  9. -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
  10. -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
  11. -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
  12. transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
  13. }
  14. .marker-cluster-small {
  15. /*background-color: rgba(181, 226, 140, 0.6);*/
  16. box-shadow: 0px 2px 8px 0px rgba(11, 219, 168, 0.5)
  17. }
  18. .marker-cluster-small div {
  19. background-color: #0BDBA8;
  20. }
  21. .marker-cluster-medium {
  22. background-color: #fff;
  23. }
  24. .marker-cluster-medium div {
  25. background-color: #FFB540;
  26. }
  27. .marker-cluster-large {
  28. background-color: #fff;
  29. }
  30. .marker-cluster-large div {
  31. background-color: #F52F3E;
  32. }
  33. /* IE 6-8 fallback colors */
  34. .bigemap-oldie .marker-cluster-small {
  35. background-color: rgb(181, 226, 140);
  36. }
  37. .bigemap-oldie .marker-cluster-small div {
  38. background-color: rgb(110, 204, 57);
  39. }
  40. .bigemap-oldie .marker-cluster-medium {
  41. background-color: rgb(241, 211, 87);
  42. }
  43. .bigemap-oldie .marker-cluster-medium div {
  44. background-color: rgb(240, 194, 12);
  45. }
  46. .bigemap-oldie .marker-cluster-large {
  47. background-color: rgb(253, 156, 115);
  48. }
  49. .bigemap-oldie .marker-cluster-large div {
  50. background-color: rgb(241, 128, 23);
  51. }
  52. .marker-cluster {
  53. background-clip: padding-box;
  54. border-radius: 20px;
  55. }
  56. .marker-cluster div {
  57. width: 36px;
  58. height: 36px;
  59. margin-left: 2px;
  60. margin-top: 2px;
  61. text-align: center;
  62. border-radius: 18px;
  63. font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
  64. }
  65. .marker-cluster span {
  66. line-height: 36px;
  67. color: #FFF;
  68. }
  69. .pulse-icon {
  70. display: inline-block;
  71. width: 100%;
  72. height: 100%;
  73. border-radius: 100%;
  74. background: #33FF66;
  75. position: relative;
  76. box-shadow: 1px 1px 8px 0 rgba(0, 0, 0, 0.75);
  77. }
  78. .pulse-icon:after {
  79. content: "";
  80. box-shadow: 0 0 6px 2px #2f8;
  81. animation: pulsate 1s ease-out;
  82. animation-iteration-count: infinite;
  83. animation-delay: 1.1s;
  84. -webkit-border-radius: 100%;
  85. border-radius: 100%;
  86. height: 300%;
  87. width: 300%;
  88. animation: pulsate 2s infinite;
  89. position: absolute;
  90. margin: -100% 0 0 -150%;
  91. }
  92. /*#green::after{*/
  93. /* box-shadow: 0 0 6px 2px var(--gre) ;*/
  94. /*}*/
  95. /*#yel::after{*/
  96. /* box-shadow: 0 0 6px 2px var(--yel) ;*/
  97. /*}*/
  98. /*#red::after{*/
  99. /* box-shadow: 0 0 6px 2px var(--red) ;*/
  100. /*}*/
  101. @keyframes pulsate {
  102. 0% {
  103. transform: scale(0.1, 0.1);
  104. opacity: 0;
  105. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  106. filter: alpha(opacity=0);
  107. }
  108. 50% {
  109. opacity: 1;
  110. -ms-filter: none;
  111. filter: none;
  112. }
  113. 100% {
  114. transform: scale(1.2, 1.2);
  115. opacity: 0;
  116. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  117. filter: alpha(opacity=0);
  118. }
  119. }
  120. .contextmenus{
  121. border-radius: 5px;
  122. }
  123. .contextmenus span{
  124. display: inline-block;
  125. width: 100%;
  126. height: 40px;
  127. line-height: 40px;
  128. color: #fff;
  129. text-align: center;
  130. cursor: pointer;
  131. }
  132. /* 活跃图标所需样式 */
  133. .pulse-icon {
  134. display: inline-block;
  135. width: 15px;
  136. height: 15px;
  137. border-radius: 100%;
  138. background-color: #2f8;
  139. position: relative;
  140. box-shadow: 1px 1px 8px 0 rgba(0, 0, 0, 0.75);
  141. }
  142. .pulse-icon:after {
  143. content: '';
  144. box-shadow: 0 0 6px 2px #2f8;
  145. animation: pulsate 1s ease-out;
  146. animation-iteration-count: infinite;
  147. animation-delay: 1.1s;
  148. -webkit-border-radius: 100%;
  149. border-radius: 100%;
  150. height: 300%;
  151. width: 300%;
  152. animation: pulsate 2s infinite;
  153. position: absolute;
  154. margin: -100% 0 0 -100%;
  155. }
  156. @keyframes pulsate {
  157. 0% {
  158. transform: scale(0.1, 0.1);
  159. opacity: 0;
  160. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
  161. filter: alpha(opacity=0);
  162. }
  163. 50% {
  164. opacity: 1;
  165. -ms-filter: none;
  166. filter: none;
  167. }
  168. 100% {
  169. transform: scale(1.2, 1.2);
  170. opacity: 0;
  171. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
  172. filter: alpha(opacity=0);
  173. }
  174. }
  175. .demo-drawer__content{
  176. padding: 15px;
  177. box-sizing: border-box;
  178. }
  179. .pulse-icon {
  180. display: inline-block;
  181. width: 100%;
  182. height: 100%;
  183. border-radius: 100%;
  184. background-color: #33FF66;
  185. position: relative;
  186. box-shadow: 1px 1px 8px 0 rgba(0, 0, 0, 0.75);
  187. }
  188. .pulse-icon:after {
  189. content: "";
  190. box-shadow: 0 0 6px 2px #2f8;
  191. animation: pulsate 1s ease-out;
  192. animation-iteration-count: infinite;
  193. animation-delay: 1.1s;
  194. -webkit-border-radius: 100%;
  195. border-radius: 100%;
  196. height: 300%;
  197. width: 300%;
  198. animation: pulsate 2s infinite;
  199. position: absolute;
  200. margin: -100% 0 0 -100%;
  201. }
  202. /*#green::after{*/
  203. /* box-shadow: 0 0 6px 2px var(--gre) ;*/
  204. /*}*/
  205. /*#yel::after{*/
  206. /* box-shadow: 0 0 6px 2px var(--yel) ;*/
  207. /*}*/
  208. /*#red::after{*/
  209. /* box-shadow: 0 0 6px 2px var(--red) ;*/
  210. /*}*/
  211. @keyframes pulsate {
  212. 0% {
  213. transform: scale(0.1, 0.1);
  214. opacity: 0;
  215. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  216. filter: alpha(opacity=0);
  217. }
  218. 50% {
  219. opacity: 1;
  220. -ms-filter: none;
  221. filter: none;
  222. }
  223. 100% {
  224. transform: scale(1.2, 1.2);
  225. opacity: 0;
  226. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  227. filter: alpha(opacity=0);
  228. }
  229. }