summaryrefslogtreecommitdiff
path: root/src/css/leaflet/extra-markers.css
blob: 735dd87e7c688dc355ac225b132b74f39e19609f (plain)
  1. /* Marker setup */
  2. .extra-marker {
  3. background: url("../../img/leaflet.extra-markers/markers_default.png") no-repeat 0 0;
  4. width: 35px;
  5. height: 46px;
  6. position: absolute;
  7. left: 0;
  8. top: 0;
  9. display: block;
  10. text-align: center;
  11. }
  12. .extra-marker-svg {
  13. background: none;
  14. }
  15. .extra-marker svg {
  16. position: absolute;
  17. top: 2px;
  18. left: 3px;
  19. width: 30px;
  20. stroke-width:1;
  21. }
  22. .extra-marker-shadow {
  23. background: url("../../img/leaflet.extra-markers/markers_shadow.png") no-repeat 0 0;
  24. width: 36px;
  25. height: 16px;
  26. }
  27. /* Retina displays */
  28. @media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  29. .extra-marker {
  30. background-image: url("../../img/leaflet.extra-markers/markers_default@2x.png");
  31. background-size: 540px 184px;
  32. }
  33. .extra-marker-shadow {
  34. background-image: url("../../img/leaflet.extra-markers/markers_shadow@2x.png");
  35. background-size: 35px 16px;
  36. }
  37. }
  38. /* Icons */
  39. .extra-marker i {
  40. color: #fff;
  41. margin-top: 10px;
  42. display: inline-block;
  43. font-size: 14px;
  44. }
  45. /* Semantic UI Fix */
  46. .extra-marker i.icon {
  47. margin-right: 0;
  48. opacity: 1;
  49. }
  50. /* Sprites setup */
  51. .extra-marker-circle-red {
  52. background-position: 0 0;
  53. }
  54. .extra-marker-circle-orange-dark {
  55. background-position: -36px 0;
  56. }
  57. .extra-marker-circle-orange {
  58. background-position: -72px 0;
  59. }
  60. .extra-marker-circle-yellow {
  61. background-position: -108px 0;
  62. }
  63. .extra-marker-circle-blue-dark {
  64. background-position: -144px 0;
  65. }
  66. .extra-marker-circle-blue {
  67. background-position: -180px 0;
  68. }
  69. .extra-marker-circle-cyan {
  70. background-position: -216px 0;
  71. }
  72. .extra-marker-circle-purple {
  73. background-position: -252px 0;
  74. }
  75. .extra-marker-circle-violet {
  76. background-position: -288px 0;
  77. }
  78. .extra-marker-circle-pink {
  79. background-position: -324px 0;
  80. }
  81. .extra-marker-circle-green-dark {
  82. background-position: -360px 0;
  83. }
  84. .extra-marker-circle-green {
  85. background-position: -396px 0;
  86. }
  87. .extra-marker-circle-green-light {
  88. background-position: -432px 0;
  89. }
  90. .extra-marker-circle-black {
  91. background-position: -468px 0;
  92. }
  93. .extra-marker-circle-white {
  94. background-position: -504px 0;
  95. }
  96. .extra-marker-square-red {
  97. background-position: 0 -46px;
  98. }
  99. .extra-marker-square-orange-dark {
  100. background-position: -36px -46px;
  101. }
  102. .extra-marker-square-orange {
  103. background-position: -72px -46px;
  104. }
  105. .extra-marker-square-yellow {
  106. background-position: -108px -46px;
  107. }
  108. .extra-marker-square-blue-dark {
  109. background-position: -144px -46px;
  110. }
  111. .extra-marker-square-blue {
  112. background-position: -180px -46px;
  113. }
  114. .extra-marker-square-cyan {
  115. background-position: -216px -46px;
  116. }
  117. .extra-marker-square-purple {
  118. background-position: -252px -46px;
  119. }
  120. .extra-marker-square-violet {
  121. background-position: -288px -46px;
  122. }
  123. .extra-marker-square-pink {
  124. background-position: -324px -46px;
  125. }
  126. .extra-marker-square-green-dark {
  127. background-position: -360px -46px;
  128. }
  129. .extra-marker-square-green {
  130. background-position: -396px -46px;
  131. }
  132. .extra-marker-square-green-light {
  133. background-position: -432px -46px;
  134. }
  135. .extra-marker-square-black {
  136. background-position: -468px -46px;
  137. }
  138. .extra-marker-square-white {
  139. background-position: -504px -46px;
  140. }
  141. .extra-marker-star-red {
  142. background-position: 0 -92px;
  143. }
  144. .extra-marker-star-orange-dark {
  145. background-position: -36px -92px;
  146. }
  147. .extra-marker-star-orange {
  148. background-position: -72px -92px;
  149. }
  150. .extra-marker-star-yellow {
  151. background-position: -108px -92px;
  152. }
  153. .extra-marker-star-blue-dark {
  154. background-position: -144px -92px;
  155. }
  156. .extra-marker-star-blue {
  157. background-position: -180px -92px;
  158. }
  159. .extra-marker-star-cyan {
  160. background-position: -216px -92px;
  161. }
  162. .extra-marker-star-purple {
  163. background-position: -252px -92px;
  164. }
  165. .extra-marker-star-violet {
  166. background-position: -288px -92px;
  167. }
  168. .extra-marker-star-pink {
  169. background-position: -324px -92px;
  170. }
  171. .extra-marker-star-green-dark {
  172. background-position: -360px -92px;
  173. }
  174. .extra-marker-star-green {
  175. background-position: -396px -92px;
  176. }
  177. .extra-marker-star-green-light {
  178. background-position: -432px -92px;
  179. }
  180. .extra-marker-star-black {
  181. background-position: -468px -92px;
  182. }
  183. .extra-marker-star-white {
  184. background-position: -504px -92px;
  185. }
  186. .extra-marker-penta-red {
  187. background-position: 0 -138px;
  188. }
  189. .extra-marker-penta-orange-dark {
  190. background-position: -36px -138px;
  191. }
  192. .extra-marker-penta-orange {
  193. background-position: -72px -138px;
  194. }
  195. .extra-marker-penta-yellow {
  196. background-position: -108px -138px;
  197. }
  198. .extra-marker-penta-blue-dark {
  199. background-position: -144px -138px;
  200. }
  201. .extra-marker-penta-blue {
  202. background-position: -180px -138px;
  203. }
  204. .extra-marker-penta-cyan {
  205. background-position: -216px -138px;
  206. }
  207. .extra-marker-penta-purple {
  208. background-position: -252px -138px;
  209. }
  210. .extra-marker-penta-violet {
  211. background-position: -288px -138px;
  212. }
  213. .extra-marker-penta-pink {
  214. background-position: -324px -138px;
  215. }
  216. .extra-marker-penta-green-dark {
  217. background-position: -360px -138px;
  218. }
  219. .extra-marker-penta-green {
  220. background-position: -396px -138px;
  221. }
  222. .extra-marker-penta-green-light {
  223. background-position: -432px -138px;
  224. }
  225. .extra-marker-penta-black {
  226. background-position: -468px -138px;
  227. }
  228. .extra-marker-penta-white {
  229. background-position: -504px -138px;
  230. }
  231. .extra-marker .fa-number:before {
  232. content: attr(number);
  233. }