网站
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dateTime.css 2.9 KiB

4 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. .dateTimeWrap{
  2. display: none;
  3. -webkit-user-select:none;
  4. -moz-user-select:none;
  5. -ms-user-select:none;
  6. -o-user-select:none;
  7. user-select:none;
  8. background: #494a4a;
  9. padding:10px;
  10. position: fixed;
  11. left:0;
  12. top:0;
  13. z-index:999;
  14. font-size:14px;
  15. color:#e2e2e2;
  16. width:240px;
  17. }
  18. .dateTimeWrap .datePart li.curDay{
  19. color:#1ea0fa;
  20. }
  21. .dateTimeWrap #dayDat li:hover{
  22. border:2px double #fff;
  23. background: #1ea0fa;
  24. color:#fff;
  25. }
  26. .dateTimeWrap #dateTime{
  27. *float:left
  28. }
  29. .dateTimeWrap .dateTimeHead{
  30. *overflow:hidden;
  31. padding:8px 0px 4px;
  32. }
  33. .dateTimeWrap .datePart li{
  34. border:2px double transparent;
  35. float: left;
  36. cursor: default;
  37. vertical-align: middle;
  38. width: 30px;
  39. height: 26px;
  40. text-align: center;
  41. line-height: 26px;
  42. }
  43. .dateTimeWrap .datePart ul{
  44. overflow: hidden;
  45. }
  46. .dateTimeWrap .changeMonth{
  47. float: right
  48. }
  49. .dateTimeWrap .changeMonth #pre,.changeMonth #next{
  50. display: inline-block;
  51. width:20px;
  52. height:20px;
  53. cursor: default;
  54. color:#333;
  55. background: #fff;
  56. text-align: center;
  57. line-height:20px;
  58. }
  59. .dateTimeWrap .changeMonth #next{
  60. margin-left: 10px;
  61. }
  62. .dateTimeWrap .dateTimeFoot span,.timeFooter span{
  63. cursor: pointer;
  64. display: inline-block;
  65. background: #fff;
  66. color: #333;
  67. height:20px;
  68. line-height: 20px;
  69. width:50px;
  70. text-align: center;
  71. margin-left: 6px;
  72. float:right;
  73. }
  74. .dateTimeWrap .timePart{
  75. text-align:center;
  76. color:#333;
  77. line-height: 22px;
  78. }
  79. .dateTimeWrap .timePart p,.timePart ul{
  80. background: #fff;
  81. }
  82. .dateTimeWrap .timePart>ul>li{
  83. float: left;
  84. width:119px;
  85. background: #fff;
  86. color:#333;
  87. border:1px solid #ccc;
  88. border-right:none;
  89. }
  90. .dateTimeWrap .timePart ul{
  91. overflow: hidden;
  92. }
  93. .dateTimeWrap .timePart>ul>li p{
  94. line-height: 30px;
  95. border-bottom:1px solid #ccc;
  96. }
  97. .dateTimeWrap .timePart ol{
  98. height:180px;
  99. overflow-y: hidden;
  100. *overflow-y: auto;
  101. overflow-x: hidden;
  102. }
  103. .dateTimeWrap .timePart ol:hover{
  104. overflow-y:auto;
  105. }
  106. .dateTimeWrap .timePart ol:hover li{
  107. padding-left:17px;
  108. *padding-left:0;
  109. }
  110. .dateTimeWrap .timePart ol li{
  111. line-height: 30px;
  112. }
  113. .dateTimeWrap .timePart ol li.cur{
  114. background: #1ea0fa;
  115. color: #fff
  116. }
  117. .dateTimeWrap .dateTimeFoot,.timeFooter{
  118. overflow:hidden;
  119. margin-top: 10px;
  120. height: 20px;
  121. }
  122. .dateTimeWrap .timeFooter span{
  123. width:80px;
  124. }
  125. .dateTimeWrap .timeFooter #ensure{
  126. width:50px;
  127. }
  128. .dateTimeWrap .dateTimeFoot .selTime,.timeFooter .selTime{
  129. float:left;
  130. margin-left:0;
  131. display:none;
  132. }
  133. .dateTimeWrap .selTime{
  134. width:80px!important;
  135. }
  136. .dateTimeWrap #yearSelect{
  137. margin-right: 6px;
  138. width:auto;
  139. color: #FFF;
  140. }
  141. .dateTimeWrap #yearSelect option{
  142. color: #000;
  143. }
  144. .dateTimeWrap #monthSelect option{
  145. color: #000;
  146. }
  147. .dateTimeWrap #monthSelect{
  148. width: auto;
  149. color: #FFF;
  150. }
  151. .dateTimeWrap .darkgrey{
  152. color:#d0d0d0 !important;
  153. }