You are here

calendar-green.css in Javascript Tools 5

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

div.calendar { position: relative; }

.calendar, .calendar table {
  border: 1px solid #565;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #efe;
  font-family: tahoma,verdana,sans-serif;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
  background: #676;
  color: #fff;
  font-size: 90%;
}

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

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  padding: 2px;
  background: #250;
  color: #efa;
}

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

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

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #afa;
  color: #000;
  border: 1px solid #084;
  padding: 1px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #7c7;
  padding: 2px 0px 0px 2px;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #dfb;
}

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

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

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #8a8;
  background: #dfb;
}

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

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

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #efd;
  padding: 1px 3px 1px 1px;
  border: 1px solid #bbb;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #dec;
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  border: 1px solid #000;
  padding: 1px 3px 1px 1px;
  background: #f8fff8;
  color: #000;
}

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

.calendar tbody td.today { font-weight: bold; color: #0a0; }

.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) */
  text-align: center;
  background: #565;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  padding: 2px;
  background: #250;
  color: #efa;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #afa;
  border: 1px solid #084;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #7c7;
  padding: 2px 0px 0px 2px;
}

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

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

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

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

.calendar .combo .hilite {
  background: #af8;
}

.calendar .combo .active {
  border-top: 1px solid #6a4;
  border-bottom: 1px solid #6a4;
  background: #efe;
  font-weight: bold;
}

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

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #898;
  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: #686;
  color: #fff;
}

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

File

jscalendar/lib/calendar-green.css
View source
  1. /* The main calendar widget. DIV containing a table. */
  2. div.calendar { position: relative; }
  3. .calendar, .calendar table {
  4. border: 1px solid #565;
  5. font-size: 11px;
  6. color: #000;
  7. cursor: default;
  8. background: #efe;
  9. font-family: tahoma,verdana,sans-serif;
  10. }
  11. /* Header part -- contains navigation buttons and day names. */
  12. .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  13. text-align: center; /* They are the navigation buttons */
  14. padding: 2px; /* Make the buttons seem like they're pressing */
  15. background: #676;
  16. color: #fff;
  17. font-size: 90%;
  18. }
  19. .calendar .nav {
  20. background: #676 url(menuarrow.gif) no-repeat 100% 100%;
  21. }
  22. .calendar thead .title { /* This holds the current "month, year" */
  23. font-weight: bold; /* Pressing it will take you to the current date */
  24. text-align: center;
  25. padding: 2px;
  26. background: #250;
  27. color: #efa;
  28. }
  29. .calendar thead .headrow { /* Row containing navigation buttons */
  30. }
  31. .calendar thead .name { /* Cells containing the day names */
  32. border-bottom: 1px solid #565;
  33. padding: 2px;
  34. text-align: center;
  35. color: #000;
  36. }
  37. .calendar thead .weekend { /* How a weekend day name shows in header */
  38. color: #a66;
  39. }
  40. .calendar thead .hilite { /* How do the buttons in header appear when hover */
  41. background-color: #afa;
  42. color: #000;
  43. border: 1px solid #084;
  44. padding: 1px;
  45. }
  46. .calendar thead .active { /* Active (pressed) buttons in header */
  47. background-color: #7c7;
  48. padding: 2px 0px 0px 2px;
  49. }
  50. .calendar thead .daynames { /* Row containing the day names */
  51. background: #dfb;
  52. }
  53. /* The body part -- contains all the days in month. */
  54. .calendar tbody .day { /* Cells containing month days dates */
  55. width: 2em;
  56. color: #564;
  57. text-align: right;
  58. padding: 2px 4px 2px 2px;
  59. }
  60. .calendar tbody .day.othermonth {
  61. font-size: 80%;
  62. color: #bbb;
  63. }
  64. .calendar tbody .day.othermonth.oweekend {
  65. color: #fbb;
  66. }
  67. .calendar table .wn {
  68. padding: 2px 3px 2px 2px;
  69. border-right: 1px solid #8a8;
  70. background: #dfb;
  71. }
  72. .calendar tbody .rowhilite td {
  73. background: #dfd;
  74. }
  75. .calendar tbody .rowhilite td.wn {
  76. background: #efe;
  77. }
  78. .calendar tbody td.hilite { /* Hovered cells */
  79. background: #efd;
  80. padding: 1px 3px 1px 1px;
  81. border: 1px solid #bbb;
  82. }
  83. .calendar tbody td.active { /* Active (pressed) cells */
  84. background: #dec;
  85. padding: 2px 2px 0px 2px;
  86. }
  87. .calendar tbody td.selected { /* Cell showing today date */
  88. font-weight: bold;
  89. border: 1px solid #000;
  90. padding: 1px 3px 1px 1px;
  91. background: #f8fff8;
  92. color: #000;
  93. }
  94. .calendar tbody td.weekend { /* Cells showing weekend days */
  95. color: #a66;
  96. }
  97. .calendar tbody td.today { font-weight: bold; color: #0a0; }
  98. .calendar tbody .disabled { color: #999; }
  99. .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  100. visibility: hidden;
  101. }
  102. .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  103. display: none;
  104. }
  105. /* The footer part -- status bar and "Close" button */
  106. .calendar tfoot .footrow { /* The in footer (only one right now) */
  107. text-align: center;
  108. background: #565;
  109. color: #fff;
  110. }
  111. .calendar tfoot .ttip { /* Tooltip (status bar) cell */
  112. padding: 2px;
  113. background: #250;
  114. color: #efa;
  115. }
  116. .calendar tfoot .hilite { /* Hover style for buttons in footer */
  117. background: #afa;
  118. border: 1px solid #084;
  119. color: #000;
  120. padding: 1px;
  121. }
  122. .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  123. background: #7c7;
  124. padding: 2px 0px 0px 2px;
  125. }
  126. /* Combo boxes (menus that display months/years for direct selection) */
  127. .calendar .combo {
  128. position: absolute;
  129. display: none;
  130. top: 0px;
  131. left: 0px;
  132. width: 4em;
  133. cursor: default;
  134. border: 1px solid #565;
  135. background: #efd;
  136. color: #000;
  137. font-size: 90%;
  138. z-index: 100;
  139. }
  140. .calendar .combo .label,
  141. .calendar .combo .label-IEfix {
  142. text-align: center;
  143. padding: 1px;
  144. }
  145. .calendar .combo .label-IEfix {
  146. width: 4em;
  147. }
  148. .calendar .combo .hilite {
  149. background: #af8;
  150. }
  151. .calendar .combo .active {
  152. border-top: 1px solid #6a4;
  153. border-bottom: 1px solid #6a4;
  154. background: #efe;
  155. font-weight: bold;
  156. }
  157. .calendar td.time {
  158. border-top: 1px solid #8a8;
  159. padding: 1px 0px;
  160. text-align: center;
  161. background-color: #dfb;
  162. }
  163. .calendar td.time .hour,
  164. .calendar td.time .minute,
  165. .calendar td.time .ampm {
  166. padding: 0px 3px 0px 4px;
  167. border: 1px solid #898;
  168. font-weight: bold;
  169. background-color: #fff;
  170. }
  171. .calendar td.time .ampm {
  172. text-align: center;
  173. }
  174. .calendar td.time .colon {
  175. padding: 0px 2px 0px 3px;
  176. font-weight: bold;
  177. }
  178. .calendar td.time span.hilite {
  179. border-color: #000;
  180. background-color: #686;
  181. color: #fff;
  182. }
  183. .calendar td.time span.active {
  184. border-color: #f00;
  185. background-color: #000;
  186. color: #0f0;
  187. }