/* The main calendar widget. DIV containing a table. */
div.calendar { position: relative; }
.calendar {
border: 1px solid #DDDDDD;
font-size: 11px;
color: #000000;
cursor: default;
font-family: tahoma,verdana,sans-serif;
background: #FFFFFF;
}
.calendar table {
border: 1px solid #DDDDDD;
font-size: 11px;
color: #000000;
cursor: default;
font-family: tahoma,verdana,sans-serif;
}
/* Header part -- contains navigation buttons and day names. */
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
text-align: center; /* They are the navigation buttons */
padding: 2px; /* Make the buttons seem like they're pressing */
}
.calendar thead .title { /* This holds the current "month, year" */
font-weight: bold; /* Pressing it will take you to the current date */
text-align: center;
background: #DDDDDD;
color: #4D5380;
padding: 2px;
}
.calendar thead .headrow { /* Row
containing navigation buttons */
background: #FFFFFF;
color: #4D5380;
}
.calendar thead .daynames { /* Row
containing the day names */
background: #4D5380;
}
.calendar thead .name { /* Cells | containing the day names */
border-bottom: 1px solid #4D5380;
padding: 2px;
text-align: center;
color: #FFFFFF;
}
.calendar thead .weekend { /* How a weekend day name shows in header */
color: ;
font-weight: bold;
}
.calendar thead .hilite { /* How do the buttons in header appear when hover */
background: #FFFFFF;
color: #4D5380;
border: 1px solid #4D5380;
padding: 1px;
}
.calendar thead .active { /* Active (pressed) buttons in header */
background: #FFFFFF;
padding: 2px 0px 0px 2px;
}
/* The body part -- contains all the days in month. */
.calendar tbody .day { /* Cells | containing month days dates */
background: #FFFFFF;
width: 2em;
color: #4D5380;
text-align: right;
padding: 2px 4px 2px 2px;
}
.calendar tbody .hilite { /* Hovered cells | */
background: #FFFFFF;
padding: 1px 3px 1px 1px;
border: 1px solid #bbbbbb;
}
.calendar tbody .active { /* Active (pressed) cells | */
background: #DDDDDD;
padding: 2px 2px 0px 2px;
}
.calendar tbody .selected { /* Cell showing today date */
font-weight: bold;
border: 1px solid #000000;
padding: 1px 3px 1px 1px;
background: #ffffff;
color: #000000;
}
.calendar tbody .weekend { /* Cells showing weekend days */
color: #aa6666;
}
.calendar tbody .today { /* Cell showing selected date */
font-weight: bold;
color: #4D5380;
}
.calendar tbody .disabled { color: #999999; }
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
visibility: hidden;
}
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
display: none;
}
/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow { /* The |
in footer (only one right now) */
text-align: center;
background: #FFFFFF;
color: #fff;
}
.calendar tfoot .ttip { /* Tooltip (status bar) cell | */
background: #FFFFFF;
color: #4D5380;
border-top: 1px solid #DDDDDD;
padding: 1px;
}
.calendar tfoot .hilite { /* Hover style for buttons in footer */
background: #FFFFFF;
border: 1px solid #BBBBBB;
color: #BBBBBB;
padding: 1px;
}
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
background: #77c;
padding: 2px 0px 0px 2px;
}
/* Combo boxes (menus that display months/years for direct selection) */
.combo {
position: absolute;
display: none;
top: 0px;
left: 0px;
width: 4em;
cursor: default;
border: 1px solid #655;
background: #FFFFFF;
color: #000;
font-size: smaller;
}
.combo .label {
width: 100%;
text-align: center;
}
.combo .hilite {
background: #DDDDDD;
}
.combo .active {
border-top: 1px solid #4D5380;
border-bottom: 1px solid #4D5380;
background: #4D5380;
font-weight: bold;
color: #FFFFFF;
}
|