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;
19 border-top: 1px solid #000;
20 border-right: 1px solid #fff;
21 border-bottom: 1px solid #fff;
22 border-left: 1px solid #000;
27 font-family: tahoma,verdana,sans-serif;
30 /* Header part -- contains navigation buttons and day names. */
32 .calendar .button { /* "<<", "<", ">", ">>" 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 { /* This holds the current "month, year" */
48 border: 1px solid #000;
54 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
57 .calendar thead .daynames { /* Row <TR> containing the day names */
60 .calendar thead .name { /* Cells <TD> containing the day names */
61 border-bottom: 1px solid #000;
67 .calendar thead .weekend { /* How a weekend day name shows in header */
71 .calendar thead .hilite { /* How do the buttons in header appear when hover */
72 border-top: 2px solid #fff;
73 border-right: 2px solid #000;
74 border-bottom: 2px solid #000;
75 border-left: 2px solid #fff;
77 background-color: #e4d8e0;
80 .calendar thead .active { /* Active (pressed) buttons in header */
81 padding: 2px 0px 0px 2px;
82 border-top: 1px solid #000;
83 border-right: 1px solid #fff;
84 border-bottom: 1px solid #fff;
85 border-left: 1px solid #000;
86 background-color: #c4b8c0;
89 /* The body part -- contains all the days in month. */
91 .calendar tbody .day { /* Cells <TD> containing month days dates */
94 padding: 2px 4px 2px 2px;
96 .calendar tbody .day.othermonth {
100 .calendar tbody .day.othermonth.oweekend {
104 .calendar table .wn {
105 padding: 2px 3px 2px 2px;
106 border-right: 1px solid #000;
110 .calendar tbody .rowhilite td {
114 .calendar tbody .rowhilite td.wn {
118 .calendar tbody td.hilite { /* Hovered cells <TD> */
119 padding: 1px 3px 1px 1px;
120 border-top: 1px solid #fff;
121 border-right: 1px solid #000;
122 border-bottom: 1px solid #000;
123 border-left: 1px solid #fff;
126 .calendar tbody td.active { /* Active (pressed) cells <TD> */
127 padding: 2px 2px 0px 2px;
128 border-top: 1px solid #000;
129 border-right: 1px solid #fff;
130 border-bottom: 1px solid #fff;
131 border-left: 1px solid #000;
134 .calendar tbody td.selected { /* Cell showing selected date */
136 border-top: 1px solid #000;
137 border-right: 1px solid #fff;
138 border-bottom: 1px solid #fff;
139 border-left: 1px solid #000;
140 padding: 2px 2px 0px 2px;
144 .calendar tbody td.weekend { /* Cells showing weekend days */
148 .calendar tbody td.today { /* Cell showing today date */
153 .calendar tbody .disabled { color: #999; }
155 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
159 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
163 /* The footer part -- status bar and "Close" button */
165 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
168 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
171 border: 1px solid #000;
177 .calendar tfoot .hilite { /* Hover style for buttons in footer */
178 border-top: 1px solid #fff;
179 border-right: 1px solid #000;
180 border-bottom: 1px solid #000;
181 border-left: 1px solid #fff;
186 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
187 padding: 2px 0px 0px 2px;
188 border-top: 1px solid #000;
189 border-right: 1px solid #fff;
190 border-bottom: 1px solid #fff;
191 border-left: 1px solid #000;
194 /* Combo boxes (menus that display months/years for direct selection) */
203 border-top: 1px solid #fff;
204 border-right: 1px solid #000;
205 border-bottom: 1px solid #000;
206 border-left: 1px solid #fff;
213 .calendar .combo .label,
214 .calendar .combo .label-IEfix {
219 .calendar .combo .label-IEfix {
223 .calendar .combo .active {
226 border-top: 1px solid #000;
227 border-right: 1px solid #fff;
228 border-bottom: 1px solid #fff;
229 border-left: 1px solid #000;
232 .calendar .combo .hilite {
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: #766;
268 .calendar td.time span.active {
270 background-color: #000;