jquery-ui/ui/themes/ui.datepicker.css

207 lines
4.1 KiB
CSS
Raw Normal View History

2008-05-23 09:29:26 +00:00
/* Main Style Sheet for jQuery UI date picker */
#ui-datepicker-div, .ui-datepicker-inline {
2008-05-23 09:29:26 +00:00
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
padding: 0;
margin: 0;
background: #ddd;
width: 185px;
}
#ui-datepicker-div {
2008-05-23 09:29:26 +00:00
display: none;
border: 1px solid #777;
z-index: 9999; /*must have*/
}
.ui-datepicker-inline {
2008-05-23 09:29:26 +00:00
float: left;
display: block;
border: 0;
}
.ui-datepicker-rtl {
2008-05-23 09:29:26 +00:00
direction: rtl;
}
.ui-datepicker-dialog {
2008-05-23 09:29:26 +00:00
padding: 5px !important;
border: 4px ridge #ddd !important;
}
button.ui-datepicker-trigger {
2008-05-23 09:29:26 +00:00
width: 25px;
}
img.ui-datepicker-trigger {
2008-05-23 09:29:26 +00:00
margin: 2px;
vertical-align: middle;
}
.ui-datepicker-prompt {
2008-05-23 09:29:26 +00:00
float: left;
padding: 2px;
background: #ddd;
color: #000;
}
* html .ui-datepicker-prompt {
2008-05-23 09:29:26 +00:00
width: 185px;
}
.ui-datepicker-control, .ui-datepicker-links, .ui-datepicker-header, .ui-datepicker {
2008-05-23 09:29:26 +00:00
clear: both;
float: left;
width: 100%;
color: #fff;
}
.ui-datepicker-control {
2008-05-23 09:29:26 +00:00
background: #400;
padding: 2px 0px;
}
.ui-datepicker-links {
2008-05-23 09:29:26 +00:00
background: #000;
padding: 2px 0px;
}
.ui-datepicker-control, .ui-datepicker-links {
2008-05-23 09:29:26 +00:00
font-weight: bold;
font-size: 80%;
}
.ui-datepicker-links label { /* disabled links */
2008-05-23 09:29:26 +00:00
padding: 2px 5px;
color: #888;
}
.ui-datepicker-clear, .ui-datepicker-prev {
2008-05-23 09:29:26 +00:00
float: left;
width: 34%;
}
.ui-datepicker-rtl .ui-datepicker-clear, .ui-datepicker-rtl .ui-datepicker-prev {
2008-05-23 09:29:26 +00:00
float: right;
text-align: right;
}
.ui-datepicker-current {
2008-05-23 09:29:26 +00:00
float: left;
width: 30%;
text-align: center;
}
.ui-datepicker-close, .ui-datepicker-next {
2008-05-23 09:29:26 +00:00
float: right;
width: 34%;
text-align: right;
}
.ui-datepicker-rtl .ui-datepicker-close, .ui-datepicker-rtl .ui-datepicker-next {
2008-05-23 09:29:26 +00:00
float: left;
text-align: left;
}
.ui-datepicker-header {
2008-05-23 09:29:26 +00:00
padding: 1px 0 3px;
background: #333;
text-align: center;
font-weight: bold;
height: 1.3em;
}
.ui-datepicker-header select {
2008-05-23 09:29:26 +00:00
background: #333;
color: #fff;
border: 0px;
font-weight: bold;
}
.ui-datepicker {
2008-05-23 09:29:26 +00:00
background: #ccc;
text-align: center;
font-size: 100%;
}
.ui-datepicker a {
2008-05-23 09:29:26 +00:00
display: block;
width: 100%;
}
.ui-datepicker-titleRow {
2008-05-23 09:29:26 +00:00
background: #777;
}
.ui-datepicker-daysRow {
2008-05-23 09:29:26 +00:00
background: #eee;
color: #666;
}
.ui-datepicker-weekCol {
2008-05-23 09:29:26 +00:00
background: #777;
color: #fff;
}
.ui-datepicker-daysCell {
2008-05-23 09:29:26 +00:00
color: #000;
border: 1px solid #ddd;
}
.ui-datepicker-daysCell a{
2008-05-23 09:29:26 +00:00
display: block;
}
.ui-datepicker-weekEndCell {
2008-05-23 09:29:26 +00:00
background: #ddd;
}
.ui-datepicker-titleRow .ui-datepicker-weekEndCell {
2008-05-23 09:29:26 +00:00
background: #777;
}
.ui-datepicker-daysCellOver {
2008-05-23 09:29:26 +00:00
background: #fff;
border: 1px solid #777;
}
.ui-datepicker-unselectable {
2008-05-23 09:29:26 +00:00
color: #888;
}
.ui-datepicker-today {
2008-05-23 09:29:26 +00:00
background: #fcc !important;
}
.ui-datepicker-currentDay {
2008-05-23 09:29:26 +00:00
background: #999 !important;
}
.ui-datepicker-status {
2008-05-23 09:29:26 +00:00
background: #ddd;
width: 100%;
font-size: 80%;
text-align: center;
}
/* ________ Datepicker Links _______
** Reset link properties and then override them with !important */
#ui-datepicker-div a, .ui-datepicker-inline a {
2008-05-23 09:29:26 +00:00
cursor: pointer;
margin: 0;
padding: 0;
background: none;
color: #000;
}
.ui-datepicker-inline .ui-datepicker-links a {
2008-05-23 09:29:26 +00:00
padding: 0 5px !important;
}
.ui-datepicker-control a, .ui-datepicker-links a {
2008-05-23 09:29:26 +00:00
padding: 2px 5px !important;
color: #eee !important;
}
.ui-datepicker-titleRow a {
2008-05-23 09:29:26 +00:00
color: #eee !important;
}
.ui-datepicker-control a:hover {
2008-05-23 09:29:26 +00:00
background: #fdd !important;
color: #333 !important;
}
.ui-datepicker-links a:hover, .ui-datepicker-titleRow a:hover {
2008-05-23 09:29:26 +00:00
background: #ddd !important;
color: #333 !important;
}
/* ___________ MULTIPLE MONTHS _________*/
.ui-datepicker-multi .ui-datepicker {
2008-05-23 09:29:26 +00:00
border: 1px solid #777;
}
.ui-datepicker-oneMonth {
2008-05-23 09:29:26 +00:00
float: left;
width: 185px;
}
.ui-datepicker-newRow {
2008-05-23 09:29:26 +00:00
clear: left;
}
/* ___________ IE6 IFRAME FIX ________ */
.ui-datepicker-cover {
2008-05-23 09:29:26 +00:00
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}