datepicker.css 3.12 KB
.ui-datepicker {
width:160px;
height:auto;
font:9pt Arial, sans-serif;
-webkit-box-shadow:0 0 10px 0 rgba(0,0,0,.5);
-moz-box-shadow:0 0 10px 0 rgba(0,0,0,.5);
box-shadow:0 0 10px 0 rgba(0,0,0,.5);
margin:5px auto 0;
}

.ui-datepicker a {
text-decoration:none;
}

.ui-datepicker table {
width:100%;
background-color:#f7f7f7;
}

.ui-datepicker-header {
background:url(../img/dark_leather.png) repeat 0 0 #000;
color:#e0e0e0;
font-weight:700;
-webkit-box-shadow:inset 0 1px 1px 0 rgba(250,250,250,2);
-moz-box-shadow:inset 0 1px 1px 0 rgba(250,250,250,.2);
box-shadow:inset 0 1px 1px 0 rgba(250,250,250,.2);
text-shadow:1px -1px 0 #000;
filter:dropshadow(color=#000,offx=1,offy=-1);
line-height:30px;
border-color:#111;
border-style:solid;
border-width:1px 0 0;
}

.ui-datepicker-title {
text-align:center;
}

.ui-datepicker-prev,.ui-datepicker-next {
display:inline-block;
width:10px;
height:10px;
text-align:center;
cursor:pointer;
background-image:url(../img/arrow.png);
background-repeat:no-repeat;
line-height:600%;
overflow:hidden;
}

.ui-datepicker-prev {
float:left;
background-position:center -30px;
}

.ui-datepicker-next {
float:right;
background-position:center 0;
}

.ui-datepicker thead {
background-color:#f7f7f7;
background-image:linear-gradient(top,#f7f7f70%,#f1f1f1100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7',endColorstr='#f1f1f1',GradientType=0);
border-bottom:1px solid #bbb;
}

.ui-datepicker th {
text-transform:uppercase;
font-size:6pt;
color:#666;
text-shadow:1px 0 0 #fff;
filter:dropshadow(color=#fff,offx=1,offy=0);
padding:4px 0;
}

.ui-datepicker tbody td {
border-right:1px solid #f7f7f7;
background-color:#f7f7f7;
padding:3px;
}

.ui-datepicker tbody td:last-child {
border-right:0;
}

.ui-datepicker tbody tr {
border-bottom:1px solid #f7f7f7;
}

.ui-datepicker tbody tr:last-child {
border-bottom:0;
}

.ui-datepicker td span,.ui-datepicker td a {
display:inline-block;
font-weight:700;
text-align:center;
width:10px;
height:10px;
line-height:10px;
color:#666;
filter:dropshadow(color=#fff,offx=1,offy=1);
}

.ui-datepicker-calendar .ui-state-default {
background:linear-gradient(top,#ededed0%,#dedede100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#dedede',GradientType=0);
-webkit-box-shadow:inset 1px 1px 0 0 rgba(250,250,250,.5);
-moz-box-shadow:inset 1px 1px 0 0 rgba(250,250,250,.5);
box-shadow:inset 1px 1px 0 0 rgba(250,250,250,.5);
}

.ui-datepicker-calendar .ui-state-hover {
background:#f7f7f7;
}

.ui-datepicker-calendar .ui-state-active {
background:#6eafbf;
-webkit-box-shadow:inset 0 0 10px 0 rgba(0,0,0,.1);
-moz-box-shadow:inset 0 0 10px 0 rgba(0,0,0,.1);
box-shadow:inset 0 0 10px 0 rgba(0,0,0,.1);
color:#e0e0e0;
filter:dropshadow(color=#4d7a85,offx=0,offy=1);
border:1px solid;
position:relative;
margin:-1px;
}

.ui-datepicker-unselectable .ui-state-default {
background:#f4f4f4;
color:#b4b3b3;
}

.ui-datepicker-calendar td:first-child .ui-state-active {
width:10px;
margin-left:0;
}

.ui-datepicker-calendar td:last-child .ui-state-active {
width:10px;
margin-right:0;
}

.ui-datepicker-calendar tr:last-child .ui-state-active {
height:10px;
margin-bottom:0;
}