1 . Ui-datepicker-trigger{2 Background-position-x:-32px;3 background-position-y:-176px;4 Height:30px;width:34px;5 cursor:Pointer;6}7 8 9 . Form-control{Ten width:100%; One Height:34px; A padding:6px 12px; - font-size:14px; - Line-height:1.42857143; the Color:#555; - Background-color:#fff; - Background-image:None; - Border:1px solid #ccc; + Border-radius:4px; - -webkit-box-shadow:inset 0 1px 1px rgba (0, 0, 0,. 075); + Box-shadow:inset 0 1px 1px rgba (0, 0, 0,. 075); A -webkit-transition:Border-color ease-in-out. 15s,-webkit-box-shadow ease-in-out. 15s; at -o-transition:Border-color ease-in-out. 15s, Box-shadow ease-in-out. 15s; - transition:Border-color ease-in-out. 15s, Box-shadow ease-in-out. 15s; -} - - . K-datepicker{ - width:100%; in} - to . Ui-datepicker. Ui-datepicker-title Select{ + font-size:12px; -} the * . Ui-datepicker Table{ $ font-size:12px;Panax Notoginseng} - the . Form-control{ + Display:Inline-block; A width:100%; the} + - . Ui-datepicker-trigger{ $ Background-position-x:-32px; $ background-position-y:-176px; - Height:30px; - width:34px; the cursor:Pointer; -}Wuyi the - /*CSS for Timepicker*/ Wu . Ui-timepicker-div. Ui-widget-header{Margin-bottom:8px; } - . Ui-timepicker-div DL{text-align: Left; } About . ui-timepicker-div DL DT{float: Left;Clear: Left;padding:0 0 0 5px; } $ . Ui-timepicker-div DL DD{margin:0 10px 10px 45%; } - . Ui-timepicker-div TD{font-size:90%; } - . Ui-tpicker-grid-label{background:None;Border:None;margin:0;padding:0; } - A . Ui-timepicker-rtl{direction:RTL; } + . Ui-timepicker-rtl DL{text-align: Right;padding:0 5px 0 0; } the . UI-TIMEPICKER-RTL DL DT{float: Right;Clear: Right; } - . UI-TIMEPICKER-RTL DL DD{margin:0 45% 10px 10px; }
CSS Code
1$ (' #EffectiveStartTime '). DatePicker (2 {3Changemonth:true,4Changeyear:true,5Showon: ' button ',6 DateFormat:DefaultValues.ShortDateFormat,7Buttonimage: ' @Url. Content ("~/content/img/calendar.png") ',8Buttonimageonly:true,9ButtonText: ' Select date ',TenDuration: ' Slow ', OneShowothermonths:true, ASelectothermonths:true - }) -$ (' #EffectiveEndTime '). DatePicker ( the { -Changemonth:true, -Changeyear:true, -Showon: ' button ', + DateFormat:DefaultValues.ShortDateFormat, -Buttonimage: ' @Url. Content ("~/content/img/calendar.png") ', +Buttonimageonly:true, AButtonText: ' Select date ', atDuration: ' Slow ', -Showothermonths:true, -Selectothermonths:true -})
Javascript Code
DatePicker Alternate CSS