UNPKG

modo-mobile

Version:

A mobile UI toolkit, based on React

2,064 lines 57.1 kB
/*! * * modo-mobile v0.1.3 * * Copyright 2015-present, TDiDa, Inc. * All rights reserved. * */ .m-icon { display: inline-block; font-style: normal; vertical-align: -0.125em; text-align: center; text-transform: none; line-height: 1; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .m-icon svg { display: block; } .m-icon:before { display: block; } .m-icon .m-icon-icon { display: block; } .m-icon-spin:before { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } .m-icon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .fade-enter, .fade-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .fade-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .fade-enter.fade-enter-active, .fade-appear.fade-appear-active { -webkit-animation-name: mFadeIn; animation-name: mFadeIn; -webkit-animation-play-state: running; animation-play-state: running; } .fade-leave.fade-leave-active { -webkit-animation-name: mFadeOut; animation-name: mFadeOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .fade-enter, .fade-appear { opacity: 0; -webkit-animation-timing-function: linear; animation-timing-function: linear; } .fade-leave { -webkit-animation-timing-function: linear; animation-timing-function: linear; } @-webkit-keyframes mFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes mFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes mFadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes mFadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .slide-up-enter, .slide-up-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-up-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-up-enter.slide-up-enter-active, .slide-up-appear.slide-up-appear-active { -webkit-animation-name: mSlideUpIn; animation-name: mSlideUpIn; -webkit-animation-play-state: running; animation-play-state: running; } .slide-up-leave.slide-up-leave-active { -webkit-animation-name: mSlideUpOut; animation-name: mSlideUpOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .slide-up-enter, .slide-up-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-up-leave { -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } .slide-down-enter, .slide-down-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-down-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-down-enter.slide-down-enter-active, .slide-down-appear.slide-down-appear-active { -webkit-animation-name: mSlideDownIn; animation-name: mSlideDownIn; -webkit-animation-play-state: running; animation-play-state: running; } .slide-down-leave.slide-down-leave-active { -webkit-animation-name: mSlideDownOut; animation-name: mSlideDownOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .slide-down-enter, .slide-down-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-down-leave { -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } .slide-left-enter, .slide-left-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-left-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-left-enter.slide-left-enter-active, .slide-left-appear.slide-left-appear-active { -webkit-animation-name: mSlideLeftIn; animation-name: mSlideLeftIn; -webkit-animation-play-state: running; animation-play-state: running; } .slide-left-leave.slide-left-leave-active { -webkit-animation-name: mSlideLeftOut; animation-name: mSlideLeftOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .slide-left-enter, .slide-left-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-left-leave { -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } .slide-right-enter, .slide-right-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-right-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .slide-right-enter.slide-right-enter-active, .slide-right-appear.slide-right-appear-active { -webkit-animation-name: mSlideRightIn; animation-name: mSlideRightIn; -webkit-animation-play-state: running; animation-play-state: running; } .slide-right-leave.slide-right-leave-active { -webkit-animation-name: mSlideRightOut; animation-name: mSlideRightOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .slide-right-enter, .slide-right-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-right-leave { -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } @-webkit-keyframes mSlideUpIn { 0% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } 100% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } } @keyframes mSlideUpIn { 0% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } 100% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } } @-webkit-keyframes mSlideUpOut { 0% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } 100% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } } @keyframes mSlideUpOut { 0% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } 100% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } } @-webkit-keyframes mSlideDownIn { 0% { opacity: 0; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } 100% { opacity: 1; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(1); transform: scaleY(1); } } @keyframes mSlideDownIn { 0% { opacity: 0; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } 100% { opacity: 1; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(1); transform: scaleY(1); } } @-webkit-keyframes mSlideDownOut { 0% { opacity: 1; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(1); transform: scaleY(1); } 100% { opacity: 0; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } } @keyframes mSlideDownOut { 0% { opacity: 1; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(1); transform: scaleY(1); } 100% { opacity: 0; -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } } @-webkit-keyframes mSlideLeftIn { 0% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } 100% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } } @keyframes mSlideLeftIn { 0% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } 100% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } } @-webkit-keyframes mSlideLeftOut { 0% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } 100% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } } @keyframes mSlideLeftOut { 0% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } 100% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } } @-webkit-keyframes mSlideRightIn { 0% { opacity: 0; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } 100% { opacity: 1; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } } @keyframes mSlideRightIn { 0% { opacity: 0; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } 100% { opacity: 1; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } } @-webkit-keyframes mSlideRightOut { 0% { opacity: 1; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } 100% { opacity: 0; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } } @keyframes mSlideRightOut { 0% { opacity: 1; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(1); transform: scaleX(1); } 100% { opacity: 0; -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } } .move-up-enter, .move-up-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-up-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-up-enter.move-up-enter-active, .move-up-appear.move-up-appear-active { -webkit-animation-name: mMoveUpIn; animation-name: mMoveUpIn; -webkit-animation-play-state: running; animation-play-state: running; } .move-up-leave.move-up-leave-active { -webkit-animation-name: mMoveUpOut; animation-name: mMoveUpOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .move-up-enter, .move-up-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-up-leave { -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } .move-down-enter, .move-down-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-down-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-down-enter.move-down-enter-active, .move-down-appear.move-down-appear-active { -webkit-animation-name: mMoveDownIn; animation-name: mMoveDownIn; -webkit-animation-play-state: running; animation-play-state: running; } .move-down-leave.move-down-leave-active { -webkit-animation-name: mMoveDownOut; animation-name: mMoveDownOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .move-down-enter, .move-down-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-down-leave { -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } .move-left-enter, .move-left-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-left-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-left-enter.move-left-enter-active, .move-left-appear.move-left-appear-active { -webkit-animation-name: mMoveLeftIn; animation-name: mMoveLeftIn; -webkit-animation-play-state: running; animation-play-state: running; } .move-left-leave.move-left-leave-active { -webkit-animation-name: mMoveLeftOut; animation-name: mMoveLeftOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .move-left-enter, .move-left-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-left-leave { -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } .move-right-enter, .move-right-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-right-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .move-right-enter.move-right-enter-active, .move-right-appear.move-right-appear-active { -webkit-animation-name: mMoveRightIn; animation-name: mMoveRightIn; -webkit-animation-play-state: running; animation-play-state: running; } .move-right-leave.move-right-leave-active { -webkit-animation-name: mMoveRightOut; animation-name: mMoveRightOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .move-right-enter, .move-right-appear { opacity: 0; -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-right-leave { -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } @-webkit-keyframes mMoveDownIn { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(100%); transform: translateY(100%); opacity: 0; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } } @keyframes mMoveDownIn { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(100%); transform: translateY(100%); opacity: 0; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } } @-webkit-keyframes mMoveDownOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(100%); transform: translateY(100%); opacity: 0; } } @keyframes mMoveDownOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(100%); transform: translateY(100%); opacity: 0; } } @-webkit-keyframes mMoveLeftIn { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); opacity: 0; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); opacity: 1; } } @keyframes mMoveLeftIn { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); opacity: 0; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); opacity: 1; } } @-webkit-keyframes mMoveLeftOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); opacity: 0; } } @keyframes mMoveLeftOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); opacity: 0; } } @-webkit-keyframes mMoveRightIn { 0% { opacity: 0; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(100%); transform: translateX(100%); } 100% { opacity: 1; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); } } @keyframes mMoveRightIn { 0% { opacity: 0; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(100%); transform: translateX(100%); } 100% { opacity: 1; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); } } @-webkit-keyframes mMoveRightOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(100%); transform: translateX(100%); opacity: 0; } } @keyframes mMoveRightOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(0%); transform: translateX(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateX(100%); transform: translateX(100%); opacity: 0; } } @-webkit-keyframes mMoveUpIn { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity: 0; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } } @keyframes mMoveUpIn { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity: 0; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } } @-webkit-keyframes mMoveUpOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity: 0; } } @keyframes mMoveUpOut { 0% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(0%); transform: translateY(0%); opacity: 1; } 100% { -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity: 0; } } *, *:before, *:after { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { background-color: #fff; font-size: 14px; line-height: 1.5; color: rgba(0, 0, 0, 0.65); } *[contenteditable] { -webkit-user-select: auto !important; } *:focus { outline: none; } a { background: transparent; text-decoration: none; outline: none; color: rgba(0, 0, 0, 0.65); } ol, li { list-style: none; } * { margin: 0; padding: 0; list-style: 0; -webkit-touch-callout: none; } .m-activity-indicator { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; } .m-activity-indicator-vertical { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .m-activity-indicator-vertical .m-activity-indicator-text { color: rgba(0, 0, 0, 0.45); margin: 8px 0 0; } .m-activity-indicator-text { color: rgba(0, 0, 0, 0.45); margin: 0 0 0 8px; } .m-agree { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .m-agree-disabled { opacity: 0.5; } .m-agree-checked .m-agree-icon { border-color: transparent; } .m-agree-checked .m-agree-icon .m-icon { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); opacity: 1; } .m-agree-content { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; font-size: 13px; } .m-agree-icon { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ebebeb; margin-right: 8px; margin-top: 2px; } .m-agree-icon .m-icon { font-size: 20px; color: #1e9eff; -webkit-transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); -webkit-transform: scale(0.4); -ms-transform: scale(0.4); transform: scale(0.4); opacity: 0; } .m-button { line-height: 1.5; width: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; font-weight: 500; text-align: center; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 0 15px; font-size: 14px; border-radius: 4px; height: 48px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; color: rgba(0, 0, 0, 0.65); background-color: #fff; border-color: #ebebeb; } .m-button > .m-icon { line-height: 1; } .m-button, .m-button:active, .m-button:focus { outline: 0; } .m-button:not([disabled]):hover { text-decoration: none; } .m-button:not([disabled]):active { outline: 0; -webkit-transition: none; transition: none; } .m-button.disabled, .m-button[disabled] { cursor: not-allowed; } .m-button.disabled > *, .m-button[disabled] > * { pointer-events: none; } .m-button-lg { padding: 0 15px; font-size: 16px; border-radius: 4px; height: 60px; } .m-button-sm { padding: 0 7px; font-size: 14px; border-radius: 4px; height: 30px; } .m-button:hover, .m-button:focus { color: #4bb1ff; background-color: #fff; border-color: #4bb1ff; } .m-button:active, .m-button.active { color: #1d96f2; background-color: #fff; border-color: #1d96f2; } .m-button.disabled, .m-button[disabled] { pointer-events: none; position: relative; } .m-button.disabled:before, .m-button[disabled]:before { display: block; } .m-button:hover, .m-button:focus, .m-button:active, .m-button.active { background: #fff; text-decoration: none; } .m-button:hover, .m-button:focus, .m-button:active { background: #fff; text-decoration: none; } .m-button-inner { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; text-overflow: ellipsis; word-break: break-all; word-wrap: break-word; white-space: nowrap; } .m-button-inner > .m-icon + span, .m-button-inner > span + .m-icon { margin-left: 8px; } .m-button-primary { color: #fff; background-color: #1e9eff; border-color: #1e9eff; } .m-button-primary:hover, .m-button-primary:focus { color: #fff; background-color: #4bb1ff; border-color: #4bb1ff; } .m-button-primary:active, .m-button-primary.active { color: #fff; background-color: #1d96f2; border-color: #1d96f2; } .m-button-primary.disabled, .m-button-primary[disabled] { pointer-events: none; position: relative; } .m-button-primary.disabled:before, .m-button-primary[disabled]:before { display: block; } .m-button-ghost { color: rgba(0, 0, 0, 0.65); background-color: transparent; border-color: #ebebeb; } .m-button-ghost:hover, .m-button-ghost:focus { color: #4bb1ff; background-color: transparent; border-color: #4bb1ff; } .m-button-ghost:active, .m-button-ghost.active { color: #1d96f2; background-color: transparent; border-color: #1d96f2; } .m-button-ghost.disabled, .m-button-ghost[disabled] { pointer-events: none; position: relative; } .m-button-ghost.disabled:before, .m-button-ghost[disabled]:before { display: block; } .m-button-dashed { color: rgba(0, 0, 0, 0.65); background-color: #fff; border-color: #ebebeb; border-style: dashed; } .m-button-dashed:hover, .m-button-dashed:focus { color: #4bb1ff; background-color: #fff; border-color: #4bb1ff; } .m-button-dashed:active, .m-button-dashed.active { color: #1d96f2; background-color: #fff; border-color: #1d96f2; } .m-button-dashed.disabled, .m-button-dashed[disabled] { pointer-events: none; position: relative; } .m-button-dashed.disabled:before, .m-button-dashed[disabled]:before { display: block; } .m-button-danger { color: #fff; background-color: #f5222d; border-color: #f5222d; } .m-button-danger:hover, .m-button-danger:focus { color: #fff; background-color: #f74e57; border-color: #f74e57; } .m-button-danger:active, .m-button-danger.active { color: #fff; background-color: #e9202b; border-color: #e9202b; } .m-button-danger.disabled, .m-button-danger[disabled] { pointer-events: none; position: relative; } .m-button-danger.disabled:before, .m-button-danger[disabled]:before { display: block; } .m-button-circle, .m-button-circle-outline { width: 48px; padding: 0; font-size: 16px; border-radius: 50%; height: 48px; } .m-button-circle.m-button-lg, .m-button-circle-outline.m-button-lg { width: 60px; padding: 0; font-size: 18px; border-radius: 50%; height: 60px; } .m-button-circle.m-button-sm, .m-button-circle-outline.m-button-sm { width: 30px; padding: 0; font-size: 14px; border-radius: 50%; height: 30px; } .m-button:before { position: absolute; top: -1px; left: -1px; bottom: -1px; right: -1px; background: #fff; opacity: 0.4; content: ''; border-radius: inherit; z-index: 1; -webkit-transition: opacity 0.2s; transition: opacity 0.2s; pointer-events: none; display: none; } .m-button .m-icon { -webkit-transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .m-button.m-button-loading:before { display: block; } .m-button-inline { display: inline-block; } .m-button-inline:not(.m-button-circle):not(.m-button-circle-outline) { width: auto; } a.m-button { line-height: 46px; } a.m-button-lg { line-height: 58px; } a.m-button-sm { line-height: 28px; } .m-input-item { padding-left: 16px; padding-right: 16px; -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; } .m-input-item.m-input-item-left .m-input-item-input { text-align: left; } .m-input-item.m-input-item-center .m-input-item-input { text-align: center; } .m-input-item.m-input-item-right .m-input-item-input { text-align: right; } .m-input-item.m-input-item-disabled .m-input-item-extra { opacity: 0.5; } .m-input-item.m-input-item-disabled .m-input-item-title { opacity: 0.5; } .m-input-item.m-input-item-disabled .m-input-item-control { opacity: 0.5; } .m-input-item.m-input-item-focus .m-input-item-container::after { content: ''; position: absolute; background-color: #111a34; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 2px; -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-input-item.m-input-item-focus .m-input-item-virtual-input::after { display: inline-block; } .m-input-item-container { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-sizing: border-box; box-sizing: border-box; } .m-input-item-container::after { content: ''; position: absolute; background-color: #ebebeb; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1px; -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-input-item-title { font-size: 14px; color: #111a34; width: 5em; line-height: 48px; margin-right: 8px; } .m-input-item-control { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } .m-input-item-virtual-input, .m-input-item-input { width: 100%; height: 48px; color: #111a34; font-size: 14px; font-weight: 500; border: none; background: transparent; outline: none; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .m-input-item-clear { position: absolute; color: rgba(0, 0, 0, 0.3); top: 0; right: 0; height: 48px; min-width: 24px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .m-input-item-has-clear .m-input-item-container { padding-right: 24px; } .m-input-item.m-input-item-has-error .m-input-item-container::after { content: ''; position: absolute; background-color: #f5222d; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 2px; -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-input-item.m-input-item-has-error .m-input-item-tip { color: #f5222d; } .m-input-item-tip { -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 12px; color: rgba(0, 0, 0, 0.45); padding: 6px 0; } .m-input-item input::-webkit-input-placeholder { color: rgba(0, 0, 0, 0.3); } .m-input-item input:-ms-input-placeholder { color: rgba(0, 0, 0, 0.3); } .m-input-item input::-ms-input-placeholder { color: rgba(0, 0, 0, 0.3); } .m-input-item input::placeholder { color: rgba(0, 0, 0, 0.3); } .m-input-item-virtual-input { cursor: text; line-height: 48px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .m-input-item-virtual-input::after { position: relative; z-index: 2; display: none; content: ' '; top: 1px; height: 14px; border-right: solid 2px #111a34; -webkit-animation: keyboard-cursor infinite 1s; animation: keyboard-cursor infinite 1s; } .m-input-item-virtual-placeholder { color: rgba(0, 0, 0, 0.3); } .m-input-item-virtual-show { padding-bottom: 208px; } @-webkit-keyframes keyboard-cursor { 0% { opacity: 1; } 50% { opacity: 0; } to { opacity: 1; } } @keyframes keyboard-cursor { 0% { opacity: 1; } 50% { opacity: 0; } to { opacity: 1; } } .m-list { background-color: #fff; } .m-list-header { font-size: 14px; font-weight: 500; color: #333; padding: 16px; 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: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; position: relative; } .m-list-header::after { content: ''; position: absolute; background-color: #ebebeb; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1px; -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-list-item { padding-left: 16px; padding-right: 16px; -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; } .m-list-item.m-list-item-has-arrow:active:after { display: block; } .m-list-item:after { top: 0; right: 0; bottom: 0; left: 0; display: none; content: ''; position: absolute; -webkit-box-sizing: border-box; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.03); } .m-list-item.m-list-item-right .m-list-item-content { -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -webkit-flex-direction: row-reverse; -ms-flex-direction: row-reverse; flex-direction: row-reverse; } .m-list-item.m-list-item-center .m-list-item-content { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .m-list-item.m-list-item-disabled:active:after { display: none; } .m-list-item.m-list-item-disabled .m-list-item-label { opacity: 0.5; } .m-list-item.m-list-item-disabled .m-list-item-content { opacity: 0.5; } .m-list-item:last-child .m-list-item-inner::after { display: none; } .m-list-item-inner { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; padding: 14px 0; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; position: relative; } .m-list-item-inner::after { content: ''; position: absolute; background-color: #ebebeb; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1px; -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-list-item-arrow { color: rgba(0, 0, 0, 0.3); font-size: 12px; margin-left: 6px; } .m-list-item-arrow-up .m-icon > svg { -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); } .m-list-item-arrow-down .m-icon > svg { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); } .m-list-item-label { font-size: 14px; } .m-list-item-label-solid { width: 5em; } .m-list-item-title { color: #111a34; } .m-list-item-brief { color: rgba(0, 0, 0, 0.45); font-size: 12px; padding-top: 4px; } .m-list-item-extra { margin-right: 8px; } .m-list-item-content { width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; margin-left: 6px; } .m-notice-bar { position: relative; color: #fff; height: 36px; line-height: 36px; background-color: #4a4c5b; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; font-size: 12px; } .m-notice-bar-content { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; margin: auto 10px; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .m-notice-bar-icon { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; margin-left: 10px; } .m-notice-bar-icon + div { margin-left: 10px; } .m-notice-bar-close-icon { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding-right: 10px; color: #fff; } .m-popup-mask { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.65); height: 100%; z-index: 1000; } .m-popup-box { position: fixed; z-index: 1000; max-width: 100%; max-height: 100%; overflow: auto; will-change: auto; } .m-popup.m-popup-center .m-popup-box { top: 50%; right: auto; bottom: auto; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .m-popup.m-popup-left .m-popup-box, .m-popup.m-popup-right .m-popup-box { height: 100%; } .m-popup.m-popup-top .m-popup-box, .m-popup.m-popup-bottom .m-popup-box { width: 100%; } .m-popup.m-popup-left .m-popup-box, .m-popup.m-popup-top .m-popup-box { top: 0; left: 0; } .m-popup.m-popup-right .m-popup-box { top: 0; right: 0; } .m-popup.m-popup-bottom .m-popup-box { bottom: 0; left: 0; background-color: #fff; padding-bottom: env(safe-area-inset-bottom); } .m-popup-title-bar { 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; background-color: #fff; overflow: hidden; position: relative; } .m-popup-title-bar::after { content: ''; position: absolute; background-color: #ebebeb; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1px; -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-popup-title-bar-center { -webkit-box-flex: 3; -webkit-flex: 3; -ms-flex: 3; flex: 3; text-align: center; } .m-popup-title-bar-left, .m-popup-title-bar-right { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .m-popup-title-bar-left, .m-popup-title-bar-right, .m-popup-title-bar-center { font-size: 16px; font-weight: 500; padding: 12px 0; } .m-popup-title-bar-right { color: #1e9eff; } .m-popup-title-bar-describe { font-size: 12px; color: rgba(0, 0, 0, 0.45); } .m-number-keyboard { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; position: relative; -webkit-tap-highlight-color: transparent; } .m-number-keyboard::before { content: ''; position: absolute; background-color: #e2e4ea; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1px; -webkit-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-number-keyboard-number { -webkit-box-flex: 3; -webkit-flex: 3; -ms-flex: 3; flex: 3; background-color: #fff; } .m-number-keyboard-number-list { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .m-number-keyboard-number-item { width: 33.33333333%; height: 52px; position: relative; text-align: center; line-height: 52px; font-size: 26px; font-weight: 500; font-family: 'DINAlternate-Bold'; color: #111a34; -webkit-transition: background 0.3s; transition: background 0.3s; background: #fff; } .m-number-keyboard-number-item::after { content: ''; position: absolute; background-color: #e2e4ea; display: block; z-index: 1; top: 0; right: 0; bottom: auto; left: auto; width: 1px; height: 100%; background: #e2e4ea; -webkit-transform-origin: 100% 50%; -ms-transform-origin: 100% 50%; transform-origin: 100% 50%; -webkit-transform: scaleX(0.5); -ms-transform: scaleX(0.5); transform: scaleX(0.5); } .m-number-keyboard-number-item::before { content: ''; position: absolute; background-color: #e2e4ea; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1px; -webkit-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: scaleY(0.5); -ms-transform: scaleY(0.5); transform: scaleY(0.5); } .m-number-keyboard-number-item:before { display: none !important; } .m-number-keyboard-number-item:nth-of-type(n + 4):before { display: inline !important; } .m-number-keyboard-number-item:nth-of-type(3n)::after { display: none !important; } .m-number-keyboard-number-item:active { background-color: #f0f0f0; } .m-number-keyboard-number-item-no:active { background-color: #fff; } .m-number-keyboard-operate { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } .m-number-keyboard-operate-list { height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .m-number-keyboard-operate-item { width: 100%; background: #fff; -webkit-transition: background 0.3s; transition: