784f13fe8b35323f7aa8ea0efb6d8a3f98d811c1.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. /* 日期选择容器 DIV */
  2. .WdateDiv{
  3. width:180px;
  4. background-color:#fff;
  5. border:1px solid #ff7753;
  6. }
  7. /* 双月日历的宽度 */
  8. .WdateDiv2{
  9. width:360px;
  10. }
  11. .WdateDiv *{font-size:9pt;}
  12. /****************************
  13. * 导航图标 全部是A标签
  14. ***************************/
  15. .WdateDiv .NavImg a{
  16. margin-top:3px;
  17. cursor:pointer;
  18. display:block;
  19. width:15px;
  20. height:15px;
  21. }
  22. .WdateDiv .NavImgll a{
  23. background:url(left-btn2.gif) no-repeat center center;
  24. float:left;
  25. margin-left:2px;
  26. }
  27. .WdateDiv .NavImgl a{
  28. background:url(left-btn.gif) no-repeat center center;
  29. float:left;
  30. margin-left:2px;
  31. }
  32. .WdateDiv .NavImgr a{
  33. background:url(right-btn.gif) no-repeat center center;
  34. float:right;
  35. margin-right:2px;
  36. }
  37. .WdateDiv .NavImgrr a{
  38. background:url(right-btn2.gif) no-repeat center center;
  39. float:right;
  40. margin-right:2px;
  41. }
  42. /****************************
  43. * 年份月份相关
  44. ***************************/
  45. /* 年份月份栏 DIV */
  46. .WdateDiv #dpTitle{
  47. height:22px;
  48. background:transparent url(hd-sprite.gif) repeat-x scroll 0 -83px;
  49. color:#FFFFFF;
  50. font-family:"sans serif",tahoma,verdana,helvetica;
  51. font-size:12px;
  52. font-size-adjust:none;
  53. font-stretch:normal;
  54. font-style:normal;
  55. font-variant:normal;
  56. font-weight:bold;
  57. padding-top:2px;
  58. }
  59. /* 年份月份输入框 INPUT */
  60. .WdateDiv .yminput{
  61. margin-top:2px;
  62. text-align:center;
  63. border:0px;
  64. height:20px;
  65. width:50px;
  66. color:#FFF;
  67. background-color:transparent;
  68. cursor:pointer;
  69. }
  70. /* 年份月份输入框获得焦点时的样式 INPUT */
  71. .WdateDiv .yminputfocus{
  72. margin-top:2px;
  73. text-align:center;
  74. border:#939393 1px solid;
  75. font-weight:bold;
  76. color:#034c50;
  77. height:16px;
  78. width:50px;
  79. }
  80. /* 菜单选择框 DIV */
  81. .WdateDiv .menuSel{
  82. z-index:1;
  83. position:absolute;
  84. background-color:#FFFFFF;
  85. border:1px solid #ff7753;
  86. display:none;
  87. }
  88. /* 菜单的样式 TD */
  89. .WdateDiv .menu{
  90. cursor:pointer;
  91. background-color:#fff;
  92. color:#d93100;/*时间文字颜色*/
  93. }
  94. /* 菜单的mouseover样式 TD */
  95. .WdateDiv .menuOn{
  96. cursor:pointer;
  97. background-color: #ffbeb5;
  98. }
  99. /* 菜单无效时的样式 TD */
  100. .WdateDiv .invalidMenu{
  101. color:#aaa;
  102. }
  103. /* 年选择框的偏移 DIV */
  104. .WdateDiv .YMenu{
  105. margin-top:16px;
  106. }
  107. /* 月选择框的偏移 DIV */
  108. .WdateDiv .MMenu{
  109. margin-top:16px;
  110. *width:62px;
  111. }
  112. /* 时选择框的位置 DIV */
  113. .WdateDiv .hhMenu{
  114. margin-top:-90px;
  115. margin-left:26px;
  116. }
  117. /* 分选择框的位置 DIV */
  118. .WdateDiv .mmMenu{
  119. margin-top:-46px;
  120. margin-left:26px;
  121. }
  122. /* 秒选择框的位置 DIV */
  123. .WdateDiv .ssMenu{
  124. margin-top:-24px;
  125. margin-left:26px;
  126. }
  127. /****************************
  128. * 周相关
  129. ***************************/
  130. .WdateDiv .Wweek {
  131. text-align:center;
  132. background:#DAF3F5;
  133. border-right:#BDEBEE 1px solid;
  134. }
  135. /****************************
  136. * 星期,日期相关
  137. ***************************/
  138. /* 星期栏 TR */
  139. .WdateDiv .MTitle{
  140. color:#d93100;
  141. background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
  142. color:#d93100;
  143. cursor:default;
  144. font-size:10px;
  145. padding-top:2px;
  146. }
  147. .WdateDiv .MTitle td{
  148. border-bottom:1px solid #ffa797;
  149. }
  150. .WdateDiv .WdayTable2{
  151. border-collapse:collapse;
  152. border:black 1px solid;
  153. }
  154. .WdateDiv .WdayTable2 table{
  155. border:0;
  156. }
  157. /* 日期栏表格 TABLE */
  158. .WdateDiv .WdayTable{
  159. line-height:20px;
  160. color:black;
  161. }
  162. .WdateDiv .WdayTable td{
  163. text-align:center;
  164. }
  165. /* 日期格的样式 TD */
  166. .WdateDiv .Wday{
  167. cursor:pointer;
  168. }
  169. /* 日期格的mouseover样式 TD */
  170. .WdateDiv .WdayOn{
  171. cursor:pointer;
  172. background-color:#ffbeb5;
  173. }
  174. /* 周末日期格的样式 TD */
  175. .WdateDiv .Wwday{
  176. cursor:pointer;
  177. color:#ab1e1e;
  178. }
  179. /* 周末日期格的mouseover样式 TD */
  180. .WdateDiv .WwdayOn{
  181. cursor:pointer;
  182. background-color:#ffbeb5;
  183. }
  184. .WdateDiv .Wtoday{
  185. cursor:pointer;
  186. color:red;
  187. }
  188. .WdateDiv .Wselday{
  189. background-color:#ffbeb5;
  190. }
  191. .WdateDiv .WspecialDay{
  192. background-color:#66F4DF;
  193. }
  194. /* 其他月份的日期 */
  195. .WdateDiv .WotherDay{
  196. cursor:pointer;
  197. color:#AAAAAA;
  198. }
  199. /* 其他月份的日期mouseover样式 */
  200. .WdateDiv .WotherDayOn{
  201. cursor:pointer;
  202. background-color:#ffbeb5;
  203. }
  204. /* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
  205. .WdateDiv .WinvalidDay{
  206. color:#aaa;
  207. }
  208. /****************************
  209. * 时间相关
  210. ***************************/
  211. /* 时间栏 DIV */
  212. .WdateDiv #dpTime{
  213. width:120px;
  214. text-align:left;
  215. margin-left:32px;
  216. height:20px;
  217. line-height:20px;
  218. padding-top:1px;
  219. }
  220. /* 时间文字 SPAN */
  221. .WdateDiv #dpTime #dpTimeStr{
  222. margin-left:1px;
  223. color:#d93100;
  224. }
  225. /* 时间输入框 INPUT */
  226. .WdateDiv #dpTime input{
  227. height:16px;
  228. width:18px;
  229. text-align:center;
  230. color:#333;
  231. border:#ffa797 1px solid;
  232. }
  233. /* 时间 时 INPUT */
  234. .WdateDiv #dpTime .tB{
  235. border-right:0px;
  236. }
  237. /* 时间 分和间隔符 ':' INPUT */
  238. .WdateDiv #dpTime .tE{
  239. border-left:0;
  240. border-right:0;
  241. }
  242. /* 时间 秒 INPUT */
  243. .WdateDiv #dpTime .tm{
  244. width:7px;
  245. border-left:0;
  246. border-right:0;
  247. }
  248. /* 时间右边的向上按钮 BUTTON */
  249. .WdateDiv #dpTime #dpTimeUp{
  250. height:8px;
  251. width:13px;
  252. border:0px;
  253. background:url(img.gif) no-repeat -32px -16px;
  254. cursor:pointer;
  255. margin-bottom:0;
  256. padding-bottom:0;
  257. }
  258. /* 时间右边的向下按钮 BUTTON */
  259. .WdateDiv #dpTime #dpTimeDown{
  260. height:8px;
  261. width:13px;
  262. border:0px;
  263. background:url(img.gif) no-repeat -48px -16px;
  264. cursor:pointer;
  265. margin-top:0;
  266. padding-top:0;
  267. }
  268. /****************************
  269. * 其他
  270. ***************************/
  271. .WdateDiv #dpQS {
  272. float:left;
  273. margin-left:3px;
  274. margin-top:9px;
  275. background:url(dateselect.gif) no-repeat;
  276. width:20px;
  277. height:20px;
  278. cursor:pointer;
  279. background-position:50% 50%;
  280. }
  281. .WdateDiv #dpControl {
  282. text-align:right;
  283. margin-top:3px;
  284. background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
  285. border-top:1px solid #ffa797;
  286. padding:4px;
  287. }
  288. .WdateDiv .dpButton{
  289. width:44px;
  290. height:22px;
  291. background:#c71b00 none repeat scroll 0 0;/*按钮背景色*/
  292. border-color:#ff6533 #9a1d09 #9a1d09 #ff6533;/*按钮边框 上右下左*/
  293. border-style:solid;
  294. border-width:1px;
  295. color:white;
  296. cursor:pointer;
  297. }