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

//修改名称
.u-text();

.inputBox{
    margin: 0 42px;
	padding-bottom: 40px; 
}

.custom-editName-text{
	.textInput(0,17px,@CUSTOM-EDITTEXT-COMPONENT-INPUT-FONTSIZE);
}

.errorTip{
	position: absolute;
	left: 0;
	right: 0;
	.errorTip();
}

.u-button();

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

//门锁用户
.userInfoLink{
	li{
		&:not(.userInfo){
            height: 55px;
            line-height: 55px;
			position: relative;
			padding: 0 65px 0 42px;
			font-size: @USERINFOLINK-TITLE-FONTSIZE;
			// > icon 
			&:before{
                content: '\e6a7';
                .transformV_center(right,35px);
                .iconfont(@USERINFOLINK-ICON-FONTSIZE);
			}
	        &:after{
	            content: '';
	            position: absolute;
	            bottom: 0;
	            left: 0;
	            right: 0;
	            height: 1px;/*no*/
	            .white_gradient_border();
	        }
        }
        &.userInfo{
            height: 75px;
            padding-left: 42px;
            .display-box();
            .box-vertical-alignment();
            position: relative;
            //管理员头像 	
        	.userInfo-image{
                width: 27px;
                height: 27px;
                margin-right: 14px;
            } 
            > div{
                .flex();
                min-width: 0;
            }
            .userInfo-title{
            	font-size: @USERINFOLINK-TITLE-FONTSIZE;
                .text_oneRow_ellipsis();
                margin-bottom: 5px;
                position: relative;
                padding-right: 65px;
	            // > icon 
	            &:after{
	                content: '\e6a7';
	                .transformV_center(right,35px);
	                .iconfont(@USERINFOLINK-ICON-FONTSIZE);
	            } 	
            }
            .userInfo-subtitle{
            	position: relative;
            }
            //绑定/未绑定 头像
            .userInfo-subimage{
                width: 20px;
                height: 20px;
                margin-right: 9px;       	
            }
            //昵称
            .userInfo-name{
            	display: inline-block;
            	vertical-align: middle;
                max-width: 145px;
                .text_oneRow_ellipsis();
            }
            //邀请绑定
            .userInfo-toBind{
			    position: absolute;
    			bottom: 0;
				display: inline-block;
			    color: @USERINFOLINK-INVITEBIND-COLOR;
			    font-size: @USERINFOLINK-INVITEBIND-FONTSIZE;
			    .transform(scale(0.7));
			    padding: 0 22px 2px; 
			    margin-left: -15px;
	            &:after{
	                content: '';
	                position: absolute;
	                bottom: 0;
	                left: 0;
	                right: 0;
	                height: 1px;/*no*/
	                .blue_gradient_border();
	            }    	
            }
            //解绑
            .custom-unbind-button{
            	position: absolute;
            	top: -4px;
            	margin-left: 6px;
            	.button(72px);
            	.transform(scale(0.7));
            	padding: 5px 0;
            	display: inline-block;
            }
            &:after{
	            content: '';
	            position: absolute;
	            bottom: 0;
	            left: 0;
	            right: 0;
            	height: 2px;/*no*/
            	background-color: @USERINFOLINK-USERINFO-BOTTOMBORDER;
            }
        }
	}
}

//邀请绑定
.inviteBind{
    margin: 40px 38px 0;
    li{
        &:first-child{
            width: 200px;
            height: 200px;
            margin: 0 auto;
            position: relative;
        }
        &:not(:first-child){
            color: @INVITEBIND-TEXT-COLOR;
            font-size: @INVITEBIND-TEXT-FONTSIZE;
            padding-left: 12px;
            text-indent: -12px;
            line-height: 20px;  
            margin-top: 18px;
            //注意事项
            &:nth-child(2){
                color: inherit;
                font-size: @INVITEBIND-TITLE-FONTSIZE;
                margin-top: 32px;
            } 
        }
        //二维码已过期，请重新生成
        p{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            text-align: center;
            background-color: @INVITEBIND-QRCODEEXPIRE-BACKDROP;
            span{
                .transformV_center(left,0);
                width: 100%;
            }
        }
    }
}

.unbindState-dialog();

.guide-dialog{
    .mask(1051,@CUSTOM-BACKDROP-BG);
    .guideStep1{
        position: absolute;
        top: 44px;
        left: 0;
        width: 100%;
        .guideStep1Cont{
            padding: 13px 0 13px 42px;
            position: relative;
            p{
                &:nth-child(1){
                    font-size: @USERINFOLINK-TITLE-FONTSIZE;
                    .text_oneRow_ellipsis();
                    margin-bottom: 5px;
                    position: relative;
                    padding-right: 65px;
                    // > icon 
                    &:after{
                        content: '\e6a7';
                        .transformV_center(right,35px);
                        .iconfont(@USERINFOLINK-ICON-FONTSIZE);
                    }
                }
                &:nth-child(2){
                    position: relative;
                }
                //绑定/未绑定 头像
                img{
                    width: 20px;
                    height: 20px;
                    margin-right: 13px;                  
                }
                //邀请绑定
                span{
                    position: absolute;
                    bottom: 0;
                    display: inline-block;
                    color: @USERINFOLINK-INVITEBIND-COLOR;
                    font-size: @USERINFOLINK-INVITEBIND-FONTSIZE;
                    .transform(scale(0.7));
                    padding: 0 22px 2px; 
                    margin-left: -15px;
                    &:after{
                        content: '';
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        height: 1px;/*no*/
                        .blue_gradient_border();
                    }    
                }
            }
            //虚线框
            &: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: 68px;
            margin-top: -2px;           
            p{
                color: #00ffff;
                font-size: 19px;
                font-family: tipFont;
                text-align: center;
                &:nth-child(2){
                    color: #91929a;
                    font-size: 16px;
                    line-height: 19px;
                    margin-top: 12px;
                }
            }
        }
    }
    .guideStep2,
    .guideStep4{
        position: absolute;
        bottom: 65px; 
        left: 0;
        width: 100%;
    }
    .custom-dialog-button{
        .button(200px);
    }
    .guideStep3{
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        .guideStep3Cont{
            height: 52px;
            line-height: 52px;
            position: relative;
            padding: 0 65px 0 42px;
            font-size: @USERINFOLINK-TITLE-FONTSIZE;
            // > icon 
            &:before{
                content: '\e6a7';
                .transformV_center(right,35px);
                .iconfont(@USERINFOLINK-ICON-FONTSIZE);
            }
            //虚线框
            &:after{
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                width: 360px;
                height: 100%;
                margin: 0 auto;
                border: 2px dashed;/*no*/
                border-radius: 5px;
            }                        
        }
        .guideStep3Tip{
            .bgImg("guideArrow2.png");
            background-position: 56px top;
            background-repeat: no-repeat;
            .background-size(57px 140px);
            padding-top: 122px;
            font-size: 19px;
            font-family: tipFont;
            text-align: center;
            line-height: 24px;
            margin-top: -2px;   
        }
    }
}

.mediaPosition(true);

//
.userInfo-title-disabled:after {
    display: none;
}