datepicker.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. /**
  2. * yyh & kimi from mb518.com
  3. * 2019-3-25
  4. **/
  5. .WdateDiv {
  6. width: 216px;
  7. background-color: #FFF;
  8. border-radius: 5px;
  9. border: 1px solid #cecece;
  10. }
  11. .WdateDiv2 {
  12. width: 432px;
  13. }
  14. .WdateDiv > div:nth-child(3) {
  15. padding: 0px 0.375em;
  16. }
  17. .WdateDiv .NavImg a {
  18. cursor: pointer;
  19. display: block;
  20. width: 1em;
  21. height: 1em;
  22. margin-top: 0.5em;
  23. }
  24. .WdateDiv .NavImgll a {
  25. float: left;
  26. background: url(img.gif) no-repeat;
  27. background-size: 400%;
  28. }
  29. .WdateDiv .NavImgl a {
  30. float: left;
  31. background: url(img.gif) no-repeat -1em 0;
  32. background-size: 400%;
  33. }
  34. .WdateDiv .NavImgr a {
  35. float: right;
  36. background: url(img.gif) no-repeat -2em 0;
  37. background-size: 400%;
  38. }
  39. .WdateDiv .NavImgrr a {
  40. float: right;
  41. background: url(img.gif) no-repeat -3em 0;
  42. background-size: 400%;
  43. }
  44. .WdateDiv #dpTitle {
  45. height: 1.875em;
  46. padding: 0.1875em 0.3125em;
  47. }
  48. .WdateDiv #dpTitle > div:nth-child(3),
  49. .WdateDiv #dpTitle > div:nth-child(4) {
  50. margin: 0px 0.8125em;
  51. }
  52. .WdateDiv .yminput {
  53. margin-top: 0.375em;
  54. text-align: center;
  55. border: 0px;
  56. height: 1.75em;
  57. width: 3.125em;
  58. color: #333;
  59. background-color: #eefaff;
  60. outline: none;
  61. cursor: pointer;
  62. font-size: 0.8125em;
  63. border-radius: 0;
  64. }
  65. .WdateDiv .yminputfocus {
  66. font-size: 0.8125em;
  67. margin-top: 0.375em;
  68. text-align: center;
  69. border: 0;
  70. color: #333;
  71. height: 1.25em;
  72. width: 3.125em;
  73. outline: none;
  74. background-color: #eefaff;
  75. }
  76. .WdateDiv .menuSel {
  77. z-index: 1;
  78. position: absolute;
  79. background-color: #FFFFFF;
  80. display: none;
  81. padding: 0.3125em;
  82. border-radius: 3px;
  83. box-shadow: rgb(204, 204, 204) 0px 0px 2px 2px;
  84. }
  85. .WdateDiv .menu {
  86. cursor: pointer;
  87. background-color: #fff;
  88. color: #333;
  89. text-align: center;
  90. }
  91. .WdateDiv .menuOn {
  92. cursor: pointer;
  93. text-align: center;
  94. background-color: #d6f2ff;
  95. border-radius: 3px;
  96. }
  97. .WdateDiv .invalidMenu {
  98. color: #aaa;
  99. }
  100. .WdateDiv .YMenu {
  101. margin-top: 1.875em;
  102. }
  103. .WdateDiv .MMenu {
  104. margin-top: 1.875em;
  105. box-shadow: rgb(204, 204, 204) 0px 0px 2px 2px;
  106. padding: 0.3125em;
  107. border-radius: 3px;
  108. *width: 3.875em;
  109. }
  110. .WdateDiv .hhMenu {
  111. margin-top: -5.625em;
  112. margin-left: 1.625em;
  113. }
  114. .WdateDiv .mmMenu {
  115. margin-top: -2.875em;
  116. margin-left: 1.625em;
  117. }
  118. .WdateDiv .ssMenu {
  119. margin-top: -1.5em;
  120. margin-left: 1.625em;
  121. }
  122. .WdateDiv .Wweek {
  123. text-align: center;
  124. background: #DAF3F5;
  125. border-right: #BDEBEE 1px solid;
  126. }
  127. .WdateDiv .MTitle {
  128. background-color: #f3f3f3;
  129. border-radius: 5px;
  130. color: #666;
  131. }
  132. .WdateDiv .WdayTable2 {
  133. border-collapse: collapse;
  134. }
  135. .WdateDiv .WdayTable2 table {
  136. border: 0;
  137. }
  138. .WdateDiv .WdayTable {
  139. font-size: 0.75em;
  140. line-height: 1.5em;
  141. color: #333;
  142. }
  143. .WdateDiv .WdayTable td {
  144. text-align: center;
  145. border-bottom: 1px solid #f3f3f3;
  146. padding: 0.1875em 0;
  147. }
  148. .WdateDiv .Wday {
  149. cursor: pointer;
  150. }
  151. .WdateDiv .WdayOn {
  152. cursor: pointer;
  153. border-radius: 3px;
  154. background-color: #C0EBEF;
  155. }
  156. .WdateDiv .Wwday {
  157. cursor: pointer;
  158. color: #ab1e1e;
  159. }
  160. .WdateDiv .WwdayOn {
  161. cursor: pointer;
  162. border-radius: 3px;
  163. background-color: #C0EBEF;
  164. }
  165. .WdateDiv .Wtoday {
  166. cursor: pointer;
  167. color: blue;
  168. }
  169. .WdateDiv .Wselday {
  170. background-color: #35baf6;
  171. border-radius: 3px;
  172. color: #fff;
  173. }
  174. .WdateDiv .WspecialDay {
  175. background-color: #66F4DF;
  176. }
  177. .WdateDiv .WotherDay {
  178. cursor: pointer;
  179. color: #8585e1;
  180. }
  181. .WdateDiv .WotherDayOn {
  182. cursor: pointer;
  183. background-color: #d6f2ff;
  184. border-radius: 3px;
  185. }
  186. .WdateDiv .WinvalidDay {
  187. color: #aaa;
  188. }
  189. .WdateDiv #dpTime {
  190. margin: 0.1875em 0 0.1875em 0.625em;
  191. }
  192. .WdateDiv #dpTime #dpTimeStr {
  193. margin-left: 0.0625em;
  194. color: #333;
  195. font-size: 0.75em;
  196. }
  197. .WdateDiv #dpTime table:nth-child(4) {
  198. font-size: 100%;
  199. }
  200. .WdateDiv #dpTime table:nth-child(-n+3) {
  201. font-size: 0.75em;
  202. }
  203. .WdateDiv #dpTime input {
  204. -webkit-appearance: none;
  205. font-size: 0.75em;
  206. height: 1.25em;
  207. width: 1.875em;
  208. text-align: center;
  209. color: #333;
  210. border: 0;
  211. background-color: #eefaff;
  212. border-radius: 0;
  213. padding: 0;
  214. }
  215. .WdateDiv #dpTime input:disabled {
  216. background-color: #e7e7e7;
  217. }
  218. .WdateDiv #dpTime .tB {
  219. border-right: 0px;
  220. }
  221. .WdateDiv #dpTime .tE {
  222. border-left: 0;
  223. border-right: 0;
  224. }
  225. .WdateDiv #dpTime .tm {
  226. width: 0.9375em;
  227. border-left: 0;
  228. border-right: 0;
  229. }
  230. /*.WdateDiv #dpTime button {
  231. font-size: 0.75em;
  232. }*/
  233. .WdateDiv #dpTime #dpTimeUp {
  234. height: 0.625em;
  235. width: 0.8125em;
  236. border: 0px;
  237. background: url(img.gif) no-repeat -2em -1em;
  238. background-size: 450%;
  239. overflow: hidden;
  240. }
  241. .WdateDiv #dpTime #dpTimeDown {
  242. height: 0.625em;
  243. width: 0.8125em;
  244. border: 0px;
  245. background: url(img.gif) no-repeat -2em -1.625em;
  246. background-size: 450%;
  247. }
  248. .WdateDiv #dpQS {
  249. float: left;
  250. margin-right: 0.1875em;
  251. margin-top: 0.3125em;
  252. background: url(img.gif) no-repeat 0px -1em;
  253. background-size: 320%;
  254. width: 1.25em;
  255. height: 1.25em;
  256. cursor: pointer;
  257. margin-left: 0.375em;
  258. }
  259. .WdateDiv #dpControl {
  260. text-align: right;
  261. margin-top: 0.1875em;
  262. padding: 0 0.3125em;
  263. padding-bottom: 0.1875em;
  264. }
  265. .WdateDiv .dpButton {
  266. font-size: 0.75em;
  267. -webkit-appearance: none;
  268. padding-top: 0;
  269. height: 1.75em;
  270. width: 2.8125em;
  271. border: 0;
  272. margin-top: 0.1875em;
  273. margin-right: 0.1875em;
  274. background: #35baf6;
  275. color: #fff;
  276. border-radius: 0;
  277. }