login-new.page.css 5.67 KB
@define-extend banner-box-elem {
    position: absolute;
    top: 0;
    left: 0;
    width: 750px;
    height: 400px;
}

@define-extend padding-75 {
    padding-left: 75px;
    padding-right: 75px;
}

@define-extend third-line {
    width: 187px;
    border-top: 1px solid #b0b0b0;
    margin-top: 18px;
}

$top-bar-font-color: #fff;

.login-new-page {
    .hide {
        display: none;
    }

    .iconfont {
        color: #444;
    }

    .banner-box {
        width: 750px;
        height: 400px;
        overflow: hidden;
        position: relative;

        img {
            @extend banner-box-elem;

            z-index: 1;
        }

        .banner-info {
            @extend banner-box-elem;
            @extend padding-75;

            z-index: 2;

            > .top-operation-bar {
                width: 600px;
                height: 50px;
                margin-top: 50px;
            }

            > .top-operation-bar > button {
                height: 50px;
                text-align: center;

                &.close {
                    width: 50px;
                    float: left;
                    background-color: transparent;
                    color: $top-bar-font-color;
                    font-size: 45px;
                    overflow: hidden;
                    padding: 0;
                }
            }

            .register {
                width: 110px;
                height: 50px;
                line-height: 50px;
                border-radius: 25px;
                background-color: transparent;
                color: $top-bar-font-color;
                border: solid 1px $top-bar-font-color;
                float: right;
                text-align: center;
            }

            > .yoho-family-logo {
                background: resolve("passport/yoho-family.png") no-repeat;
                background-size: contain;
                margin: 82px auto 0;
                width: 200px;
                height: 115px;
            }

            > .tip {
                margin-top: 50px;
                height: 24px;
                font-size: 22px;
                letter-spacing: 0.9px;
                text-align: center;
                color: #fffefe;
            }
        }
    }

    .login-form {
        @extend padding-75;

        margin-top: 100px;

        > .form-group {
            border-bottom: 1px solid #e0e0e0;
            height: 50px;

            &.username {
                margin-bottom: 62px;

                > .clear {
                    color: #e0e0e0;
                    margin-right: 2px;
                }
            }

            &.password > .eye {
                width: 30px;
                text-align: center;
                float: right;

                > i {
                    color: #e0e0e0;
                }
            }

            > label {
                font-size: 26px;
                margin-right: 45px;
            }

            > input {
                width: 400px;
                border: none;
                box-shadow: none;
                background-color: transparent;
            }

            > i {
                float: right;
            }
        }

        .other-info {
            width: 600px;
            font-size: 24px;
            line-height: 1.33;
            color: #444;
            margin-top: 30px;

            a {
                float: left;
                width: 200px;
                text-align: center;
            }

            a:first-child {
                text-align: left;
            }

            a:last-child {
                text-align: right;
            }
        }

        .login-btn {
            width: 600px;
            height: 70px;
            border-radius: 4px;
            background-color: #444;
            margin-top: 100px;
            font-size: 32px;
            color: #fff;
        }
    }

    .third-party-login {
        @extend padding-75;

        margin-top: 236px;
        text-align: center;

        > .tip-box {
            span {
                display: inline-block;
            }

            .left-line {
                @extend third-line;

                float: left;
            }

            .right-line {
                @extend third-line;

                float: right;
            }

            .tip {
                margin-left: auto;
                margin-right: auto;
                width: 168px;
                height: 23px;
                font-size: 24px;
                line-height: 1.33;
                color: #b0b0b0;
            }
        }

        > .third-logo-box {
            margin-top: 49px;
            margin-bottom: 60px;

            a {
                float: left;
                width: 80px;
                height: 80px;
                margin-right: 93px;
                background-color: transparent;
                font-size: 80px;

                &:last-child {
                    margin-right: 0;
                }
            }
        }
    }

    .get-password-box {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        background-color: rgba(0, 0, 0, 0.4);

        .bottom-button-box {
            position: fixed;
            z-index: 3;
            bottom: 0;
            left: 0;
            right: 0;

            a {
                width: 50%;
                height: 100px;
                font-size: 30px;
                line-height: 100px;
                float: left;
                text-align: center;
            }

            .by-email {
                background-color: #fff;
                color: #444;
            }

            .by-mobile {
                background-color: #444;
                color: #fff;
            }
        }
    }
}