|
@@ -0,0 +1,238 @@
|
|
|
+@charset "UTF-8";
|
|
|
+/* 水平间距 */
|
|
|
+/* 水平间距 */
|
|
|
+.uni-calendar {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+.uni-calendar__mask {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ background-color: rgba(0, 0, 0, 0.4);
|
|
|
+ transition-property: opacity;
|
|
|
+ transition-duration: 0.3s;
|
|
|
+ opacity: 0;
|
|
|
+ z-index: 99;
|
|
|
+}
|
|
|
+.uni-calendar--mask-show {
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+.uni-calendar--fixed {
|
|
|
+ position: fixed;
|
|
|
+ bottom: calc(0px);
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ transition-property: -webkit-transform;
|
|
|
+ transition-property: transform;
|
|
|
+ transition-property: transform, -webkit-transform;
|
|
|
+ transition-duration: 0.3s;
|
|
|
+ -webkit-transform: translateY(460px);
|
|
|
+ transform: translateY(460px);
|
|
|
+ z-index: 99;
|
|
|
+}
|
|
|
+.uni-calendar--ani-show {
|
|
|
+ -webkit-transform: translateY(0);
|
|
|
+ transform: translateY(0);
|
|
|
+}
|
|
|
+.uni-calendar__content {
|
|
|
+ background-color: #fff;
|
|
|
+}
|
|
|
+.uni-calendar__content-mobile {
|
|
|
+ border-top-left-radius: 10px;
|
|
|
+ border-top-right-radius: 10px;
|
|
|
+ box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
|
|
|
+}
|
|
|
+.uni-calendar__header {
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 50px;
|
|
|
+}
|
|
|
+.uni-calendar__header-mobile {
|
|
|
+ padding: 10px;
|
|
|
+ padding-bottom: 0;
|
|
|
+}
|
|
|
+.uni-calendar--fixed-top {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-between;
|
|
|
+ border-top-color: rgba(0, 0, 0, 0.4);
|
|
|
+ border-top-style: solid;
|
|
|
+ border-top-width: 1px;
|
|
|
+}
|
|
|
+.uni-calendar--fixed-width {
|
|
|
+ width: 50px;
|
|
|
+}
|
|
|
+.uni-calendar__backtoday {
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 25rpx;
|
|
|
+ padding: 0 5px;
|
|
|
+ padding-left: 10px;
|
|
|
+ height: 25px;
|
|
|
+ line-height: 25px;
|
|
|
+ font-size: 12px;
|
|
|
+ border-top-left-radius: 25px;
|
|
|
+ border-bottom-left-radius: 25px;
|
|
|
+ color: #fff;
|
|
|
+ background-color: #f1f1f1;
|
|
|
+}
|
|
|
+.uni-calendar__header-text {
|
|
|
+ text-align: center;
|
|
|
+ width: 100px;
|
|
|
+ font-size: 15px;
|
|
|
+ color: #666;
|
|
|
+}
|
|
|
+.uni-calendar__button-text {
|
|
|
+ text-align: center;
|
|
|
+ width: 100px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #2979ff;
|
|
|
+ letter-spacing: 3px;
|
|
|
+}
|
|
|
+.uni-calendar__header-btn-box {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 50px;
|
|
|
+ height: 50px;
|
|
|
+}
|
|
|
+.uni-calendar__header-btn {
|
|
|
+ width: 9px;
|
|
|
+ height: 9px;
|
|
|
+ border-left-color: #808080;
|
|
|
+ border-left-style: solid;
|
|
|
+ border-left-width: 1px;
|
|
|
+ border-top-color: #555555;
|
|
|
+ border-top-style: solid;
|
|
|
+ border-top-width: 1px;
|
|
|
+}
|
|
|
+.uni-calendar--left {
|
|
|
+ -webkit-transform: rotate(-45deg);
|
|
|
+ transform: rotate(-45deg);
|
|
|
+}
|
|
|
+.uni-calendar--right {
|
|
|
+ -webkit-transform: rotate(135deg);
|
|
|
+ transform: rotate(135deg);
|
|
|
+}
|
|
|
+.uni-calendar__weeks {
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+}
|
|
|
+.uni-calendar__weeks-item {
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+.uni-calendar__weeks-day {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 40px;
|
|
|
+ border-bottom-color: #F5F5F5;
|
|
|
+ border-bottom-style: solid;
|
|
|
+ border-bottom-width: 1px;
|
|
|
+}
|
|
|
+.uni-calendar__weeks-day-text {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #B2B2B2;
|
|
|
+}
|
|
|
+.uni-calendar__box {
|
|
|
+ position: relative;
|
|
|
+ padding-bottom: 7px;
|
|
|
+}
|
|
|
+.uni-calendar__box-bg {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+}
|
|
|
+.uni-calendar__box-bg-text {
|
|
|
+ font-size: 200px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #999;
|
|
|
+ opacity: 0.1;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 1;
|
|
|
+}
|
|
|
+.uni-date-changed {
|
|
|
+ padding: 0 10px;
|
|
|
+ text-align: center;
|
|
|
+ color: #333;
|
|
|
+ border-top-color: #DCDCDC;
|
|
|
+ border-top-style: solid;
|
|
|
+ border-top-width: 1px;
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+.uni-date-btn--ok {
|
|
|
+ padding: 20px 15px;
|
|
|
+}
|
|
|
+.uni-date-changed--time-start {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.uni-date-changed--time-end {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.uni-date-changed--time-date {
|
|
|
+ color: #999;
|
|
|
+ line-height: 50px;
|
|
|
+ margin-right: 5px;
|
|
|
+}
|
|
|
+.time-picker-style {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.mr-10 {
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
+.dialog-close {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 25px;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+.dialog-close-plus {
|
|
|
+ width: 16px;
|
|
|
+ height: 2px;
|
|
|
+ background-color: #737987;
|
|
|
+ border-radius: 2px;
|
|
|
+ -webkit-transform: rotate(45deg);
|
|
|
+ transform: rotate(45deg);
|
|
|
+}
|
|
|
+.dialog-close-rotate {
|
|
|
+ position: absolute;
|
|
|
+ -webkit-transform: rotate(-45deg);
|
|
|
+ transform: rotate(-45deg);
|
|
|
+}
|
|
|
+.uni-datetime-picker--btn {
|
|
|
+ border-radius: 100px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ background-color: #2979ff;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 16px;
|
|
|
+ letter-spacing: 2px;
|
|
|
+}
|
|
|
+.uni-datetime-picker--btn:active {
|
|
|
+ opacity: 0.7;
|
|
|
+}
|
|
|
+
|