国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

258 lines
5.5KB

  1. .calendar {
  2. position: relative;
  3. display: none;
  4. border-top: 2px solid #fff;
  5. border-right: 2px solid #000;
  6. border-bottom: 2px solid #000;
  7. border-left: 2px solid #fff;
  8. font-size: 11px;
  9. color: #000;
  10. cursor: default;
  11. background: #d4d0c8;
  12. font-family: tahoma,verdana,sans-serif;
  13. }
  14. .calendar table {
  15. border-top: 1px solid #000;
  16. border-right: 1px solid #fff;
  17. border-bottom: 1px solid #fff;
  18. border-left: 1px solid #000;
  19. font-size: 11px;
  20. color: #000;
  21. cursor: default;
  22. background: #d4d0c8;
  23. font-family: tahoma,verdana,sans-serif;
  24. }
  25. .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  26. text-align: center;
  27. padding: 1px;
  28. border-top: 1px solid #fff;
  29. border-right: 1px solid #000;
  30. border-bottom: 1px solid #000;
  31. border-left: 1px solid #fff;
  32. }
  33. .calendar .nav {
  34. background: transparent url(menuarrow.gif) no-repeat 100% 100%;
  35. }
  36. .calendar thead .title { /* This holds the current "month, year" */
  37. font-weight: bold;
  38. padding: 1px;
  39. border: 1px solid #000;
  40. background: #848078;
  41. color: #fff;
  42. text-align: center;
  43. }
  44. .calendar thead .headrow { /* Row <TR> containing navigation buttons */
  45. }
  46. .calendar thead .daynames { /* Row <TR> containing the day names */
  47. }
  48. .calendar thead .name { /* Cells <TD> containing the day names */
  49. border-bottom: 1px solid #000;
  50. padding: 2px;
  51. text-align: center;
  52. background: #f4f0e8;
  53. }
  54. .calendar thead .weekend { /* How a weekend day name shows in header */
  55. color: #f00;
  56. }
  57. .calendar thead .hilite { /* How do the buttons in header appear when hover */
  58. border-top: 2px solid #fff;
  59. border-right: 2px solid #000;
  60. border-bottom: 2px solid #000;
  61. border-left: 2px solid #fff;
  62. padding: 0px;
  63. background-color: #e4e0d8;
  64. }
  65. .calendar thead .active { /* Active (pressed) buttons in header */
  66. padding: 2px 0px 0px 2px;
  67. border-top: 1px solid #000;
  68. border-right: 1px solid #fff;
  69. border-bottom: 1px solid #fff;
  70. border-left: 1px solid #000;
  71. background-color: #c4c0b8;
  72. }
  73. /* The body part -- contains all the days in month. */
  74. .calendar tbody .day { /* Cells <TD> containing month days dates */
  75. width: 2em;
  76. text-align: right;
  77. padding: 2px 4px 2px 2px;
  78. }
  79. .calendar table .wn {
  80. padding: 2px 3px 2px 2px;
  81. border-right: 1px solid #000;
  82. background: #f4f0e8;
  83. }
  84. .calendar tbody .rowhilite td {
  85. background: #e4e0d8;
  86. }
  87. .calendar tbody .rowhilite td.wn {
  88. background: #d4d0c8;
  89. }
  90. .calendar tbody td.hilite { /* Hovered cells <TD> */
  91. padding: 1px 3px 1px 1px;
  92. border-top: 1px solid #fff;
  93. border-right: 1px solid #000;
  94. border-bottom: 1px solid #000;
  95. border-left: 1px solid #fff;
  96. }
  97. .calendar tbody td.active { /* Active (pressed) cells <TD> */
  98. padding: 2px 2px 0px 2px;
  99. border-top: 1px solid #000;
  100. border-right: 1px solid #fff;
  101. border-bottom: 1px solid #fff;
  102. border-left: 1px solid #000;
  103. }
  104. .calendar tbody td.selected { /* Cell showing selected date */
  105. font-weight: bold;
  106. border-top: 1px solid #000;
  107. border-right: 1px solid #fff;
  108. border-bottom: 1px solid #fff;
  109. border-left: 1px solid #000;
  110. padding: 2px 2px 0px 2px;
  111. background: #e4e0d8;
  112. }
  113. .calendar tbody td.weekend { /* Cells showing weekend days */
  114. color: #f00;
  115. }
  116. .calendar tbody td.today { /* Cell showing today date */
  117. font-weight: bold;
  118. color: #00f;
  119. }
  120. .calendar tbody .disabled { color: #999; }
  121. .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  122. visibility: hidden;
  123. }
  124. .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  125. display: none;
  126. }
  127. /* The footer part -- status bar and "Close" button */
  128. .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  129. }
  130. .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  131. background: #f4f0e8;
  132. padding: 1px;
  133. border: 1px solid #000;
  134. background: #848078;
  135. color: #fff;
  136. text-align: center;
  137. }
  138. .calendar tfoot .hilite { /* Hover style for buttons in footer */
  139. border-top: 1px solid #fff;
  140. border-right: 1px solid #000;
  141. border-bottom: 1px solid #000;
  142. border-left: 1px solid #fff;
  143. padding: 1px;
  144. background: #e4e0d8;
  145. }
  146. .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  147. padding: 2px 0px 0px 2px;
  148. border-top: 1px solid #000;
  149. border-right: 1px solid #fff;
  150. border-bottom: 1px solid #fff;
  151. border-left: 1px solid #000;
  152. }
  153. /* Combo boxes (menus that display months/years for direct selection) */
  154. .combo {
  155. position: absolute;
  156. display: none;
  157. width: 4em;
  158. top: 0px;
  159. left: 0px;
  160. cursor: default;
  161. border-top: 1px solid #fff;
  162. border-right: 1px solid #000;
  163. border-bottom: 1px solid #000;
  164. border-left: 1px solid #fff;
  165. background: #e4e0d8;
  166. font-size: smaller;
  167. padding: 1px;
  168. }
  169. .combo .label,
  170. .combo .label-IEfix {
  171. text-align: center;
  172. padding: 1px;
  173. }
  174. .combo .label-IEfix {
  175. width: 4em;
  176. }
  177. .combo .active {
  178. background: #c4c0b8;
  179. padding: 0px;
  180. border-top: 1px solid #000;
  181. border-right: 1px solid #fff;
  182. border-bottom: 1px solid #fff;
  183. border-left: 1px solid #000;
  184. }
  185. .combo .hilite {
  186. background: #048;
  187. color: #fea;
  188. }
  189. .calendar td.time {
  190. border-top: 1px solid #000;
  191. padding: 1px 0px;
  192. text-align: center;
  193. background-color: #f4f0e8;
  194. }
  195. .calendar td.time .hour,
  196. .calendar td.time .minute,
  197. .calendar td.time .ampm {
  198. padding: 0px 3px 0px 4px;
  199. border: 1px solid #889;
  200. font-weight: bold;
  201. background-color: #fff;
  202. }
  203. .calendar td.time .ampm {
  204. text-align: center;
  205. }
  206. .calendar td.time .colon {
  207. padding: 0px 2px 0px 3px;
  208. font-weight: bold;
  209. }
  210. .calendar td.time span.hilite {
  211. border-color: #000;
  212. background-color: #766;
  213. color: #fff;
  214. }
  215. .calendar td.time span.active {
  216. border-color: #f00;
  217. background-color: #000;
  218. color: #0f0;
  219. }