_login.scss 2.16 KB
$third: sprite-map("passport/third/*.png");

.login-page {
    .relative {
        position: relative;
    }

    .right {
        float: right;
    }

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

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

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

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

        @include border-radius(5px);

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

    .email-autocomplete {
        position: absolute;
        width: 248px;
        padding: 0 10px;
        z-index: 1;
        margin-top: 5px;
        border-radius: 5px;
        cursor: pointer;
        border: 1px solid #fefefe;
        background-color: #161616;
        color: #fff;

        li {
            height: 24px;
            line-height: 24px;
        }
    }

    .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;
            width: 30px;
            height: 30px;
            margin: 0 auto;
        }

        .weixin {
            background: sprite($third, weixin) no-repeat;
        }

        .qq {
            background: sprite($third, qq) no-repeat;
        }

        .weibo {
            background: sprite($third, weibo) no-repeat;
        }

        .alipay {
            background: sprite($third, alipay) no-repeat;
        }

        .douban {
            background: sprite($third, douban) no-repeat;
        }

        .renren {
            background: sprite($third, renren) no-repeat;
        }
    }
}