@import "../public/public.less";
@import "../public/header.less";

//开锁信息列表
.title{
	height: 48px;
	line-height: 46px;
	position: relative;
	font-size: @UNLOCKINFO-TITLE-FONTSIZE;
	padding-left: 42px;
	border-bottom: 2px solid @UNLOCKINFO-TITLE-BOTTOMBORDER;/*no*/
	~ .custom-swipe-list{
		top: 92px;
	}
}

/*
.u-list();

.custom-unlockInfo-list{
	position: absolute;
	top: 44px;
	bottom: 0;
	left: 0;
	height: auto;
	.u-list-scroll .u-list-row{	
		color: @UNLOCKINFOLIST-TEXT-COLOR;
		font-size: @UNLOCKINFOLIST-TEXT-FONTSIZE;
		padding: 18px 42px 8px;
		&:after{
	    	.white_gradient_border();			
		}
	}
	//上拉加载
	.u-list-load{
		.listLoad();
	}
	//list 无内容
	.u-list-tip{
		.bgImg("unlockNoCont.png");
	    background-position: top center;
	    background-repeat: no-repeat;
	    .background-size(70px 70px);
	    padding-top: 88px;
	    color: @LIST-NOCONTTIP-COLOR;
		font-size: @LIST-NOCONTTIP-FONTSIZE;
	}
}
*/

.u-swipe-list();

.custom-swipe-list{
	position: absolute;
	top: 44px;
	bottom: 0;
	left: 0;
	height: auto;
	.u-swipe-list-scroll .u-swipe-list-row{
		.u-swipe-list-handle{
			background-color: @CUSTOM-UNLOCKINFO-SWIPELIST-COMPONENT-ROW-BG;
			padding: 0 42px;
			height: 55px;
			font-size: @CUSTOM-UNLOCKINFO-SWIPELIST-COMPONENT-TEXT-FONTSIZE;
			.u-swipe-list-title{
				float: left;
			}
			.u-swipe-list-subtitle{
				float: right;
			}
		}
		.u-swipe-list-button{
			right: 32px;
			div{
				width: 85px;
			    color: @CUSTOM-UNLOCKINFO-SWIPELIST-COMPONENT-BUTTON-COLOR;
			    font-size: @CUSTOM-UNLOCKINFO-SWIPELIST-COMPONENT-BUTTON-FONTSIZE;
			    &:nth-last-of-type(1),
			    &:nth-last-of-type(2){
				    background-color: @CUSTOM-UNLOCKINFO-SWIPELIST-COMPONENT-BUTTON-BG;
				}
			}
		}
		&:after{
			.white_gradient_border();					
		}
		&.active .u-swipe-list-handle{
			left: -202px;
		}
	}
	//上拉加载
	.u-swipe-list-load{
		.listLoad();
	}
	//swipeList 无内容
	.u-swipeList-tip{
		.listNoCont("unlockNoCont.png",70px 70px);	
	}
}

//绑定开锁信息
.opendoorMode{
	border: solid #50515d;
    border-width: 2px 0;/*no*/
    overflow: hidden;
}

.modeSelect{
    padding: 10px 42px;
    font-size: 0;
    margin: 0 -12px;	
    position: relative;
    li{	
		color: #00ffff;
	    font-size: 14px;
		border: 1px solid;/*no*/
		position: relative;
		width: 80px;
	    display: inline-block;
	    text-align: center;
	    line-height: 1;
	    padding: 8px 0;
	    border-radius: 5px;
	    margin: 10px 12px;
	    &:before{
	    	content: '\e631';
	    	position: absolute;
	    	top: 50%;
	    	.transform(translate(-16px,-50%));
	    	.iconfont(15px);
	    	display: none;
	    }
	    &.active{
	    	background-color: #153D4C;
			&:before{
				display: inline-block;
			}
	    }			
	}
}

.u-select();

.custom-select{
	height: 170px;
	.u-select-scroll{
		.u-select-row{
		    display: block;
		    font-size: 16px;
		    padding: 22px 80px 11px 42px;
		    .u-select-title{
		    	float: left;
		    	margin-right: 36px;
		    }
		    &:before{
		    	content: '\e6a9';
		    	top: auto;
		    	bottom: 9px;
		    	right: 42px;
		    	font-family: iconfont;
		    	color: #00ffff;
		    	.transform(none);
		    	display: block;
		    }
		    &:after{
		    	.white_gradient_border();
		    }
		    &.active:before{
		    	content: '\e6aa';
		    }		    			
		}
	}
	.u-select-load{
		.listLoad();
	}
	.u-select-tip{
    	top: 80px;
		.transform(none);
		.listNoCont("noCont.png",45px 45px,inherit,57px);
	}
}

.tip{
    text-align: center;
    color: #A0A0A7;
    margin-top: 3px;	
}

.u-switch();

.custom-setHijack-switch{
	width: 200px;
	height: auto;
	text-align: center;
	color: #00ffff;
	margin: 27px auto 0;
	padding: 10px 0;
	.u-switch-handle{
		position: relative;
		top: auto;
		left: auto;
		.transform(none);
		width: 17px;
		height: 17px;
		border: 0;
		border-radius: 0;
		display: inline-block;
		vertical-align: middle;
		margin-right: 6px;
		&:before{
			.iconfont(17px);
			top: 0;
			width: auto;
			height: auto;
			border-radius: 0;
			background-color: transparent;
			.box-shadow(none);
		}
	}
	.u-switch-text{
		display: inline-block;
		vertical-align: middle;
	}
	&.u-switch-on .u-switch-handle{
		background-color: transparent;
		&:before{
			content: '\e6a9';
			left: 0;
		}
	}
	&.u-switch-off .u-switch-handle{
		background-color: transparent;
		&:before{
			content: '\e6aa';
			left: 0;
		}
	}
}

.u-button();

.custom-button{
	.button();
    .buttonPosition();
}

.guide-dialog{
    .mask(1051,@CUSTOM-BACKDROP-BG);
    .guideStep1{
        position: absolute;
        top: 44px;
        left: 0;
        width: 100%;
        .modeSelect:after{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            width: 360px;
            height: 100%;
            margin: 0 auto;
            border: 2px dashed;/*no*/
            border-radius: 5px;
        }
        .guideStep1Tip{
            .bgImg("guideArrow1.png");
            background-position: 190px top;
            background-repeat: no-repeat;
            .background-size(24px 57px);
            padding-top: 64px;
            margin-top: -2px;
            font-size: 19px;
            font-family: tipFont;
            text-align: center;                             	
        }
    }
    .guideStep3{
        position: absolute;
        top: 147px;
        left: 0;
        width: 100%;
        .guideStep3Tip{
            .bgImg("guideArrow3.png");
            background-position: 184px bottom;
            background-repeat: no-repeat;
            .background-size(16px 65px);
            padding-bottom: 77px;
            margin-bottom: -2px;
            font-size: 19px;
            font-family: tipFont;
            text-align: center;     
		    line-height: 23px; 
		    span{
		    	color: #00ffff;
		    }       	
        }
        .guideStep3Cont{
        	position: relative;
        	padding-bottom: 7px;
        	ul{
        		li{
				    font-size: 16px;
				    padding: 22px 80px 11px 42px;
				    position: relative;
				    p{
				    	&:nth-child(1){
					    	float: left;
					    	margin-right: 36px;
					    	.text_oneRow_ellipsis();
				    	}
				    	&:nth-child(2){
				    		overflow: hidden;
				    		.text_oneRow_ellipsis();
				    	}
				    }
				    &:before{
				    	content: '\e6a9';
				    	position: absolute;
				    	bottom: 9px;
				    	right: 42px;
				    	.iconfont(25px);
				    	color: #00ffff;
				    }
				    &:after{
					    content: '';
					    position: absolute;
					    bottom: 0;
					    left: 0;
					    right: 0;
					    height: 1px;/*no*/
						.white_gradient_border();
				    }
				    &.active:before{
				    	content: '\e6aa';
				    }      			
        		}
        	}
            //虚线框
            &:after{
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                width: 360px;
                height: 100%;
                margin: 0 auto;
                border: 2px dashed;/*no*/
                border-radius: 5px;
            }      	
        }
    }
    .guideStep5{
        position: absolute;
        top: 248px;
        left: 0;
        width: 100%; 	
    	.guideStep5Tip{
            .bgImg("guideArrow4.png");
            background-position: 164px bottom;
            background-repeat: no-repeat;
            .background-size(39px 179px);
            padding-bottom: 188px;
            margin-bottom: -3px;
            font-size: 19px;
            font-family: tipFont;
            text-align: center;     
		    line-height: 23px;     		
    	}
    	.guideStep5Cont{
    		position: relative;
    		p{
    			text-align: center;
    			position: relative;
    			color: #00ffff;
    			padding: 17px 0;
				&:before{
					content: '\e6a9';
					.iconfont(17px);
					display: inline-block;
					vertical-align: middle;
					margin-right: 9px;
    			}
			    &.active:before{
			    	content: '\e6aa';
			    }
    		}
            //虚线框
            &:after{
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                width: 360px;
                height: 100%;
                margin: 0 auto;
                border: 2px dashed;/*no*/
                border-radius: 5px;
            }        		
    	}
    }
    .guideStep2,
    .guideStep4,
    .guideStep6{
        position: absolute;
        bottom: 65px; 
        left: 0;
        width: 100%;
    }
    .custom-dialog-button{
        .button(200px);
    }  
}  

.mediaPosition(true,true,true);   