_index.scss 3.03 KB
@import "login", "register", "back";

$tip: sprite-map("passport/tip/*.png", $spacing: 10px);
/**/

.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\9;
        width: 268px;
        border: 1px solid #dbdbdb;
        text-indent: 10px;
        color: #9a9a9a;
        color: rgba(0,0,0,.5);
    }

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

    .btn {
        display: block;
        height: 46px;
        line-height: 46px;
        width: 100%;
        text-align: center;
        color: #fff;
        background-color: #ff1901;
        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: #ee0011;
            }
            .color {
                background: #ee0011;
                color: #fff;
            }
        }

        &.yellow {
            .pwd-intensity {
                color: #ff0;
            }
            .color {
                background: #ff0;
                color: #fff;
            }
        }

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

    .tip-panel {
        position: absolute;
        display: none;
        width: 248px;
        padding: 0 10px;
        z-index: 100;
        background-color: #161616;
        border: 1px solid rgba(255, 255, 255, 0.7);
        margin-top: 5px;
        cursor: pointer;
        @include border-radius(5px);

        li {
            height: 20px;
            line-height: 20px;
            color: #b9b9b9;
        }
    }
    .err-tip {
        position: absolute;
        font-size: 14px;
        white-space: nowrap;
        top: 8px;
        left: 285px;
        padding: 6px 0;
        color: #f00;

        i {
            display: block;
            float: left;
            height: 14px;
            width: 14px;
            background: sprite($tip, error) no-repeat;
            margin-right: 5px;
        }
    }
}

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