_login.css 3.88 KB
.login-page {
    .relative {
        position: relative;
    }

    .right {
        float: right;
    }

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

    /* 验证码 */
    .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: 45px;
            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;
        }

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

        .renren {
            background: url(/passport/third/renren.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: #CCCCCC;

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

    }
}