_index.css 4.48 KB
@import "config";

.passport-page {
    width: 1150px;
    margin-left: auto;
    margin-right: auto;

    .content {
        float: left;
        margin-top: 107px;
        padding-left: 85px;
    }

    .input {
        height: 43px;
        font-size: 16px;
        line-height: 1.2;
        line-height: 43px;
        width: 268px;
        border: 1px solid #dbdbdb;
        text-indent: 10px;
        color: #9a9a9a;
        color: rgba(0, 0, 0, 0.5);
    }

    .title {
        font-size: 30px;
        text-align: center;
        color: $theme-color;
    }

    .error {
        border-color: #f00 !important;
    }

    .btn {
        display: block;
        height: 46px;
        line-height: 46px;
        width: 100%;
        text-align: center;
        color: #fff;
        background-color: $theme-color;
        letter-spacing: 10px;
        font-size: 20px;
        cursor: pointer;

        &.disable {
            background-color: #555;
            cursor: default;
        }
    }

    .pwd-intensity-container {
        width: 270px;
        text-align: right;
        padding-top: 5px;

        &.red {
            .pwd-intensity {
                color: $red;
            }

            .color {
                background: $red;
                color: #fff;
            }
        }

        &.yellow {
            .pwd-intensity {
                color: #f6da1e;
            }

            .color {
                background: #f6da1e;
                color: #fff;
            }
        }

        &.green {
            .pwd-intensity {
                color: #3ee392;
            }

            .color {
                background: #3ee392;
                color: #fff;
            }
        }

        .pwd-intensity {
            height: 15px;
            font-size: 12px;
            background-color: #e8e8e8;
            padding: 0 10px;
            text-align: center;
            color: #b9b9b9;
        }
    }

    .pwd-tips {
        position: absolute;
        top: -10px;
        left: 360px;
        width: 160px;
        height: 78px;
        padding-top: 7px;
        font-size: 12px;
        background: url(/passport/tip/block.png) no-repeat;
        z-index: 3;

        > div {
            position: relative;
            height: 22px;
            line-height: 22px;
            margin-left: 15px;
            padding-left: 15px;
            font-size: 12px;
            color: #b9b9b9;

            i {
                position: absolute;
                width: 14px;
                height: 14px;
                left: -2px;
                top: 50%;
                margin: -7px 0 0;
                background: url(/passport/tip/info.png) no-repeat;
            }

            &.no {
                color: red;

                i {
                    background: url(/passport/tip/error.png) no-repeat;
                }
            }

            &.yes i {
                background: url(/passport/tip/success.png) no-repeat;
            }
        }
    }

    .email-autocomplete {
        position: absolute;
        width: 225px;
        top: calc($item-height + 3px);
        padding: 0 10px;
        z-index: 1;
        margin-top: 5px;
        border-radius: 5px;
        cursor: pointer;
        border: 1px solid #fefefe;
        background-color: $theme-color;
        color: white;
        font-size: 18px;

        li {
            padding-top: 10px;
            height: 10px;
            line-height: @height;
        }
    }

    .err-tip {
        position: absolute;
        font-size: 14px;
        white-space: nowrap;
        top: 8px;
        left: $err-tips-width;
        padding: 6px 0;
        color: $blue;

        span {
            font-size: 1em;
        }

        a {
            text-decoration: underline;
            color: $blue;
        }
    }

    /* 完善信息提示框 */
    .page-tip {
        display: block;
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        color: #ccc;
        clear: both;
        margin-bottom: 15px;
    }
}

.passport-cover {
    float: left;
    margin: 107px 0;
    width: 575px;

    .cover-content {
        width: 100%;
        height: 318px;
        padding: 50px 0;
        border-right: 1px solid #dfdfdf;
    }

    .cover-img {
        display: block;
        width: 252px;
        height: 190px;
        margin: 0 auto;
        margin-top: 50px;
    }
}

@import "login";
@import "register";
@import "back";
@import "welcome";
@import "relate";