86f260f698cd7b3bd0b9fd6cbce4346a1d087823
1 /* The main calendar widget. DIV containing a table. */
3 div
.calendar
{ position: relative
; }
5 .calendar, .calendar table {
6 border: 1px solid
#556;
11 font-family: tahoma
,verdana
,sans-serif
;
14 /* Header part -- contains navigation buttons and day names. */
16 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
17 text-align: center
; /* They are the navigation buttons */
18 padding: 2px; /* Make the buttons seem like they're pressing */
22 background: #778 url
(menuarrow.gif) no-repeat
100% 100%;
25 .calendar thead .title { /* This holds the current "month, year" */
26 font-weight: bold
; /* Pressing it will take you to the current date */
33 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
38 .calendar thead .daynames { /* Row <TR> containing the day names */
42 .calendar thead .name { /* Cells <TD> containing the day names */
43 border-bottom: 1px solid
#556;
49 .calendar thead .weekend { /* How a weekend day name shows in header */
53 .calendar thead .hilite { /* How do the buttons in header appear when hover */
54 background-color: #aaf;
56 border: 1px solid
#04f;
60 .calendar thead .active { /* Active (pressed) buttons in header */
61 background-color: #77c;
62 padding: 2px 0px 0px 2px;
65 /* The body part -- contains all the days in month. */
67 .calendar tbody .day { /* Cells <TD> containing month days dates */
71 padding: 2px 4px 2px 2px;
73 .calendar tbody .day.othermonth {
77 .calendar tbody .day.othermonth.oweekend {
82 padding: 2px 3px 2px 2px;
83 border-right: 1px solid
#000;
87 .calendar tbody .rowhilite td {
91 .calendar tbody .rowhilite td.wn {
95 .calendar tbody td.hilite { /* Hovered cells <TD> */
97 padding: 1px 3px 1px 1px;
98 border: 1px solid
#bbb;
101 .calendar tbody td.active { /* Active (pressed) cells <TD> */
103 padding: 2px 2px 0px 2px;
106 .calendar tbody td.selected { /* Cell showing today date */
108 border: 1px solid
#000;
109 padding: 1px 3px 1px 1px;
114 .calendar tbody td.weekend { /* Cells showing weekend days */
118 .calendar tbody td.today { /* Cell showing selected date */
123 .calendar tbody .disabled { color: #999; }
125 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
129 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
133 /* The footer part -- status bar and "Close" button */
135 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
141 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
144 border-top: 1px solid
#556;
148 .calendar tfoot .hilite { /* Hover style for buttons in footer */
150 border: 1px solid
#04f;
155 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
157 padding: 2px 0px 0px 2px;
160 /* Combo boxes (menus that display months/years for direct selection) */
169 border: 1px solid
#655;
175 .calendar
.combo
.label
,
176 .calendar .combo .label-IEfix {
181 .calendar .combo .label-IEfix {
185 .calendar .combo .hilite {
189 .calendar .combo .active {
190 border-top: 1px solid
#46a;
191 border-bottom: 1px solid
#46a;
197 border-top: 1px solid
#000;
200 background-color: #f4f0e8;
203 .calendar td
.time
.hour
,
204 .calendar td
.time
.minute
,
205 .calendar td.time .ampm {
206 padding: 0px 3px 0px 4px;
207 border: 1px solid
#889;
209 background-color: #fff;
212 .calendar td.time .ampm {
216 .calendar td.time .colon {
217 padding: 0px 2px 0px 3px;
221 .calendar td.time span.hilite {
223 background-color: #667;
227 .calendar td.time span.active {
229 background-color: #000;