leaflet-easy.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. .layer-control-label{width: 50px; height: 45px; position: relative; display: inline;left: 2px;opacity: 0.6;margin-left: 3px;cursor: pointer;}
  2. .layer-control-label img{width: 47px;height: 45px;vertical-align: initial;}
  3. .layer-control-label span{bottom: 2px;position: absolute;right: 0px;text-align: center;height: 20px;line-height: 24px;width: auto;color: #fff;text-shadow: 1px 1px 2px #000;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR4AWNicJ/XAAACoAFoZOWciwAAAABJRU5ErkJggg==);}
  4. #app-right-top {
  5. position: relative;
  6. top: 59px;
  7. margin-top: -42px;
  8. }
  9. .ui3-control-wrap{box-sizing: border-box; position: relative;}
  10. .ui3-control-wrap #ui3_city_change {
  11. display: inline-block;
  12. float: left;
  13. border-radius: 2px;
  14. box-shadow: 1px 2px 1px rgba(0,0,0,.15);
  15. }
  16. .ui3-control-wrap #ui3_city_change .adjustpadding {
  17. float: left;
  18. width: 5px;
  19. height: 34px;
  20. border-radius: 2px 0 0 2px;
  21. padding-left: 7px;
  22. background: #fff;
  23. }
  24. .ui3-control-wrap .ui3-city-change-inner {
  25. float: left;
  26. display: inline-block;
  27. padding-right: 12px;
  28. height: 34px;
  29. line-height: 34px;
  30. background-color: #fff;
  31. color: #666;
  32. font-size: 12px;
  33. text-decoration: none;
  34. vertical-align: middle;
  35. position: relative;
  36. }
  37. .ui3-control-wrap .left, .ui3-control-wrap .right {
  38. height: 34px;
  39. background: #fff;
  40. border-radius: 0 2px 2px 0;
  41. box-shadow: 1px 2px 1px rgba(0,0,0,.15);
  42. }
  43. .float-l {
  44. float: left;
  45. }
  46. .ui3-control-wrap .left b, .ui3-control-wrap .right b {
  47. float: left;
  48. height: 21px;
  49. display: inline-block;
  50. border-right: 1px solid #eee;
  51. top: 7px;
  52. position: relative;
  53. }
  54. .ui3-control-wrap .trafficopt {
  55. padding-right: 12px;
  56. line-height: 34px;
  57. float: left;
  58. display: inline-block;
  59. cursor: pointer;
  60. }
  61. .ui3-control-wrap .left span, .ui3-control-wrap .right span {
  62. float: left;
  63. height: 34px;
  64. width: 29px;
  65. background-image: url(./images/newtools.png);
  66. background-repeat: no-repeat;
  67. }
  68. .ui3-control-wrap .last {
  69. border: 0!important;
  70. }
  71. .ui3-control-wrap .traffic {
  72. background-position: -111px -118px;
  73. }
  74. .ui3-control-wrap i {
  75. float: left;
  76. font-size: 12px;
  77. font-style: normal;
  78. height: 34px;
  79. line-height: 34px;
  80. display: inline-block;
  81. }
  82. .ui3-control-wrap .left b, .ui3-control-wrap .right b {
  83. float: left;
  84. height: 21px;
  85. display: inline-block;
  86. border-right: 1px solid #eee;
  87. top: 7px;
  88. position: relative;
  89. }
  90. .ui3-control-wrap .boxopt {
  91. padding-right: 12px;
  92. line-height: 34px;
  93. float: left;
  94. cursor: pointer;
  95. display: inline-block;
  96. }
  97. .ui3-control-wrap .boxutils {
  98. padding-right: 7px;
  99. background-position: -34px -116px;
  100. }
  101. .ui3-control-wrap i {
  102. float: left;
  103. font-size: 12px;
  104. font-style: normal;
  105. height: 34px;
  106. line-height: 34px;
  107. display: inline-block;
  108. }
  109. .ui3-control-wrap .boxopt em {
  110. width: 7px;
  111. height: 7px;
  112. float: right;
  113. margin-top: 13px;
  114. margin-left: 5px;
  115. background-image: url(./images/newtools.png);
  116. background-repeat: no-repeat;
  117. background-position: -13px -17px;
  118. }
  119. .ui3-control-wrap .ui3-city-change-inner em {
  120. width: 7px;
  121. height: 7px;
  122. margin-left: 5px;
  123. float: right;
  124. margin-top: 13px;
  125. background-image: url(./images/newtools.png);
  126. background-repeat: no-repeat;
  127. background-position: -13px -17px;
  128. }
  129. .ui3-control-wrap .detail-box {
  130. position: absolute;
  131. width: 86px;
  132. background: #fff;
  133. box-shadow: 1px 2px 1px rgba(0,0,0,.15);
  134. top: 34px;
  135. right: 0;
  136. float: left;
  137. display: none;
  138. z-index: 80000;
  139. }
  140. .ui3-control-wrap .boxinfo {
  141. list-style-type: none;
  142. display:inline;
  143. }
  144. .ui3-control-wrap .boxinfo li {
  145. box-sizing: border-box;
  146. width: 100%;
  147. cursor: pointer;
  148. height: 34px;
  149. line-height: 34px;
  150. padding-left: 7px;
  151. }
  152. .ui3-control-wrap .boxinfo li .measure {
  153. background-position: -80px -117px;
  154. }
  155. }
  156. <style>
  157. .ui3-control-wrap .left span, .ui3-control-wrap .right span {
  158. float: left;
  159. height: 34px;
  160. width: 29px;
  161. background-image: url(./images/newtools.png);
  162. background-repeat: no-repeat;
  163. }
  164. .ui3-control-wrap .last {
  165. border: 0!important;
  166. }
  167. .ui3-control-wrap .boxinfo li i {
  168. margin-left: 2px;
  169. }
  170. .ui3-control-wrap i {
  171. float: left;
  172. font-size: 12px;
  173. font-style: normal;
  174. height: 34px;
  175. line-height: 34px;
  176. display: inline-block;
  177. }
  178. .ui3-control-wrap .boxinfo li .mark {
  179. background-position: -80px -168px;
  180. }
  181. .ui3-control-wrap .ui3-city-change-inner:hover {
  182. color: #0C88E8;
  183. text-decoration: none;
  184. }
  185. .ui3-control-wrap .trafficopt:hover i {
  186. color: #579AFC;
  187. }
  188. .ui3-control-wrap .boxopt:hover .boxtext {
  189. color: #579AFC;
  190. }
  191. .ui3-control-wrap i.active {
  192. color: #579AFC;
  193. }
  194. .ui3-control-wrap .boxopt:hover .boxtext {
  195. color: #579AFC;
  196. }
  197. .ui3-control-wrap .trafficopt:hover .traffic {
  198. background-position: -36px -167px;
  199. }
  200. .ui3-control-wrap .boxopt:hover .boxutils {
  201. background-position: -34px -48px;
  202. }
  203. .ui3-control-wrap .boxutils.active {
  204. background-position: -34px -48px;
  205. }
  206. .ui3-control-wrap .left span.active, .ui3-control-wrap .right span.active {
  207. background-color: #fff;
  208. }
  209. .ui3-control-wrap .boxopt em.active {
  210. background-position: -12px -177px;
  211. }
  212. .ui3-control-wrap .traffic.active {
  213. background-position: -36px -167px;
  214. }
  215. .ui3-control-wrap .ui3-city-change-click .ui3-city-change-inner em, .ui3-control-wrap .ui3-city-change-click-close .ui3-city-change-inner em {
  216. background-position: -12px -177px;
  217. }
  218. .ui3-control-wrap .ui3-city-change-inner:hover em {
  219. border-top-color: #0C88E8;
  220. }
  221. .map_popup {
  222. position: absolute;
  223. z-index: 50000;
  224. }
  225. .map_popup .popup_main {
  226. z-index: 2;
  227. position: absolute;
  228. width: 100%;
  229. height: auto;
  230. background: #fff;
  231. overflow: hidden;
  232. box-shadow: 1px 2px 1px rgba(0,0,0,.15);
  233. }
  234. .map_popup .title {
  235. border-bottom: 1px solid #dadada;
  236. height: 25px;
  237. line-height: 25px;
  238. font-size: 12px;
  239. color: #4c4c4c;
  240. padding-left: 7px;
  241. }
  242. .map_popup .title a{
  243. cursor: pointer;
  244. }
  245. .map_popup button {
  246. position: absolute;
  247. z-index: 50;
  248. top: 7px;
  249. right: 6px;
  250. width: 12px;
  251. height: 12px;
  252. background: url(./images/popup_close.gif) no-repeat;
  253. border: 0;
  254. cursor: pointer;
  255. padding: 0;
  256. }
  257. .leaflet-pm-toolbar-close-button {
  258. position: absolute;
  259. z-index: 5000000;
  260. top: 7px;
  261. right: 6px;
  262. width: 12px;
  263. height: 12px;
  264. background: url(./images/popup_close.gif) no-repeat;
  265. border: 0;
  266. cursor: pointer;
  267. padding: 0;
  268. }
  269. .map_popup .poput_shadow {
  270. width: 100%;
  271. height: auto;
  272. position: absolute;
  273. left: 4px;
  274. top: 4px;
  275. z-index: 1;
  276. _left: 1px;
  277. _top: 1px;
  278. _background: #505050;
  279. _border: 1px solid #505050;
  280. _filter: alpha(opacity=20);
  281. }
  282. .sel_city {
  283. margin: 7px 5px 5px;
  284. }
  285. .sel-city-hotcity {
  286. padding: 0 5px;
  287. }
  288. .sel_city a {
  289. white-space: nowrap;
  290. margin-right: 9px;
  291. line-height: 18px;
  292. cursor:pointer;
  293. float: left;
  294. }
  295. .ui3-control-wrap .map-measure:hover i {
  296. color: #579AFC;
  297. }
  298. .ui3-control-wrap .map-measure:hover .measure {
  299. background-position: -80px -49px;
  300. }
  301. .ui3-control-wrap .map-mark:hover .mark {
  302. background-position: -40px -168px;
  303. }
  304. .ui3-control-wrap .map-mark:hover i {
  305. color: #579AFC;
  306. }