b43ce57d370792c0f422ecb6ac8e3e753cc8569b
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. */
31 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
34 border-top: 1px solid
#fff;
35 border-right: 1px solid
#000;
36 border-bottom: 1px solid
#000;
37 border-left: 1px solid
#fff;
41 background: transparent url
(menuarrow.gif) no-repeat
100% 100%;
44 .calendar thead .title { /* This holds the current "month, year" */
47 border: 1px solid
#000;
53 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
56 .calendar thead .daynames { /* Row <TR> containing the day names */
59 .calendar thead .name { /* Cells <TD> containing the day names */
60 border-bottom: 1px solid
#000;
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 */
71 border-top: 2px solid
#fff;
72 border-right: 2px solid
#000;
73 border-bottom: 2px solid
#000;
74 border-left: 2px solid
#fff;
76 background-color: #d8e4e0;
79 .calendar thead .active { /* Active (pressed) buttons in header */
80 padding: 2px 0px 0px 2px;
81 border-top: 1px solid
#000;
82 border-right: 1px solid
#fff;
83 border-bottom: 1px solid
#fff;
84 border-left: 1px solid
#000;
85 background-color: #b8c4c0;
88 /* The body part -- contains all the days in month. */
90 .calendar tbody .day { /* Cells <TD> containing month days dates */
93 padding: 2px 4px 2px 2px;
95 .calendar tbody .day.othermonth {
99 .calendar tbody .day.othermonth.oweekend {
103 .calendar table .wn {
104 padding: 2px 3px 2px 2px;
105 border-right: 1px solid
#000;
109 .calendar tbody .rowhilite td {
113 .calendar tbody .rowhilite td.wn {
117 .calendar tbody td.hilite { /* Hovered cells <TD> */
118 padding: 1px 3px 1px 1px;
119 border-top: 1px solid
#fff;
120 border-right: 1px solid
#000;
121 border-bottom: 1px solid
#000;
122 border-left: 1px solid
#fff;
125 .calendar tbody td.active { /* Active (pressed) cells <TD> */
126 padding: 2px 2px 0px 2px;
127 border-top: 1px solid
#000;
128 border-right: 1px solid
#fff;
129 border-bottom: 1px solid
#fff;
130 border-left: 1px solid
#000;
133 .calendar tbody td.selected { /* Cell showing selected date */
135 border-top: 1px solid
#000;
136 border-right: 1px solid
#fff;
137 border-bottom: 1px solid
#fff;
138 border-left: 1px solid
#000;
139 padding: 2px 2px 0px 2px;
143 .calendar tbody td.weekend { /* Cells showing weekend days */
147 .calendar tbody td.today { /* Cell showing today date */
152 .calendar tbody .disabled { color: #999; }
154 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
158 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
162 /* The footer part -- status bar and "Close" button */
164 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
167 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
170 border: 1px solid
#000;
176 .calendar tfoot .hilite { /* Hover style for buttons in footer */
177 border-top: 1px solid
#fff;
178 border-right: 1px solid
#000;
179 border-bottom: 1px solid
#000;
180 border-left: 1px solid
#fff;
185 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
186 padding: 2px 0px 0px 2px;
187 border-top: 1px solid
#000;
188 border-right: 1px solid
#fff;
189 border-bottom: 1px solid
#fff;
190 border-left: 1px solid
#000;
193 /* Combo boxes (menus that display months/years for direct selection) */
202 border-top: 1px solid
#fff;
203 border-right: 1px solid
#000;
204 border-bottom: 1px solid
#000;
205 border-left: 1px solid
#fff;
211 .calendar
.combo
.label
,
212 .calendar .combo .label-IEfix {
217 .calendar .combo .label-IEfix {
221 .calendar .combo .active {
224 border-top: 1px solid
#000;
225 border-right: 1px solid
#fff;
226 border-bottom: 1px solid
#fff;
227 border-left: 1px solid
#000;
230 .calendar .combo .hilite {
236 border-top: 1px solid
#000;
239 background-color: #e8f0f4;
242 .calendar td
.time
.hour
,
243 .calendar td
.time
.minute
,
244 .calendar td.time .ampm {
245 padding: 0px 3px 0px 4px;
246 border: 1px solid
#889;
248 background-color: #fff;
251 .calendar td.time .ampm {
255 .calendar td.time .colon {
256 padding: 0px 2px 0px 3px;
260 .calendar td.time span.hilite {
262 background-color: #667;
266 .calendar td.time span.active {
268 background-color: #000;