dateTime.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. @charset "utf-8";
  2. *{
  3. margin:0; padding:0;
  4. }
  5. body, html body {
  6. color: #262626;
  7. font: 12px/1.5 Microsoft YaHei,tahoma,arial,Hiragino Sans GB,sans-serif;
  8. }
  9. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 0; padding: 0; font-family: "微软雅黑"; }
  10. fieldset, img { border: 0; }
  11. ul, ol, li { list-style: none; font-family:'Microsoft YaHei'; }
  12. address, caption, cite, code, dfn, em, strong, th, var, optgroup { font-style: normal; font-weight: normal; }
  13. h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
  14. input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; background-color: #fff; border: none;}
  15. a{text-decoration:none;}
  16. a:hover{
  17. text-decoration: none;
  18. }
  19. input, button, textarea{ *font-size: 100%;}
  20. ol, ul { list-style: none; }
  21. /* tables still need 'cellspacing="0"' in the markup */
  22. table,tr,td { border-collapse: collapse; border-spacing: 0; margin:0;padding:0;}
  23. caption, th { text-align: left; }
  24. .clearfix { clear: both; zoom:1;}
  25. .clearfix:after { display: block; clear: both; content: "\0020"; visibility: hidden; height: 0; }
  26. .mycontainer{
  27. width:960px;
  28. margin:40px auto;
  29. }
  30. .dateTimeWrap{
  31. display: none;
  32. -webkit-user-select:none;
  33. -moz-user-select:none;
  34. -ms-user-select:none;
  35. -o-user-select:none;
  36. user-select:none;
  37. background: #494a4a;
  38. padding:10px;
  39. position: fixed;
  40. left:0;
  41. top:0;
  42. z-index:999;
  43. font-size:14px;
  44. color:#e2e2e2;
  45. width:240px;
  46. }
  47. .datePart li.curDay{
  48. color:#1ea0fa;
  49. }
  50. #dayDat li:hover{
  51. border:2px double #fff;
  52. background: #1ea0fa;
  53. color:#fff;
  54. }
  55. #dateTime{
  56. *float:left
  57. }
  58. .dateTimeHead{
  59. *overflow:hidden;
  60. padding:8px 0px 4px;
  61. }
  62. .datePart li{
  63. border:2px double transparent;
  64. float: left;
  65. cursor: default;
  66. vertical-align: middle;
  67. width: 30px;
  68. height: 26px;
  69. text-align: center;
  70. line-height: 26px;
  71. }
  72. .datePart ul{
  73. overflow: hidden;
  74. }
  75. .changeMonth{
  76. float: right
  77. }
  78. .changeMonth #pre,.changeMonth #next{
  79. display: inline-block;
  80. width:20px;
  81. height:20px;
  82. cursor: default;
  83. color:#333;
  84. background: #fff;
  85. text-align: center;
  86. line-height:20px;
  87. }
  88. .changeMonth #next{
  89. margin-left: 10px;
  90. }
  91. .dateTimeFoot span,.timeFooter span{
  92. cursor: pointer;
  93. display: inline-block;
  94. background: #fff;
  95. color: #333;
  96. height:20px;
  97. line-height: 20px;
  98. width:50px;
  99. text-align: center;
  100. margin-left: 6px;
  101. float:right;
  102. }
  103. .timePart{
  104. text-align:center;
  105. color:#333;
  106. line-height: 22px;
  107. }
  108. .timePart p,.timePart ul{
  109. background: #fff;
  110. }
  111. .timePart>ul>li{
  112. float: left;
  113. width:119px;
  114. background: #fff;
  115. color:#333;
  116. border:1px solid #ccc;
  117. border-right:none;
  118. }
  119. .timePart ul{
  120. overflow: hidden;
  121. }
  122. .timePart>ul>li p{
  123. line-height: 30px;
  124. border-bottom:1px solid #ccc;
  125. }
  126. .timePart ol{
  127. height:180px;
  128. overflow-y: hidden;
  129. *overflow-y: auto;
  130. overflow-x: hidden;
  131. }
  132. .timePart ol:hover{
  133. overflow-y:auto;
  134. }
  135. .timePart ol:hover li{
  136. padding-left:17px;
  137. *padding-left:0;
  138. }
  139. .timePart ol li{
  140. line-height: 30px;
  141. }
  142. .timePart ol li.cur{
  143. background: #1ea0fa;
  144. color: #fff
  145. }
  146. .dateTimeFoot,.timeFooter{
  147. overflow:hidden;
  148. margin-top: 10px;
  149. height: 20px;
  150. }
  151. .timeFooter span{
  152. width:80px;
  153. }
  154. .timeFooter #ensure{
  155. width:50px;
  156. }
  157. .dateTimeFoot .selTime,.timeFooter .selTime{
  158. float:left;
  159. margin-left:0;
  160. display:none;
  161. }
  162. .selTime{
  163. width:80px!important;
  164. }
  165. #yearSelect{
  166. margin-right: 6px;
  167. }
  168. .darkgrey{
  169. color:#d0d0d0 !important;
  170. }
  171. .mycontainer input{
  172. border:1px solid #ccc;
  173. padding:6px 10px;
  174. }