c336e714899fd79f9bc44da1bfa01f60adbdca12
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
;
13 progid:DXImageTransform
.Microsoft
.Gradient
(GradientType
=0,StartColorStr
=#DDDCCC,EndColorStr
=#FFFFFF);
16 /* Header part -- contains navigation buttons and day names. */
18 .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
19 text-align: center
; /* They are the navigation buttons */
20 padding: 2px; /* Make the buttons seem like they're pressing */
25 background: #edc url
(menuarrow.gif) no-repeat
100% 100%;
28 .calendar thead .title { /* This holds the current "month, year" */
29 font-weight: bold
; /* Pressing it will take you to the current date */
35 progid:DXImageTransform
.Microsoft
.Gradient
(GradientType
=0,StartColorStr
=#ffffff,EndColorStr
=#dddccc);
38 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
39 /*background: #3B86A0;*/
43 progid:DXImageTransform
.Microsoft
.Gradient
(GradientType
=0,StartColorStr
=#ffffff,EndColorStr
=#3b86a0);
46 .calendar thead .name { /* Cells <TD> containing the day names */
47 border-bottom: 1px solid
#655;
52 progid:DXImageTransform
.Microsoft
.Gradient
(GradientType
=0,StartColorStr
=#DDDCCC,EndColorStr
=#FFFFFF);
55 .calendar thead .weekend { /* How a weekend day name shows in header */
59 .calendar thead .hilite { /* How do the buttons in header appear when hover */
60 background-color: #ffcc86;
62 border: 1px solid
#b59345;
66 .calendar thead .active { /* Active (pressed) buttons in header */
67 background-color: #c77;
68 padding: 2px 0px 0px 2px;
71 .calendar thead .daynames { /* Row <TR> containing the day names */
75 /* The body part -- contains all the days in month. */
77 .calendar tbody .day { /* Cells <TD> containing month days dates */
80 padding: 2px 4px 2px 2px;
82 .calendar tbody .day.othermonth {
86 .calendar tbody .day.othermonth.oweekend {
91 padding: 2px 3px 2px 2px;
92 border-right: 1px solid
#000;
96 .calendar tbody .rowhilite td {
101 .calendar tbody .rowhilite td.wn {
105 .calendar tbody td.hilite { /* Hovered cells <TD> */
107 padding: 1px 3px 1px 1px;
108 border: 1px solid
#bbb;
111 .calendar tbody td.active { /* Active (pressed) cells <TD> */
113 padding: 2px 2px 0px 2px;
116 .calendar tbody td.selected { /* Cell showing today date */
118 border: 1px solid
#000;
119 padding: 1px 3px 1px 1px;
123 .calendar tbody td.weekend { /* Cells showing weekend days */
127 .calendar tbody td.today { font-weight: bold
; }
129 .calendar tbody .disabled { color: #999; }
131 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
135 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
139 /* The footer part -- status bar and "Close" button */
141 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
148 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
149 border-top: 1px solid
#655;
154 progid:DXImageTransform
.Microsoft
.Gradient
(GradientType
=0,StartColorStr
=#FFFFFF,EndColorStr
=#DDDCCC);
156 .calendar tfoot .hilite { /* Hover style for buttons in footer */
158 border: 1px solid
#f40;
162 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
164 padding: 2px 0px 0px 2px;
167 /* Combo boxes (menus that display months/years for direct selection) */
176 border: 1px solid
#655;
183 .combo .label-IEfix {
188 .combo .label-IEfix {
197 border-top: 1px solid
#a64;
198 border-bottom: 1px solid
#a64;
204 border-top: 1px solid
#a88;
207 background-color: #fed;
210 .calendar td
.time
.hour
,
211 .calendar td
.time
.minute
,
212 .calendar td.time .ampm {
213 padding: 0px 3px 0px 4px;
214 border: 1px solid
#988;
216 background-color: #fff;
219 .calendar td.time .ampm {
223 .calendar td.time .colon {
224 padding: 0px 2px 0px 3px;
228 .calendar td.time span.hilite {
230 background-color: #866;
234 .calendar td.time span.active {
236 background-color: #000;