freq.wxss 3.9 KB
.checkbox{
	width: 38rpx;
	height: 38rpx;
	vertical-align: middle;
}
.mode-box{
	background-color: #fff;
	margin: 10px;
	border-radius: 6px;
	padding: 10px 15px;
	overflow: hidden;
}
.mode-title{
	margin: 10px 15px;
}
.mode-title .radio{
	width: 42rpx;
	height: 42rpx;
	vertical-align: middle;
}
.info{
	width: 34rpx;
	height: 34rpx;
	vertical-align: middle;
}
.catch-mode{
	padding-left: 30px;
}

.catch-mode input{
	display: inline-block;
	vertical-align: middle;
	width: 80px;
	height: 30px;
	line-height: 30px;
	border:1px solid #ececec;
	border-radius:4px;
	background-color:#efefef;
	padding-left: 10px;
	margin-right: 5px;
}
.clock-mode{
	display: flex;
	flex-direction: row;
	padding-top: 0px;
	padding-bottom: 0px;
}
.clock-mode .input-group{
	flex: 1;
}
.time-text{
	display: inline-block;
	width: 80px;
	height: 30px;
	line-height: 30px;
	border:1px solid #ececec;
	border-radius:4px;
	background-color:#efefef;
	text-indent: 10px;
}

.weui-cell:before{
	display: none;
}
.time-picker{
	border:1px solid #ececec;
	border-radius:4px;
	background-color:#efefef;
	width:80px;
	text-indent:10px;
	height:30px;
	line-height:30px;

}
.clock-mode .checkbox-group .weui-cell{
	padding: 13px 5px 14px 15px;
}
.clock-icon{
	width: 46rpx;
	height: 46rpx;
	margin-left: 15px;
}

.time-picker-wrap{
	position: fixed;
	width: 100%;
	height: 100%;
	bottom: 0;
	left: 0;
	z-index: 1000;
	background-color: rgba(0,0,0,0.3);
	animation: pickershow 1s;
  	-webkit-animation: pickershow .5s; /* Safari 和 Chrome */
}
.time-picker-main{
	position: absolute;
	width: 100%;
	background-color: #fff;
	bottom: 0;
	left: 0;
}
.time-picker-wrap.hidden{
	background-color: transparent;
}
.time-picker-wrap.hidden{
	bottom: -100%;
	animation: pickerhide 1s;
  	-webkit-animation: pickerhide .5s; /* Safari 和 Chrome */
}
.time-picker-wrap picker-view{
	display:flex;
	justify-content:center;
}
.time-picker-wrap picker-view-column{
	width: 100px;
	flex: none;
}
.time-picker-wrap picker-view-column view{
	text-align: center;
}
.time-picker-controls button{
	border: none !important;
	font-size: 16px;
}
.time-picker-controls{
	border-bottom: 1px solid #eee;
	overflow: hidden;
}
.time-picker-controls button:nth-child(1){
	float: left;
}
.time-picker-controls button:nth-child(2){
	float: right;
}
.time-picker-wrap picker-view-column:nth-child(2):before{
	content: ':';
	font-size: 18px;
	color: #000;
	vertical-align: middle;
	line-height: 300px;
}
.week-mode{
	padding-top: 0px;

}
.week-mode>checkbox-group>label{
	float: left;
	border: none;
	padding: 10px 0px 0px 15px;
}
.week-mode .time-text{
	margin-left: 5px;
}
.footer{
	margin: 20px 10px 10px;
}
.info-modal{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.info-modal .info-text{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	padding: 10px;
	color: #fff;
	border-radius: 6px;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	background-color: rgba(0,0,0,0.7);
}

.switch-label{
	float: right;
	margin: -5px 10px;
}
@keyframes pickerhide
{
    from {
      bottom: 0;
      background-color: transparent;
    }
    
    to {
      bottom: -100%;
    }
}
 
@-webkit-keyframes pickerhide /* Safari 与 Chrome */
{
    from {
      bottom: 0;
      background-color: transparent;
    }
    to {
    	bottom: -100%;
    }
}
@keyframes pickershow
{
    from {
    	background-color: transparent;
      	bottom: -100%;
    }
    90%{
    	background-color: transparent;
    }
    to {
      	bottom: 0;
      	background-color: rgba(0,0,0,0.3);
    }
}
 
@-webkit-keyframes pickershow /* Safari 与 Chrome */
{
    from {
    	background-color: transparent;
      	bottom: -100%;
    }
    90%{
    	background-color: transparent;
    }
    to {
      	bottom: 0;
      	background-color: rgba(0,0,0,0.3);
    }
}
.fade-hide{
	position: relative;
}
.fade-hide:after{
	content: '';
	position: absolute;
	background-color: rgba(255,255,255,0.3);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}