我已将css应用于datepicker的主题,在FireFox和chrome上看起来不错,但是在iPhone的Safari中,颜色看起来像是倒过来的?
.ui-datepicker th {
width: 51px;
padding: 1.7em 0px;
}
.ui-datepicker .ui-state-default, .ui-widget-content .ui-state-default {
border: none;
background: none;
text-align: center;
}
.ui-datepicker .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
background: #ffc05e;
color: #777620;
}
.ui-datepicker .ui-state-active {
background: #00559e !important;
color: #fff !important;
}
.ui-datepicker .ui-widget-header {
border: 1px solid #dddddd;
background: #f58220;
color: #fff;
}