form.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /***********表单form*************/
  2. .zm_form_wrap{
  3. width: 100%;
  4. }
  5. .zm_form_wrap p{
  6. padding:10px 0;
  7. clear:both;
  8. }
  9. .zm_form_wrap h3{
  10. padding-top:10px;
  11. padding-bottom:20px;
  12. }
  13. /**标签**/
  14. .zm_form_wrap label{
  15. text-align:right;
  16. float: left;
  17. width: 140px;
  18. padding-right: 15px;
  19. display:block;
  20. line-height:34px;
  21. font-weight:bold;
  22. }
  23. /**输入框**/
  24. .zm_form_wrap .text-input{
  25. height: 18px;
  26. border: 1px solid #cccccc;
  27. border-radius: 3px;
  28. float:left;
  29. padding:7px;
  30. }
  31. .zm_form_wrap .input-length-10{
  32. width:10%;
  33. }
  34. .zm_form_wrap .input-length-30{
  35. width:30%;
  36. }
  37. .zm_form_wrap .input-length-50{
  38. width:50%;
  39. }
  40. /**单选按钮**/
  41. .zm_form_wrap .radio-input{
  42. margin-top: 10px;
  43. line-height: normal;
  44. color: #555555;
  45. float:left;
  46. border: 1px solid #cccccc;
  47. padding-left:5px;
  48. }
  49. .zm_form_wrap span.radio-text{
  50. text-align:left;
  51. float: left;
  52. padding:0 15px;
  53. text-align: left;
  54. display:block;
  55. line-height:32px;
  56. min-width:50px;
  57. }
  58. /**多选按钮**/
  59. .zm_form_wrap .checkbox-input{
  60. margin-top: 10px;
  61. line-height: normal;
  62. color: #555555;
  63. float:left;
  64. border: 1px solid #cccccc;
  65. padding-left:5px;
  66. }
  67. /**Textarea 和 编辑器**/
  68. .zm_form_wrap .text-area{
  69. width: 50%;
  70. height: 60px;
  71. border: 1px solid #cccccc;
  72. border-radius: 3px;
  73. float:left;
  74. padding:7px;
  75. }
  76. .zm_form_wrap .text-area.high{
  77. height: 120px;
  78. }
  79. .zm_form_wrap .editor{
  80. float:left;
  81. width:70%;
  82. }
  83. /**下拉选择**/
  84. .zm_form_wrap .select-option{
  85. height: 34px;
  86. border: 1px solid #cccccc;
  87. border-radius: 3px;
  88. float:left;
  89. padding:7px;
  90. }
  91. /**表单提交、保存、返回等Button按钮**/
  92. .zm_form_wrap .btn_submit{
  93. background-color: #f89406;
  94. color: #ffffff;
  95. padding: 9px 14px;
  96. font-size: 15px;
  97. line-height: normal;
  98. border: 1px solid #cccccc;
  99. border-radius: 5px;
  100. cursor:pointer;
  101. margin-right:6px;
  102. }
  103. .zm_form_wrap .btn{
  104. color: #ffffff;
  105. padding: 9px 14px;
  106. font-size: 15px;
  107. line-height: normal;
  108. border: 1px solid #cccccc;
  109. border-radius: 5px;
  110. cursor:pointer;
  111. margin-right:6px;
  112. }
  113. .zm_form_wrap .btn_back{
  114. background-color: gray;
  115. }
  116. .zm_form_wrap .btn_save{
  117. background-color: #175bf8;
  118. }
  119. /**信息提示**/
  120. .zm_form_wrap .text-inline{
  121. float:left;
  122. line-height:34px;
  123. margin-left:15px;
  124. }
  125. .zm_form_wrap .warn-inline{
  126. float:left;
  127. color:red;
  128. line-height:34px;
  129. margin-left:15px;
  130. }
  131. .zm_form_wrap .warn-block{
  132. width:500px;
  133. color:#898989;
  134. line-height:24px;
  135. display:block;
  136. clear:both;
  137. padding:3px 10px 3px 155px;
  138. }
  139. /**内容文字**/
  140. .zm_form_wrap span.span-text{
  141. text-align:left;
  142. float: left;
  143. padding-left: 15px;
  144. text-align: left;
  145. display:block;
  146. line-height:34px;
  147. }
  148. .zm_form_wrap span.detail_span{
  149. text-align:left;
  150. float: left;
  151. padding-left: 15px;
  152. text-align: left;
  153. display:block;
  154. line-height:34px;
  155. }
  156. /**********************上传************************/
  157. /**图片上传样式**/
  158. .zm_form_wrap .pic_upload{
  159. position:relative;
  160. width:300px;
  161. height:200px;
  162. background-color:#ccc;
  163. float:left;
  164. /**图片居中显示**/
  165. display: -webkit-box;
  166. display: -moz-box;
  167. display: box;
  168. -webkit-box-align:center;
  169. -moz-box-align:center;
  170. box-align:center;
  171. -webkit-box-pack:center;
  172. -moz-box-pack:center;
  173. box-pack:center;
  174. }
  175. .zm_form_wrap .pic_upload .picfile{
  176. width: 300px;
  177. height: 200px;
  178. opacity: 0;
  179. outline: none;
  180. cursor:pointer;
  181. }
  182. .zm_form_wrap .pic_upload .icon{
  183. position:absolute;
  184. top:68px;
  185. left:118px;
  186. }
  187. .zm_form_wrap .pic_upload .close{
  188. position:absolute;
  189. top:-16px;
  190. right:-16px;
  191. z-index:999;
  192. cursor:pointer;
  193. }
  194. .zm_form_wrap .pic_upload .close img{
  195. width:32px;
  196. }
  197. /**文件上传样式**/
  198. .zm_form_wrap .file_upload{
  199. position:relative;
  200. width:500px;
  201. height:34px;
  202. line-height: 34px;
  203. float:left;
  204. }
  205. .zm_form_wrap .file_upload .upfile{
  206. position:absolute;
  207. top:0;left:0;
  208. z-index:999;
  209. width: 90px;
  210. height: 27px;
  211. opacity: 0;
  212. outline: none;
  213. cursor:pointer;
  214. }
  215. .zm_form_wrap .file_upload .text{
  216. position:absolute;
  217. top:0;left:0;
  218. width: 88px;
  219. height: 25px;
  220. line-height: 25px;
  221. text-align:center;
  222. z-index:1;
  223. background-color: #0c72b8;
  224. color: #ffffff;
  225. font-size: 15px;
  226. border: 1px solid #cccccc;
  227. border-radius: 3px;
  228. }
  229. .zm_form_wrap .file_upload .filepath{
  230. width:400px;
  231. height:34px;
  232. color: #0c72b8;
  233. overflow:hidden;
  234. float:left;
  235. }
  236. .zm_form_wrap .file_upload .close{
  237. width:32px;
  238. height:32px;
  239. float:left;
  240. cursor:pointer;
  241. }
  242. .zm_form_wrap .file_upload .close img{
  243. width:32px;
  244. }
  245. /***************列表上方的操作区域****************/
  246. .zm_handle{
  247. height:40px;
  248. border-bottom:6px solid #b8dbf2;
  249. position:relative;
  250. }
  251. .zm_handle.noborder{
  252. margin-top:10px;
  253. border:none;
  254. }
  255. .zm_handle .filter{
  256. float:left;
  257. width:65%;
  258. }
  259. .zm_handle .btns{
  260. float:right;
  261. width:30%;
  262. text-align:right;
  263. }
  264. .zm_handle .filter .input{
  265. height: 18px;
  266. width: 195px;
  267. padding: 3px;
  268. border: #0c72b8 1px solid;
  269. border-radius: 3px;
  270. }
  271. .zm_handle .filter .select{
  272. height : 26px;
  273. padding : 3px;
  274. border: 1px solid #0c72b8;
  275. border-radius: 3px;
  276. }
  277. /*****************各种颜色的操作按钮***************/
  278. .btn-handle{
  279. background-color: #0c72b8;
  280. color: #ffffff;
  281. padding: 5px 14px;
  282. font-size: 15px;
  283. line-height: 15px;
  284. border: 1px solid #cccccc;
  285. border-radius: 3px;
  286. cursor: pointer;
  287. margin-left:4px;
  288. }
  289. .btn-handle.btn-grey{
  290. background-color: #767676;
  291. }
  292. .btn-handle.btn-green{
  293. background-color: #21BA45;
  294. }
  295. .btn-handle.btn-red{
  296. background-color: #DB2828;
  297. }
  298. .btn-handle.btn-orange{
  299. background-color: orange;
  300. }
  301. .btn-handle.btn-yellow{
  302. background-color: #FBBD08;
  303. }