标签:
1.日期控件
参考:http://www.cnblogs.com/hxling/archive/2012/12/12/2814207.html
http://www.wglong.com/main/artical!details?id=11
<link href="css/mobiscroll.custom-2.5.0.min.css" rel="stylesheet" type="text/css" /> <script src="js/mobiscroll.custom-2.5.0.min.js" type="text/javascript"></script> //初始化日期控件 var opt = { preset: ‘date‘, //日期 theme: ‘jqm‘, //皮肤样式 display: ‘modal‘, //显示方式 mode: ‘clickpick‘, //日期选择模式 dateFormat: ‘yy-mm-dd‘, // 日期格式 setText: ‘确定‘, //确认按钮名称 cancelText: ‘取消‘,//取消按钮名籍我 dateOrder: ‘yymmdd‘, //面板中日期排列格式 dayText: ‘日‘, monthText: ‘月‘, yearText: ‘年‘, //面板中年月日文字 endYear:2020 //结束年份 }; $(‘input:jqmData(role="datebox")‘).mobiscroll(opt);
备注:请添加Jquery Mobile基础的JS和CSS引用。
<link href="css/mobiscroll.custom-2.5.0.min.css" rel="stylesheet" type="text/css" />
.dw{position:absolute;top:5%;left:0;z-index:1001;color:#000;font-family:arial,verdana,sans-serif;font-size:12px;text-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-ms-touch-action:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.dwi{position:static;margin:5px;display:inline-block}.dwwr{min-width:170px;zoom:1;padding:0 10px;text-align:center}.dw-persp,.dwo{width:100%;height:100%;position:absolute;top:0;left:0;z-index:1001}.dwo{background:#000;opacity:.7;filter:Alpha(Opacity=70)}.dw-bubble .dw{margin:20px 0}.dw-bubble .dw-arrw{position:absolute;left:0;width:100%}.dw-bubble-top .dw-arrw{bottom:-36px}.dw-bubble-bottom .dw-arrw{top:-36px}.dw-bubble .dw-arrw-i{margin:0 30px;position:relative;height:36px}.dw-bubble .dw-arr{display:block}.dw-arr{display:none;position:absolute;left:0;width:0;height:0;border-width:18px 18px;border-style:solid;margin-left:-18px}.dw-bubble-bottom .dw-arr{top:0;border-color:transparent transparent #fff transparent}.dw-bubble-top .dw-arr{bottom:0;border-color:#fff transparent transparent transparent}.dwc{float:none;margin:0 2px 5px 2px;padding-top:30px;display:inline-block}.dwcc{clear:both}.dwl{text-align:center;line-height:30px;height:30px;white-space:nowrap;position:absolute;top:-30px;width:100%}.dwv{padding:10px 0;border-bottom:1px solid #000}.dwrc{-webkit-border-radius:3px;border-radius:3px}.dwwc{margin:0;padding:0 2px;position:relative;background:#000;zoom:1}.dwwl{margin:4px 2px;position:relative;z-index:5}.dww{margin:0 2px;overflow:hidden;position:relative}.dwsc .dwwl{background:#888;background:linear-gradient(#000 0,#333 35%,#888 50%,#333 65%,#000 100%);background:-webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.35,#333),color-stop(0.50,#888),color-stop(0.65,#333),to(#000));background:-moz-linear-gradient(#000 0,#333 35%,#888 50%,#333 65%,#000 100%);background:-o-linear-gradient(#000 0,#333 35%,#888 50%,#333 65%,#000 100%)}.dwsc .dww{color:#fff;background:#444;background:linear-gradient(#000 0,#444 45%,#444 55%,#000 100%);background:-webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.45,#444),color-stop(0.55,#444),to(#000));background:-moz-linear-gradient(#000 0,#444 45%,#444 55%,#000 100%);background:-o-linear-gradient(#000 0,#444 45%,#444 55%,#000 100%)}.dw-bf{-webkit-perspective:1000;-webkit-backface-visibility:hidden}.dw-ul{position:relative;z-index:2}.dw-li{padding:0 5px;display:block;text-align:center;line-height:40px;font-size:26px;white-space:nowrap;text-shadow:0 1px 1px #000;vertical-align:bottom;opacity:.3;filter:Alpha(Opacity=30)}.dw-li.dw-hl{background:#fff;background:rgba(255,255,255,.3)}.dw-li.dw-v{opacity:1;filter:Alpha(Opacity=100)}.dw-li.dw-h{visibility:hidden}.dw-i{position:relative;height:100%}.dwwb{position:absolute;z-index:4;left:0;cursor:pointer;width:100%;height:40px;text-align:center;opacity:1;transition:opacity .2s linear;-webkit-transition:opacity .2s linear}.dwa .dwwb{opacity:0}.dwwbp{top:0;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:40px}.dwwbm{bottom:0;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;font-size:32px;font-weight:bold}.dwpm .dwwc{background:transparent}.dwpm .dww{margin:0}.dwpm .dw-li{text-shadow:none}.dwpm .dwwol{display:none}.dwwo{position:absolute;z-index:3;top:0;left:0;width:100%;height:100%;background:linear-gradient(#000 0,rgba(44,44,44,0) 52%,rgba(44,44,44,0) 48%,#000 100%);background:-webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.52,rgba(44,44,44,0)),color-stop(0.48,rgba(44,44,44,0)),to(#000));background:-moz-linear-gradient(#000 0,rgba(44,44,44,0) 52%,rgba(44,44,44,0) 48%,#000 100%);background:-o-linear-gradient(#000 0,rgba(44,44,44,0) 52%,rgba(44,44,44,0) 48%,#000 100%)}.dwwol{position:absolute;z-index:1;top:50%;left:0;width:100%;height:0;margin-top:-1px;border-top:1px solid #333;border-bottom:1px solid #555}.dwbg .dwb{cursor:pointer;overflow:hidden;display:block;height:40px;line-height:40px;padding:0 15px;margin:0 2px;font-size:14px;font-weight:bold;text-decoration:none;text-shadow:0 -1px 1px #000;border-radius:5px;box-shadow:0 1px 3px rgba(0,0,0,0.5);color:#fff;background:#000;background:linear-gradient(#6e6e6e 50%,#000 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,#000),color-stop(0.5,#6e6e6e));background:-moz-linear-gradient(#6e6e6e 50%,#000 50%);background:-o-linear-gradient(#6e6e6e 50%,#000 50%);white-space:nowrap;text-overflow:ellipsis;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5);-webkit-border-radius:5px}.dwbc{padding:5px 0;text-align:center;clear:both}.dwbc:after{content:‘‘;display:block;clear:both}.dwbw{display:inline-block;float:left;width:50%;position:relative;z-index:5}.dwbc-p .dwbw{width:33.33%}.dwhl{padding-top:10px}.dwhl .dwl{display:none}.dwms .dwwms .dw-li{padding:0 40px;position:relative}.dwms .dw-msel:after{width:40px;text-align:center;position:absolute;top:0;left:0;content:‘?‘}.dwbg{background:#fff;border-radius:3px;-webkit-border-radius:3px}.dwbg .dwpm .dwwl{border:1px solid #aaa}.dwbg .dwpm .dww{color:#000;background:#fff;-webkit-border-radius:3px}.dwbg .dwwb{background:#ccc;color:#888;text-shadow:0 -1px 1px #333;box-shadow:0 0 5px #333;-webkit-box-shadow:0 0 5px #333}.dwbg .dwwbp{background:linear-gradient(#f7f7f7,#bdbdbd);background:-webkit-gradient(linear,left bottom,left top,from(#bdbdbd),to(#f7f7f7));background:-moz-linear-gradient(#f7f7f7,#bdbdbd);background:-o-linear-gradient(#f7f7f7,#bdbdbd)}.dwbg .dwwbm{background:linear-gradient(#bdbdbd,#f7f7f7);background:-webkit-gradient(linear,left bottom,left top,from(#f7f7f7),to(#bdbdbd));background:-moz-linear-gradient(#bdbdbd,#f7f7f7);background:-o-linear-gradient(#bdbdbd,#f7f7f7)}.dwbg .dwb-a{background:#3c7500;background:linear-gradient(#94c840 50%,#3c7500 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,#3c7500),color-stop(0.5,#94c840));background:-moz-linear-gradient(#94c840 50%,#3c7500 50%);background:-o-linear-gradient(#94c840 50%,#3c7500 50%)}.dwbg .dwwl .dwb-a{background:#3c7500;background:linear-gradient(#94c840,#3c7500);background:-webkit-gradient(linear,left bottom,left top,from(#3c7500),to(#94c840));background:-moz-linear-gradient(#94c840,#3c7500);background:-o-linear-gradient(#94c840,#3c7500)}.dw-trans .dw-persp{overflow:hidden;perspective:1000;-webkit-perspective:1000;-moz-perspective:1000}.dw-in{animation-timing-function:ease-out;animation-duration:350ms;-webkit-animation-timing-function:ease-out;-webkit-animation-duration:350ms;-moz-animation-timing-function:ease-out;-moz-animation-duration:350ms}.dw-out{animation-timing-function:ease-in;animation-duration:350ms;-webkit-animation-timing-function:ease-in;-webkit-animation-duration:350ms;-moz-animation-timing-function:ease-in;-moz-animation-duration:350ms}.dw-flip,.dw-swing,.dw-slidehorizontal,.dw-slidevertical,.dw-slidedown,.dw-slideup,.dw-fade{backface-visibility:hidden;transform:translateX(0);-webkit-backface-visibility:hidden;-webkit-transform:translateX(0);-moz-backface-visibility:hidden;-moz-transform:translateX(0)}.dw-swing,.dw-slidehorizontal,.dw-slidevertical,.dw-slidedown,.dw-slideup,.dw-fade{transform-origin:0 0;-webkit-transform-origin:0 0;-moz-transform-origin:0 0}.dw-flip,.dw-pop{transform-origin:50% 50%;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%}.dw-pop.dw-in{opacity:1;transform:scale(1);animation-name:dw-p-in;-webkit-animation-name:dw-p-in;-webkit-transform:scale(1);-moz-animation-name:dw-p-in;-moz-transform:scale(1)}.dw-pop.dw-out{opacity:0;animation-name:dw-p-out;-webkit-animation-name:dw-p-out;-moz-animation-name:dw-p-out}.dw-flip.dw-in{opacity:1;transform:scale(1);animation-name:dw-fl-in;-webkit-animation-name:dw-fl-in;-webkit-transform:scale(1);-moz-animation-name:dw-fl-in;-moz-transform:scale(1)}.dw-flip.dw-out{opacity:0;animation-name:dw-fl-out;-webkit-animation-name:dw-fl-out;-moz-animation-name:dw-fl-out}.dw-swing.dw-in{opacity:1;transform:scale(1);animation-name:dw-sw-in;-webkit-animation-name:dw-sw-in;-webkit-transform:scale(1);-moz-animation-name:dw-sw-in;-moz-transform:scale(1)}.dw-swing.dw-out{opacity:0;animation-name:dw-sw-out;-webkit-animation-name:dw-sw-out;-moz-animation-name:dw-sw-out}.dw-slidehorizontal.dw-in{opacity:1;transform:scale(1);animation-name:dw-sh-in;-webkit-animation-name:dw-sh-in;-webkit-transform:scale(1);-moz-animation-name:dw-sh-in;-moz-transform:scale(1)}.dw-slidehorizontal.dw-out{opacity:0;animation-name:dw-sh-out;-webkit-animation-name:dw-sh-out;-moz-animation-name:dw-sh-out}.dw-slidevertical.dw-in{opacity:1;animation-name:dw-dw-sv-in;transform:scale(1);-webkit-animation-name:dw-dw-sv-in;-webkit-transform:scale(1);-moz-animation-name:dw-dw-sv-in;-moz-transform:scale(1)}.dw-slidevertical.dw-out{opacity:0;animation-name:dw-sv-out;-webkit-animation-name:dw-sv-out;-moz-animation-name:dw-sv-out}.dw-slidedown.dw-in{animation-name:dw-sd-in;transform:scale(1);-webkit-animation-name:dw-sd-in;-webkit-transform:scale(1);-moz-animation-name:dw-sd-in;-moz-transform:scale(1)}.dw-slidedown.dw-out{animation-name:dw-sd-out;-webkit-animation-name:dw-sd-out;-moz-animation-name:dw-sd-out}.dw-slideup.dw-in{transform:scale(1);animation-name:dw-su-in;-webkit-animation-name:dw-su-in;-webkit-transform:scale(1);-moz-animation-name:dw-su-in;-moz-transform:scale(1)}.dw-slideup.dw-out{animation-name:dw-su-out;-webkit-animation-name:dw-su-out;-moz-animation-name:dw-su-out}.dw-fade.dw-in{opacity:1;animation-name:dw-f-in;-webkit-animation-name:dw-f-in;-moz-animation-name:dw-f-in}.dw-fade.dw-out{opacity:0;animation-name:dw-f-out;-webkit-animation-name:dw-f-out;-moz-animation-name:dw-f-out}@keyframes dw-f-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes dw-f-in{from{opacity:0}to{opacity:1}}@-moz-keyframes dw-f-in{from{opacity:0}to{opacity:1}}@keyframes dw-f-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes dw-f-out{from{opacity:1}to{opacity:0}}@-moz-keyframes dw-f-out{from{opacity:1}to{opacity:0}}@keyframes dw-p-in{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes dw-p-in{from{opacity:0;-webkit-transform:scale(0.8)}to{opacity:1;-webkit-transform:scale(1)}}@-moz-keyframes dw-p-in{from{opacity:0;-moz-transform:scale(0.8)}to{opacity:1;-moz-transform:scale(1)}}@keyframes dw-p-out{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.8)}}@-webkit-keyframes dw-p-out{from{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(0.8)}}@-moz-keyframes dw-p-out{from{opacity:1;-moz-transform:scale(1)}to{opacity:0;-moz-transform:scale(0.8)}}@keyframes dw-fl-in{from{opacity:0;transform:rotateY(90deg)}to{opacity:1;transform:rotateY(0)}}@-webkit-keyframes dw-fl-in{from{opacity:0;-webkit-transform:rotateY(90deg)}to{opacity:1;-webkit-transform:rotateY(0)}}@-moz-keyframes dw-fl-in{from{opacity:0;-moz-transform:rotateY(90deg)}to{opacity:1;-moz-transform:rotateY(0)}}@keyframes dw-fl-out{from{opacity:1;transform:rotateY(0deg)}to{opacity:0;transform:rotateY(-90deg)}}@-webkit-keyframes dw-fl-out{from{opacity:1;-webkit-transform:rotateY(0deg)}to{opacity:0;-webkit-transform:rotateY(-90deg)}}@-moz-keyframes dw-fl-out{from{opacity:1;-moz-transform:rotateY(0deg)}to{opacity:0;-moz-transform:rotateY(-90deg)}}@keyframes dw-sw-in{from{opacity:0;transform:rotateY(-90deg)}to{opacity:1;transform:rotateY(0deg)}}@-webkit-keyframes dw-sw-in{from{opacity:0;-webkit-transform:rotateY(-90deg)}to{opacity:1;-webkit-transform:rotateY(0deg)}}@-moz-keyframes dw-sw-in{from{opacity:0;-moz-transform:rotateY(-90deg)}to{opacity:1;-moz-transform:rotateY(0deg)}}@keyframes dw-sw-out{from{opacity:1;transform:rotateY(0deg)}to{opacity:0;transform:rotateY(-90deg)}}@-webkit-keyframes dw-sw-out{from{opacity:1;-webkit-transform:rotateY(0deg)}to{opacity:0;-webkit-transform:rotateY(-90deg)}}@-moz-keyframes dw-sw-out{from{opacity:1;-moz-transform:rotateY(0deg)}to{opacity:0;-moz-transform:rotateY(-90deg)}}@keyframes dw-sh-in{from{opacity:0;transform:translateX(-100%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes dw-sh-in{from{opacity:0;-webkit-transform:translateX(-100%)}to{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes dw-sh-in{from{opacity:0;-moz-transform:translateX(-100%)}to{opacity:1;-moz-transform:translateX(0)}}@keyframes dw-sh-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100%)}}@-webkit-keyframes dw-sh-out{from{opacity:1;-webkit-transform:translateX(0)}to{opacity:0;-webkit-transform:translateX(100%)}}@-moz-keyframes dw-sh-out{from{opacity:1;-moz-transform:translateX(0)}to{opacity:0;-moz-transform:translateX(100%)}}@keyframes dw-dw-sv-in{from{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes dw-dw-sv-in{from{opacity:0;-webkit-transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes dw-dw-sv-in{from{opacity:0;-moz-transform:translateY(-100%)}to{opacity:1;-moz-transform:translateY(0)}}@keyframes dw-sv-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}@-webkit-keyframes dw-sv-out{from{opacity:1;-webkit-transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(100%)}}@-moz-keyframes dw-sv-out{from{opacity:1;-moz-transform:translateY(0)}to{opacity:0;-moz-transform:translateY(100%)}}@keyframes dw-sd-in{from{transform:translateY(-100%)}to{transform:translateY(0)}}@-webkit-keyframes dw-sd-in{from{opacity:1;-webkit-transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes dw-sd-in{from{-moz-transform:translateY(-100%)}to{-moz-transform:translateY(0)}}@keyframes dw-sd-out{from{transform:translateY(0)}to{transform:translateY(-100%)}}@-webkit-keyframes dw-sd-out{from{opacity:1;-webkit-transform:translateY(0)}to{opacity:1;-webkit-transform:translateY(-100%)}}@-moz-keyframes dw-sd-out{from{-moz-transform:translateY(0)}to{-moz-transform:translateY(-100%)}}@keyframes dw-su-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes dw-su-in{from{opacity:1;-webkit-transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes dw-su-in{from{-moz-transform:translateY(100%)}to{-moz-transform:translateY(0)}}@keyframes dw-su-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@-webkit-keyframes dw-su-out{from{opacity:1;-webkit-transform:translateY(0)}to{opacity:1;-webkit-transform:translateY(100%)}}@-moz-keyframes dw-su-out{from{-moz-transform:translateY(0)}to{-moz-transform:translateY(100%)}}.android .dw{padding:0;background:#000;border:2px solid #555;color:#fff}.android .dwv{padding:10px;border-bottom:1px solid #333}.android .dwwr{padding:0}.android .dww{top:0}.android .dwwc{background:#000}.android .dwc{padding-top:8px}.android .dw .dwpm .dww{border:0;background:#fff}.android .dw .dwpm .dwwl{border:0}.android .dw .dwpm .dww{margin:0}.android .dwpm .dww .dw-li{color:#000;text-shadow:none}.android .dwl{display:none}.android .dwbc{padding:5px 1px;background:#9c9c9c}.android .dw .dwb{margin:0 5px;background:#ccc;background:linear-gradient(#eee,#ccc);background:-webkit-gradient(linear,left bottom,left top,from(#ccc),to(#eee));background:-moz-linear-gradient(#eee,#ccc);background:-o-linear-gradient(#eee,#ccc);color:#000;font-weight:normal;text-shadow:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0}.android .dw .dwb-a,.android .dw .dwwl .dwb-a{background:#ffb25a;background:linear-gradient(#ffb25a,#ef6100);background:-webkit-gradient(linear,left bottom,left top,from(#ef6100),to(#ffb25a));background:-moz-linear-gradient(#ffb25a,#ef6100);background:-o-linear-gradient(#ffb25a,#ef6100)}.android .dw-bubble-bottom .dw-arr{border-color:transparent transparent #000 transparent}.android .dw-bubble-top .dw-arr{border-color:#9c9c9c transparent transparent transparent}.android.dw-top .dw{border-right:0;border-top:0;border-left:0}.android.dw-bottom .dw{border-bottom:0;border-right:0;border-left:0}.android-ics .dw{padding:0;color:#31b6e7;background:#292829}.android-ics .dw .dwwc,.android-ics .dw .dwwl,.android-ics .dw .dww,.android-ics .dw .dwb{background:0}.android-ics .dwwr{padding:0}.android-ics .dwc{margin:0;padding:30px 10px 1px 10px}.android-ics .dwhl{padding:1px 10px}.android-ics .dwv{height:36px;line-height:36px;padding:0;border-bottom:2px solid #31b6e7;font-size:18px}.android-ics .dwwl{margin:0 2px}.android-ics .dww{border:0}.android-ics .dw .dwpm .dwwl{border:0}.android-ics .dw .dwpm .dww{border:0;background:0}.android-ics .dww .dw-li{color:#fff;font-size:18px;text-shadow:none}.android-ics .dww .dw-li.dw-hl{background:#31b6e7;background:rgba(49,182,231,.5)}.android-ics .dwwo{background:linear-gradient(#282828 0,rgba(40,40,40,0) 52%,rgba(40,40,40,0) 48%,#282828 100%);background:-webkit-gradient(linear,left bottom,left top,from(#282828),color-stop(0.52,rgba(40,40,40,0)),color-stop(0.48,rgba(40,40,40,0)),to(#282828));background:-moz-linear-gradient(#282828 0,rgba(40,40,40,0) 52%,rgba(40,40,40,0) 48%,#282828 100%);background:-o-linear-gradient(#282828 0,rgba(40,40,40,0) 52%,rgba(40,40,40,0) 48%,#282828 100%)}.android-ics .dw .dwwb{background:#292829;box-shadow:none;-webkit-box-shadow:none}.android-ics .dwwb span{display:none}.android-ics .dwwb:after{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px;color:#7e7e7e;width:0;height:0;border-width:8px;border-style:solid;content:‘‘}.android-ics .dwwbm{top:0;bottom:auto}.android-ics .dwwbp{bottom:0;top:auto}.android-ics .dwwbm:after{border-color:transparent transparent #7e7e7e transparent}.android-ics .dwwbp:after{border-color:#7e7e7e transparent transparent transparent}.android-ics .dw .dwwl .dwb-a{background:#292829}.android-ics .dwwbm.dwb-a:after{border-color:transparent transparent #319abd transparent}.android-ics .dwwbp.dwb-a:after{border-color:#319abd transparent transparent transparent}.android-ics .dw .dwwol{width:60%;left:20%;height:36px;border-top:2px solid #31b6e7;border-bottom:2px solid #31b6e7;margin-top:-20px;display:block}.android-ics .dwbc{border-top:1px solid #424542;padding:0}.android-ics .dw .dwb{height:36px;line-height:36px;padding:0;margin:0;font-weight:normal;text-shadow:none;box-shadow:none;border-radius:0;-webkit-border-radius:0;-webkit-box-shadow:none}.android-ics .dw .dwb-a{background:#29799c}.android-ics .dwb-s .dwb,.android-ics .dwb-n .dwb{border-right:1px solid #424542}.android-ics.dw-bottom .dw,.android-ics.dw-top .dw{border-radius:0;-webkit-border-radius:0}.android-ics .dwwms .dwwol{display:none}.android-ics .dwwms .dw-li{padding-left:5px;padding-right:36px}.android-ics .dwwms .dw-li:after{content:‘‘;position:absolute;top:50%;left:auto;right:10px;width:14px;height:14px;margin-top:-9px;color:#31b6e7;line-height:14px;border:1px solid #424542;text-shadow:0 0 5px #29799c}.android-ics .dwwms .dw-msel:after{content:‘?‘}.android-ics.light .dw{background:#f5f5f5}.android-ics.light .dww .dw-li{color:#000}.android-ics.light .dwwo{background:linear-gradient(#f5f5f5 0,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f5f5f5 100%);background:-webkit-gradient(linear,left bottom,left top,from(#f5f5f5),color-stop(0.52,rgba(245,245,245,0)),color-stop(0.48,rgba(245,245,245,0)),to(#f5f5f5));background:-moz-linear-gradient(#f5f5f5 0,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f5f5f5 100%);background:-o-linear-gradient(#f5f5f5 0,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f5f5f5 100%)}.android-ics.light .dw .dwwb{background:#f5f5f5;color:#f5f5f5}.android-ics.light .dwbc{border-top:1px solid #dbdbdb}.android-ics.light .dwb{color:#000}.android-ics.light .dwb-a{color:#fff}.android-ics.light .dwb-s .dwb,.android-ics.light .dwb-n .dwb{border-right:1px solid #dbdbdb}.android-ics .dw-bubble-bottom .dw-arr{border-color:transparent transparent #292829 transparent}.android-ics .dw-bubble-top .dw-arr{border-color:#292829 transparent transparent transparent}.android-ics.light .dw-bubble-bottom .dw-arr{border-color:transparent transparent #f5f5f5 transparent}.android-ics.light .dw-bubble-top .dw-arr{border-color:#f5f5f5 transparent transparent transparent}.android-ics.light .dwwms .dw-li:after{text-shadow:0 0 5px #31b6e7}.ios .dw{min-width:134px;padding:0;border:1px solid #2d3034;background:0;color:#fff;border-radius:0;-webkit-border-radius:0}.ios .dwo{background:0}.ios .dwwr{position:relative;margin-top:40px;background:#50515d;background:linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);background:-webkit-gradient(linear,left top,left bottom,from(#9f9fa6),color-stop(0.5,#484a55),color-stop(0.5,#272836),to(#282a39));background:-moz-linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39);background:-o-linear-gradient(#9f9fa6,#484a55 50%,#272836 50%,#282a39)}.ios .dwi .dwwr{margin-top:0}.ios .dwv{display:none}.ios .dwc{padding:30px 0;margin:0 2px}.ios .dwhl{padding:10px 0}.ios .dwwc{background:transparent}.ios .dwwl{margin:4px 0;border-left:1px solid #000;border-right:1px solid #000;background:#cbcce0;background:linear-gradient(#2c2c38 0,#cbcce0 35%,#cbcce0 65%,#2c2c38 100%);background:-webkit-gradient(linear,left bottom,left top,from(#2c2c38),color-stop(0.35,#cbcce0),color-stop(0.65,#cbcce0),to(#2c2c38));background:-moz-linear-gradient(#2c2c38 0,#cbcce0 35%,#cbcce0 65%,#2c2c38 100%);background:-o-linear-gradient(#2c2c38 0,#cbcce0 35%,#cbcce0 65%,#2c2c38 100%);box-shadow:0 1px 1px rgba(255,255,255,0.3);-webkit-box-shadow:0 1px 1px rgba(255,255,255,0.3)}.ios td:first-child .dwwl{border-top-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px}.ios td:last-child .dwwl{border-top-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px}.ios .dwsc .dwwl{border-radius:0;-webkit-border-radius:0}.ios .dwsc .dww{margin:0 3px;background:#fff;background:linear-gradient(#333 0,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);background:-webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.10,#999),color-stop(0.30,#fff),color-stop(0.70,#fff),color-stop(0.90,#999),to(#333));background:-moz-linear-gradient(#333 0,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);background:-o-linear-gradient(#333 0,#999 10%,#fff 30%,#fff 70%,#999 90%,#333 100%);border-radius:0;-webkit-border-radius:0}.ios .dw .dwpm .dww{background:linear-gradient(#000,#fff 48%,#fff 52%,#000);background:-webkit-gradient(linear,left bottom,left top,from(#333),color-stop(0.48,#fff),color-stop(0.52,#fff),to(#333));background:-moz-linear-gradient(#000 0,#fff 48%,#fff 52%,#000 100%);background:-o-linear-gradient(#000 0,#fff 48%,#fff 52%,#000 100%)}.ios .dw .dwpm .dwwl{margin:4px 2px;border:1px solid #000}.ios .dw .dwpm .dww{margin:0;border:0}.ios .dww .dw-li{color:#000;font-size:20px;font-weight:bold;text-align:right;text-shadow:none}.ios .dww .dw-li.dw-hl{background:linear-gradient(#0288f3,#005de6);background:-webkit-gradient(linear,left bottom,left top,from(#0288f3),to(#005de6));background:-moz-linear-gradient(#0288f3,#005de6);background:-o-linear-gradient(#0288f3,#005de6);color:#fff}.ios .dwwo{display:none}.ios .dwwol{height:28px;padding:1px;margin-top:-16px;border-color:#7b8699;background:#6f75b0;background:linear-gradient(rgba(151,157,197,0.5) 50%,rgba(111,117,176,0.5) 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,rgba(111,117,176,0.5)),color-stop(0.5,rgba(151,157,197,0.5)));background:-moz-linear-gradient(rgba(151,157,197,0.5) 50%,rgba(111,117,176,0.5) 50%);background:-o-linear-gradient(rgba(151,157,197,0.5) 50%,rgba(111,117,176,0.5) 50%);z-index:10;left:-1px;box-shadow:0 1px 3px rgba(0,0,0,0.5);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5);filter:alpha(opacity=50)}.ios .dw .dwbc{position:absolute;top:-40px;left:0;width:100%;padding:5px 0;background:#454545;background:linear-gradient(rgba(69,69,69,0.7),rgba(37,37,37,0.7) 50%,rgba(16,16,16,0.7) 50%,rgba(0,0,0,0.7));background:-webkit-gradient(linear,left top,left bottom,from(rgba(69,69,69,0.7)),color-stop(0.5,rgba(37,37,37,0.7)),color-stop(0.5,rgba(16,16,16,0.7)),to(rgba(0,0,0,0.7)));background:-moz-linear-gradient(rgba(69,69,69,0.7),rgba(37,37,37,0.7) 50%,rgba(16,16,16,0.7) 50%,rgba(0,0,0,0.7));background:-o-linear-gradient(rgba(69,69,69,0.7),rgba(37,37,37,0.7) 50%,rgba(16,16,16,0.7) 50%,rgba(0,0,0,0.7));border-bottom:1px solid #888;border-bottom:1px solid rgba(255,255,255,0.5);border-top:1px solid #888;border-top:1px solid rgba(255,255,255,0.5)}.ios .dw .dwb{margin:0 5px;padding:0 10px;display:inline-block;font-size:12px;height:26px;line-height:26px;border:1px solid #194aab;background:#194aab;background:linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);background:-webkit-gradient(linear,left top,left bottom,from(#82aaff),color-stop(0.5,#3162c4),color-stop(0.5,#194aab));background:-moz-linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);background:-o-linear-gradient(#82aaff,#3162c4 50%,#194aab 50%);box-shadow:0 1px 0 rgba(255,255,255,0.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.3)}.ios .dwb-c .dwb,.ios .dwb-n .dwb{border:1px solid #1f1f1f;background:#1a1a1a;background:linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);background:-webkit-gradient(linear,left top,left bottom,from(#7b7b7b),color-stop(0.5,#1a1a1a),color-stop(0.5,#000));background:-moz-linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%);background:-o-linear-gradient(#7b7b7b,#1a1a1a 50%,#000 50%)}.ios .dwb-a{opacity:.8;filter:alpha(opacity=80)}.ios .dw .dwwb{color:#fff;border:0;background:#3f4e68;background:linear-gradient(#c7d1e2 0,#808ea6 50%,#75859f 50%,#3f4e68 100%);background:-webkit-gradient(linear,left bottom,left top,from(#3f4e68),color-stop(0.5,#75859f),color-stop(0.5,#808ea6),to(#c7d1e2));background:-moz-linear-gradient(#c7d1e2 0,#808ea6 50%,#75859f 50%,#3f4e68 100%);background:-o-linear-gradient(#c7d1e2 0,#808ea6 50%,#75859f 50%,#3f4e68 100%)}.ios .dw .dwwl .dwb-a{background:#252c36;background:linear-gradient(#6b6e75 0,#272e38 50%,#171e28 50%,#252c36 100%);background:-webkit-gradient(linear,left bottom,left top,from(#252c36),color-stop(0.5,#171e28),color-stop(0.5,#272e38),to(#6b6e75));background:-moz-linear-gradient(#6b6e75 0,#272e38 50%,#171e28 50%,#252c36 100%);background:-o-linear-gradient(#6b6e75 0,#272e38 50%,#171e28 50%,#252c36 100%)}.ios .dwb-s,.ios .dwb-n{width:auto;float:right;text-align:right}.ios .dwb-c{width:auto;float:left;text-align:left}.ios.dw-bubble .dw{padding:6px;background:#afafaf;background:linear-gradient(#afafaf,#1b2530 30%);background:-webkit-gradient(linear,left top,left bottom,from(#afafaf),color-stop(0.3,#1b2530));background:-moz-linear-gradient(#afafaf,#1b2530 30%);background:-o-linear-gradient(#afafaf,#1b2530 30%);box-shadow:0 0 25px rgba(0,0,0,0.7);border-radius:5px;-webkit-border-radius:5px;-webkit-box-shadow:0 0 25px rgba(0,0,0,0.7)}.ios .dw-bubble-bottom .dw-arr{border-color:transparent transparent #2d3034 transparent}.ios .dw-bubble-bottom .dw-arr:after{content:‘‘;position:absolute;top:-16px;left:-17px;border:17px solid #afafaf;border-color:transparent transparent #afafaf transparent}.ios .dw-bubble-top .dw-arr{border-color:#1b2530 transparent transparent transparent}.ios .dwwms .dwwol{display:none}.ios .dwwms .dw-li{padding:0 5px 0 30px;text-align:left}.ios .dw-msel:after{width:30px}.ios .dww .dw-msel{color:#215085}.jqm .dwo{background:0}.jqm .dw{padding:6px;z-index:1003}.jqm .dwv{position:static;width:auto;padding:.7em 15px .7em 15px;border:0}.jqm .dwwr{border:0;padding:0}.jqm .dwpm .dwwo{background:0}.jqm .dwc{margin:0;padding:30px 5px 5px 5px}.jqm .dwhl{padding:5px}.jqm .dwwb{margin:0;border:0}.jqm .dwwb span{padding:0}.jqm .dwwbp .ui-btn-inner{font-size:40px;border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0}.jqm .dwwbm .ui-btn-inner{font-size:32px;border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px}.jqm .dwwbp span{font-weight:normal}.jqm .dwbc{padding:0}.jqm .dwbc .ui-btn{margin:.5em 5px}.jqm .dwbc .ui-btn-inner{font-size:12px}.jqm .dwpm .dwl{border:0;background:0}.jqm .dw-bubble-bottom .dw-arr{border-color:transparent transparent #444 transparent}.jqm .dw-bubble-top .dw-arr{border-color:#222 transparent transparent transparent}.jqm.dw-bottom .dw,.jqm.dw-top .dw{padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0}.jqm.dw-top .dw{border-right:0;border-top:0;border-left:0}.jqm.dw-bottom .dw{border-bottom:0;border-right:0;border-left:0}.sense-ui .dw{padding:0;background:#333;border:2px solid #fff;color:#fff}.sense-ui .dwwr{padding:0}.sense-ui .dwv{padding:5px 10px;border-bottom:1px solid #666;text-align:left}.sense-ui .dwwc{background:#333}.sense-ui .dww{margin:0 2px}.sense-ui .dw .dwpm .dwwl{border:0}.sense-ui .dw .dwpm .dww{margin:0;border:0}.sense-ui .dwbc{padding:5px 1px;background:#000;background:linear-gradient(#666 50%,#000 50%);background:-webkit-gradient(linear,left bottom,left top,color-stop(0.5,#000),color-stop(0.5,#666));background:-moz-linear-gradient(#666 50%,#000 50%);background:-o-linear-gradient(#666 50%,#000 50%)}.sense-ui .dw .dwb{margin:0 5px;border:1px solid #333;background:#222;background:linear-gradient(#444,#000);background:-webkit-gradient(linear,left bottom,left top,from(#000),to(#444));background:-moz-linear-gradient(#444,#000);background:-o-linear-gradient(#444,#000);box-shadow:inset 0 0 5px #000}.sense-ui .dw .dwb-a{background:#3c7500;background:linear-gradient(#94c840,#3c7500);background:-webkit-gradient(linear,left bottom,left top,from(#3c7500),to(#94c840));background:-moz-linear-gradient(#94c840,#3c7500);background:-o-linear-gradient(#94c840,#3c7500)}.sense-ui.dw-top .dw{border:0;border-radius:0;-webkit-border-radius:0}.sense-ui.dw-bottom .dw{border:0;border-top:1px solid #666;border-radius:0;-webkit-border-radius:0}.wp .dw{background:#1f1f1f;border-radius:0;-webkit-border-radius:0}.wp .dwwr{padding:10px}.wp .dwv{display:none}.wp .dwc{padding:0;margin:0;vertical-align:middle}.wp .dwwc{padding:3px;background:0}.wp .dwwl{margin:0;background:0}.wp .dwl{display:none}.wp .dw .dwwl .dww{margin:0 3px;background:0;border:0;color:#fff}.wp .dw-li{position:relative;padding:0;font-size:26px;letter-spacing:-1px;text-align:left;text-shadow:none;opacity:0;box-sizing:border-box;filter:Alpha(Opacity=0);-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp .dw-i{position:relative;top:4%;height:92%;padding:0 5px;border:1px solid #4c4c4c;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;filter:inherit}.wp .wpa .dw-li,.wp .dwa .dw-li{opacity:.3;filter:Alpha(Opacity=30)}.wp .wpa .dw-v,.wp .dwa .dw-v{opacity:1;filter:Alpha(Opacity=100)}.wp .dw-day,.wp .dw-mon{display:block;color:#a9a9a9;line-height:18px;font-size:11px;letter-spacing:normal;position:absolute;bottom:0;filter:inherit}.wp .dw-sel{opacity:1;filter:Alpha(Opacity=100)}.wp .dw .dw-sel .dw-i{color:#fff;background:#4c4c4c}.wp .dw-sel .dw-day,.wp .dw-sel .dw-mon{color:#fff}.wp .dw-hl{background:0}.wp .dw-hl .dw-i{background:#4c4c4c}.wp .dwa .dww .dw-sel .dw-i{border:1px solid #4c4c4c;background-color:transparent}.wp .dwa .dw-day,.wp .dwa .dw-month{color:#a9a9a9}.wp .dwwo{display:none}.wp .dwwol{display:none}.wp .dwbc{padding:0}.wp .dwbw{float:none;width:auto}.wp .dw .dwb{position:relative;top:0;min-width:32px;display:inline-block;height:20px;padding:29px 5px 0 5px;background:0;box-shadow:none;line-height:20px;font-size:11px;font-weight:normal;text-transform:lowercase;text-shadow:none;transition:top .1s linear;-webkit-box-shadow:none;-webkit-transition:top .1s linear;-moz-transition:top .1s linear}.wp .dwb:after{content:‘‘;position:absolute;top:3px;left:50%;width:26px;height:26px;margin:0 -13px;background:url(wp_icons.png) center center no-repeat}.wp .dwb-s .dwb:after{background-position:0 0}.wp .dwb-c .dwb:after{background-position:-26px 0}.wp .dwb-n .dwb:after{background-position:-52px 0}.wp .dwb-s .dwb-a:after{background-position:0 -26px}.wp .dwb-c .dwb-a:after{background-position:-26px -26px}.wp .dwb-n .dwb-a:after{background-position:-52px -26px}.wp .dwb.dwb-a{top:-3px}.wp .dw .dwwl .dwb-a{background:#1f1f1f}.wp .dw .dwpm .dwwl{border:0}.wp .dw .dwwb{background:#1f1f1f;border-radius:0;box-shadow:none;box-sizing:border-box;color:#a9a9a9;-webkit-box-shadow:none;-webkit-border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp .dwwb span{position:absolute;top:50%;left:50%;width:26px;height:0;padding-top:26px;overflow:hidden;margin:-13px;display:block;background:url(wp_icons.png) center center no-repeat}.wp .dwwbp span{background-position:-78px 0}.wp .dwwbp.dwb-a span{background-position:-78px -26px}.wp .dwwbm span{background-position:-104px 0}.wp .dwwbm.dwb-a span{background-position:-104px -26px}.wp .dw-bubble-bottom .dw-arr{border-color:transparent transparent #1f1f1f transparent}.wp .dw-bubble-top .dw-arr{border-color:#1f1f1f transparent transparent transparent}.wp .dwwms .dw-li{opacity:.3;filter:Alpha(Opacity=30);padding:0 0 0 30px}.wp .dwwms .dw-v{opacity:1;filter:Alpha(Opacity=100)}.wp .dwc .dwwms .dw-i,.wp .dwc .dwwms .dw-sel .dw-i,.wp .dwc .dwwms .dw-hl .dw-i,.wp .dwc .dwwms.dwa .dw-sel .dw-i{border:0;background:0}.wp .dwwms .dw-li:after{content:‘‘;position:absolute;top:50%;left:5px;width:20px;height:20px;margin-top:-10px;font-size:18px;line-height:20px;background:#4c4c4c;color:#fff}.wp .dwwms .dw-msel:after{content:‘?‘}.wp.light .dw{background:#dedede}.wp.light .dwv{color:#000}.wp.light .dw-li{color:#6b6b6b}.wp.light .dw-i{border-color:#b5b5b5}.wp.light .dw-sel .dw-i{background:#b5b5b5}.wp.light .dw-hl .dw-i{color:#fff;background:#b5b5b5}.wp.light .dw-day,.wp.light .dw-mon{color:#6b6b6b}.wp.light .dw-sel .dw-day,.wp.light .dw-sel .dw-mon{color:#fff}.wp.light .dw .dwa .dw-sel .dw-i{color:#6b6b6b;border:1px solid #b5b5b5;background-color:transparent}.wp.light .dw .dwc .dwa .dw-day,.wp.light .dw .dwc .dwa .dw-mon{color:#6b6b6b}.wp.light .dwb{color:#000}.wp.light .dwb:after{background-image:url(wp_icons_light.png)}.wp.light .dw .dwwb{background:#dedede}.wp.light .dwwb span{background-image:url(wp_icons_light.png)}.wp.light .dw-bubble-bottom .dw-arr{border-color:transparent transparent #dedede transparent}.wp.light .dw-bubble-top .dw-arr{border-color:#dedede transparent transparent transparent}.wp.light .dwc .dwwms .dw-i,.wp.light .dwwms.dwa .dw-sel .dw-i{border:0;background:0;color:#000}.wp.light .dwwms .dw-li:after{background:#b5b5b5}.wp.light .wp-none .dwwms .dw-li:after{color:#000}.wp.light .wp-none .dw-sel .dw-i,.wp.light .wp-none .dw-hl .dw-i{color:#000}.wp.light .wp-none .dw-day,.wp.light .wp-none .dw-mon{color:#6b6b6b}.wp .wp-lime .dw-sel .dw-i,.wp .wp-lime .dw-hl .dw-i,.wp .wp-lime .dwwms .dw-li:after{background:#a4c400;border-color:#a4c400}.wp .wp-green .dw-sel .dw-i,.wp .wp-green .dw-hl .dw-i,.wp .wp-green .dwwms .dw-li:after{background:#60a917;border-color:#60a917}.wp .wp-emerald .dw-sel .dw-i,.wp .wp-emerald .dw-hl .dw-i,.wp .wp-emerald .dwwms .dw-li:after{background:#008a00;border-color:#008a00}.wp .wp-teal .dw-sel .dw-i,.wp .wp-teal .dw-hl .dw-i,.wp .wp-teal .dwwms .dw-li:after{background:#00aba9;border-color:#00aba9}.wp .wp-cyan .dw-sel .dw-i,.wp .wp-cyan .dw-hl .dw-i,.wp .wp-cyan .dwwms .dw-li:after{background:#1ba1e2;border-color:#1ba1e2}.wp .wp-cobalt .dw-sel .dw-i,.wp .wp-cobalt .dw-hl .dw-i,.wp .wp-cobalt .dwwms .dw-li:after{background:#0050ef;border-color:#0050ef}.wp .wp-indigo .dw-sel .dw-i,.wp .wp-indigo .dw-hl .dw-i,.wp .wp-indigo .dwwms .dw-li:after{background:#6a00ff;border-color:#6a00ff}.wp .wp-violet .dw-sel .dw-i,.wp .wp-violet .dw-hl .dw-i,.wp .wp-violet .dwwms .dw-li:after{background:#a0f;border-color:#a0f}.wp .wp-pink .dw-sel .dw-i,.wp .wp-pink .dw-hl .dw-i,.wp .wp-pink .dwwms .dw-li:after{background:#f472d0;border-color:#f472d0}.wp .wp-magenta .dw-sel .dw-i,.wp .wp-magenta .dw-hl .dw-i,.wp .wp-magenta .dwwms .dw-li:after{background:#d80073;border-color:#d80073}.wp .wp-crimson .dw-sel .dw-i,.wp .wp-crimson .dw-hl .dw-i,.wp .wp-crimson .dwwms .dw-li:after{background:#a20025;border-color:#a20025}.wp .wp-red .dw-sel .dw-i,.wp .wp-red .dw-hl .dw-i,.wp .wp-red .dwwms .dw-li:after{background:#e51400;border-color:#e51400}.wp .wp-orange .dw-sel .dw-i,.wp .wp-orange .dw-hl .dw-i,.wp .wp-orange .dwwms .dw-li:after{background:#fa6800;border-color:#fa6800}.wp .wp-amber .dw-sel .dw-i,.wp .wp-amber .dw-hl .dw-i,.wp .wp-amber .dwwms .dw-li:after{background:#f0a30a;border-color:#f0a30a}.wp .wp-yellow .dw-sel .dw-i,.wp .wp-yellow .dw-hl .dw-i,.wp .wp-yellow .dwwms .dw-li:after{background:#d8c100;border-color:#d8c100}.wp .wp-brown .dw-sel .dw-i,.wp .wp-brown .dw-hl .dw-i,.wp .wp-brown .dwwms .dw-li:after{background:#825a2c;border-color:#825a2c}.wp .wp-olive .dw-sel .dw-i,.wp .wp-olive .dw-hl .dw-i,.wp .wp-olive .dwwms .dw-li:after{background:#6d8764;border-color:#6d8764}.wp .wp-steel .dw-sel .dw-i,.wp .wp-steel .dw-hl .dw-i,.wp .wp-steel .dwwms .dw-li:after{background:#647687;border-color:#647687}.wp .wp-mauve .dw-sel .dw-i,.wp .wp-mauve .dw-hl .dw-i,.wp .wp-mauve .dwwms .dw-li:after{background:#76608a;border-color:#76608a}.wp .wp-sienna .dw-sel .dw-i,.wp .wp-sienna .dw-hl .dw-i,.wp .wp-sienna .dwwms .dw-li:after{background:#7a3b3f;border-color:#7a3b3f}
<script src="js/mobiscroll.custom-2.5.0.min.js" type="text/javascript"></script>
(function (a) { a.widget("mobile.jqmMobiscroll", a.mobile.widget, { options: { theme: "jqm", preset: "date", animate: "pop" }, _create: function () { var g = this.element, t = a.extend(this.options, g.jqmData("options")); g.mobiscroll(t) } }); a(document).bind("pagebeforecreate", function (g) { a(‘input[type="date"]:jqmData(role="mobiscroll")‘, g.target).prop("type", "text") }); a(document).bind("pagecreate create", function (g) { a(document).trigger("mobiscrollbeforecreate"); a(‘:jqmData(role="mobiscroll")‘, g.target).each(function () { "undefined" === typeof a(this).data("mobiscroll") && a(this).jqmMobiscroll() }) }) })(jQuery); (function (a) { function g(b, f) { function j(b) { return a.isArray(h.readonly) ? (b = a(".dwwl", o).index(b), h.readonly[b]) : h.readonly } function l(a) { var b = ‘<div class="dw-bf">‘, d = 1, h; for (h in ca[a]) 0 == d % 20 && (b += ‘</div><div class="dw-bf">‘), b += ‘<div class="dw-li dw-v" data-val="‘ + h + ‘" style="height:‘ + K + "px;line-height:" + K + ‘px;"><div class="dw-i">‘ + ca[a][h] + "</div></div>", d++; return b + "</div>" } function g(b) { c = a(".dw-li", b).index(a(".dw-v", b).eq(0)); m = a(".dw-li", b).index(a(".dw-v", b).eq(-1)); H = a(".dw-ul", o).index(b); e = K; x = i } function k(a) { var b = h.headerText; return b ? "function" == typeof b ? b.call(P, a) : b.replace(/\{value\}/i, a) : "" } function u() { i.temp = Z && null !== i.val && i.val != B.val() || null === i.values ? h.parseValue(B.val() || "", i) : i.values.slice(0); i.setValue(!0) } function da(b, h, d, c, e) { !1 !== M("validate", [o, h, b]) && (a(".dw-ul", o).each(function (d) { var r = a(this), f = a(‘.dw-li[data-val="‘ + i.temp[d] + ‘"]‘, r), z = a(".dw-li", r), j = z.index(f), l = z.length, g = d == h || void 0 === h; if (!f.hasClass("dw-v")) { for (var o = f, w = 0, U = 0; 0 <= j - w && !o.hasClass("dw-v") ;) w++, o = z.eq(j - w); for (; j + U < l && !f.hasClass("dw-v") ;) U++, f = z.eq(j + U); (U < w && U && 2 !== c || !w || 0 > j - w || 1 == c) && f.hasClass("dw-v") ? j += U : (f = o, j -= w) } if (!f.hasClass("dw-sel") || g) i.temp[d] = f.attr("data-val"), a(".dw-sel", r).removeClass("dw-sel"), f.addClass("dw-sel"), i.scroll(r, d, j, g ? b : 0.1, g ? e : void 0) }), i.change(d)) } function ga(b) { if (!("inline" == h.display || Q === a(window).width() && ha === a(window).height() && b)) { var d, c, e, r, f, i, j, z, w, l = 0, g = 0, b = a(window).scrollTop(); r = a(".dwwr", o); var T = a(".dw", o), m = {}; f = void 0 === h.anchor ? B : h.anchor; Q = a(window).width(); ha = a(window).height(); N = (N = window.innerHeight) || ha; /modal|bubble/.test(h.display) && (a(".dwc", o).each(function () { d = a(this).outerWidth(!0); l += d; g = d > g ? d : g }), d = l > Q ? g : l, r.width(d)); V = T.outerWidth(); O = T.outerHeight(!0); "modal" == h.display ? (c = (Q - V) / 2, e = b + (N - O) / 2) : "bubble" == h.display ? (w = !0, z = a(".dw-arrw-i", o), c = f.offset(), i = c.top, j = c.left, r = f.outerWidth(), f = f.outerHeight(), c = j - (T.outerWidth(!0) - r) / 2, c = c > Q - V ? Q - (V + 20) : c, c = 0 <= c ? c : 20, e = i - O, e < b || i > b + N ? (T.removeClass("dw-bubble-top").addClass("dw-bubble-bottom"), e = i + f) : T.removeClass("dw-bubble-bottom").addClass("dw-bubble-top"), z = z.outerWidth(), r = j + r / 2 - (c + (V - z) / 2), a(".dw-arr", o).css({ left: r > z ? z : r })) : (m.width = "100%", "top" == h.display ? e = b : "bottom" == h.display && (e = b + N - O)); m.top = 0 > e ? 0 : e; m.left = c; T.css(m); a(".dw-persp", o).height(0).height(e + O > a(document).height() ? e + O : a(document).height()); w && (e + O > b + N || i > b + N) && a(window).scrollTop(e + O - N) } } function t(a) { if ("touchstart" === a.type) L = !0, setTimeout(function () { L = !1 }, 500); else if (L) return L = !1; return !0 } function M(b, d) { var c; d.push(i); a.each([ea, f], function (a, e) { e[b] && (c = e[b].apply(P, d)) }); return c } function S(a) { var b = +a.data("pos") + 1; p(a, b > m ? c : b, 1, !0) } function qa(a) { var b = +a.data("pos") - 1; p(a, b < c ? m : b, 2, !0) } var ma, K, D, o, Q, N, ha, V, O, R, na, i = this, ia = a.mobiscroll, P = b, B = a(P), ja, oa, h = C({}, pa), ea = {}, ca = [], W = {}, ka = {}, Z = B.is("input"), X = !1; i.enable = function () { h.disabled = !1; Z && B.prop("disabled", !1) }; i.disable = function () { h.disabled = !0; Z && B.prop("disabled", !0) }; i.scroll = function (a, b, d, c, e) { function h() { clearInterval(W[b]); delete W[b]; a.data("pos", d).closest(".dwwl").removeClass("dwa") } var r = (ma - d) * K, f; r == ka[b] && W[b] || (ka[b] = r, a.attr("style", Y + "-transition:all " + (c ? c.toFixed(3) : 0) + "s ease-out;" + ($ ? Y + "-transform:translate3d(0," + r + "px,0);" : "top:" + r + "px;")), W[b] && h(), c && void 0 !== e ? (f = 0, a.closest(".dwwl").addClass("dwa"), W[b] = setInterval(function () { f += 0.1; a.data("pos", Math.round((d - e) * Math.sin(f / c * (Math.PI / 2)) + e)); f >= c && h() }, 100)) : a.data("pos", d)) }; i.setValue = function (b, d, c, e) { a.isArray(i.temp) || (i.temp = h.parseValue(i.temp + "", i)); X && b && da(c); D = h.formatResult(i.temp); e || (i.values = i.temp.slice(0), i.val = D); d && Z && B.val(D).trigger("change") }; i.getValues = function () { var a = [], b; for (b in i._selectedValues) a.push(i._selectedValues[b]); return a }; i.validate = function (a, b, d, c) { da(d, a, !0, b, c) }; i.change = function (b) { D = h.formatResult(i.temp); "inline" == h.display ? i.setValue(!1, b) : a(".dwv", o).html(k(D)); b && M("onChange", [D]) }; i.changeWheel = function (b, d) { if (o) { var c = 0, e, r, f = b.length; for (e in h.wheels) for (r in h.wheels[e]) { if (-1 < a.inArray(c, b) && (ca[c] = h.wheels[e][r], a(".dw-ul", o).eq(c).html(l(c)), f--, !f)) { ga(); da(d, void 0, !0); return } c++ } } }; i.isVisible = function () { return X }; i.tap = function (b, a) { var c, d; h.tap && b.bind("touchstart", function (b) { b.preventDefault(); c = y(b, "X"); d = y(b, "Y") }).bind("touchend", function (b) { 20 > Math.abs(y(b, "X") - c) && 20 > Math.abs(y(b, "Y") - d) && a.call(this, b); J = !0; setTimeout(function () { J = !1 }, 300) }); b.bind("click", function (b) { J || a.call(this, b) }) }; i.show = function (b) { if (h.disabled || X) return !1; "top" == h.display && (R = "slidedown"); "bottom" == h.display && (R = "slideup"); u(); M("onBeforeShow", [o]); var c = 0, e, f = ""; R && !b && (f = "dw-" + R + " dw-in"); for (var w = ‘<div class="dw-trans ‘ + h.theme + " dw-" + h.display + ‘">‘ + ("inline" == h.display ? ‘<div class="dw dwbg dwi"><div class="dwwr">‘ : ‘<div class="dw-persp"><div class="dwo"></div><div class="dw dwbg ‘ + f + ‘"><div class="dw-arrw"><div class="dw-arrw-i"><div class="dw-arr"></div></div></div><div class="dwwr">‘ + (h.headerText ? ‘<div class="dwv"></div>‘ : "")), b = 0; b < h.wheels.length; b++) { w += ‘<div class="dwc‘ + ("scroller" != h.mode ? " dwpm" : " dwsc") + (h.showLabel ? "" : " dwhl") + ‘"><div class="dwwc dwrc"><table cellpadding="0" cellspacing="0"><tr>‘; for (e in h.wheels[b]) ca[c] = h.wheels[b][e], w += ‘<td><div class="dwwl dwrc dwwl‘ + c + ‘">‘ + ("scroller" != h.mode ? ‘<div class="dwwb dwwbp" style="height:‘ + K + "px;line-height:" + K + ‘px;"><span>+</span></div><div class="dwwb dwwbm" style="height:‘ + K + "px;line-height:" + K + ‘px;"><span>–</span></div>‘ : "") + ‘<div class="dwl">‘ + e + ‘</div><div class="dww" style="height:‘ + h.rows * K + "px;min-width:" + h.width + ‘px;"><div class="dw-ul">‘, w += l(c), w += ‘</div><div class="dwwo"></div></div><div class="dwwol"></div></div></td>‘, c++; w += "</tr></table></div></div>" } w += ("inline" != h.display ? ‘<div class="dwbc‘ + (h.button3 ? " dwbc-p" : "") + ‘"><span class="dwbw dwb-s"><span class="dwb">‘ + h.setText + "</span></span>" + (h.button3 ? ‘<span class="dwbw dwb-n"><span class="dwb">‘ + h.button3Text + "</span></span>" : "") + ‘<span class="dwbw dwb-c"><span class="dwb">‘ + h.cancelText + "</span></span></div></div>" : ‘<div class="dwcc"></div>‘) + "</div></div></div>"; o = a(w); da(); M("onMarkupReady", [o]); "inline" != h.display ? (o.appendTo("body"), setTimeout(function () { o.removeClass("dw-trans").find(".dw").removeClass(f) }, 350)) : B.is("div") ? B.html(o) : o.insertAfter(B); X = !0; ja.init(o, i); "inline" != h.display && (i.tap(a(".dwb-s span", o), function () { if (i.hide(false, "set") !== false) { i.setValue(false, true); M("onSelect", [i.val]) } }), i.tap(a(".dwb-c span", o), function () { i.cancel() }), h.button3 && i.tap(a(".dwb-n span", o), h.button3), h.scrollLock && o.bind("touchmove", function (b) { O <= N && V <= Q && b.preventDefault() }), a("input,select,button").each(function () { a(this).prop("disabled") || a(this).addClass("dwtd").prop("disabled", true) }), ga(), a(window).bind("resize.dw", function () { clearTimeout(na); na = setTimeout(function () { ga(true) }, 100) })); o.delegate(".dwwl", "DOMMouseScroll mousewheel", function (b) { if (!j(this)) { b.preventDefault(); var b = b.originalEvent, b = b.wheelDelta ? b.wheelDelta / 120 : b.detail ? -b.detail / 3 : 0, c = a(".dw-ul", this), d = +c.data("pos"), d = Math.round(d - b); g(c); p(c, d, b < 0 ? 1 : 2) } }).delegate(".dwb, .dwwb", aa, function () { a(this).addClass("dwb-a") }).delegate(".dwwb", aa, function (b) { b.stopPropagation(); b.preventDefault(); var c = a(this).closest(".dwwl"); if (t(b) && !j(c) && !c.hasClass("dwa")) { v = true; var d = c.find(".dw-ul"), e = a(this).hasClass("dwwbp") ? S : qa; g(d); clearInterval(E); E = setInterval(function () { e(d) }, h.delay); e(d) } }).delegate(".dwwl", aa, function (b) { b.preventDefault(); if (t(b) && !d && !j(this) && !v) { d = true; a(document).bind(r, z); q = a(".dw-ul", this); ba = h.mode != "clickpick"; I = +q.data("pos"); g(q); la = W[H] !== void 0; s = y(b, "Y"); G = new Date; A = s; i.scroll(q, H, I, 0.001); ba && q.closest(".dwwl").addClass("dwa") } }); M("onShow", [o, D]) }; i.hide = function (b, c) { if (!1 === M("onClose", [D, c])) return !1; a(".dwtd").prop("disabled", !1).removeClass("dwtd"); B.blur(); o && ("inline" != h.display && R && !b ? (o.addClass("dw-trans").find(".dw").addClass("dw-" + R + " dw-out"), setTimeout(function () { o.remove(); o = null }, 350)) : (o.remove(), o = null), X = !1, ka = {}, a(window).unbind(".dw")) }; i.cancel = function () { !1 !== i.hide(!1, "cancel") && M("onCancel", [i.val]) }; i.init = function (b) { ja = C({ defaults: {}, init: n }, ia.themes[b.theme || h.theme]); oa = ia.i18n[b.lang || h.lang]; C(f, b); C(h, ja.defaults, oa, f); i.settings = h; B.unbind(".dw"); if (b = ia.presets[h.preset]) ea = b.call(P, i), C(h, ea, f), C(fa, ea.methods); ma = Math.floor(h.rows / 2); K = h.height; R = h.animate; void 0 !== B.data("dwro") && (P.readOnly = F(B.data("dwro"))); X && i.hide(); "inline" == h.display ? i.show() : (u(), Z && h.showOnFocus && (B.data("dwro", P.readOnly), P.readOnly = !0, B.bind("focus.dw", function () { i.show() }))) }; i.trigger = function (b, a) { return M(b, a) }; i.values = null; i.val = null; i.temp = null; i._selectedValues = {}; i.init(f) } function t(b) { for (var a in b) if (void 0 !== S[b[a]]) return !0; return !1 } function k(b) { return f[b.id] } function y(b, a) { var c = b.originalEvent, d = b.changedTouches; return d || c && c.changedTouches ? c ? c.changedTouches[0]["page" + a] : d[0]["page" + a] : b["page" + a] } function F(b) { return !0 === b || "true" == b } function j(b, a, c) { b = b > c ? c : b; return b < a ? a : b } function p(b, d, e, f, r) { var d = j(d, c, m), z = a(".dw-li", b).eq(d), l = void 0 === r ? d : r, g = H, n = f ? d == l ? 0.1 : Math.abs(0.1 * (d - l)) : 0; x.temp[g] = z.attr("data-val"); x.scroll(b, g, d, n, r); setTimeout(function () { x.validate(g, e, n, r) }, 10) } function u(b, a, c) { return fa[a] ? fa[a].apply(b, Array.prototype.slice.call(c, 1)) : "object" === typeof a ? fa.init.call(b, a) : b } var f = {}, E, n = function () { }, e, c, m, x, l = (new Date).getTime(), d, v, q, H, s, A, G, I, la, ba, S = document.createElement("modernizr").style, $ = t(["perspectiveProperty", "WebkitPerspective", "MozPerspective", "OPerspective", "msPerspective"]), Y = function () { var b = ["Webkit", "Moz", "O", "ms"], a; for (a in b) if (t([b[a] + "Transform"])) return "-" + b[a].toLowerCase(); return "" }(), C = a.extend, J, L, aa = "touchstart mousedown", r = "touchmove mousemove", z = function (b) { ba && (b.preventDefault(), A = y(b, "Y"), x.scroll(q, H, j(I + (s - A) / e, c - 1, m + 1))); la = !0 }, pa = { width: 70, height: 40, rows: 3, delay: 300, disabled: !1, readonly: !1, showOnFocus: !0, showLabel: !0, wheels: [], theme: "", headerText: "{value}", display: "modal", mode: "scroller", preset: "", lang: "en-US", setText: "Set", cancelText: "Cancel", scrollLock: !0, tap: !0, formatResult: function (b) { return b.join(" ") }, parseValue: function (b, a) { var c = a.settings.wheels, d = b.split(" "), e = [], r = 0, f, z, j; for (f = 0; f < c.length; f++) for (z in c[f]) { if (void 0 !== c[f][z][d[r]]) e.push(d[r]); else for (j in c[f][z]) { e.push(j); break } r++ } return e } }, fa = { init: function (b) { void 0 === b && (b = {}); return this.each(function () { this.id || (l += 1, this.id = "scoller" + l); f[this.id] = new g(this, b) }) }, enable: function () { return this.each(function () { var b = k(this); b && b.enable() }) }, disable: function () { return this.each(function () { var b = k(this); b && b.disable() }) }, isDisabled: function () { var b = k(this[0]); if (b) return b.settings.disabled }, isVisible: function () { var b = k(this[0]); if (b) return b.isVisible() }, option: function (b, a) { return this.each(function () { var c = k(this); if (c) { var d = {}; "object" === typeof b ? d = b : d[b] = a; c.init(d) } }) }, setValue: function (b, a, c, d) { return this.each(function () { var e = k(this); e && (e.temp = b, e.setValue(!0, a, c, d)) }) }, getInst: function () { return k(this[0]) }, getValue: function () { var b = k(this[0]); if (b) return b.values }, getValues: function () { var b = k(this[0]); if (b) return b.getValues() }, show: function () { var b = k(this[0]); if (b) return b.show() }, hide: function () { return this.each(function () { var b = k(this); b && b.hide() }) }, destroy: function () { return this.each(function () { var b = k(this); b && (b.hide(), a(this).unbind(".dw"), delete f[this.id], a(this).is("input") && (this.readOnly = F(a(this).data("dwro")))) }) } }; a(document).bind("touchend mouseup", function () { if (d) { var b = new Date - G, f = j(I + (s - A) / e, c - 1, m + 1), g, l = q.offset().top; 300 > b ? (b = (A - s) / b, g = b * b / 0.0012, 0 > A - s && (g = -g)) : g = A - s; b = Math.round(I - g / e); if (!g && !la) { var l = Math.floor((A - l) / e), n = a(".dw-li", q).eq(l); g = ba; !1 !== x.trigger("onValueTap", [n]) ? b = l : g = !0; g && (n.addClass("dw-hl"), setTimeout(function () { n.removeClass("dw-hl") }, 200)) } ba && p(q, b, 0, !0, Math.round(f)); d = !1; q = null; a(document).unbind(r, z) } v && (clearInterval(E), v = !1); a(".dwb-a").removeClass("dwb-a") }).bind("mouseover mouseup mousedown click", function (b) { if (J) return b.stopPropagation(), b.preventDefault(), !1 }); a.fn.mobiscroll = function (b) { C(this, a.mobiscroll.shorts); return u(this, b, arguments) }; a.mobiscroll = a.mobiscroll || { setDefaults: function (b) { C(pa, b) }, presetShort: function (b) { this.shorts[b] = function (a) { return u(this, C(a, { preset: b }), arguments) } }, shorts: {}, presets: {}, themes: {}, i18n: {} }; a.scroller = a.scroller || a.mobiscroll; a.fn.scroller = a.fn.scroller || a.fn.mobiscroll })(jQuery); (function (a) { var g = a.mobiscroll, t = new Date, k = { dateFormat: "mm/dd/yy", dateOrder: "mmddy", timeWheels: "hhiiA", timeFormat: "hh:ii A", startYear: t.getFullYear() - 100, endYear: t.getFullYear() + 1, monthNames: "January,February,March,April,May,June,July,August,September,October,November,December".split(","), monthNamesShort: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","), dayNames: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","), dayNamesShort: "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","), shortYearCutoff: "+10", monthText: "Month", dayText: "Day", yearText: "Year", hourText: "Hours", minuteText: "Minutes", secText: "Seconds", ampmText: " ", nowText: "Now", showNow: !1, stepHour: 1, stepMinute: 1, stepSecond: 1, separator: " " }, y = function (F) { function j(a, c, d) { return void 0 !== l[c] ? +a[l[c]] : void 0 !== d ? d : y[v[c]] ? y[v[c]]() : v[c](y) } function p(a, c) { return Math.floor(a / c) * c } function u(a) { var c = j(a, "h", 0); return new Date(j(a, "y"), j(a, "m"), j(a, "d", 1), j(a, "a") ? c + 12 : c, j(a, "i", 0), j(a, "s", 0)) } var f = a(this), E = {}, n; if (f.is("input")) { switch (f.attr("type")) { case "date": n = "yy-mm-dd"; break; case "datetime": n = "yy-mm-ddTHH:ii:ssZ"; break; case "datetime-local": n = "yy-mm-ddTHH:ii:ss"; break; case "month": n = "yy-mm"; E.dateOrder = "mmyy"; break; case "time": n = "HH:ii:ss" } var e = f.attr("min"), f = f.attr("max"); e && (E.minDate = g.parseDate(n, e)); f && (E.maxDate = g.parseDate(n, f)) } var c = a.extend({}, k, E, F.settings), m = 0, E = [], x = [], l = {}, d, v = { y: "getFullYear", m: "getMonth", d: "getDate", h: function (a) { a = a.getHours(); a = I && 12 <= a ? a - 12 : a; return p(a, S) }, i: function (a) { return p(a.getMinutes(), $) }, s: function (a) { return p(a.getSeconds(), Y) }, a: function (a) { return G && 11 < a.getHours() ? 1 : 0 } }, q = c.preset, H = c.dateOrder, s = c.timeWheels, A = H.match(/D/), G = s.match(/a/i), I = s.match(/h/), t = "datetime" == q ? c.dateFormat + c.separator + c.timeFormat : "time" == q ? c.timeFormat : c.dateFormat, y = new Date, S = c.stepHour, $ = c.stepMinute, Y = c.stepSecond, C = c.minDate || new Date(c.startYear, 0, 1), J = c.maxDate || new Date(c.endYear, 11, 31, 23, 59, 59); F.settings = c; n = n || t; if (q.match(/date/i)) { a.each(["y", "m", "d"], function (a, c) { d = H.search(RegExp(c, "i")); -1 < d && x.push({ o: d, v: c }) }); x.sort(function (a, c) { return a.o > c.o ? 1 : -1 }); a.each(x, function (a, c) { l[c.v] = a }); f = {}; for (e = 0; 3 > e; e++) if (e == l.y) { m++; f[c.yearText] = {}; var L = C.getFullYear(), aa = J.getFullYear(); for (d = L; d <= aa; d++) f[c.yearText][d] = H.match(/yy/i) ? d : (d + "").substr(2, 2) } else if (e == l.m) { m++; f[c.monthText] = {}; for (d = 0; 12 > d; d++) L = H.replace(/[dy]/gi, "").replace(/mm/, 9 > d ? "0" + (d + 1) : d + 1).replace(/m/, d + 1), f[c.monthText][d] = L.match(/MM/) ? L.replace(/MM/, ‘<span class="dw-mon">‘ + c.monthNames[d] + "</span>") : L.replace(/M/, ‘<span class="dw-mon">‘ + c.monthNamesShort[d] + "</span>") } else if (e == l.d) { m++; f[c.dayText] = {}; for (d = 1; 32 > d; d++) f[c.dayText][d] = H.match(/dd/i) && 10 > d ? "0" + d : d } E.push(f) } if (q.match(/time/i)) { x = []; a.each(["h", "i", "s", "a"], function (a, c) { a = s.search(RegExp(c, "i")); -1 < a && x.push({ o: a, v: c }) }); x.sort(function (a, c) { return a.o > c.o ? 1 : -1 }); a.each(x, function (a, c) { l[c.v] = m + a }); f = {}; for (e = m; e < m + 4; e++) if (e == l.h) { m++; f[c.hourText] = {}; for (d = 0; d < (I ? 12 : 24) ; d += S) f[c.hourText][d] = I && 0 == d ? 12 : s.match(/hh/i) && 10 > d ? "0" + d : d } else if (e == l.i) { m++; f[c.minuteText] = {}; for (d = 0; 60 > d; d += $) f[c.minuteText][d] = s.match(/ii/) && 10 > d ? "0" + d : d } else if (e == l.s) { m++; f[c.secText] = {}; for (d = 0; 60 > d; d += Y) f[c.secText][d] = s.match(/ss/) && 10 > d ? "0" + d : d } else e == l.a && (m++, q = s.match(/A/), f[c.ampmText] = { "0": q ? "AM" : "am", 1: q ? "PM" : "pm" }); E.push(f) } F.setDate = function (a, c, d, e) { for (var b in l) this.temp[l[b]] = a[v[b]] ? a[v[b]]() : v[b](a); this.setValue(!0, c, d, e) }; F.getDate = function (a) { return u(a) }; return { button3Text: c.showNow ? c.nowText : void 0, button3: c.showNow ? function () { F.setDate(new Date, !1, 0.3, !0) } : void 0, wheels: E, headerText: function () { return g.formatDate(t, u(F.temp), c) }, formatResult: function (a) { return g.formatDate(n, u(a), c) }, parseValue: function (a) { var d = new Date, e, f = []; try { d = g.parseDate(n, a, c) } catch (b) { } for (e in l) f[l[e]] = d[v[e]] ? d[v[e]]() : v[e](d); return f }, validate: function (d) { var e = F.temp, f = { y: C.getFullYear(), m: 0, d: 1, h: 0, i: 0, s: 0, a: 0 }, g = { y: J.getFullYear(), m: 11, d: 31, h: p(I ? 11 : 23, S), i: p(59, $), s: p(59, Y), a: 1 }, b = !0, m = !0; a.each("y,m,d,a,h,i,s".split(","), function (n, k) { if (l[k] !== void 0) { var p = f[k], q = g[k], F = 31, s = j(e, k), G = a(".dw-ul", d).eq(l[k]), u, x; if (k == "d") { u = j(e, "y"); x = j(e, "m"); q = F = 32 - (new Date(u, x, 32)).getDate(); A && a(".dw-li", G).each(function () { var b = a(this), d = b.data("val"), e = (new Date(u, x, d)).getDay(), d = H.replace(/[my]/gi, "").replace(/dd/, d < 10 ? "0" + d : d).replace(/d/, d); a(".dw-i", b).html(d.match(/DD/) ? d.replace(/DD/, ‘<span class="dw-day">‘ + c.dayNames[e] + "</span>") : d.replace(/D/, ‘<span class="dw-day">‘ + c.dayNamesShort[e] + "</span>")) }) } b && C && (p = C[v[k]] ? C[v[k]]() : v[k](C)); m && J && (q = J[v[k]] ? J[v[k]]() : v[k](J)); if (k != "y") { var E = a(".dw-li", G).index(a(‘.dw-li[data-val="‘ + p + ‘"]‘, G)), I = a(".dw-li", G).index(a(‘.dw-li[data-val="‘ + q + ‘"]‘, G)); a(".dw-li", G).removeClass("dw-v").slice(E, I + 1).addClass("dw-v"); k == "d" && a(".dw-li", G).removeClass("dw-h").slice(F).addClass("dw-h") } s < p && (s = p); s > q && (s = q); b && (b = s == p); m && (m = s == q); if (c.invalid && k == "d") { var t = []; c.invalid.dates && a.each(c.invalid.dates, function (a, b) { b.getFullYear() == u && b.getMonth() == x && t.push(b.getDate() - 1) }); if (c.invalid.daysOfWeek) { var y = (new Date(u, x, 1)).getDay(), D; a.each(c.invalid.daysOfWeek, function (a, b) { for (D = b - y; D < F; D = D + 7) D >= 0 && t.push(D) }) } c.invalid.daysOfMonth && a.each(c.invalid.daysOfMonth, function (a, b) { b = (b + "").split("/"); b[1] ? b[0] - 1 == x && t.push(b[1] - 1) : t.push(b[0] - 1) }); a.each(t, function (b, c) { a(".dw-li", G).eq(c).removeClass("dw-v") }) } e[l[k]] = s } }) }, methods: { getDate: function (c) { var d = a(this).mobiscroll("getInst"); if (d) return d.getDate(c ? d.temp : d.values) }, setDate: function (c, d, e, f) { void 0 == d && (d = !1); return this.each(function () { var b = a(this).mobiscroll("getInst"); b && b.setDate(c, d, e, f) }) } } } }; a.each(["date", "time", "datetime"], function (a, j) { g.presets[j] = y; g.presetShort(j) }); g.formatDate = function (g, j, p) { if (!j) return null; var p = a.extend({}, k, p), u = function (a) { for (var c = 0; n + 1 < g.length && g.charAt(n + 1) == a;) c++, n++; return c }, f = function (a, c, d) { c = "" + c; if (u(a)) for (; c.length < d;) c = "0" + c; return c }, t = function (a, c, d, e) { return u(a) ? e[c] : d[c] }, n, e = "", c = !1; for (n = 0; n < g.length; n++) if (c) "‘" == g.charAt(n) && !u("‘") ? c = !1 : e += g.charAt(n); else switch (g.charAt(n)) { case "d": e += f("d", j.getDate(), 2); break; case "D": e += t("D", j.getDay(), p.dayNamesShort, p.dayNames); break; case "o": e += f("o", (j.getTime() - (new Date(j.getFullYear(), 0, 0)).getTime()) / 864E5, 3); break; case "m": e += f("m", j.getMonth() + 1, 2); break; case "M": e += t("M", j.getMonth(), p.monthNamesShort, p.monthNames); break; case "y": e += u("y") ? j.getFullYear() : (10 > j.getYear() % 100 ? "0" : "") + j.getYear() % 100; break; case "h": var m = j.getHours(), e = e + f("h", 12 < m ? m - 12 : 0 == m ? 12 : m, 2); break; case "H": e += f("H", j.getHours(), 2); break; case "i": e += f("i", j.getMinutes(), 2); break; case "s": e += f("s", j.getSeconds(), 2); break; case "a": e += 11 < j.getHours() ? "pm" : "am"; break; case "A": e += 11 < j.getHours() ? "PM" : "AM"; break; case "‘": u("‘") ? e += "‘" : c = !0; break; default: e += g.charAt(n) } return e }; g.parseDate = function (g, j, p) { var u = new Date; if (!g || !j) return u; var j = "object" == typeof j ? j.toString() : j + "", f = a.extend({}, k, p), t = f.shortYearCutoff, p = u.getFullYear(), n = u.getMonth() + 1, e = u.getDate(), c = -1, m = u.getHours(), u = u.getMinutes(), x = 0, l = -1, d = !1, v = function (a) { (a = A + 1 < g.length && g.charAt(A + 1) == a) && A++; return a }, q = function (a) { v(a); a = j.substr(s).match(RegExp("^\\d{1," + ("@" == a ? 14 : "!" == a ? 20 : "y" == a ? 4 : "o" == a ? 3 : 2) + "}")); if (!a) return 0; s += a[0].length; return parseInt(a[0], 10) }, y = function (a, c, d) { a = v(a) ? d : c; for (c = 0; c < a.length; c++) if (j.substr(s, a[c].length).toLowerCase() == a[c].toLowerCase()) return s += a[c].length, c + 1; return 0 }, s = 0, A; for (A = 0; A < g.length; A++) if (d) "‘" == g.charAt(A) && !v("‘") ? d = !1 : s++; else switch (g.charAt(A)) { case "d": e = q("d"); break; case "D": y("D", f.dayNamesShort, f.dayNames); break; case "o": c = q("o"); break; case "m": n = q("m"); break; case "M": n = y("M", f.monthNamesShort, f.monthNames); break; case "y": p = q("y"); break; case "H": m = q("H"); break; case "h": m = q("h"); break; case "i": u = q("i"); break; case "s": x = q("s"); break; case "a": l = y("a", ["am", "pm"], ["am", "pm"]) - 1; break; case "A": l = y("A", ["am", "pm"], ["am", "pm"]) - 1; break; case "‘": v("‘") ? s++ : d = !0; break; default: s++ } 100 > p && (p += (new Date).getFullYear() - (new Date).getFullYear() % 100 + (p <= ("string" != typeof t ? t : (new Date).getFullYear() % 100 + parseInt(t, 10)) ? 0 : -100)); if (-1 < c) { n = 1; e = c; do { f = 32 - (new Date(p, n - 1, 32)).getDate(); if (e <= f) break; n++; e -= f } while (1) } m = new Date(p, n - 1, e, -1 == l ? m : l && 12 > m ? m + 12 : !l && 12 == m ? 0 : m, u, x); if (m.getFullYear() != p || m.getMonth() + 1 != n || m.getDate() != e) throw "Invalid date"; return m } })(jQuery); (function (a) { a.mobiscroll.themes.android = { defaults: { dateOrder: "Mddyy", mode: "clickpick", height: 50 } } })(jQuery); (function (a) { var g = { defaults: { dateOrder: "Mddyy", mode: "mixed", rows: 5, width: 70, height: 36, showLabel: !1 } }; a.mobiscroll.themes["android-ics"] = g; a.mobiscroll.themes["android-ics light"] = g })(jQuery); (function (a) { a.mobiscroll.themes.ios = { defaults: { dateOrder: "MMdyy", rows: 5, height: 30, width: 55, headerText: !1, showLabel: !1 } } })(jQuery); (function (a) { a.mobiscroll.themes.jqm = { defaults: { jqmBorder: "a", jqmBody: "c", jqmHeader: "b", jqmWheel: "d", jqmClickPick: "c", jqmSet: "b", jqmCancel: "c" }, init: function (g, t) { var k = t.settings; a(".dw", g).removeClass("dwbg").addClass("ui-overlay-shadow ui-corner-all ui-body-" + k.jqmBorder); a(".dwb-s span", g).attr("data-role", "button").attr("data-theme", k.jqmSet); a(".dwb-n span", g).attr("data-role", "button").attr("data-theme", k.jqmCancel); a(".dwb-c span", g).attr("data-role", "button").attr("data-theme", k.jqmCancel); a(".dwwb", g).attr("data-role", "button").attr("data-theme", k.jqmClickPick); a(".dwv", g).addClass("ui-header ui-bar-" + k.jqmHeader); a(".dwwr", g).addClass("ui-body-" + k.jqmBody); a(".dwpm .dwwl", g).addClass("ui-body-" + k.jqmWheel); a(".dwpm .dwl", g).addClass("ui-body-" + k.jqmBody); g.trigger("create"); a(".dwo", g).click(function () { t.cancel() }) } } })(jQuery); (function (a) { a.mobiscroll.themes.wp = { defaults: { width: 70, height: 76, accent: "none", dateOrder: "mmMMddDDyy" }, init: function (g, t) { var k, y; a(".dw", g).addClass("wp-" + t.settings.accent); a(".dwwl", g).bind("touchstart mousedown DOMMouseScroll mousewheel", function () { k = !0; y = a(this).hasClass("wpa"); a(".dwwl", g).removeClass("wpa"); a(this).addClass("wpa") }).bind("touchmove mousemove", function () { k = !1 }).bind("touchend mouseup", function () { k && y && a(this).removeClass("wpa") }) } }; a.mobiscroll.themes["wp light"] = a.mobiscroll.themes.wp })(jQuery);
标签:
原文地址:http://www.cnblogs.com/jt789/p/4610279.html