1 /* The main calendar widget. DIV containing a table. */
6 border-top: 2px solid #fff;
7 border-right: 2px solid #000;
8 border-bottom: 2px solid #000;
9 border-left: 2px solid #fff;
14 font-family: tahoma,verdana,sans-serif;
18 border-top: 1px solid #000;
19 border-right: 1px solid #fff;
20 border-bottom: 1px solid #fff;
21 border-left: 1px solid #000;
26 font-family: tahoma,verdana,sans-serif;
29 /* Header part -- contains navigation buttons and day names. */
31 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
34 border-top: 1px solid #fff;
35 border-right: 1px solid #000;
36 border-bottom: 1px solid #000;
37 border-left: 1px solid #fff;
40 .calendar thead .title { /* This holds the current "month, year" */
43 border: 1px solid #000;
49 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
52 .calendar thead .daynames { /* Row <TR> containing the day names */
55 .calendar thead .name { /* Cells <TD> containing the day names */
56 border-bottom: 1px solid #000;
62 .calendar thead .weekend { /* How a weekend day name shows in header */
66 .calendar thead .hilite { /* How do the buttons in header appear when hover */
67 border-top: 2px solid #fff;
68 border-right: 2px solid #000;
69 border-bottom: 2px solid #000;
70 border-left: 2px solid #fff;
75 .calendar thead .active { /* Active (pressed) buttons in header */
76 padding: 2px 0px 0px 2px;
77 border-top: 1px solid #000;
78 border-right: 1px solid #fff;
79 border-bottom: 1px solid #fff;
80 border-left: 1px solid #000;
84 /* The body part -- contains all the days in month. */
86 .calendar tbody .day { /* Cells <TD> containing month days dates */
89 padding: 2px 4px 2px 2px;
93 padding: 2px 3px 2px 2px;
94 border-right: 1px solid #000;
98 .calendar tbody .rowhilite td {
102 .calendar tbody .rowhilite td.wn {
106 .calendar tbody td.hilite { /* Hovered cells <TD> */
107 padding: 1px 3px 1px 1px;
108 border-top: 1px solid #fff;
109 border-right: 1px solid #000;
110 border-bottom: 1px solid #000;
111 border-left: 1px solid #fff;
114 .calendar tbody td.active { /* Active (pressed) cells <TD> */
115 padding: 2px 2px 0px 2px;
116 border-top: 1px solid #000;
117 border-right: 1px solid #fff;
118 border-bottom: 1px solid #fff;
119 border-left: 1px solid #000;
122 .calendar tbody td.selected { /* Cell showing selected date */
124 border-top: 1px solid #000;
125 border-right: 1px solid #fff;
126 border-bottom: 1px solid #fff;
127 border-left: 1px solid #000;
128 padding: 2px 2px 0px 2px;
132 .calendar tbody td.weekend { /* Cells showing weekend days */
136 .calendar tbody td.today { /* Cell showing today date */
141 .calendar tbody .disabled { color: #999; }
143 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
147 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
151 /* The footer part -- status bar and "Close" button */
153 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
156 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
159 border: 1px solid #000;
165 .calendar tfoot .hilite { /* Hover style for buttons in footer */
166 border-top: 1px solid #fff;
167 border-right: 1px solid #000;
168 border-bottom: 1px solid #000;
169 border-left: 1px solid #fff;
174 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
175 padding: 2px 0px 0px 2px;
176 border-top: 1px solid #000;
177 border-right: 1px solid #fff;
178 border-bottom: 1px solid #fff;
179 border-left: 1px solid #000;
182 /* Combo boxes (menus that display months/years for direct selection) */
191 border-top: 1px solid #fff;
192 border-right: 1px solid #000;
193 border-bottom: 1px solid #000;
194 border-left: 1px solid #fff;
208 border-top: 1px solid #000;
209 border-right: 1px solid #fff;
210 border-bottom: 1px solid #fff;
211 border-left: 1px solid #000;