You are here

calendar-win2k-cold-1.css in Javascript Tools 5

/* The main calendar widget.  DIV containing a table. */

.calendar {
  position: relative;
  display: none;
  border-top: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #fff;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #c8d0d4;
  font-family: tahoma,verdana,sans-serif;
}

.calendar table {
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #c8d0d4;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
}

.calendar .nav {
  background: transparent url(menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 1px;
  border: 1px solid #000;
  background: #788084;
  color: #fff;
  text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .daynames { /* Row <TR> containing the day names */
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #000;
  padding: 2px;
  text-align: center;
  background: #e8f0f4;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #f00;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  border-top: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #fff;
  padding: 0px;
  background-color: #d8e0e4;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
  background-color: #b8c0c4;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
  color: #faa;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #e8f4f0;
}

.calendar tbody .rowhilite td {
  background: #d8e4e0;
}

.calendar tbody .rowhilite td.wn {
  background: #c8d4d0;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 1px 3px 1px 1px;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border: 1px solid;
  border-color: #000 #fff #fff #000;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  padding: 2px 2px 0px 2px;
  border: 1px solid;
  border-color: #000 #fff #fff #000;
  background: #d8e0e4;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f00;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #00f;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #e8f0f4;
  padding: 1px;
  border: 1px solid #000;
  background: #788084;
  color: #fff;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  padding: 1px;
  background: #d8e0e4;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  background: #d8e0e4;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .active {
  background: #c8d0d4;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.calendar .combo .hilite {
  background: #048;
  color: #aef;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #e8f0f4;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

File

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