UU跑腿标准版

form.css 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. .l-form li {
  2. line-height: 34px;
  3. }
  4. .l-hidden{ display:none;}
  5. .l-form .l-group
  6. {
  7. margin-bottom: 5px; line-height:22px;height:22px;
  8. border-bottom: 2px solid #ccc;padding:2px;margin-bottom:6px;
  9. font-size: 12px;border-bottom: solid 2px #ebebeb; font-weight:bold;
  10. }
  11. /* -------------
  12. * 多行文本框颜色 *
  13. * ------------- */
  14. .l-textarea{border:1px solid #D0D0D0; margin-left:0px;outline:none; background:#FFFFFF url('../images/ui/input.gif') repeat-x top;}
  15. .l-textarea:hover{border-color:#777777;}
  16. .l-textarea-invalid,.l-textarea:focus{ border-color:#777777;}
  17. .l-textarea-invalid{border-color:#FF7777; background:#FFEEEE url(../../Aqua/images/common/invalid-line.gif) repeat-x bottom;}
  18. .l-textarea-invalid:hover,.l-textarea-invalid:focus{border-color:#FF7777;}
  19. /* -------------
  20. * 文本框/下拉框/日期框/调整器 *
  21. * ------------- */
  22. /* 文本框、下来框、日期框、调整器都使用到这个 */
  23. .l-text
  24. {
  25. position:relative;
  26. border:1px solid #D0D0D0;height: 28px; line-height:28px;
  27. width:130px;
  28. }
  29. /* 文本框得到焦点的样式*/
  30. .l-text-focus
  31. {
  32. border-color:#777777;
  33. }
  34. .l-text-invalid {
  35. background: #FEE url(../../Aqua/images/common/invalid-line.gif) repeat-x 50% 100%;
  36. border-color: #F77;
  37. }
  38. /*只读时文本框*/
  39. .l-text-disabled
  40. {
  41. background: #f0f0f0;
  42. color: #999;
  43. }
  44. .l-text-disabled .l-text-field{
  45. }
  46. /* 编辑状态 */
  47. .l-text-editing
  48. {
  49. }
  50. /* 只读状态*/
  51. .l-text-readonly {
  52. background: #f0f0f0;border-color:#ddd;
  53. color: #999;margin:0;padding:0;
  54. }
  55. /* 表单文本框 input:text */
  56. .l-text-field
  57. {
  58. position:absolute; top:0px; left:0px;
  59. height: 28px; line-height:28px; padding-left:2px; padding-top:0px; padding-bottom:0px;
  60. vertical-align: middle;
  61. background-color: #fff;
  62. width:110px;
  63. border:0; margin:0; outline:none; color:#555555;
  64. }
  65. /* 表单文本框 内容为空时 */
  66. .l-text-field-null
  67. { color:#C1C1C1;
  68. }
  69. /* 下拉框/日期/调整器 右侧那个可点击的区域 分别是普通、经过、按住状态 */
  70. .l-trigger,.l-trigger-hover,.l-trigger-pressed
  71. {
  72. top:0px;right:0px;
  73. width:16px;height:100%; border:0px;
  74. background:none; margin-right:2px;
  75. }
  76. /* 下拉框/日期 取消选择 */
  77. .l-trigger-cancel {
  78. right:19px;border-left:none; background:none;
  79. }
  80. .l-trigger-cancel .l-trigger-icon {
  81. background:url('../images/ui/icon-unselect.gif') no-repeat 50% 50% transparent;
  82. }
  83. /* 下拉框/日期 右侧那个可点击的区域里面的图标 */
  84. .l-trigger-icon
  85. { width:100%;
  86. height:100%;
  87. background:url('../images/ui/icon-down.gif') no-repeat 50% 50% transparent;
  88. }
  89. .l-text-date .l-trigger-icon {
  90. background-image: url('../images/ui/date.gif');margin-right:2px;
  91. }
  92. /* l-text-popup */
  93. .l-text-popup .l-trigger,.l-text-popup .l-trigger-hover,.l-text-popup .l-trigger-pressed
  94. {
  95. top:0px;right:0px;
  96. width:16px;height:100%;border:none;
  97. }
  98. .l-text-popup .l-trigger-cancel
  99. {
  100. right :17px; border:0; background:transparent;height:100%;
  101. }
  102. .l-trigger-icon-select
  103. {
  104. background: url('../images/ui/icon-select2.gif') no-repeat 55% 55% transparent;
  105. }
  106. .l-text-popup .l-trigger-icon
  107. {
  108. background: url('../images/ui/icon-select2.gif') no-repeat 55% 55% transparent;
  109. }
  110. .l-text-popup .l-trigger-cancel .l-trigger-icon
  111. {
  112. background: url('../images/ui/icon-unselect.gif') no-repeat 50% 53% transparent;
  113. }
  114. /* -------------
  115. * 调整器 *
  116. * ------------- */
  117. .l-spinner-up .l-spinner-icon,.l-spinner-down .l-spinner-icon{overflow: hidden;position: absolute;left: 0px;top: 50%;margin-top: -3px;width: 100%;height: 6px;background: no-repeat center top;}
  118. .l-spinner-down-over,.l-spinner-up-over{background:#f1f1f1;}
  119. .l-spinner-up .l-spinner-icon{background-image: url(../images/ui/icon-up.gif);}
  120. .l-spinner-down .l-spinner-icon{background-image: url(../images/ui/icon-down.gif);}
  121. .l-spinner-up,.l-spinner-down {width: 100%;height: 50%;overflow: hidden;display: block;position: absolute;left: 0px;top: 0px;}
  122. .l-spinner-down{top: 50%;}
  123. .l-spinner-split{overflow: hidden;width: 13px;height: 1px;position: absolute;left: 1px;top: 50%;z-index: 10;background: #FFFFFF; }
  124. /* -------------
  125. * 验证 *
  126. * ------------- */
  127. .l-verify-star { color:Red;}
  128. /* -------------
  129. * 下拉框 *
  130. * ------------- */
  131. .l-box-select-grid{border-bottom:1px solid #DBDBDB;border-right:1px solid #DBDBDB;}
  132. .l-box-select-grid thead td,.l-box-select-grid tr.l-table-headerow td{
  133. background:#F0F0F0;
  134. }
  135. .l-box-select-grid td{padding:0;margin:0;height:22px; line-height:22px; border-left:1px solid #DBDBDB;border-top:1px solid #DBDBDB; }
  136. .l-box-select
  137. {
  138. display:none;
  139. position:absolute; padding:0px;
  140. border:1px solid #D0D0D0; background:white;
  141. width:130px; height:auto;
  142. margin-top:1px;
  143. z-index:9300; font-size:12px; line-height:18px;
  144. }
  145. .l-box-select-absolute
  146. {
  147. margin-top:0px;
  148. }
  149. .l-box-select-inner{ margin:0; padding:0; width:100%;overflow:auto; height:120px;color:#333;}
  150. .l-box-select-inner .l-box-select-table{margin:0; padding:0; width:100%; }
  151. .l-box-select .l-table-nocheckbox td:hover,.l-box-select .l-table-nocheckbox td.l-over{ background-color:#EEE; cursor:pointer;}
  152. .l-box-select .l-table-nocheckbox td.l-selected{ background-color:#D2D2D2;}
  153. .l-box-select .l-box-select-table td{ padding:2px; text-align:left;}
  154. .l-box-select-lookup {
  155. height:auto;
  156. }
  157. .l-box-select-lookup .l-form {
  158. margin:0; padding:2px; background:#F1F1F1;border-bottom: 1px solid #D6D6D6;
  159. }
  160. .l-box-select-lookup .l-box-select-inner {
  161. padding:0;overflow:hidden;
  162. }
  163. /* listbox */
  164. .l-listbox {
  165. border:1px solid #D6D6D6; background:white;
  166. width:130px; height:120px;font-size:12px; line-height:18px;
  167. }
  168. .l-listbox-grid{border-bottom:1px solid #D6D6D6;border-right:1px solid #D6D6D6;}
  169. .l-listbox-grid thead td,.l-listbox-grid tr.l-table-headerow td{
  170. background: #F0F0F0; border-top:none;
  171. }
  172. .l-listbox-grid td{padding:0;margin:0;height:22px; line-height:22px; border-left:1px solid #D6D6D6;border-top:1px solid #D6D6D6; }
  173. .l-listbox-inner{ margin:0; padding:0; width:100%;overflow:auto; height:100%;color:#333;}
  174. .l-listbox-inner .l-listbox-table{margin:0; padding:0; width:100%; }
  175. .l-listbox tr:hover td,.l-listbox tr.l-over td{ background-color:#E7EDF8; cursor:pointer; border-bottom:1px dotted #89A8E3;border-top:1px dotted #89A8E3; }
  176. .l-listbox tr.l-selected td{ background-color:#DFE8F6;border-bottom:1px dotted #D6D6D6;border-top:1px dotted #D6D6D6;}
  177. .l-listbox td{ padding:2px; text-align:left;border-top:1px solid #ffffff;border-bottom:1px solid #fff;}
  178. .l-listbox .l-listbox-grid td{border-top:1px solid #D6D6D6;border-bottom:1px solid #D6D6D6;}
  179. .l-listbox .l-table-nocheckbox .l-checkboxrow { display:none;width:0px;}
  180. /* -------------
  181. * 复选框 *
  182. * ------------- */
  183. /* -------------
  184. * 单选框 *
  185. * ------------- */
  186. /* -----------------------
  187. * 日期控件 *
  188. * ----------------------- */
  189. .l-box-dateeditor {
  190. background: white;
  191. border: 1px solid #6681B0;
  192. }
  193. .l-box-dateeditor-header
  194. {
  195. background:#173167;
  196. }
  197. .l-box-dateeditor-header-text a {
  198. color:White;
  199. cursor: pointer;
  200. text-decoration: none;
  201. }
  202. .l-box-dateeditor-header-btn
  203. {
  204. background-image: url(../images/ui/dateeditor-btn.gif); background-repeat:no-repeat;
  205. }
  206. .l-box-dateeditor-header-btn-over
  207. {
  208. background-image: url(../images/ui/dateeditor-btn-over.gif);
  209. }
  210. .l-box-dateeditor-header-btn
  211. {
  212. top:4px;width:15px; height:15px;position:absolute; cursor:pointer;
  213. }
  214. .l-box-dateeditor-header-btn span
  215. {
  216. width:100%; height:100%; display:block; position:absolute; top:0px; left:0px;
  217. }
  218. .l-box-dateeditor-header-prevmonth{left:24px; background-position:-15px 0px; }
  219. .l-box-dateeditor-header-prevmonth span{background:none;}
  220. .l-box-dateeditor-header-nextmonth{background-position:-30px 0px;}
  221. .l-box-dateeditor-header-nextmonth span{background: none;}
  222. .l-box-dateeditor-header-prevyear{left:4px; background-position:0px 0px;}
  223. .l-box-dateeditor-header-prevyear span{background:none;}
  224. .l-box-dateeditor-header-nextyear{ right:4px;background-position:-45px 0px;}
  225. .l-box-dateeditor-header-nextyear span{background:none;}
  226. .l-box-dateeditor-body {
  227. border:none;
  228. }
  229. .l-box-dateeditor-body thead td {
  230. border-bottom: 1px solid #9AB3D5; background:#C1D4EB url(../images/ui/dateeditor-thead.gif) repeat-x top;
  231. }
  232. .l-box-dateeditor-body tbody td.l-box-dateeditor-today
  233. {background-color: #CCE3FE; }
  234. .l-box-dateeditor-body tbody td.l-box-dateeditor-over,.l-box-dateeditor-body tbody td.l-box-dateeditor-selected
  235. { background-color: #DDECFE; }
  236. .l-box-dateeditor-monthselector li:hover,.l-box-dateeditor-monthselector li.l-selected,.l-box-dateeditor-monthselector li.l-over,.l-box-dateeditor-yearselector li:hover,.l-box-dateeditor-yearselector li.l-selected,.l-box-dateeditor-yearselector li.l-over,.l-box-dateeditor-hourselector li:hover,.l-box-dateeditor-hourselector li.l-selected,.l-box-dateeditor-hourselector li.l-over,.l-box-dateeditor-minuteselector li:hover,.l-box-dateeditor-minuteselector li.l-selected,.l-box-dateeditor-minuteselector li.l-over
  237. {background-color: #DDECFE;border: solid 1px #8DB2E3;}
  238. .l-box-dateeditor-toolbar {
  239. background:#C1D4EB url(../images/ui/dateeditor-bar.gif) repeat-x top;
  240. height: 31px; border-top:1px solid #9AB3D5;
  241. padding-left: 10px;
  242. position: relative;
  243. text-align: right;
  244. width: 100%;
  245. }
  246. /* -----------------------
  247. * 验证 *
  248. * ----------------------- */