98 lines
2.0 KiB
CSS
98 lines
2.0 KiB
CSS
table.calendar {
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-size: 0.8em;
|
|
border-collapse: collapse;
|
|
background-color: white;
|
|
border: solid #999999 1px;
|
|
width: 200px;
|
|
z-index:10000;
|
|
text-align: center;
|
|
/*prevent user from selecting text in Mozilla & Safari - check calendar constructor for IE code)*/
|
|
-moz-user-select: none;
|
|
/*-khtml-user-select: none;*/
|
|
}
|
|
table.calendar input {
|
|
font-size: 10px;
|
|
width:35px;
|
|
padding: 0;
|
|
}
|
|
table.calendar select {
|
|
font-size: 10px;
|
|
width:50px;
|
|
padding: 0;
|
|
}
|
|
table.calendar td {
|
|
border: 0;
|
|
font-size: 10px;
|
|
text-align: center;
|
|
padding: 1px;
|
|
}
|
|
div.mainheading {
|
|
margin: 2px;
|
|
}
|
|
table.caldayheading {
|
|
border-collapse: collapse;
|
|
cursor: pointer;
|
|
empty-cells: show;
|
|
margin: 0 6px 0 6px;
|
|
background-color: white;
|
|
}
|
|
table.caldayheading td {
|
|
border: solid #CCCCCC 1px;
|
|
text-align: left;
|
|
color: #0054E3;
|
|
font-weight: bold;
|
|
width: 22px; /*should match calendar cell's width*/
|
|
}
|
|
table.caldayheading td.wkhead {
|
|
border-right: double #CCCCCC 3px;
|
|
}
|
|
table.calcells {
|
|
border-collapse: collapse;
|
|
cursor: pointer;
|
|
margin: 0 6px 0 6px;
|
|
}
|
|
table.calcells td {
|
|
border: solid #CCCCCC 1px;
|
|
vertical-align: top;
|
|
text-align: left;
|
|
font-weight: bold;
|
|
width: 22px;
|
|
height: 20px; /*IE doesn't like ems*/
|
|
}
|
|
table.calcells td div {
|
|
padding: 1px;
|
|
margin: 0;
|
|
}
|
|
table.calcells td.wkhead {
|
|
background-color: white;
|
|
text-align: center;
|
|
border-right: double #CCCCCC 3px;
|
|
color: #0054E3;
|
|
}
|
|
table.calcells td.wkday {
|
|
background-color: #DDDDDD;
|
|
}
|
|
table.calcells td.wkend {
|
|
background-color: #DDDDDD;
|
|
}
|
|
table.calcells td.curdate {
|
|
|
|
}
|
|
table.calcells td.cell_selected {
|
|
background-color: #99CCFF;
|
|
color: black;
|
|
}
|
|
table.calcells td.notmnth {
|
|
background-color: #FFFFFF;
|
|
color: #CCCCCC;
|
|
}
|
|
table.calcells td.notallowed {
|
|
background-color: white;
|
|
color: #EEEEEE;
|
|
font-style: italic;
|
|
}
|
|
table.calcells td.hover {
|
|
background-color: #999999;
|
|
}
|