1 /* The main calendar widget. DIV containing a table. */
7 border-color: #fff #000 #000 #fff;
12 font-family: tahoma
,verdana
,sans-serif
;
17 border-color: #fff #000 #000 #fff;
22 font-family: tahoma
,verdana
,sans-serif
;
25 /* Header part -- contains navigation buttons and day names. */
27 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
31 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight
;
32 background: ButtonFace
;
36 background: ButtonFace url
(menuarrow.gif) no-repeat
100% 100%;
39 .calendar thead .title { /* This holds the current "month, year" */
42 border: 1px solid
#000;
43 background: ActiveCaption
;
48 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
51 .calendar thead .daynames { /* Row <TR> containing the day names */
54 .calendar thead .name { /* Cells <TD> containing the day names */
55 border-bottom: 1px solid ButtonShadow
;
58 background: ButtonFace
;
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 */
69 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight
;
72 .calendar thead .active { /* Active (pressed) buttons in header */
74 padding: 2px 0px 0px 2px;
75 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow
;
78 /* The body part -- contains all the days in month. */
80 .calendar tbody .day { /* Cells <TD> containing month days dates */
83 padding: 2px 4px 2px 2px;
85 .calendar tbody .day.othermonth {
89 .calendar tbody .day.othermonth.oweekend {
94 padding: 2px 3px 2px 2px;
95 border-right: 1px solid ButtonShadow
;
96 background: ButtonFace
;
100 .calendar tbody .rowhilite td {
101 background: Highlight
;
102 color: HighlightText
;
105 .calendar tbody td.hilite { /* Hovered cells <TD> */
106 padding: 1px 3px 1px 1px;
107 border-top: 1px solid
#fff;
108 border-right: 1px solid
#000;
109 border-bottom: 1px solid
#000;
110 border-left: 1px solid
#fff;
113 .calendar tbody td.active { /* Active (pressed) cells <TD> */
114 padding: 2px 2px 0px 2px;
116 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow
;
119 .calendar tbody td.selected { /* Cell showing selected date */
122 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow
;
123 padding: 2px 2px 0px 2px;
124 background: ButtonFace
;
128 .calendar tbody td.weekend { /* Cells showing weekend days */
132 .calendar tbody td.today { /* Cell showing today date */
137 .calendar tbody td.disabled { color: GrayText
; }
139 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
143 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
147 /* The footer part -- status bar and "Close" button */
149 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
152 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
153 background: ButtonFace
;
156 border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow
;
161 .calendar tfoot .hilite { /* Hover style for buttons in footer */
162 border-top: 1px solid
#fff;
163 border-right: 1px solid
#000;
164 border-bottom: 1px solid
#000;
165 border-left: 1px solid
#fff;
170 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
171 padding: 2px 0px 0px 2px;
172 border-top: 1px solid
#000;
173 border-right: 1px solid
#fff;
174 border-bottom: 1px solid
#fff;
175 border-left: 1px solid
#000;
178 /* Combo boxes (menus that display months/years for direct selection) */
188 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight
;
195 .calendar
.combo
.label
,
196 .calendar .combo .label-IEfix {
201 .calendar .combo .label-IEfix {
205 .calendar .combo .active {
207 border: 1px solid
#000;
210 .calendar .combo .hilite {
211 background: Highlight
;
212 color: HighlightText
;
216 border-top: 1px solid ButtonShadow
;
219 background-color: ButtonFace
;
222 .calendar td
.time
.hour
,
223 .calendar td
.time
.minute
,
224 .calendar td.time .ampm {
225 padding: 0px 3px 0px 4px;
226 border: 1px solid
#889;
228 background-color: Menu
;
231 .calendar td.time .ampm {
235 .calendar td.time .colon {
236 padding: 0px 2px 0px 3px;
240 .calendar td.time span.hilite {
242 background-color: Highlight
;
243 color: HighlightText
;
246 .calendar td.time span.active {
248 background-color: #000;