@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();
                position: relative;
                padding-right: 104px;
	            // > 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;
			    margin-left: -15px;
            }
            //解绑
            .custom-unbind-button{
                position: absolute;
                top: 50%;
                bottom: auto;
                right: 35px;
            	.button(72px);
            	.transform(translateY(-50%) 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;
            }
        }
	}
	
	.disabled{
	    color: #575a6d;
	}
}

//邀请绑定
.inviteBind{
    margin: 41px 42px 0;
    li{
        color: @INVITEBIND-TEXT-COLOR;
        font-size: @INVITEBIND-TEXT-FONTSIZE;        
        position: relative;
        &.qrcode{
            width: 160px;
            height: 160px;
            margin: 0 auto;
            position: relative;
        }
        &.title{
            color: #fff;
            font-size: 18px;
            margin: 34px 0 22px;
        }
        &.tip{
            font-size: 12px;
            text-align: center;
            margin-top: 34px;
        }
        //1、2、3
        > span{
            display: inline-block;
//          width: 22px;/*no*/
//          height: 22px;/*no*/
            border: 1px solid;/*no*/
            border-radius: 50%;
            text-align: center;         
            .iconfont(12px,1);
//          line-height: 22px;/*no*/
            background-color: #242635;
            outline: 3px solid #242635;/*no*/
            color: #00ffff;
            margin-right: 14px;
            position: relative;
            padding: 4px;
        }
        //二维码已过期，请重新生成
        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%;
            }
        }
        &:not(.qrcode):not(.title):not(.tip):not(.noBorder){
            padding-bottom: 17px;
            &:before{
                content: '';
                position: absolute;
                top: 2px;
                bottom: 0;
                left: 11px;
                width: 1px;/*no*/
                background-color: #00ffff;
            }
        }
    }
    .tip{
        span{
            display: inline;
            border-radius: 0;
            border-width: 0 0 1px 0;/*no*/
            background: none;
            outline: none;
            margin: 0;
            padding: 0;
        }
    }
}

.invite-usertip{
    margin: 41px 42px 0 62px;
    &:before{
        color: #00FFFF;
        content:'\e648';
        .iconfont(16px);
        line-height: 2;
        position: absolute;
        left: 41px;
    }
}

.unbindState-dialog();

.guide-dialog{
    .mask(1051,@CUSTOM-BACKDROP-BG);
    .guideStep1{
        position: absolute;
        top: 44px;
        left: 0;
        width: 100%;
        .guideStep1Cont{
            padding: 25px 0 25px 42px;
            position: relative;
            .userInfo-title{
                font-size: @USERINFOLINK-TITLE-FONTSIZE;
                .text_oneRow_ellipsis();
                position: relative;
                padding-right: 104px;
            }
             //管理员头像    
            .userInfo-image{
                width: 27px;
                height: 27px;
                margin-right: 14px;
            } 
             //绑定/未绑定 头像
            .userInfo-subimage{
                width: 20px;
                height: 20px;
                margin-right: 9px;          
            }
           
            .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;
                margin-left: -15px;
            }
            //解绑
            .custom-unbind-button{
                position: absolute;
                top: 50%;
                bottom: auto;
                right: 35px;
                .button(72px);
                .transform(translateY(-50%) scale(0.7));
                padding: 5px 0;
                display: inline-block;
            }
            //虚线框
            &: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;
}

.custom-dialog{
    .u-dialog-box{
        .u-dialog-content{
            img{
                width: 51px;
                height: 51px;
            }
        }
    }
}