You are here

theme.css in Javascript Tools 5

/* Distributed as part of The Coolest DHTML Calendar
   Author: Mihai Bazon, www.bazon.net/mishoo
   Copyright Dynarch.com 2005, www.dynarch.com
*/

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

div.calendar { position: relative; }

.calendar, .calendar table {
  border: 1px solid #bdb2bf;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: url("normal-bg.gif");
  font-family: "trebuchet ms",verdana,tahoma,sans-serif;
}

.calendar {
  border-color: #797979;
}

/* 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: url("title-bg.gif") repeat-x 0 100%; color: #000;
  font-weight: bold;
}

.calendar .nav {
  font-family: verdana,tahoma,sans-serif;
}

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

.calendar thead tr { background: url("title-bg.gif") repeat-x 0 100%; color: #000; }

.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: url("title-bg.gif") repeat-x 0 100%; color: #000;
}

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

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

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background: url("hover-bg.gif");
  border-bottom: 1px solid #797979;
  padding: 2px 2px 1px 2px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background: url("active-bg.gif"); color: #fff;
  padding: 3px 1px 0px 3px;
  border-bottom: 1px solid #797979;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: url("dark-bg.gif");
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  font-family: verdana,tahoma,sans-serif;
  width: 2em;
  color: #000;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #f99;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #797979;
  background: url("dark-bg.gif");
}

.calendar tbody .rowhilite td,
.calendar tbody .rowhilite td.wn {
  background: url("rowhover-bg.gif");
}

.calendar tbody td.today { font-weight: bold; /* background: url("today-bg.gif") no-repeat 70% 50%; */ }

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: url("hover-bg.gif");
  padding: 1px 3px 1px 1px;
  border: 1px solid #bbb;
}

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

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

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  border: 1px solid #797979;
  padding: 1px 3px 1px 1px;
  background: url("active-bg.gif"); color: #fff;
}

.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: url("status-bg.gif") repeat-x 0 0; color: #000;
}

.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-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #797979;
  background: url("normal-bg.gif"); color: #000;
  z-index: 100;
  font-size: 90%;
}

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

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

.calendar .combo .hilite {
  background: url("hover-bg.gif"); color: #000;
}

.calendar .combo .active {
  background: url("active-bg.gif"); color: #fff;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #797979;
  padding: 1px 0px;
  text-align: center;
  background: url("dark-bg.gif");
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 5px 0px 6px;
  font-weight: bold;
  background: url("normal-bg.gif"); color: #000;
}

.calendar td.time .hour,
.calendar td.time .minute {
  font-family: monospace;
}

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

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

.calendar td.time span.hilite {
  background: url("hover-bg.gif"); color: #000;
}

.calendar td.time span.active {
  background: url("active-bg.gif"); color: #fff;
}

File

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