ed638c46006896cc189372447cda9f0ba02b999d
1 /* The main calendar widget. DIV containing a table. */
3 div
.calendar
{ position: relative
; }
5 .calendar, .calendar table {
6 border: 1px solid
#655;
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: #edc 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 .name { /* Cells <TD> containing the day names */
39 border-bottom: 1px solid
#655;
45 .calendar thead .weekend { /* How a weekend day name shows in header */
49 .calendar thead .hilite { /* How do the buttons in header appear when hover */
50 background-color: #faa;
52 border: 1px solid
#f40;
56 .calendar thead .active { /* Active (pressed) buttons in header */
57 background-color: #c77;
58 padding: 2px 0px 0px 2px;
61 .calendar thead .daynames { /* Row <TR> containing the day names */
65 /* The body part -- contains all the days in month. */
67 .calendar tbody .day { /* Cells <TD> containing month days dates */
70 padding: 2px 4px 2px 2px;
72 .calendar tbody .day.othermonth {
76 .calendar tbody .day.othermonth.oweekend {
81 padding: 2px 3px 2px 2px;
82 border-right: 1px solid
#000;
86 .calendar tbody .rowhilite td {
90 .calendar tbody .rowhilite td.wn {
94 .calendar tbody td.hilite { /* Hovered cells <TD> */
96 padding: 1px 3px 1px 1px;
97 border: 1px solid
#bbb;
100 .calendar tbody td.active { /* Active (pressed) cells <TD> */
102 padding: 2px 2px 0px 2px;
105 .calendar tbody td.selected { /* Cell showing today date */
107 border: 1px solid
#000;
108 padding: 1px 3px 1px 1px;
112 .calendar tbody td.weekend { /* Cells showing weekend days */
116 .calendar tbody td.today { font-weight: bold
; }
118 .calendar tbody .disabled { color: #999; }
120 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
124 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
128 /* The footer part -- status bar and "Close" button */
130 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
136 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
137 border-top: 1px solid
#655;
142 .calendar tfoot .hilite { /* Hover style for buttons in footer */
144 border: 1px solid
#f40;
148 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
150 padding: 2px 0px 0px 2px;
153 /* Combo boxes (menus that display months/years for direct selection) */
162 border: 1px solid
#655;
168 .calendar
.combo
.label
,
169 .calendar .combo .label-IEfix {
174 .calendar .combo .label-IEfix {
178 .calendar .combo .hilite {
182 .calendar .combo .active {
183 border-top: 1px solid
#a64;
184 border-bottom: 1px solid
#a64;
190 border-top: 1px solid
#a88;
193 background-color: #fed;
196 .calendar td
.time
.hour
,
197 .calendar td
.time
.minute
,
198 .calendar td.time .ampm {
199 padding: 0px 3px 0px 4px;
200 border: 1px solid
#988;
202 background-color: #fff;
205 .calendar td.time .ampm {
209 .calendar td.time .colon {
210 padding: 0px 2px 0px 3px;
214 .calendar td.time span.hilite {
216 background-color: #866;
220 .calendar td.time span.active {
222 background-color: #000;