You are here

calendar-brown.css in Javascript Tools 5

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

div.calendar { position: relative; }

.calendar, .calendar table {
  border: 1px solid #655;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #ffd;
  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 */
}

.calendar .nav {
  background: #edc 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;
  background: #654;
  color: #fed;
  padding: 2px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #edc;
  color: #000;
}

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

.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 */
  background-color: #faa;
  color: #000;
  border: 1px solid #f40;
  padding: 1px;
}

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

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

/* 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: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

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

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

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

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

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #ddc;
  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: #fea;
}

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

.calendar tbody td.today { font-weight: bold; }

.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: #988;
  color: #000;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  border-top: 1px solid #655;
  background: #dcb;
  color: #840;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #faa;
  border: 1px solid #f40;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #c77;
  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 #655;
  background: #ffe;
  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: #fc8;
}

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

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

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

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

File

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