1 /* The main calendar widget. DIV containing a table. */
7 border-color: #fff #000 #000 #fff;
12 font-family: tahoma,verdana,sans-serif;
18 border-color: #fff #000 #000 #fff;
23 font-family: tahoma,verdana,sans-serif;
24 border-collapse:separate;
27 /* Header part -- contains navigation buttons and day names. */
29 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
34 -moz-border-radius: 0px;
35 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
36 background: ButtonFace;
40 background: ButtonFace url('menuarrow.gif') no-repeat 100% 100%;
43 .calendar thead .title { /* This holds the current "month, year" */
46 border: 1px solid #000;
47 background: ActiveCaption;
52 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
55 .calendar thead .daynames { /* Row <TR> containing the day names */
58 .calendar thead .name { /* Cells <TD> containing the day names */
59 border-bottom: 1px solid ButtonShadow;
62 background: ButtonFace;
66 .calendar thead .weekend { /* How a weekend day name shows in header */
70 .calendar thead .hilite { /* How do the buttons in header appear when hover */
73 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
76 .calendar thead .active { /* Active (pressed) buttons in header */
78 padding: 2px 0px 0px 2px;
79 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
82 /* The body part -- contains all the days in month. */
84 .calendar tbody .day { /* Cells <TD> containing month days dates */
87 padding: 2px 4px 2px 2px;
89 .calendar tbody .day.othermonth {
93 .calendar tbody .day.othermonth.oweekend {
98 padding: 2px 3px 2px 2px;
99 border-right: 1px solid ButtonShadow;
100 background: ButtonFace;
104 .calendar tbody .rowhilite td {
105 // background: Highlight;
106 // color: HighlightText;
109 .calendar tbody td.hilite { /* Hovered cells <TD> */
110 padding: 1px 3px 1px 1px;
111 border-top: 1px solid #fff;
112 border-right: 1px solid #000;
113 border-bottom: 1px solid #000;
114 border-left: 1px solid #fff;
117 .calendar tbody td.active { /* Active (pressed) cells <TD> */
118 // padding: 2px 2px 0px 2px;
119 // border: 1px solid;
120 // border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
123 .calendar tbody td.selected { /* Cell showing selected date */
126 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
127 padding: 2px 2px 0px 2px;
128 background: ButtonFace;
132 .calendar tbody td.weekend { /* Cells showing weekend days */
136 .calendar tbody td.today { /* Cell showing today date */
141 .calendar tbody td.disabled { color: GrayText; }
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> */
157 background: ButtonFace;
160 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
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) */
192 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
199 .calendar .combo .label,
200 .calendar .combo .label-IEfix {
205 .calendar .combo .label-IEfix {
209 .calendar .combo .active {
211 border: 1px solid #000;
214 .calendar .combo .hilite {
215 background: Highlight;
216 color: HighlightText;
220 border-top: 1px solid ButtonShadow;
223 background-color: ButtonFace;
226 .calendar td.time .hour,
227 .calendar td.time .minute,
228 .calendar td.time .ampm {
229 padding: 0px 3px 0px 4px;
230 border: 1px solid #889;
232 background-color: Menu;
235 .calendar td.time .ampm {
239 .calendar td.time .colon {
240 padding: 0px 2px 0px 3px;
244 .calendar td.time span.hilite {
246 background-color: Highlight;
247 color: HighlightText;
250 .calendar td.time span.active {
252 background-color: #000;