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. */
32 /* "<<", "<", ">", ">>" buttons have this class */
35 border-top: 1px solid #fff;
36 border-right: 1px solid #000;
37 border-bottom: 1px solid #000;
38 border-left: 1px solid #fff;
42 background: transparent url(menuarrow.gif) no-repeat 100% 100%;
45 .calendar thead .title {
46 /* This holds the current "month, year" */
49 border: 1px solid #000;
55 .calendar thead .headrow {
56 /* Row <TR> containing navigation buttons */
59 .calendar thead .daynames {
60 /* Row <TR> containing the day names */
63 .calendar thead .name {
64 /* Cells <TD> containing the day names */
65 border-bottom: 1px solid #000;
71 .calendar thead .weekend {
72 /* How a weekend day name shows in header */
76 .calendar thead .hilite {
77 /* How do the buttons in header appear when hover */
78 border-top: 2px solid #fff;
79 border-right: 2px solid #000;
80 border-bottom: 2px solid #000;
81 border-left: 2px solid #fff;
83 background-color: #e4e0d8;
86 .calendar thead .active {
87 /* Active (pressed) buttons in header */
88 padding: 2px 0px 0px 2px;
89 border-top: 1px solid #000;
90 border-right: 1px solid #fff;
91 border-bottom: 1px solid #fff;
92 border-left: 1px solid #000;
93 background-color: #c4c0b8;
96 /* The body part -- contains all the days in month. */
98 .calendar tbody .day {
99 /* Cells <TD> containing month days dates */
102 padding: 2px 4px 2px 2px;
105 .calendar tbody .day.othermonth {
110 .calendar tbody .day.othermonth.oweekend {
114 .calendar table .wn {
115 padding: 2px 3px 2px 2px;
116 border-right: 1px solid #000;
120 .calendar tbody .rowhilite td {
124 .calendar tbody .rowhilite td.wn {
128 .calendar tbody td.hilite {
129 /* Hovered cells <TD> */
130 padding: 1px 3px 1px 1px;
131 border-top: 1px solid #fff;
132 border-right: 1px solid #000;
133 border-bottom: 1px solid #000;
134 border-left: 1px solid #fff;
137 .calendar tbody td.active {
138 /* Active (pressed) cells <TD> */
139 padding: 2px 2px 0px 2px;
140 border-top: 1px solid #000;
141 border-right: 1px solid #fff;
142 border-bottom: 1px solid #fff;
143 border-left: 1px solid #000;
146 .calendar tbody td.selected {
147 /* Cell showing selected date */
149 border-top: 1px solid #000;
150 border-right: 1px solid #fff;
151 border-bottom: 1px solid #fff;
152 border-left: 1px solid #000;
153 padding: 2px 2px 0px 2px;
157 .calendar tbody td.weekend {
158 /* Cells showing weekend days */
162 .calendar tbody td.today {
163 /* Cell showing today date */
168 .calendar tbody .disabled {
172 .calendar tbody .emptycell {
173 /* Empty cells (the best is to hide them) */
177 .calendar tbody .emptyrow {
178 /* Empty row (some months need less than 6 rows) */
182 /* The footer part -- status bar and "Close" button */
184 .calendar tfoot .footrow {
185 /* The <TR> in footer (only one right now) */
188 .calendar tfoot .ttip {
189 /* Tooltip (status bar) cell <TD> */
192 border: 1px solid #000;
198 .calendar tfoot .hilite {
199 /* Hover style for buttons in footer */
200 border-top: 1px solid #fff;
201 border-right: 1px solid #000;
202 border-bottom: 1px solid #000;
203 border-left: 1px solid #fff;
208 .calendar tfoot .active {
209 /* Active (pressed) style for buttons in footer */
210 padding: 2px 0px 0px 2px;
211 border-top: 1px solid #000;
212 border-right: 1px solid #fff;
213 border-bottom: 1px solid #fff;
214 border-left: 1px solid #000;
217 /* Combo boxes (menus that display months/years for direct selection) */
226 border-top: 1px solid #fff;
227 border-right: 1px solid #000;
228 border-bottom: 1px solid #000;
229 border-left: 1px solid #fff;
236 .calendar .combo .label,
237 .calendar .combo .label-IEfix {
242 .calendar .combo .label-IEfix {
246 .calendar .combo .active {
249 border-top: 1px solid #000;
250 border-right: 1px solid #fff;
251 border-bottom: 1px solid #fff;
252 border-left: 1px solid #000;
255 .calendar .combo .hilite {
261 border-top: 1px solid #000;
264 background-color: #f4f0e8;
267 .calendar td.time .hour,
268 .calendar td.time .minute,
269 .calendar td.time .ampm {
270 padding: 0px 3px 0px 4px;
271 border: 1px solid #889;
273 background-color: #fff;
276 .calendar td.time .ampm {
280 .calendar td.time .colon {
281 padding: 0px 2px 0px 3px;
285 .calendar td.time span.hilite {
287 background-color: #766;
291 .calendar td.time span.active {
293 background-color: #000;