DatepickerのiPad最適化サンプル

CSS

/* カレンダー自体を大きく */
.ui-datepicker {
	top: 0 !important;
	left: 0 !important;
	right: 0;
	bottom: 0;
	
	margin: auto;
	
	overflow: hidden;
	
	width: 600px;
	height: 552px;
	
	background: #fff;
	border: 6px solid #ccc;
	border-radius: 12px;
	
	box-shadow: 18px 18px 0 0 rgba(0,0,0,0.1);
}

/* タイトルと矢印 */
.ui-datepicker .ui-datepicker-header {
	padding: 6px;
	
	font-size: 24px;
	
	color: #fff;
	background: #000;
	border-radius: 6px 6px 0 0;
}

/* 矢印 */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	top: auto;
}
.ui-datepicker-prev::after,
.ui-datepicker-next::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	
	margin: auto;
	
	display: block;
	width: 12px;
	height: 12px;
	
	border: 2px solid;
	
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.ui-datepicker-prev::after {
	border-color: transparent transparent #fff #fff;
}
.ui-datepicker-next::after {
	border-color: #fff #fff transparent transparent;
}

/* 曜日 */
.ui-datepicker th {
	padding: 9px 6px;
	
	font-size: 18px;
	font-weight: normal;
	text-align: center;
	
	color: #000;
	border-bottom: 1px solid #000;
}

/* 日付の文字と余白を大きく */
.ui-datepicker td span,
.ui-datepicker td a {
	padding: 18px 6px;
	
	font-size: 18px;
	text-align: center;
	
	color: #333;
	border-radius: 4px;
}

/* 選択中 */
.ui-datepicker td a.ui-state-active {
	color: #fff;
	background: #E71063;
	
	box-shadow: inset 0 0 0 1px #fff;
}

/* 今日 */
.ui-datepicker td a.ui-state-highlight {
	border: 2px solid #E71063;
}

/* ボタンパネル */
.ui-datepicker .ui-datepicker-buttonpane {
	position: absolute;
	left: 3px;
	right: 3px;
	bottom: 3px;
	
	padding: 0;
	
	border-top: 1px solid #000;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	-webkit-appearance: none;
	
	min-width: 60px;
	margin: 3px 0 0;
	padding: 6px;
	
	font-size: 14px;
	
	color: #fff;
	background: #000;
	border: 0 none;
	border-radius: 6px;
}

Javascript

$(function(){
	$('#datepicker').datepicker({'showButtonPanel': true}).datepicker('setDate', 'today');
});