login-new.page.css 6.48 KB
@import "layout/img-check";

@define-extend banner-box-elem {
    position: absolute;
    top: 0;
    left: 0;
    width: 750px;
}

@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;
$disable-gray:       #b0b0b0;

.login-new-page {
    input:-webkit-autofill {
        background-color: transparent;
        background-image: none;
    }

    .hide {
        display: none;
    }

    .iconfont {
        color: #444;
    }

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

        img {
            @extend banner-box-elem;

            z-index: 1;
        }

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

            z-index: 2;
            height: 100%;

            > .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: 50px;
                    padding: 0;
                    margin-top: -2px;
                }
            }

            .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;
            }

            > .tip {
                width: 100%;
                margin-top: 152px;
                font-size: 22px;
                color: #fffefe;
                position: absolute;
                bottom: 14px;
                left: 50%;
                transform: translateX(-50%);
                text-align: center;

                .iconfont {
                    color: #fff;
                }
            }
        }
    }

    .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: 36px;
            }

            > 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;
        }

        .disable {
            background-color: $disable-gray;
        }
    }

    .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;
            text-align: center;

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

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

    .full-img-verify {
        margin-top: 70px;

        .img-check {
            background-color: #fff;
            margin-top: 0;
            margin-bottom: 0;

            .img-check-header > span {
                color: #444;
                font-size: 21.9px;
                line-height: 1.5;
            }

            .img-check-header > .img-check-refresh {
                color: #d0021b;
            }

            .img-check-main > .img-check-pics > .img-check-pic {
                width: 136.6px;
                height: 136.8px;
                background-color: #fff;
                border: solid 1px #e0e0e0;
            }
        }
    }

    .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;
            }
        }
    }
}