|
|
@@ -1,558 +0,0 @@
|
|
|
-/**
|
|
|
- * LCalendar移动端日期时间选择控件
|
|
|
- *
|
|
|
- * version:1.7.1
|
|
|
- *
|
|
|
- * author:黄磊
|
|
|
- *
|
|
|
- * git:https://github.com/xfhxbb/LCalendar
|
|
|
- *
|
|
|
- * Copyright 2016
|
|
|
- *
|
|
|
- * Licensed under MIT
|
|
|
- *
|
|
|
- * 最近修改于: 2016-6-12 17:22:20
|
|
|
- */
|
|
|
-.gearDate {
|
|
|
- font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
|
- font-size: 10px;
|
|
|
- background-color: rgba(0, 0, 0, 0.2);
|
|
|
- display: block;
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- z-index: 9900;
|
|
|
- overflow: hidden;
|
|
|
- -webkit-animation-fill-mode: both;
|
|
|
- animation-fill-mode: both
|
|
|
-}
|
|
|
-
|
|
|
-.date_ctrl {
|
|
|
- vertical-align: middle;
|
|
|
- background-color: #fff;
|
|
|
- color: #808080;
|
|
|
- margin: 0;
|
|
|
- height: auto;
|
|
|
- width: 100%;
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- bottom: 0;
|
|
|
- z-index: 9901;
|
|
|
- overflow: hidden;
|
|
|
- -webkit-transform: translate3d(0, 0, 0);
|
|
|
- transform: translate3d(0, 0, 0)
|
|
|
-}
|
|
|
-
|
|
|
-.slideInUp {
|
|
|
- -webkit-animation: slideInUp .3s;
|
|
|
- animation: slideInUp .3s;
|
|
|
-}
|
|
|
-
|
|
|
-@-webkit-keyframes slideInUp {
|
|
|
- from {
|
|
|
- -webkit-transform: translate3d(0, 100%, 0);
|
|
|
- transform: translate3d(0, 100%, 0)
|
|
|
- }
|
|
|
- to {
|
|
|
- -webkit-transform: translate3d(0, 0, 0);
|
|
|
- transform: translate3d(0, 0, 0)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-@keyframes slideInUp {
|
|
|
- from {
|
|
|
- -webkit-transform: translate3d(0, 100%, 0);
|
|
|
- transform: translate3d(0, 100%, 0)
|
|
|
- }
|
|
|
- to {
|
|
|
- -webkit-transform: translate3d(0, 0, 0);
|
|
|
- transform: translate3d(0, 0, 0)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.ym_roll,
|
|
|
-.date_roll,
|
|
|
-.datetime_roll,
|
|
|
-.time_roll {
|
|
|
- display: -webkit-box;
|
|
|
- display: -webkit-flex;
|
|
|
- display: -ms-flexbox;
|
|
|
- display: flex;
|
|
|
- width: 100%;
|
|
|
- height: auto;
|
|
|
- overflow: hidden;
|
|
|
- background-color: transparent;
|
|
|
- -webkit-mask: -webkit-gradient(linear, 0% 50%, 0% 100%, from(#debb47), to(rgba(36, 142, 36, 0)));
|
|
|
- -webkit-mask: -webkit-linear-gradient(top, #debb47 50%, rgba(36, 142, 36, 0))
|
|
|
-}
|
|
|
-
|
|
|
-.ym_roll>div,
|
|
|
-.date_roll>div,
|
|
|
-.datetime_roll>div,
|
|
|
-.time_roll>div {
|
|
|
- font-size: 1rem;
|
|
|
- height: 18em;
|
|
|
- float: left;
|
|
|
- background-color: transparent;
|
|
|
- position: relative;
|
|
|
- overflow: hidden;
|
|
|
- -webkit-box-flex: 4;
|
|
|
- -webkit-flex: 4;
|
|
|
- -ms-flex: 4;
|
|
|
- flex: 4
|
|
|
-}
|
|
|
-.date_title {
|
|
|
- height: 2.5rem;
|
|
|
- line-height: 2.5rem;
|
|
|
- text-align: center;
|
|
|
- font-size: 1rem;
|
|
|
- background-color: #f5c82d;
|
|
|
- color: #333;
|
|
|
-}
|
|
|
-.ym_roll>div .gear,
|
|
|
-.date_roll>div .gear,
|
|
|
-.datetime_roll>div .gear,
|
|
|
-.time_roll>div .gear {
|
|
|
- width: 100%;
|
|
|
- float: left;
|
|
|
- position: absolute;
|
|
|
- z-index: 9902;
|
|
|
- margin-top: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll_mask {
|
|
|
- -webkit-mask: -webkit-gradient(linear, 0% 40%, 0% 0%, from(#debb47), to(rgba(36, 142, 36, 0)));
|
|
|
- -webkit-mask: -webkit-linear-gradient(bottom, #debb47 50%, rgba(36, 142, 36, 0));
|
|
|
- padding: 0
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll>div:nth-child(2) {
|
|
|
- -webkit-box-flex: 4;
|
|
|
- -webkit-flex: 4;
|
|
|
- -ms-flex: 4;
|
|
|
- flex: 4
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll>div:nth-child(1),
|
|
|
-.datetime_roll>div:nth-child(1) {
|
|
|
- -webkit-box-flex: 4;
|
|
|
- -webkit-flex: 4;
|
|
|
- -ms-flex: 4;
|
|
|
- flex: 4
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div:first-child {
|
|
|
- -webkit-box-flex: 6;
|
|
|
- -webkit-flex: 6;
|
|
|
- -ms-flex: 6;
|
|
|
- flex: 6
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div:last-child {
|
|
|
- -webkit-box-flex: 6;
|
|
|
- -webkit-flex: 6;
|
|
|
- -ms-flex: 6;
|
|
|
- flex: 6
|
|
|
-}
|
|
|
-.date_roll>div:nth-child(1) .date_grid{
|
|
|
- left:5.1rem;
|
|
|
-}
|
|
|
-.date_roll>div:nth-child(2) .date_grid{
|
|
|
- left:0.6rem;
|
|
|
-}
|
|
|
-.date_grid {
|
|
|
- position: relative;
|
|
|
- top: 8em;
|
|
|
- width: 6rem;
|
|
|
- height: 2em;
|
|
|
- margin: 0;
|
|
|
- box-sizing: border-box;
|
|
|
- z-index: 0;
|
|
|
- border-top: 1px solid #f5c82d;
|
|
|
- border-bottom: 1px solid #f5c82d;
|
|
|
-}
|
|
|
-
|
|
|
-.date_grid>div {
|
|
|
- color: #000;
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
- top: 0;
|
|
|
- font-size: .8em;
|
|
|
- line-height: 2.5em
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll>div:nth-child(3) .date_grid>div {
|
|
|
- left: 42%
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div .date_grid>div {
|
|
|
- right: 0
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div:first-child .date_grid>div {
|
|
|
- left: auto;
|
|
|
- right: 0%
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div:last-child .date_grid>div {
|
|
|
- left: 50%
|
|
|
-}
|
|
|
-
|
|
|
-.time_roll>div:nth-child(1) .date_grid>div {
|
|
|
- right: 1em
|
|
|
-}
|
|
|
-
|
|
|
-.ym_roll>div:nth-child(1) .date_grid>div {
|
|
|
- right: .1em
|
|
|
-}
|
|
|
-
|
|
|
-.ym_roll>div .date_grid>div,
|
|
|
-.time_roll>div .date_grid>div {
|
|
|
- right: 5em
|
|
|
-}
|
|
|
-
|
|
|
-.date_btn {
|
|
|
- color: #333;
|
|
|
- font-size: 1rem;
|
|
|
- line-height: 1.5rem;
|
|
|
- text-align: center;
|
|
|
- padding: 0 1rem;
|
|
|
- height: 2.5rem;
|
|
|
- display: inline-block;
|
|
|
- width: 50%;
|
|
|
- border: 1px solid #ffd132;
|
|
|
- line-height: 40px;
|
|
|
- margin: auto;
|
|
|
-
|
|
|
-}
|
|
|
-.lcalendar_finish{background: #ffd132;}
|
|
|
-
|
|
|
-.date_btn_box:before,
|
|
|
-.date_btn_box:after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- height: 1px;
|
|
|
- width: 100%;
|
|
|
- display: block;
|
|
|
- z-index: 15;
|
|
|
- -webkit-transform: scaleY(0.33);
|
|
|
- transform: scaleY(0.33)
|
|
|
-}
|
|
|
-
|
|
|
-.date_btn_box {
|
|
|
- display: -webkit-box;
|
|
|
- display: -webkit-flex;
|
|
|
- display: -ms-flexbox;
|
|
|
- display: flex;
|
|
|
- -webkit-box-pack: justify;
|
|
|
- -webkit-justify-content: space-between;
|
|
|
- -ms-flex-pack: justify;
|
|
|
- justify-content: space-between;
|
|
|
- -webkit-box-align: stretch;
|
|
|
- -webkit-align-items: stretch;
|
|
|
- -ms-flex-align: stretch;
|
|
|
- align-items: stretch;
|
|
|
- position: relative
|
|
|
-}
|
|
|
-
|
|
|
-.date_btn_box:before {
|
|
|
- left: 0;
|
|
|
- top: 0;
|
|
|
- -webkit-transform-origin: 50% 20%;
|
|
|
- transform-origin: 50% 20%
|
|
|
-}
|
|
|
-
|
|
|
-.date_btn_box:after {
|
|
|
- left: 0;
|
|
|
- bottom: 0;
|
|
|
- -webkit-transform-origin: 50% 70%;
|
|
|
- transform-origin: 50% 70%
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll>div:nth-child(1) .gear {
|
|
|
- text-indent: 40%
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll>div:nth-child(2) .gear {
|
|
|
- text-indent: -40%
|
|
|
-}
|
|
|
-
|
|
|
-.date_roll>div:nth-child(3) .gear {
|
|
|
- text-indent: -55%
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div .gear {
|
|
|
- width: 100%;
|
|
|
- text-indent: -25%
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div:first-child .gear {
|
|
|
- text-indent: -10%
|
|
|
-}
|
|
|
-
|
|
|
-.datetime_roll>div:last-child .gear {
|
|
|
- text-indent: -50%
|
|
|
-}
|
|
|
-
|
|
|
-.ym_roll>div .gear,
|
|
|
-.time_roll>div .gear {
|
|
|
- width: 100%;
|
|
|
- text-indent: -70%
|
|
|
-}
|
|
|
-
|
|
|
-.ym_roll>div:nth-child(1) .gear,
|
|
|
-.time_roll>div:nth-child(1) .gear {
|
|
|
- width: 100%;
|
|
|
- text-indent: 10%
|
|
|
-}
|
|
|
-
|
|
|
-.tooth {
|
|
|
- height: 2em;
|
|
|
- line-height: 2em;
|
|
|
- text-align: center
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-@charset "UTF-8";
|
|
|
-/* line 6, ../sass/mpicker.scss */
|
|
|
-.hide {
|
|
|
- display: none;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 9, ../sass/mpicker.scss */
|
|
|
-.mPicker-hide {
|
|
|
- visibility: hidden;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 15, ../sass/mpicker.scss */
|
|
|
-.mPicker-pr {
|
|
|
- position: relative;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 19, ../sass/mpicker.scss */
|
|
|
-.mPicker {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- left: 0;
|
|
|
- z-index: 9999;
|
|
|
-}
|
|
|
-
|
|
|
-/*遮罩*/
|
|
|
-/* line 32, ../sass/mpicker.scss */
|
|
|
-.mPicker-mask {
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- z-index: 9;
|
|
|
- background: #000;
|
|
|
- opacity: .7;
|
|
|
-}
|
|
|
-
|
|
|
-/*选中的线*/
|
|
|
-/* line 46, ../sass/mpicker.scss */
|
|
|
-.mPicker-active-box {
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- width: 70%;
|
|
|
- margin-left: -35%;
|
|
|
- border-top: 1px solid #f1c21f;
|
|
|
- border-bottom: 1px solid #f1c21f;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 56, ../sass/mpicker.scss */
|
|
|
-.mPicker-main {
|
|
|
- background: #f5f5f5;
|
|
|
- box-sizing: border-box;
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- z-index: 10;
|
|
|
- -webkit-transition: all .2s ease-out;
|
|
|
- transition: all .2s ease-out;
|
|
|
- -webkit-backface-visibility: hidden;
|
|
|
- -webkit-transform-style: preserve-3d;
|
|
|
- -webkit-transform: translate3d(0, 0, 0);
|
|
|
-}
|
|
|
-
|
|
|
-/* line 71, ../sass/mpicker.scss */
|
|
|
-.mPicker-main.mPicker-bottom {
|
|
|
- bottom: 0;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 75, ../sass/mpicker.scss */
|
|
|
-.mPicker-main.mPicker-modal {
|
|
|
- -webkit-border-radius: 3px;
|
|
|
- border-radius: 3px;
|
|
|
- width: 264px;
|
|
|
- top: 50%;
|
|
|
- bottom: auto;
|
|
|
- left: 50%;
|
|
|
- margin-top: -127px;
|
|
|
- margin-left: -132px;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 86, ../sass/mpicker.scss */
|
|
|
-.mPicker-main.down {
|
|
|
- transform: translateY(100%);
|
|
|
- -webkit-transform: translateY(100%);
|
|
|
-}
|
|
|
-
|
|
|
-/* line 91, ../sass/mpicker.scss */
|
|
|
-.mPicker-header {
|
|
|
- position: relative;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
- text-align: center;
|
|
|
- color: #333;
|
|
|
- font-size: 1rem;
|
|
|
-background: #f1c21f;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 101, ../sass/mpicker.scss */
|
|
|
-.mPicker-footer {
|
|
|
- border: 1px solid #f1c21f;
|
|
|
-
|
|
|
- height: 36px;
|
|
|
- line-height: 37px;
|
|
|
- position: relative;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 109, ../sass/mpicker.scss */
|
|
|
-.mPicker-content {
|
|
|
- overflow: hidden;
|
|
|
- z-index: 15;
|
|
|
- position: relative;
|
|
|
- display: box;
|
|
|
- display: -webkit-box;
|
|
|
- display: -moz-box;
|
|
|
- display: -ms-flexbox;
|
|
|
- display: -webkit-flex;
|
|
|
- display: flex;
|
|
|
- -webkit-box-sizing: border-box;
|
|
|
- box-sizing: border-box;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 123, ../sass/mpicker.scss */
|
|
|
-.mPicker-list {
|
|
|
- -webkit-box-flex: 1;
|
|
|
- -moz-box-flex: 1;
|
|
|
- -webkit-flex: 1;
|
|
|
- -ms-flex: 1;
|
|
|
- flex: 1;
|
|
|
- width: 100%;
|
|
|
- position: relative;
|
|
|
- overflow: hidden;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 134, ../sass/mpicker.scss */
|
|
|
-.mPicker-content ul {
|
|
|
- width: 100%;
|
|
|
- text-align: center;
|
|
|
- position: relative;
|
|
|
- z-index: 20;
|
|
|
- list-style: none;
|
|
|
- margin: 0;
|
|
|
- padding: 0;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 144, ../sass/mpicker.scss */
|
|
|
-.mPicker-content li {
|
|
|
- padding-left: 3%;
|
|
|
- padding-right: 3%;
|
|
|
- height: 36px;
|
|
|
- line-height: 36px;
|
|
|
- overflow: hidden;
|
|
|
- color: #333;
|
|
|
- font-size: 0.4rem;
|
|
|
- -webkit-transition: all .2s ease-out;
|
|
|
- transition: all .2s ease-out;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 156, ../sass/mpicker.scss */
|
|
|
-.mPicker-content li.active {
|
|
|
- color: #000;
|
|
|
- -webkit-transform: scale(1.1);
|
|
|
- transform: scale(1.1);
|
|
|
-}
|
|
|
-
|
|
|
-/* line 162, ../sass/mpicker.scss */
|
|
|
-.mPicker-content.level-2 ul {
|
|
|
- width: 50%;
|
|
|
-}
|
|
|
-
|
|
|
-/*按钮*/
|
|
|
-/* line 169, ../sass/mpicker.scss */
|
|
|
-.mPicker-confirm,
|
|
|
-.mPicker-cancel {
|
|
|
- color: #333;
|
|
|
- font-size: 1rem;
|
|
|
- width: 50%;
|
|
|
- text-align: center;
|
|
|
- display: inline-block;
|
|
|
- text-decoration: none;
|
|
|
- -webkit-box-sizing: border-box;
|
|
|
- box-sizing: border-box;
|
|
|
-}
|
|
|
-/* line 179, ../sass/mpicker.scss */
|
|
|
-.mPicker-confirm:active, .mPicker-confirm:hover,
|
|
|
-.mPicker-cancel:active,
|
|
|
-.mPicker-cancel:hover {
|
|
|
- background-color: #29799c;
|
|
|
- color: #fff;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 186, ../sass/mpicker.scss */
|
|
|
-.mPicker-confirm {
|
|
|
- border-right: 1px solid #f1c21f;
|
|
|
- background: #f1c21f;
|
|
|
- color: #333;
|
|
|
- float: right;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 192, ../sass/mpicker.scss */
|
|
|
-.mPicker-input-mask {
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: 2;
|
|
|
-}
|
|
|
-
|
|
|
-/* line 199, ../sass/mpicker.scss */
|
|
|
-.mPicker-shadow {
|
|
|
- position: absolute;
|
|
|
- top: 41px;
|
|
|
- bottom: 38px;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- z-index: 999;
|
|
|
- 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%);
|
|
|
- background: -webkit-gradient(linear, 0% 100%, 0% 0%, from(whitesmoke), color-stop(0.48, rgba(245, 245, 245, 0)), color-stop(0.52, rgba(245, 245, 245, 0)), to(whitesmoke));
|
|
|
- pointer-events: none;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|