1 /* The main calendar widget. DIV containing a table. */
5 vertical-align: middle
;
9 div
.calendar
{ position: relative
; z-index: 30;}
11 div
.calendar
, div
.calendar table
{
12 border: 1px solid
#556;
17 font-family: tahoma
,verdana
,sans-serif
;
20 /* Header part -- contains navigation buttons and day names. */
22 div
.calendar
.button
{ /* "<<", "<", ">", ">>" buttons have this class */
23 text-align: center
; /* They are the navigation buttons */
24 padding: 2px; /* Make the buttons seem like they're pressing */
31 div
.calendar thead
.title
{ /* This holds the current "month, year" */
32 font-weight: bold
; /* Pressing it will take you to the current date */
39 div
.calendar thead
.headrow
{ /* Row <TR> containing navigation buttons */
44 div
.calendar thead
.daynames
{ /* Row <TR> containing the day names */
48 div
.calendar thead
.name
{ /* Cells <TD> containing the day names */
49 border-bottom: 1px solid
#556;
55 div
.calendar thead
.weekend
{ /* How a weekend day name shows in header */
59 div
.calendar thead
.hilite
{ /* How do the buttons in header appear when hover */
60 background-color: #80b0da;
65 div
.calendar thead
.active
{ /* Active (pressed) buttons in header */
66 background-color: #77c;
67 padding: 2px 0px 0px 2px;
70 /* The body part -- contains all the days in month. */
72 div
.calendar tbody
.day
{ /* Cells <TD> containing month days dates */
76 padding: 2px 4px 2px 2px;
78 div
.calendar tbody
.day
.othermonth
{
82 div
.calendar tbody
.day
.othermonth
.oweekend
{
86 div
.calendar table
.wn
{
87 padding: 2px 3px 2px 2px;
88 border-right: 1px solid
#000;
92 div
.calendar tbody
.rowhilite td
{
96 div
.calendar tbody
.rowhilite td
.wn
{
100 div
.calendar tbody td
.hilite
{ /* Hovered cells <TD> */
102 padding: 1px 3px 1px 1px;
103 border: 1px solid
#bbb;
106 div
.calendar tbody td
.active
{ /* Active (pressed) cells <TD> */
108 padding: 2px 2px 0px 2px;
111 div
.calendar tbody td
.selected
{ /* Cell showing today date */
113 border: 1px solid
#000;
114 padding: 1px 3px 1px 1px;
119 div
.calendar tbody td
.weekend
{ /* Cells showing weekend days */
123 div
.calendar tbody td
.today
{ /* Cell showing selected date */
128 div
.calendar tbody
.disabled
{ color: #999; }
130 div
.calendar tbody
.emptycell
{ /* Empty cells (the best is to hide them) */
134 div
.calendar tbody
.emptyrow
{ /* Empty row (some months need less than 6 rows) */
138 /* The footer part -- status bar and "Close" button */
140 div
.calendar tfoot
.footrow
{ /* The <TR> in footer (only one right now) */
146 div
.calendar tfoot
.ttip
{ /* Tooltip (status bar) cell <TD> */
149 border-top: 1px solid
#556;
153 div
.calendar tfoot
.hilite
{ /* Hover style for buttons in footer */
155 border: 1px solid
#04f;
160 div
.calendar tfoot
.active
{ /* Active (pressed) style for buttons in footer */
162 padding: 2px 0px 0px 2px;
165 /* Combo boxes (menus that display months/years for direct selection) */
167 div
.calendar
.combo
{
174 border: 1px solid
#655;
181 div
.calendar
.combo
.label
,
182 div
.calendar
.combo
.label-IEfix
{
187 div
.calendar
.combo
.label-IEfix
{
191 div
.calendar
.combo
.hilite
{
195 div
.calendar
.combo
.active
{
196 border-top: 1px solid
#46a;
197 border-bottom: 1px solid
#46a;
202 div
.calendar td
.time
{
203 border-top: 1px solid
#000;
206 background-color: #f4f0e8;
209 div
.calendar td
.time
.hour
,
210 div
.calendar td
.time
.minute
,
211 div
.calendar td
.time
.ampm
{
212 padding: 0px 3px 0px 4px;
213 border: 1px solid
#889;
215 background-color: #fff;
218 div
.calendar td
.time
.ampm
{
222 div
.calendar td
.time
.colon
{
223 padding: 0px 2px 0px 3px;
227 div
.calendar td
.time span
.hilite
{
229 background-color: #667;
233 div
.calendar td
.time span
.active
{
235 background-color: #000;