1
/* Distributed as part of The Coolest DHTML Calendar
2
Author: Mihai Bazon, www.bazon.net/mishoo
3
Copyright Dynarch.com 2005, www.dynarch.com
4
*/ /* The main calendar widget. DIV containing a table. */
9
.calendar,.calendar table {
10
border: 1px solid #bdb2bf;
14
background: url("normal-bg.gif");
15
font-family: "trebuchet ms", verdana, tahoma, sans-serif;
19
border-color: #797979;
22
/* Header part -- contains navigation buttons and day names. */
23
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
24
text-align: center; /* They are the navigation buttons */
25
padding: 2px; /* Make the buttons seem like they're pressing */
26
background: url("title-bg.gif") repeat-x 0 100%;
32
font-family: verdana, tahoma, sans-serif;
36
background: transparent url("menuarrow.gif") no-repeat 100% 100%;
40
background: url("title-bg.gif") repeat-x 0 100%;
44
.calendar thead .title { /* This holds the current "month, year" */
45
font-weight: bold; /* Pressing it will take you to the current date */
48
background: url("title-bg.gif") repeat-x 0 100%;
52
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
56
.calendar thead .name { /* Cells <TD> containing the day names */
57
border-bottom: 1px solid #797979;
63
.calendar thead .weekend { /* How a weekend day name shows in header */
67
.calendar thead .hilite {
68
/* How do the buttons in header appear when hover */
69
background: url("hover-bg.gif");
70
border-bottom: 1px solid #797979;
71
padding: 2px 2px 1px 2px;
74
.calendar thead .active { /* Active (pressed) buttons in header */
75
background: url("active-bg.gif");
77
padding: 3px 1px 0px 3px;
78
border-bottom: 1px solid #797979;
81
.calendar thead .daynames { /* Row <TR> containing the day names */
82
background: url("dark-bg.gif");
85
/* The body part -- contains all the days in month. */
86
.calendar tbody .day { /* Cells <TD> containing month days dates */
87
font-family: verdana, tahoma, sans-serif;
91
padding: 2px 4px 2px 2px;
94
.calendar tbody .day.othermonth {
99
.calendar tbody .day.othermonth.oweekend {
103
.calendar table .wn {
104
padding: 2px 3px 2px 2px;
105
border-right: 1px solid #797979;
106
background: url("dark-bg.gif");
109
.calendar tbody .rowhilite td,.calendar tbody .rowhilite td.wn {
110
background: url("rowhover-bg.gif");
113
.calendar tbody td.today {
115
/* background: url("today-bg.gif") no-repeat 70% 50%; */
118
.calendar tbody td.hilite { /* Hovered cells <TD> */
119
background: url("hover-bg.gif");
120
padding: 1px 3px 1px 1px;
121
border: 1px solid #bbb;
124
.calendar tbody td.active { /* Active (pressed) cells <TD> */
125
padding: 2px 2px 0px 2px;
128
.calendar tbody td.weekend { /* Cells showing weekend days */
132
.calendar tbody td.selected { /* Cell showing selected date */
134
border: 1px solid #797979;
135
padding: 1px 3px 1px 1px;
136
background: url("active-bg.gif");
140
.calendar tbody .disabled {
144
.calendar tbody .emptycell {
145
/* Empty cells (the best is to hide them) */
149
.calendar tbody .emptyrow {
150
/* Empty row (some months need less than 6 rows) */
154
/* The footer part -- status bar and "Close" button */
155
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
161
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
163
background: url("status-bg.gif") repeat-x 0 0;
167
.calendar tfoot .hilite { /* Hover style for buttons in footer */
169
border: 1px solid #084;
174
.calendar tfoot .active {
175
/* Active (pressed) style for buttons in footer */
177
padding: 2px 0px 0px 2px;
180
/* Combo boxes (menus that display months/years for direct selection) */
188
border-width: 0 1px 1px 1px;
190
border-color: #797979;
191
background: url("normal-bg.gif");
197
.calendar .combo .label,.calendar .combo .label-IEfix {
202
.calendar .combo .label-IEfix {
206
.calendar .combo .hilite {
207
background: url("hover-bg.gif");
211
.calendar .combo .active {
212
background: url("active-bg.gif");
218
border-top: 1px solid #797979;
221
background: url("dark-bg.gif");
224
.calendar td.time .hour,.calendar td.time .minute,.calendar td.time .ampm
226
padding: 0px 5px 0px 6px;
228
background: url("normal-bg.gif");
232
.calendar td.time .hour,.calendar td.time .minute {
233
font-family: monospace;
236
.calendar td.time .ampm {
240
.calendar td.time .colon {
241
padding: 0px 2px 0px 3px;
245
.calendar td.time span.hilite {
246
background: url("hover-bg.gif");
250
.calendar td.time span.active {
251
background: url("active-bg.gif");
b'\\ No newline at end of file'