_register.scss 4.39 KB
/*
 * @description 注册页样式
 * @author chenglong.wang@yoho.cn
 * @time 2015/12/11
 */

.content {

    .register-page {
        font-size: 14px;
        color: #b9b9b9;
    }

    .register-form {
        height: auto;

        li {
            margin-bottom: 25px;
            width: 270px;
            position: relative;

            &.w330 {
                width: 330px;
            }

            input, select {
                outline: none;
            }

            input {
                height: 43px;
                line-height: 43px;
                font-size: 16px;
                width: 268px;
                border: 1px solid #dbdbdb;
                text-indent: 10px;
                font-family: '黑体' Regular;
                color: #9a9a9a;
                padding: 0;

                &.phone-num {
                    width: 209px;
                    display: block;
                    float: left;
                }

                &.captcha, &.msg-captcha{
                    width: 160px;
                    float: left;
                }

                &.send-captcha {
                    top: 0;
                    background: #555;
                    position: absolute;
                    width: 100px;
                    right: 0;
                    font-size: 12px;
                    text-indent: 0;
                    letter-spacing: 0;
                }

                &.agree-terms {
                    width: initial;
                    height: initial;
                    vertical-align: middle;
                }
            }

            .link {
                text-decoration: underline;
                color: #ff1901;
            }

            .btn {
                height: 45px;
                line-height: 45px;
                color: #fff;
                border: none;
                padding: 0;
                font-family: '黑体' Regular;
                text-align: center;
            }

            //区域下拉选择框
            select.region {
                height: 30px;
                padding: 4px 0;
                width: 132px;
                border-color: #c1c1c1;
                color: #9a9a9a;
                font-size: 16px;
                font-family: '黑体' Regular;
            }

            //手机号
            .country-code {
                width: 58px;
                height: 43px;
                line-height: 43px;
                text-align: center;
                white-space: nowrap;
                border: 1px solid #dbdbdb;
                border-right: 0;
                font-size: 16px;
                display: block;
                float: left;
            }

            //验证码
            .captcha-img {
                height: 37px;
                width: 90px;
                border: 0;
                vertical-align: middle;
                outline: none;
                margin-left: 10px;
                margin-top: 4px;
                float: left;
            }
            .change-captcha {
                margin-left: 10px;
                cursor: pointer;
                float: left;
                height: 43px;
                line-height: 43px;
            }

            //密码强度
            .pwd-intensity-container {
                width: 270px;
                text-align: right;
                margin-top: 5px;

                .pwd-intensity {
                    height: 15px;
                    font-size: 12px;
                    background-color: #e8e8e8;
                    padding: 1px 10px;
                    text-align: center;
                }
            }

            //服务条款
            &.items-container {
                font-size: 13px;
                text-align: right;
                white-space: nowrap;
            }

            //立即注册
            .register-btn {
                width: 270px;
                font-size: 20px;
                font-weight: bold;

                &.disable {
                    background: #555;
                }
            }

            //立即登录
            &.quick-login-container {
                width: 270px;
                font-size: 13px;
                text-align: right;
                white-space: nowrap;
            }
        }
    }
}