toolDraw_new.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. #userDrawAddModal {
  2. width:330px;
  3. top:40%;
  4. margin-left:-340px;
  5. left: 50%;
  6. position: absolute;
  7. z-index: 999999;
  8. display: none;
  9. border: 1px solid #ccc;
  10. }
  11. #userDrawAddModal .modal-header h3 {
  12. font-size:20px;
  13. }
  14. #userDrawAddModal .form {
  15. }
  16. #userDrawAddModal .form dl {
  17. overflow:hidden;
  18. }
  19. #userDrawAddModal .form dl dt {
  20. font-size:14px;
  21. padding:0 0 10px 0;
  22. float:left;
  23. line-height:30px;
  24. }
  25. #userDrawAddModal .form dl .input {
  26. width:210px;
  27. }
  28. #userDrawAddModal .form .note {
  29. color:#AAA;
  30. font-size:11px;
  31. clear:both;
  32. display:block;
  33. }
  34. #userDrawAddModal .form .sure {
  35. margin:10px 0;
  36. clear:both;
  37. float:right;
  38. border: 1px solid #ccc;
  39. padding: 3px 0px;
  40. border-radius: 7px;
  41. }
  42. #yulanContent{
  43. position: absolute;
  44. left: 50%;
  45. top: 50%;
  46. width: 200px;
  47. height: 200px;
  48. z-index: 11111111111;
  49. display: none;
  50. margin-left: -100px;
  51. margin-top: -100px;
  52. }
  53. #yulanContent img{
  54. width: 200px;
  55. height: 200px;
  56. }
  57. #drawTipText{
  58. background: rgba(0, 0, 0, 0.5);
  59. border: 1px solid transparent;
  60. -webkit-border-radius: 4px;
  61. border-radius: 4px;
  62. color: #fff;
  63. font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
  64. margin-left: 20px;
  65. margin-top: -15px;
  66. padding: 4px 8px;
  67. position: absolute;
  68. white-space: nowrap;
  69. z-index: 6;
  70. display: none;
  71. }
  72. .toolBF{
  73. position: absolute;
  74. right: 120px !important;
  75. top: 330px;
  76. width: 215px;
  77. height: 100px;
  78. background: rgba(45, 53, 68, 0.8);
  79. float: right;
  80. text-align: left;
  81. zoom: 1;
  82. margin-right: 10px;
  83. clear: both;
  84. margin-top: 10px;
  85. font-size: 0;
  86. padding-left: 8px;
  87. border: 1px solid #fff;
  88. border-radius: 10px;
  89. z-index: 11111;
  90. cursor: move;
  91. }
  92. .toolBF ul{
  93. list-style: none;
  94. }
  95. .toolBF li{
  96. display: inline-block;
  97. }
  98. .tsTX li{
  99. display: inline-block;
  100. text-align: center;
  101. text-decoration: none;
  102. width: 45px;
  103. height: 50px;
  104. line-height: 80px;
  105. border: 1px solid #fff;
  106. border-radius: 5px;
  107. color: #fff;
  108. margin: 10px 3px 5px 2.5px;
  109. vertical-align: top;
  110. font-size: 12px;
  111. cursor: pointer;
  112. }
  113. .tsTX li.point{background: rgba(45, 53, 68, 0.8) url(../../images/tools/new/bar/point.png) no-repeat 15px 7px;background-size: 15px;}
  114. .tsTX li.label{background: rgba(45, 53, 68, 0.8) url(../../images/tools/new/bar/label.png) no-repeat 15px 7px;background-size: 15px;}
  115. .tsTX li.polyline{background: rgba(45, 53, 68, 0.8) url(../../images/tools/new/bar/polyline.png) no-repeat 11px -1px;background-size: 28px;}
  116. .tsTX li.polygon{background: rgba(45, 53, 68, 0.8) url(../../images/tools/new/bar/polygon.png) no-repeat 15px 7px;background-size: 15px;}
  117. .tsTX li.rectangle{background: rgba(45, 53, 68, 0.8) url(../../images/tools/new/bar/rectangle.png) no-repeat 15px 7px;background-size: 15px;}
  118. .tsTX li.circle{background: rgba(45, 53, 68, 0.8) url(../../images/tools/new/bar/circle.png) no-repeat 15px 7px;background-size: 15px;}
  119. .tsTX li.point:hover{background: #5acef6 url(../../images/tools/new/bar/point.png) no-repeat 15px 7px;background-size: 15px;}
  120. .tsTX li.label:hover{background: #5acef6 url(../../images/tools/new/bar/label.png) no-repeat 15px 7px;background-size: 15px;}
  121. .tsTX li.polyline:hover{background: #5acef6 url(../../images/tools/new/bar/polyline.png) no-repeat 11px -1px;background-size: 28px;}
  122. .tsTX li.polygon:hover{background: #5acef6 url(../../images/tools/new/bar/polygon.png) no-repeat 15px 7px;background-size: 15px;}
  123. .tsTX li.rectangle:hover{background: #5acef6 url(../../images/tools/new/bar/rectangle.png) no-repeat 15px 7px;background-size: 15px;}
  124. .tsTX li.circle:hover{background: #5acef6 url(../../images/tools/new/bar/circle.png) no-repeat 15px 7px;background-size: 15px;}
  125. .tsTX li.point.active{background: #0f4d8f url(../../images/tools/new/bar/point.png) no-repeat 15px 7px;background-size: 15px;}
  126. .tsTX li.label.active{background: #0f4d8f url(../../images/tools/new/bar/label.png) no-repeat 15px 7px;background-size: 15px;}
  127. .tsTX li.polyline.active{background: #0f4d8f url(../../images/tools/new/bar/polyline.png) no-repeat 11px -1px;background-size: 28px;}
  128. .tsTX li.polygon.active{background: #0f4d8f url(../../images/tools/new/bar/polygon.png) no-repeat 15px 7px;background-size: 15px;}
  129. .tsTX li.rectangle.active{background: #0f4d8f url(../../images/tools/new/bar/rectangle.png) no-repeat 15px 7px;background-size: 15px;}
  130. .tsTX li.circle.active{background: #0f4d8f url(../../images/tools/new/bar/circle.png) no-repeat 15px 7px;background-size: 15px;}
  131. .tsAct{
  132. font-size: 0;
  133. /*display: none;*/
  134. }
  135. .tsAct li{
  136. width: 52px;
  137. height: 25px;
  138. line-height: 25px;
  139. border-right: 1px solid #fff;
  140. color: #c0defa;
  141. font-size: 12px;
  142. border-radius: 2px;
  143. margin: 3px 0px;
  144. display: inline-block;
  145. text-align: center;
  146. text-decoration: none;
  147. cursor: pointer;
  148. }
  149. .tsAct li:hover{
  150. color: #fff;
  151. }
  152. .tsAct li.save{
  153. display: none;
  154. }
  155. .tsAct li.active{
  156. background: #08488e;
  157. }
  158. .tsAct li.clear{
  159. border: none;
  160. }
  161. .tsAct li.import{
  162. position: relative;
  163. }
  164. .tsAct li.import .importFile{
  165. position: absolute;
  166. left: 0;
  167. opacity: 0;
  168. width: 59px;
  169. }
  170. .tsAct li.open{
  171. display:none;
  172. }
  173. /*toolbar hidden*/
  174. .leaflet-pm-toolbar{
  175. width: 0;
  176. border: none !important;
  177. overflow: hidden;
  178. }
  179. /*手动输入*/
  180. .draw-polyline-latlngs-picker {
  181. position: absolute;
  182. left: 0px;
  183. top: 120px;
  184. padding-bottom: 15px;
  185. display: none;
  186. width: 260px;
  187. color: #121827;
  188. background: #fff;
  189. clear: both;
  190. border-radius: 10px;
  191. z-index: 11111;
  192. /*cursor: auto;*/
  193. }
  194. .draw-polyline-latlngs-picker h4 {
  195. padding: 10px;
  196. font-size: 14px;
  197. font-weight: normal;
  198. background: #f0f5f8;
  199. border-radius: 10px 10px 0 0;
  200. margin: 0;
  201. }
  202. .draw-polyline-latlngs-picker h4 span{
  203. float: right;
  204. font-size: 30px;
  205. margin-top: -7px;
  206. cursor: pointer;
  207. }
  208. .draw-polyline-latlngs-picker .title {
  209. font-size: 14px;
  210. padding: 10px;
  211. }
  212. .draw-polyline-latlngs-picker textarea {
  213. width:232px;
  214. margin:0 10px;
  215. font-size:14px;
  216. font-family:Arial;
  217. resize:none;
  218. height:70px;
  219. color: #121827;
  220. background: #fff;
  221. padding: 5px;
  222. border: 1px solid #378BE0;
  223. overflow-y: scroll;
  224. border-radius: 3px;
  225. }
  226. .draw-polyline-latlngs-picker .iconStyle{
  227. font-size: 14px;
  228. margin: 10px 0 5px 10px;
  229. }
  230. .draw-polyline-latlngs-picker select{
  231. margin-left: 10px;
  232. width: 240px;
  233. height: 28px;
  234. line-height: 28px;
  235. }
  236. .draw-polyline-latlngs-picker option{
  237. line-height: 28px;
  238. }
  239. .draw-polyline-latlngs-picker button {
  240. height: 22px;
  241. font-size: 12px;
  242. font-weight: normal;
  243. cursor: pointer;
  244. padding: 0 10px;
  245. color: #666;
  246. background: #ddd;
  247. border: 1px solid #ccc;
  248. float: right;
  249. margin: 10px 10px 0 0px;
  250. }
  251. .draw-polyline-latlngs-picker button:hover {
  252. color: #000;
  253. }
  254. /*手动输入 end*/
  255. /*标记弹窗*/
  256. .leaflet-popup-content {
  257. margin: 0px 0px 19px 0;
  258. }
  259. .leaflet-container a.leaflet-popup-close-button{
  260. top: 24px;
  261. right: -200px;
  262. font-size: 20px;
  263. color: #666;
  264. z-index: 55555;
  265. font-size: 20px;
  266. }
  267. .pubPop,.tdPop {
  268. position: absolute;
  269. /*left: 0px;*/
  270. /*top: 120px;*/
  271. padding-bottom: 15px;
  272. width: 260px;
  273. color: #121827;
  274. background: #fff;
  275. clear: both;
  276. border-radius: 10px;
  277. z-index: 22222;
  278. display: none;
  279. margin: 20px 0 0 50px;
  280. }
  281. .pubPop.active,.tdPop.active{
  282. display: block;
  283. }
  284. .pubPop h4,.tdPop h4 {
  285. padding: 10px;
  286. font-size: 14px;
  287. font-weight: normal;
  288. background: #f0f5f8;
  289. border-radius: 10px 10px 0 0;
  290. margin: 0;
  291. cursor: move;
  292. clear: both;
  293. }
  294. .pubPop h4 .bt,.tdPop h4 .bt{
  295. display: inline-block;
  296. width: 195px;
  297. overflow: hidden;
  298. text-overflow: ellipsis;
  299. white-space: nowrap;
  300. }
  301. .pubPop h4 .close,.tdPop h4 .close{
  302. display: inline-block;
  303. float: right;
  304. color: #333;
  305. font-size: 25px;
  306. cursor: pointer;
  307. margin-top: -5px;
  308. }
  309. .pubPop h4 .del{
  310. display: inline-block;
  311. float: right;
  312. width: 20px;
  313. height: 20px;
  314. background: url(../../images/tools/new/del.png) center no-repeat;
  315. margin-right: 2px;
  316. cursor: pointer;
  317. }
  318. .pubPop .title,.tdPop .title {
  319. font-size: 14px;
  320. padding: 10px;
  321. }
  322. .pubPop .zhuji,.tdPop .zhuji{
  323. margin-left: 10px;
  324. line-height: 20px;
  325. padding-left: 5px;
  326. width: 230px;
  327. height: 20px;
  328. }
  329. .pubPop textarea,.tdPop textarea {
  330. width:228px;
  331. margin-left: 10px;
  332. font-size:14px;
  333. font-family:Arial;
  334. resize:none;
  335. height:70px;
  336. color: #121827;
  337. background: #fff;
  338. padding: 5px;
  339. /*border: 1px solid #378BE0;*/
  340. border: 1px solid #ccc;
  341. overflow-y: scroll;
  342. border-radius: 3px;
  343. }
  344. .pubPop .intro,.tdPop .intro{
  345. font-size: 14px;
  346. margin: 10px 10px 5px 10px;
  347. clear: both;
  348. }
  349. .pubPop .intro .tips,.tdPop .intro .tips{
  350. display: inline-block;
  351. float: right;
  352. background: #f9f9f9;
  353. padding: 5px 6px;
  354. border-radius: 4px 4px 0 0;
  355. border: 1px solid #ccc;
  356. border-bottom: 0;
  357. }
  358. .pubPop .intro .tips img,.tdPop .intro .tips img{
  359. padding: 0 8px;
  360. cursor: pointer;
  361. }
  362. .pubPop .ppfooter,.tdPop .ppfooter{
  363. margin: 10px 10px 0 10px;
  364. clear: both;
  365. /*padding-left: 15px;*/
  366. height: 25px;
  367. }
  368. .pubPop .ppfooter.bg,.tdPop .ppfooter.bg{
  369. /*background: url(../../images/tools/new/grayPoint.png) left no-repeat;*/
  370. }
  371. .pubPop .ppfooter .yuanbg{
  372. width: 12px;
  373. vertical-align: middle;
  374. margin-right: 5px;
  375. cursor: pointer;
  376. }
  377. .pubPop .ppfooter input,.tdPop .ppfooter input{
  378. width: 70px;
  379. border: 1px solid #ccc;
  380. line-height: 25px;
  381. padding: 0 2px;
  382. height: 25px;
  383. }
  384. .pubPop button,.tdPop button{
  385. width: 28px;
  386. height: 28px;
  387. border: 1px solid #ccc;
  388. border-radius: 2px;
  389. float: right;
  390. margin-left: 5px;
  391. cursor: pointer;
  392. }
  393. .pubPop button.point,.tdPop button.point {
  394. background: #ddd url(../../images/tools/new/blackPoint.png) center no-repeat;
  395. }
  396. .pubPop button.txt,.tdPop button.txt {
  397. background: #ddd url(../../images/tools/new/txt.png) center no-repeat;
  398. }
  399. .pubPop button.lineStyle,.tdPop button.lineStyle {
  400. background: #ddd url(../../images/tools/new/lineStyle.png) center no-repeat;
  401. }
  402. .pubPop button.del,.tdPop button.del {
  403. font-size: 0;
  404. background: #ddd url(../../images/tools/new/del.png) center no-repeat;
  405. }
  406. /*-----二级弹窗--------*/
  407. .pubPop_2 {
  408. padding-bottom: 15px;
  409. width: 192px;
  410. color: #121827;
  411. background: #fff;
  412. clear: both;
  413. border-radius: 10px;
  414. z-index: 22222;
  415. position: absolute;
  416. top: 90px;
  417. left: 229px;
  418. padding: 10px;
  419. border: 1px solid #ddd;
  420. line-height: 27px;
  421. font-size: 14px;
  422. display: none;
  423. background: #efefef;
  424. }
  425. .pubPop_2.style{
  426. top: 220px;
  427. left: 225px;
  428. }
  429. .pubPop_2.active{
  430. display: block;
  431. }
  432. .pubPop_2 .daxiao{
  433. width: 60px;
  434. height: 23px;
  435. }
  436. .pubPop_2 .yangshi{
  437. width: 90px;
  438. height: 23px;
  439. }
  440. .pubPop_2 .yanse.zt{
  441. background: url(../../images/tools/new/labelTxt.png) 1px 3px no-repeat;
  442. background-size: 188px;
  443. }
  444. .pubPop_2 .yanse span{
  445. display: inline-block;
  446. width: 20px;
  447. height: 20px;
  448. cursor: pointer;
  449. margin: 0 2px;
  450. }
  451. .pubPop_2.style .yanse span{
  452. border-radius: 20px;
  453. }
  454. .pubPop_2 .yanse span.green{background: green;}
  455. .pubPop_2 .yanse span.blue{background: blue;}
  456. .pubPop_2 .yanse span.red{background: red;}
  457. .pubPop_2 .yanse span.black{background: black;}
  458. .pubPop_2 .yanse span.white{background: white;}
  459. .pubPop_2 .yanse span.gray{background: gray;}
  460. .pubPop_2 .yanse span.orange{background: orange;}
  461. .pubPop_2 .yanse span.yellow{background: yellow;}
  462. /*.pubPop_2 .yanse span.hover{
  463. background-color: #ddd;
  464. }
  465. .pubPop_2 .yanse span.active{
  466. background-color: #a9a9a9;
  467. }*/
  468. /*.pubPop_2 .yanse span:nth-child(1){
  469. background: url(../../images/tools/new/labelTxt.png) 1px 3px no-repeat;
  470. }
  471. .pubPop_2 .yanse span:nth-child(2){
  472. background: url(../../images/tools/new/labelTxt.png) 1px 3px no-repeat;
  473. }*/
  474. /*链接弹窗*/
  475. .popTips {
  476. padding-bottom: 15px;
  477. width: 192px;
  478. color: #121827;
  479. background: #fff;
  480. clear: both;
  481. border-radius: 10px;
  482. z-index: 22222;
  483. position: absolute;
  484. top: 105px;
  485. left: 260px;
  486. border: 1px solid #ddd;
  487. line-height: 27px;
  488. font-size: 14px;
  489. /*display: none;*/
  490. }
  491. /*.popTips.pubPop_img{
  492. left: 210px;
  493. }
  494. .popTips.pubPop_video{
  495. left: 245px;
  496. }*/
  497. .popTips div.bt{
  498. background: #f0f5f8;
  499. padding: 5px 10px;
  500. margin-bottom: 5px;
  501. border-radius: 10px 10px 0 0;
  502. }
  503. .popTips div{
  504. padding: 2px 10px;
  505. }
  506. .popTips div input{
  507. padding: 2px 5px;
  508. width: 157px;
  509. }
  510. .popTips div input.link{
  511. width: 114px;
  512. vertical-align: top;
  513. }
  514. .popTips div .shengcheng{
  515. width: 41px;
  516. height: 22px;
  517. background: #ddd;
  518. display: inline-block;
  519. text-align: center;
  520. border: 1px solid #ccc;
  521. font-size: 14px;
  522. cursor: pointer;
  523. line-height: 22px;
  524. vertical-align: top;
  525. }
  526. /*打开保存弹窗*/
  527. .pubPopRe {
  528. position: absolute;
  529. left: 50%;
  530. top: 50%;
  531. padding-bottom: 15px;
  532. width: 260px;
  533. color: #121827;
  534. background: #fff;
  535. clear: both;
  536. border-radius: 10px;
  537. z-index: 222222;
  538. /*display: none;*/
  539. margin: -2px 0 0 -2px;
  540. border: 1px solid #ccc;
  541. }
  542. .pubPopRe.xianshi{
  543. display: block;
  544. }
  545. .pubPopRe h4{
  546. clear: both;
  547. }
  548. .pubPopRe h4 .close{
  549. display: inline-block;
  550. float: right;
  551. color: #333;
  552. font-size: 25px;
  553. cursor: pointer;
  554. margin-top: -5px;
  555. }
  556. .pubPopRe video,.pubPopRe img{
  557. width: 100%;
  558. }
  559. .pubPopRe .title{
  560. clear: both;
  561. }
  562. .pubPopRe .tName{
  563. display: none;
  564. margin: 10px 10px 0px;
  565. height: 22px;
  566. padding-left: 5px;
  567. }
  568. .pubPopRe .cgEdit{
  569. float: right;
  570. width: 50px;
  571. height: 23px;
  572. line-height: 23px;
  573. }
  574. .pubPopRe .draw-latlngs-textarea{
  575. display: none;
  576. }
  577. .pubPopRe .yingXiang{
  578. padding: 0 5px;
  579. }
  580. .pubPopRe .yingXiang a{
  581. color: #00f;
  582. text-decoration: underline;
  583. padding-left: 10px;
  584. }
  585. /*标记弹窗 end*/
  586. .wrapper {
  587. box-sizing: border-box;
  588. width: 100%;
  589. padding: 30px;
  590. max-width: 1000px;
  591. margin: auto;
  592. }
  593. .map {
  594. height: 500px;
  595. }
  596. /*临时*/
  597. .leaflet-popup-tip-container{
  598. display: none !important;
  599. }
  600. .delSpan{
  601. position: absolute;
  602. right: 9px;
  603. width: 28px;
  604. height: 28px;
  605. background: #f00;
  606. opacity: 0;
  607. cursor: pointer;
  608. }
  609. /*point new */
  610. .pubPop_2.pointSty{
  611. width: 260px;
  612. background: #fff;
  613. }
  614. .pubPop_2 .icon-list{
  615. clear: both;
  616. }
  617. .pubPop_2 .icon-list span {
  618. float: left;
  619. display: block;
  620. cursor: pointer;
  621. width: 40px;
  622. }
  623. .pubPop_2 .icon-list span img{
  624. height: 30px;
  625. margin: 3px 3px 3px 0px;
  626. border: 1px solid #EFEFEF;
  627. }
  628. .pubPop_2 .icon-list span.select img{
  629. border: 1px solid #B6B6B6;
  630. background: #F0F0F0;
  631. }
  632. #xingmutishi{
  633. background: #f7ad00;
  634. color: #fff;
  635. padding: 0px 10px 0 20px;
  636. position: absolute;
  637. z-index: 999;
  638. right: 20%;
  639. top: 140px;
  640. font-size: 20px;
  641. height: 47px;
  642. line-height: 47px;
  643. border-radius: 12px;
  644. display: none;
  645. }
  646. #xingmutishi.active{
  647. display: block;
  648. }
  649. #xingmutishi .close{
  650. width: 25px;
  651. height: 25px;
  652. display: inline-block;
  653. color: #000;
  654. margin-left: 50px;
  655. line-height: 30px;
  656. font-size: 30px;
  657. cursor: pointer;
  658. }