1 /* The main calendar widget. DIV containing a table. */
11 font-family: tahoma, verdana, sans-serif;
15 border: 1px solid #556;
20 font-family: tahoma, verdana, sans-serif;
23 /* Header part -- contains navigation buttons and day names. */
26 /* "<<", "<", ">", ">>" buttons have this class */
27 text-align: center; /* They are the navigation buttons */
28 padding: 2px; /* Make the buttons seem like they're pressing */
32 background: #778 url(menuarrow.png) no-repeat 100% 100%;
35 .calendar thead .title {
36 /* This holds the current "month, year" */
37 font-weight: bold; /* Pressing it will take you to the current date */
44 .calendar thead .headrow {
45 /* Row <TR> containing navigation buttons */
50 .calendar thead .daynames {
51 /* Row <TR> containing the day names */
55 .calendar thead .name {
56 /* Cells <TD> containing the day names */
57 border-bottom: 1px solid #556;
63 .calendar thead .weekend {
64 /* How a weekend day name shows in header */
68 .calendar thead .hilite {
69 /* How do the buttons in header appear when hover */
70 background-color: #aaf;
72 border: 1px solid #04f;
76 .calendar thead .active {
77 /* Active (pressed) buttons in header */
78 background-color: #77c;
79 padding: 1px 0px 0px 1px;
82 /* The body part -- contains all the days in month. */
84 .calendar tbody .day {
85 /* Cells <TD> containing month days dates */
89 padding: 1px 2px 1px 1px;
90 /* padding: 2px 4px 2px 2px; */
93 .calendar tbody .day.othermonth {
98 .calendar tbody .day.othermonth.oweekend {
102 .calendar table .wn {
103 padding: 1px 2px 1px 1px;
104 border-right: 1px solid #000;
108 .calendar tbody .rowhilite td {
112 .calendar tbody .rowhilite td.wn {
116 .calendar tbody td.hilite {
117 /* Hovered cells <TD> */
119 padding: 0px 1px 0px 0px;
120 border: 1px solid #bbb;
123 .calendar tbody td.active {
124 /* Active (pressed) cells <TD> */
126 padding: 2px 2px 0px 2px;
129 .calendar tbody .existing {
133 padding: 2px 2px 0px 2px;
136 .calendar tbody td.selected {
137 /* Cell showing today date */
139 border: 1px solid #000;
140 padding: 1px 3px 1px 1px;
145 .calendar tbody td.weekend {
146 /* Cells showing weekend days */
150 .calendar tbody td.today {
151 /* Cell showing selected date */
156 .calendar tbody .disabled {
160 .calendar tbody .emptycell {
161 /* Empty cells (the best is to hide them) */
165 .calendar tbody .emptyrow {
166 /* Empty row (some months need less than 6 rows) */
170 /* The footer part -- status bar and "Close" button */
172 .calendar tfoot .footrow {
173 /* The <TR> in footer (only one right now) */
179 .calendar tfoot .ttip {
180 /* Tooltip (status bar) cell <TD> */
183 border-top: 1px solid #556;
187 .calendar tfoot .hilite {
188 /* Hover style for buttons in footer */
190 border: 1px solid #04f;
195 .calendar tfoot .active {
196 /* Active (pressed) style for buttons in footer */
198 padding: 2px 0px 0px 2px;
201 /* Combo boxes (menus that display months/years for direct selection) */
210 border: 1px solid #655;
216 .calendar .combo .label,
217 .calendar .combo .label-IEfix {
222 .calendar .combo .label-IEfix {
226 .calendar .combo .hilite {
230 .calendar .combo .active {
231 border-top: 1px solid #46a;
232 border-bottom: 1px solid #46a;
238 border-top: 1px solid #000;
241 background-color: #f4f0e8;
244 .calendar td.time .hour,
245 .calendar td.time .minute,
246 .calendar td.time .ampm {
247 padding: 0px 3px 0px 4px;
248 border: 1px solid #889;
250 background-color: #fff;
253 .calendar td.time .ampm {
257 .calendar td.time .colon {
258 padding: 0px 2px 0px 3px;
262 .calendar td.time span.hilite {
264 background-color: #667;
268 .calendar td.time span.active {
270 background-color: #000;