_login.css 6.94 KB
.login-page {
    .content {
        float: left;
        margin-top: 107px;
        padding-left: 85px;
    }

    .relative {
        position: relative;
    }

    .right {
        float: right;
    }

    .login-ul > div > li {
        margin-bottom: 25px;
    }

    .title {
        float: left;
        font-size: 20px;
    }

    .country-code {
        color: #b9b9b9;
        cursor: pointer;
    }

    .country-list {
        position: absolute;
        top: 20px;
        right: 0;
        z-index: 1;
        display: none;
        padding: 0 10px;
        border: 1px solid #000;
        border-radius: 5px;
        background: #fff;

        li {
            height: 20px;
            color: #000;
            line-height: 20px;
        }
    }

    .captcha-wrap {
        position: relative;

        .err-tip {
            left: 335px;
        }
    }

    .top-err {
        color: #f00;
        white-space: nowrap;
        font-size: 14px;

        i {
            display: block;
            float: left;
            margin-right: 5px;
            width: 14px;
            height: 14px;
            background: url(/passport/tip/error.png) no-repeat;
        }
    }

    .sms-captcha-img-wrap {
        position: relative;

        .err-tip {
            left: 335px;
        }
    }

    /* 验证码 */
    .captcha {
        float: left;
        width: 160px;
    }

    .captcha-sms-input {
        float: left;
        width: 128px;
        margin-right: 10px;
    }

    .change-captcha-sms {
        float: left;
        width: 128px;
        font-size: 10px;
        letter-spacing: 0;
    }

    .captcha-img {
        float: left;
        margin-top: 4px;
        margin-left: 10px;
        width: 90px;
        height: 37px;
        outline: none;
        border: 0;
    }

    .change-captcha {
        position: absolute;
        top: 0;
        right: -50px;
        display: block;
        height: 43px;
        color: #ff1901;
        font-size: 14px;
        line-height: 43px;
        cursor: pointer;
    }

    .remember-me {
        cursor: pointer;
    }

    .other-opts {
        color: #b9b9b9;
        font-size: 14px;

        .iconfont {
            font-size: 14px;
        }

        .fast-reg {
            color: #ff1901;
        }
    }

    .forget-password {
        color: #b9b9b9;
    }

    .third-party-login {
        display: table;

        a {
            display: table-cell;
            width: 67px;
            background-size: 100% 100%;
        }

        .icon {
            display: block;
            margin: 0 auto;
            width: 30px;
            height: 30px;
        }

        .weixin {
            background: url(/passport/third/weixin.png) no-repeat;
        }

        .qq {
            background: url(/passport/third/qq.png) no-repeat;
        }

        .weibo {
            background: url(/passport/third/weibo.png) no-repeat;
        }

        .alipay {
            background: url(/passport/third/alipay.png) no-repeat;
        }
    }

    .caps-lock {
        position: absolute;
        top: 8px;
        left: 278px;
        padding: 0 20px;
        height: 27px;
        border: #ffe57d;
        background: #fff6d2;
        color: #666;
        white-space: nowrap;
        line-height: 30px;
    }

    $switchbg: #ccc;

    .switch {
        width: 100%;
        height: 27px;
        background: url(/passport/login-mode-bg.png) no-repeat;
        border-radius: 13px;
        font-size: 14px;

        .left {
            width: 146px;
            height: 27px;
            text-align: center;
            line-height: @height;
            border-radius: 13px;
            position: absolute;
            left: 0;
            cursor: pointer;

            &.selected {
                background: url(/passport/login-mode-select.png) no-repeat;
                color: white;
            }
        }

        .right {
            width: 146px;
            height: 27px;
            text-align: center;
            line-height: @height;
            border-radius: 13px;
            position: absolute;
            right: 0;
            cursor: pointer;

            &.selected {
                background: url(/passport/login-mode-select.png) no-repeat;
                color: white;
            }
        }
    }

    .switch-login-type {
        width: 270px;
        height: 46px;
        margin-bottom: 25px;
        background-color: white;

        .type-tip {
            width: 120px;
            height: 30px;
            background: url(/passport/tip.png) no-repeat;
            float: right;
        }

        .type-desktop-bg {
            width: 40px;
            height: 40px;
            background: url(/passport/desktop-login.png) no-repeat;
            float: right;
            cursor: pointer;
        }

        .type-mobile-bg {
            width: 40px;
            height: 40px;
            background: url(/passport/mobile-login.png) no-repeat;
            float: right;
            cursor: pointer;
        }
    }

    .scan {
        display: block;
        width: 30px;
        height: 29px;
        background: url(/passport/scan.png) no-repeat;
        float: left;
        margin-right: 15px;
        margin-left: 40px;
    }

    .scan-font {
        color: #9b9b9b;
        font-size: 14px;
        line-height: 15px;
    }

    .download-link {
        color: red;
        font-size: 13px;
    }

    .qrcode {
        position: absolute;
        height: 140px;
        width: 140px;
        left: 65px;
        top: 0;
    }

    .qrcode-overlay {
        position: absolute;
        background-color: white;
        top: 0;
        width: 296px;
        height: 160px;
    }

    .qrcode-helper {
        position: absolute;
        background: url(/passport/qrcode-example.png) no-repeat !important;
        top: -14px;
        right: -45px;
        width: 167px;
        height: 150px;
    }

    .qrcode-overlay-success {
        position: absolute;
        background: url(/passport/qrcode-success.png) no-repeat !important;
        top: 0;
        left: 65px;
        width: 140px;
        height: 140px;
    }

    .qrcode-hover {
        position: absolute;
        top: 0;
        left: 0;
        width: 270px;
        height: 140px;
    }

    .qrcode-overlay-fail {
        position: absolute;
        background: url(/passport/qrcode-blank.png) no-repeat !important;
        top: 0;
        left: 65px;
        width: 140px;
        height: 140px;
    }

    .qrcode-login-title {
        margin-bottom: 40px !important;
        font-weight: bold;
    }

    .qrcode-err-tip {
        margin-top: 40px;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 13px;
    }

    .tip-title {
        color: #9b9b9b;
        font-size: 13px;
    }

    .qrcode-refresh-btn {
        color: white;
        display: block;
        width: 85px;
        height: 30px;
        background-color: red;
        margin: 0 auto;
        font-size: 13px;
        line-height: @height;
        cursor: pointer;
        border-radius: 5px;
    }
}