print.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. /**
  2. * Author: Song.Huang
  3. * Date: 13-11-14
  4. * Time: 下午4:03
  5. */
  6. /*base*/
  7. * {
  8. padding:0px;
  9. margin:0px;
  10. }
  11. html,body {
  12. width:100%;
  13. height:100%;
  14. font-family:"microsoft yahei";
  15. }
  16. body {
  17. font-size:12px;
  18. padding-top:100px;
  19. _padding-top:0px;
  20. }
  21. .clearfix {
  22. *zoom: 1;
  23. }
  24. .clearfix:before,
  25. .clearfix:after {
  26. display: table;
  27. line-height: 0;
  28. content: "";
  29. }
  30. .clearfix:after {
  31. clear: both;
  32. }
  33. .note {
  34. padding:10px 0;
  35. line-height:18px;
  36. color:#666;
  37. }
  38. #topBar {
  39. width:100%;
  40. height:60px;
  41. background: url(../images/layout/bg-normal.png);
  42. border-bottom:1px solid #CCC;
  43. position:fixed;
  44. left:0px;
  45. top:0px;
  46. z-index:99999999999999999999999999999;
  47. color:#fff;
  48. }
  49. #topBar a {
  50. color:#fff;
  51. text-decoration: underline;
  52. }
  53. #btnPrint {
  54. float:right;
  55. margin:16px 40px 0 0;
  56. border:none;
  57. background:#0d98d8 url(../../images/route/ico_print3.png) no-repeat 20px center;
  58. font-size:12px;
  59. font-weight:bold;
  60. padding:6px 25px 6px 40px;
  61. color:#FFF;
  62. cursor:pointer;
  63. }
  64. #btnPrint.disabled {
  65. background:#CCC url(../../images/route/ico_print3.png) no-repeat 20px center;
  66. }
  67. #printOption {
  68. float:left;
  69. padding:22px 0 0 40px;
  70. }
  71. #printOption .line label {
  72. display:inline-block;
  73. margin-left:50px;
  74. }
  75. #printOption .line label input {
  76. float:left;
  77. }
  78. #wrap {
  79. position:relative;
  80. width:720px;
  81. margin:0px auto 20px auto;
  82. border:1px solid #787878;
  83. padding:20px 40px;
  84. background:#FFF;
  85. overflow:hidden;
  86. }
  87. #header {
  88. overflow:hidden;
  89. zoom:1;
  90. }
  91. #logo {
  92. float:left;
  93. width:200px;
  94. margin-top: 30px;
  95. }
  96. #title {
  97. float:right;
  98. width:500px;
  99. font-size:14px;
  100. min-height:21px;
  101. line-height:21px;
  102. }
  103. #title strong {
  104. font-weight:bold;
  105. font-size:16px;
  106. color:#000;
  107. padding:0 5px;
  108. }
  109. #remarks {
  110. float:right;
  111. padding:10px 0 0 0;
  112. width:500px;
  113. text-align:right;
  114. }
  115. #remarks textarea {
  116. border:1px solid #AAAAAA;
  117. }
  118. #remarks textarea,
  119. #remarks p {
  120. width:490px;
  121. height:50px;
  122. font-size:12px;
  123. line-height:18px;
  124. color:#787878;
  125. padding:4px;
  126. text-align:left;
  127. }
  128. #remarks p {
  129. display:none;
  130. }
  131. #mapHolder {
  132. margin:20px 0 10px 0;
  133. width:718px;
  134. height:500px;
  135. overflow:hidden;
  136. border:1px solid #aaaaaa;
  137. }
  138. #contentWrap {
  139. clear:both;
  140. }
  141. /*S 地名*/
  142. #placeSearchResult {
  143. overflow:hidden;
  144. padding:20px 0;
  145. }
  146. #placeSearchResult dl {
  147. float:left;
  148. width:355px;
  149. overflow:hidden;
  150. margin-bottom:20px;
  151. }
  152. #placeSearchResult dl dt {
  153. float:left;
  154. font-size:16px;
  155. padding:5px;
  156. width:18px;
  157. }
  158. #placeSearchResult dl dd {
  159. float:left;
  160. width:300px;
  161. }
  162. #placeSearchResult dl dd h3 {
  163. font-size:16px;
  164. font-weight:bold;
  165. }
  166. #placeSearchResult dl dd p {
  167. color:#333;
  168. }
  169. /*E 地名*/
  170. /*S 路线*/
  171. #directionsResult {
  172. page-break-before:always;
  173. padding:10px 0 20px 0;
  174. }
  175. #directionsResult .line-point {
  176. padding:5px 2px;
  177. clear:both;
  178. position:relative;
  179. z-index:100;
  180. border:1px solid #FFF;
  181. background:#FFF;
  182. }
  183. #directionsResult .ge {
  184. background:#DDD;
  185. }
  186. #directionsResult .line-point.hover {
  187. z-index:1000;
  188. border:1px solid #333;
  189. box-shadow:1px 1px 3px #AAA;
  190. }
  191. #directionsResult .line-point.hover .op {
  192. display:block;
  193. z-index:100;
  194. }
  195. #directionsResult .ge.hover .op {
  196. background:#DDD;
  197. }
  198. #directionsResult .line-point dl {
  199. overflow:hidden;
  200. zoom:1;
  201. clear:both;
  202. float:left;
  203. }
  204. #directionsResult .line-point dl dt {
  205. float:left;
  206. width:30px;
  207. text-align:center;
  208. }
  209. #directionsResult .line-point dl .step {
  210. width:auto;
  211. font-size:14px;
  212. padding:3px 6px;
  213. text-align:right;
  214. }
  215. #directionsResult .line-point dl dd {
  216. float:left;
  217. width:300px;
  218. font-size:14px;
  219. }
  220. #directionsResult .line-point dl dd .ac span {
  221. font-size:12px;
  222. color:#787878;
  223. }
  224. #directionsResult .line-point dl dd .ti {
  225. font-size:12px;
  226. color:#787878;
  227. }
  228. #directionsResult .line-point dl dd strong {
  229. font-size:16px;
  230. }
  231. #directionsResult .line-point .dir-length {
  232. float:right;
  233. text-align:right;
  234. padding:0 2px 0 2px;
  235. width:110px;
  236. }
  237. #directionsResult .line-point .dir-length span {
  238. color:#787878;
  239. }
  240. #directionsResult .line-point .point-map {
  241. width:200px;
  242. height:200px;
  243. background:#fff;
  244. float:right;
  245. display:none;
  246. border:1px solid #AAAAAA;
  247. }
  248. #directionsResult #startPoint {
  249. border-bottom:1px solid #333;
  250. }
  251. #directionsResult #startPoint .ac {
  252. font-size:16px;
  253. font-weight:bold;
  254. }
  255. #directionsResult #startPoint .ac span {
  256. font-size: 12px;
  257. color: #787878;
  258. }
  259. #directionsResult #stopPoint {
  260. border-top:1px solid #333;
  261. }
  262. #directionsResult #stopPoint .ac {
  263. font-size:16px;
  264. font-weight:bold;
  265. }
  266. #directionsResult #stopPoint .ac span {
  267. font-size: 12px;
  268. color: #787878;
  269. }
  270. #directionsResult .line-point .op {
  271. position:absolute;
  272. right:100px;
  273. background:#FFF;
  274. bottom:-23px;
  275. height:18px;
  276. line-height:18px;
  277. padding:2px 15px;
  278. border:1px solid #333;
  279. border-top:none;
  280. display:none;
  281. box-shadow:1px 1px 1px #AAA;
  282. z-index:2000;
  283. }
  284. /*E 路线*/
  285. /*打印隐藏非相关*/
  286. @media print{
  287. body {
  288. background:#FFF;
  289. padding-top:0px;
  290. }
  291. #topBar {
  292. display:none;
  293. }
  294. #wrap {
  295. border:none;
  296. }
  297. #remarks textarea {
  298. display:block;
  299. border: none;
  300. }
  301. #remarks p {
  302. display:none;
  303. }
  304. #mapHolder {
  305. /*page-break-after:always;*/
  306. }
  307. .leaflet-control-zoom {
  308. display:none;
  309. }
  310. }