toolDraw.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. #drawPrintWrap {
  2. width:500px;
  3. position:absolute;
  4. z-index:99999999999999999999999999999999;
  5. border: 2px solid #01b7ff;
  6. background: url(../../images/layout/bg-normal.png);
  7. padding:30px 20px 20px 20px;
  8. left:50%;
  9. top:50%;
  10. margin:-200px 0 0 -250px;
  11. }
  12. #drawPrintWrap img {
  13. width:490px;
  14. border:5px solid #fff;
  15. }
  16. #drawPrintWrap p {
  17. padding:10px 0;
  18. background:#fff;
  19. text-align: center;
  20. color:#ff0000;
  21. }
  22. #drawPrintWrap .close {
  23. position: absolute;
  24. right: 0px;
  25. top: 0px;
  26. text-indent: -999999px;
  27. overflow: hidden;
  28. background: url(../../images/layout/bg_close.gif) no-repeat center 7px;
  29. border: none;
  30. width: 30px;
  31. }
  32. /*S draw*/
  33. /* ================================================================== */
  34. /* Toolbars
  35. /* ================================================================== */
  36. .leaflet-draw:before {
  37. content:'';
  38. position: absolute;
  39. height: 36px;
  40. left:0px;
  41. top: 0px;
  42. width: 420px;
  43. }
  44. .leaflet-draw-section {
  45. position: relative;
  46. /* float:left; */
  47. }
  48. .leaflet-draw-toolbar {
  49. /* height:26px; */
  50. display:inline;
  51. }
  52. .leaflet-draw-toolbar-top {
  53. margin-top: 0;
  54. }
  55. .leaflet-draw-toolbar-notop a:first-child {
  56. border-top-right-radius: 0;
  57. }
  58. .leaflet-draw-toolbar-nobottom a:last-child {
  59. border-bottom-right-radius: 0;
  60. }
  61. .leaflet-draw-toolbar a {
  62. /* background-image: url('images/draw-spritesheet-custom.png');
  63. background-repeat: no-repeat; */
  64. }
  65. .leaflet-draw a {
  66. display: block;
  67. text-align: center;
  68. text-decoration: none;
  69. width:50px;
  70. height:50px;
  71. line-height:26px;
  72. float:left;
  73. border-bottom: none !important;
  74. }
  75. .leaflet-draw a:hover {
  76. height:50px;
  77. width:50px;
  78. }
  79. .leaflet-draw li {
  80. list-style-type: none;
  81. }
  82. /* ================================================================== */
  83. /* Toolbar actions menu
  84. /* ================================================================== */
  85. .leaflet-draw-actions {
  86. display: none;
  87. list-style: none;
  88. margin: 0;
  89. padding: 0;
  90. position: absolute;
  91. /*right: 26px; leaflet-draw-toolbar.left + leaflet-draw-toolbar.width */
  92. top: 30px;
  93. border: 1px solid #000;
  94. border-top:none;
  95. }
  96. .leaflet-draw-actions li {
  97. height:26px;
  98. width:36px;
  99. overflow:hidden;
  100. float:left;
  101. clear:both;
  102. }
  103. .leaflet-draw-actions a {
  104. background-color: #FFF;
  105. color: #000;
  106. line-height: 26px;
  107. text-decoration: none;
  108. width: 36px;
  109. height: 26px;
  110. overflow:hidden;
  111. text-decoration:none;
  112. }
  113. .leaflet-draw-actions a:hover {
  114. width: 50px;
  115. height: 50px;
  116. text-decoration:none;
  117. }
  118. /* ================================================================== */
  119. /* Draw toolbar
  120. /* ================================================================== */
  121. .leaflet-draw-toolbar .leaflet-draw-draw-polyline {
  122. background: url(../../images/layout/bhicon1.png) no-repeat 9px 7px;
  123. }
  124. .leaflet-draw-toolbar .leaflet-draw-draw-polygon {
  125. background: url(../../images/layout/bhicon4.png) no-repeat 9px 8px;
  126. }
  127. .leaflet-draw-toolbar .leaflet-draw-draw-rectangle {
  128. background: url(../../images/layout/bhicon5.png) no-repeat 10px 9px;
  129. }
  130. .leaflet-draw-toolbar .leaflet-draw-draw-circle {
  131. background: url(../../images/layout/bhicon6.png) no-repeat 10px 10px;
  132. }
  133. .leaflet-draw-toolbar .leaflet-draw-draw-marker {
  134. background: url(../../images/layout/bhicon_03.png) no-repeat 9px 7px;
  135. }
  136. .leaflet-draw-toolbar .leaflet-draw-draw-label {
  137. display: none;
  138. background: url(../../images/layout/bhicon_20.png) no-repeat 9px 8px;
  139. }
  140. .leaflet-draw-toolbar .leaflet-draw-draw-painting {
  141. background: url(../../images/layout/bhicon7.png) no-repeat 8px 7px;
  142. }
  143. .leaflet-draw-toolbar .leaflet-draw-style-stylePicker {
  144. position: absolute;
  145. top: 0px;
  146. left: 0px;
  147. background: url(../../images/layout/gear.png) no-repeat 14px 14px;
  148. }
  149. #drawStyle{
  150. width: 50px;
  151. height: 50px;
  152. float: right;
  153. }
  154. .leaflet-draw-toolbar .leaflet-draw-edit-favorite {
  155. background: url(../../images/layout/bhicon10.png) no-repeat 10px 10px;
  156. }
  157. .leaflet-draw-toolbar .leaflet-draw-edit-print {
  158. background: url(../../images/layout/bhicon_32.png) no-repeat 9px 11px;
  159. /* position: absolute;
  160. top: -50px;
  161. left: 100px; */
  162. }
  163. .leaflet-draw-toolbar .leaflet-draw-draw-latlngspolygon {
  164. background: url(../../images/layout/bhicon3.png) no-repeat 9px 8px;
  165. }
  166. .leaflet-draw-toolbar .leaflet-draw-draw-latlngspolyline {
  167. background: url(../../images/layout/bhicon2.png) no-repeat 8px 8px;
  168. }
  169. .leaflet-draw-toolbar .leaflet-draw-draw-customcircle {
  170. background: url(../../images/layout/bhicon_19.png) no-repeat 9px 9px;
  171. }
  172. /* ================================================================== */
  173. /* Edit toolbar
  174. /* ================================================================== */
  175. .leaflet-draw-toolbar .leaflet-draw-edit-edit {
  176. background: url(../../images/layout/bhicon8.png) no-repeat 9px 9px;
  177. }
  178. .leaflet-draw-toolbar .leaflet-draw-edit-remove {
  179. background: url(../../images/layout/bhicon9.png) no-repeat 9px 9px;
  180. }
  181. .leaflet-draw-toolbar .leaflet-draw-toolbar-button-enabled {
  182. /* background-image: url('images/draw-spritesheet-custom2.png'); */
  183. background-color: #14a9d6;
  184. }
  185. /* ================================================================== */
  186. /* Drawing styles
  187. /* ================================================================== */
  188. .leaflet-mouse-marker {
  189. background-color: #fff;
  190. cursor: crosshair;
  191. }
  192. .leaflet-draw-tooltip {
  193. background: rgb(54, 54, 54);
  194. background: rgba(0, 0, 0, 0.5);
  195. border: 1px solid transparent;
  196. -webkit-border-radius: 4px;
  197. border-radius: 4px;
  198. color: #fff;
  199. font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
  200. margin-left: 20px;
  201. margin-top: -21px;
  202. padding: 4px 8px;
  203. position: absolute;
  204. white-space: nowrap;
  205. z-index: 6;
  206. }
  207. .leaflet-draw-tooltip:before {
  208. border-right: 6px solid black;
  209. border-right-color: rgba(0, 0, 0, 0.5);
  210. border-top: 6px solid transparent;
  211. border-bottom: 6px solid transparent;
  212. content: "";
  213. position: absolute;
  214. top: 7px;
  215. left: -7px;
  216. }
  217. .leaflet-error-draw-tooltip {
  218. background-color: #F2DEDE;
  219. border: 1px solid #E6B6BD;
  220. color: #B94A48;
  221. }
  222. .leaflet-error-draw-tooltip:before {
  223. border-right-color: #E6B6BD;
  224. }
  225. .leaflet-draw-tooltip-single {
  226. margin-top: -12px
  227. }
  228. .leaflet-draw-tooltip-subtext {
  229. color: #f8d5e4;
  230. }
  231. .leaflet-draw-guide-dash {
  232. font-size: 1%;
  233. opacity: 0.6;
  234. position: absolute;
  235. width: 5px;
  236. height: 5px;
  237. }
  238. /* ================================================================== */
  239. /* Edit styles
  240. /* ================================================================== */
  241. .leaflet-edit-marker-selected {
  242. background: rgba(254, 87, 161, 0.1);
  243. border: 4px dashed rgba(254, 87, 161, 0.6);
  244. -webkit-border-radius: 4px;
  245. border-radius: 4px;
  246. }
  247. .leaflet-edit-move {
  248. cursor: move;
  249. }
  250. .leaflet-edit-resize {
  251. cursor: pointer;
  252. }
  253. #drawStyle .leaflet-draw-toolbar {
  254. /*display:none;*/
  255. }
  256. .leaflet-draw-toolbar-style-edit {
  257. position: absolute;
  258. background: #378be0;
  259. top: 60px;
  260. left: -407px !important;
  261. color: #fff;
  262. width: 120px;
  263. padding: 15px 13px;
  264. display: none;
  265. margin-left: 105px;
  266. }
  267. .leaflet-draw-toolbar-style-edit label {
  268. display:block;
  269. clear:both;
  270. padding: 10px 0 0 5px;
  271. float: left;
  272. width: 55px;
  273. }
  274. .leaflet-draw-toolbar-style-edit input {
  275. width: 55px;
  276. border: 0px solid #ABABAB;
  277. color: #fff;
  278. }
  279. .leaflet-draw-toolbar-style-edit .leaflet-draw-actions {
  280. display:block;
  281. list-style:none;
  282. margin: 5px 0;
  283. padding:0;
  284. position:relative;
  285. right:auto;
  286. top:auto;
  287. border:none;
  288. }
  289. .leaflet-draw-toolbar-style-color-picker {
  290. position: absolute;
  291. background: #FFF;
  292. left: 152px;
  293. top: 0px;
  294. border: 1px solid #00ffff;
  295. width: 150px;
  296. display:none;
  297. }
  298. .leaflet-draw-toolbar-style-color-picker-actions {
  299. overflow:hidden;
  300. zoom:1;
  301. }
  302. .leaflet-draw-toolbar-style-color-picker-actions li {
  303. width:10px;
  304. height:10px;
  305. float:left;
  306. cursor:pointer;
  307. }
  308. .leaflet-draw-toolbar-style-edit-opacity-label {
  309. font-size:11px;
  310. }
  311. .leaflet-draw-toolbar-style-edit label {
  312. font-size:11px;
  313. display:block;
  314. clear:both;
  315. }
  316. .leaflet-draw-toolbar-style-edit input {
  317. font-size: 11px;
  318. float: right;
  319. margin: 10px 0 0 0;
  320. background: #3371c8;
  321. }
  322. .draw-label {
  323. border:none;
  324. padding:0px;
  325. margin:0px;
  326. min-width:100px;
  327. min-height:14px;
  328. background:url('../../images/layout/bg-ffffff-75.png');
  329. background: none;
  330. }
  331. .draw-label .leaflet-olabel-tips{
  332. display: none;
  333. }
  334. .draw-label .draw-label-textarea {
  335. border:none;
  336. width:auto;
  337. height:100%;
  338. overflow:hidden;
  339. word-break:keep-all;
  340. word-wrap:normal;
  341. position:relative;
  342. float: left;
  343. background: none;
  344. outline: 0;
  345. resize:none;
  346. height:18px;
  347. padding:2px;
  348. font-size:12px;
  349. }
  350. .draw-custom-circle-picker {
  351. position: absolute;
  352. background: #378be0;
  353. left: -250px;
  354. top: 0px;
  355. padding: 15px;
  356. display: none;
  357. width: 210px;
  358. color: #fff;
  359. }
  360. .draw-custom-circle-picker h4 {
  361. padding:5px 0 10px 5px;
  362. }
  363. .draw-custom-circle-picker label {
  364. width:85px;
  365. font-size:12px;
  366. text-align:right;
  367. display:inline-block;
  368. height:18px;
  369. margin:8px 0;
  370. }
  371. .draw-custom-circle-picker label small {
  372. color:#ffffff;
  373. font-size:10px;
  374. }
  375. .draw-custom-circle-picker input {
  376. width: 85px;
  377. margin: 5px;
  378. font-size: 11px;
  379. font-family: Arial;
  380. resize: none;
  381. border: 0px;
  382. background: #3371c8;
  383. color: #fff;
  384. }
  385. .draw-custom-circle-picker button {
  386. /*height: 34px;*/
  387. font-size: 14px;
  388. font-weight: normal;
  389. width: 64px;
  390. text-align: center;
  391. cursor: pointer;
  392. clear: both;
  393. border:0px solid #aaaaaa;
  394. background: #ffffff;
  395. color: #666666;
  396. padding: 3px 0;
  397. margin-top: 8px;
  398. }
  399. .draw-custom-circle-picker button:hover {
  400. border: 0px solid #378be0;
  401. color: #378be0;
  402. }
  403. .draw-latlngs-picker {
  404. position:absolute;
  405. background: #378be0;
  406. left: -250px;
  407. top:0px;
  408. padding:15px;
  409. display:none;
  410. width:210px;
  411. }
  412. .draw-latlngs-picker h4 {
  413. padding:5px 0 10px 5px;
  414. color: #fff
  415. }
  416. .draw-latlngs-picker textarea {
  417. width:200px;
  418. margin:5px;
  419. font-size:11px;
  420. font-family:Arial;
  421. resize:none;
  422. height:150px;
  423. border: 0px;
  424. background: #1257ac;
  425. color: #fff;
  426. padding: 5px;
  427. }
  428. .draw-latlngs-picker button {
  429. height: 22px;
  430. font-size: 12px;
  431. font-weight: normal;
  432. cursor: pointer;
  433. padding:0 10px;
  434. margin:0 0 5px 5px;
  435. }
  436. .draw-latlngs-picker button:hover {
  437. }
  438. .draw-polyline-latlngs-picker {
  439. position: absolute;
  440. left: -250px;
  441. top: 0px;
  442. padding: 15px;
  443. display: none;
  444. width: 210px;
  445. color: #fff;
  446. background: #378be0;
  447. }
  448. .draw-polyline-latlngs-picker h4 {
  449. padding:5px 0 10px 5px;
  450. }
  451. .draw-polyline-latlngs-picker textarea {
  452. width:200px;
  453. margin:5px;
  454. font-size:11px;
  455. font-family:Arial;
  456. resize:none;
  457. height:150px;
  458. border: 0px;
  459. color: #fff;
  460. background: #1257ac;
  461. padding: 5px;
  462. }
  463. .draw-polyline-latlngs-picker button {
  464. height: 22px;
  465. font-size: 12px;
  466. font-weight: normal;
  467. cursor: pointer;
  468. padding: 0 10px;
  469. border: 0px;
  470. }
  471. .draw-polyline-latlngs-picker button:hover {
  472. }
  473. .draw-marker-picker {
  474. position: absolute;
  475. background: #378be0;
  476. top: 0px;
  477. left: -470px;
  478. padding: 15px;
  479. width: 432px;
  480. display: none;
  481. }
  482. .draw-marker-picker h4 {
  483. padding:2px;
  484. font-weight:normal;
  485. font-size:14px;
  486. color: #fff;
  487. margin-bottom:6px;
  488. }
  489. .draw-marker-picker ul {
  490. overflow:hidden;
  491. zoom:1;
  492. background: #fff;
  493. border: 0px;
  494. border-top: 1px solid #08b3dd;
  495. }
  496. .draw-marker-picker li {
  497. float:left;
  498. width:35px;
  499. height:35px;
  500. text-align:center;
  501. border: 1px solid #d6c3c3;
  502. border-top: none;
  503. border-left: none;
  504. }
  505. .draw-marker-picker li img {
  506. cursor:pointer;
  507. height: 32px;
  508. margin: 0px;
  509. }
  510. /*E draw*/
  511. .leaflet-right .leaflet-control {
  512. float: right;
  513. text-align: left;
  514. zoom: 1;
  515. }
  516. .leaflet-draw {
  517. position: fixed !important;
  518. right:52px !important;
  519. top: 360px;
  520. width: 352px;
  521. height: 100px;
  522. background: #0e74d1;
  523. }
  524. .leaflet-bar{
  525. border:0px !important;
  526. }
  527. .leaflet-bar a:hover {
  528. background-color:#01b7ff !important;
  529. }
  530. #userDrawAddModal {
  531. width:330px;
  532. top:40%;
  533. margin-left:-165px;
  534. left: 50%;
  535. position: absolute;
  536. }
  537. #userDrawAddModal .modal-header h3 {
  538. font-size:20px;
  539. }
  540. #userDrawAddModal .form {
  541. }
  542. #userDrawAddModal .form dl {
  543. overflow:hidden;
  544. }
  545. #userDrawAddModal .form dl dt {
  546. font-size:14px;
  547. padding:0 0 10px 0;
  548. float:left;
  549. line-height:30px;
  550. }
  551. #userDrawAddModal .form dl .input {
  552. width:210px;
  553. }
  554. #userDrawAddModal .form .note {
  555. color:#AAA;
  556. font-size:11px;
  557. clear:both;
  558. display:block;
  559. }
  560. #userDrawAddModal .form .sure {
  561. margin:10px 0 0 0;
  562. clear:both;
  563. float:right;
  564. }
  565. #yulanContent{
  566. position: absolute;
  567. left: 50%;
  568. top: 50%;
  569. width: 200px;
  570. height: 200px;
  571. z-index: 11111111111;
  572. display: none;
  573. margin-left: -100px;
  574. margin-top: -100px;
  575. }
  576. #yulanContent img{
  577. width: 200px;
  578. height: 200px;
  579. }