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

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

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

.sms-login-new-page {
    .active {
        background-color: #444 !important;
    }

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

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

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

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

    .sms-login-form {
        @extend padding-75;

        margin-top: 100px;

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

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

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

                &.mobile-input {
                    width: 300px;
                }

                &.verify-code-input {
                    width: 260px;
                }
            }

            > i {
                float: right;

                &.line {
                    float: none;
                    margin-right: 20px;
                }
            }

            &.mobile {
                > label {
                    margin-right: 38px;
                }

                > .country-select {
                    width: 120px;
                    appearance: none;
                    border: none;
                    background-color: transparent;
                }

                > .arrow-icon {
                    color: #444;
                    float: none;
                    font-size: 12px;
                }

                > .clear {
                    color: #e0e0e0;
                    margin-right: 8px;
                    margin-top: 10px;
                }
            }

            .country-code {
                width: 98px;
                height: 22px;
                font-size: 28px;
                line-height: 1.14;
                color: #444;
                background-color: transparent;
                margin-right: 20px;
            }

            > .get-verify-code {
                padding: 0 16px;
                height: 50px;
                line-height: 50px;
                border-radius: 25px;
                background-color: $disable-gray;
                color: #fff;
                font-size: 22px;
                float: right;
                margin-top: -8px;
            }
        }

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

        .sms-login-btn {
            width: 600px;
            height: 70px;
            border-radius: 4px;
            background-color: $disable-gray;
            margin-top: 40px;
            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;
                }
            }
        }
    }

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

    .hide {
        display: none;
    }
}