1 /* The main calendar widget. DIV containing a table. */
3 div
.calendar
{ position: relative
; }
5 .calendar, .calendar table {
6 border: 1px solid
#565;
11 font-family: tahoma
,verdana
,sans-serif
;
14 /* Header part -- contains navigation buttons and day names. */
16 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
17 text-align: center
; /* They are the navigation buttons */
18 padding: 2px; /* Make the buttons seem like they're pressing */
25 background: #676 url
(menuarrow.gif) no-repeat
100% 100%;
28 .calendar thead .title { /* This holds the current "month, year" */
29 font-weight: bold
; /* Pressing it will take you to the current date */
36 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
39 .calendar thead .name { /* Cells <TD> containing the day names */
40 border-bottom: 1px solid
#565;
46 .calendar thead .weekend { /* How a weekend day name shows in header */
50 .calendar thead .hilite { /* How do the buttons in header appear when hover */
51 background-color: #afa;
53 border: 1px solid
#084;
57 .calendar thead .active { /* Active (pressed) buttons in header */
58 background-color: #7c7;
59 padding: 2px 0px 0px 2px;
62 .calendar thead .daynames { /* Row <TR> containing the day names */
66 /* The body part -- contains all the days in month. */
68 .calendar tbody .day { /* Cells <TD> containing month days dates */
72 padding: 2px 4px 2px 2px;
74 .calendar tbody .day.othermonth {
78 .calendar tbody .day.othermonth.oweekend {
83 padding: 2px 3px 2px 2px;
84 border-right: 1px solid
#8a8;
88 .calendar tbody .rowhilite td {
92 .calendar tbody .rowhilite td.wn {
96 .calendar tbody td.hilite { /* Hovered cells <TD> */
98 padding: 1px 3px 1px 1px;
99 border: 1px solid
#bbb;
102 .calendar tbody td.active { /* Active (pressed) cells <TD> */
104 padding: 2px 2px 0px 2px;
107 .calendar tbody td.selected { /* Cell showing today date */
109 border: 1px solid
#000;
110 padding: 1px 3px 1px 1px;
115 .calendar tbody td.weekend { /* Cells showing weekend days */
119 .calendar tbody td.today { font-weight: bold
; color: #0a0; }
121 .calendar tbody .disabled { color: #999; }
123 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
127 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
131 /* The footer part -- status bar and "Close" button */
133 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
139 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
145 .calendar tfoot .hilite { /* Hover style for buttons in footer */
147 border: 1px solid
#084;
152 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
154 padding: 2px 0px 0px 2px;
157 /* Combo boxes (menus that display months/years for direct selection) */
166 border: 1px solid
#565;
172 .calendar
.combo
.label
,
173 .calendar .combo .label-IEfix {
178 .calendar .combo .label-IEfix {
182 .calendar .combo .hilite {
186 .calendar .combo .active {
187 border-top: 1px solid
#6a4;
188 border-bottom: 1px solid
#6a4;
194 border-top: 1px solid
#8a8;
197 background-color: #dfb;
200 .calendar td
.time
.hour
,
201 .calendar td
.time
.minute
,
202 .calendar td.time .ampm {
203 padding: 0px 3px 0px 4px;
204 border: 1px solid
#898;
206 background-color: #fff;
209 .calendar td.time .ampm {
213 .calendar td.time .colon {
214 padding: 0px 2px 0px 3px;
218 .calendar td.time span.hilite {
220 background-color: #686;
224 .calendar td.time span.active {
226 background-color: #000;