UU跑腿标准版

form.css 9.0KB

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