_common.css 3.87 KB
body.passport-body {
    background-color: #444;
    font-family: "MicroSoft YaHei",SimSun,sans-serif;

    * {
        box-sizing: border-box;
    }
}

.passport-page {
    text-align: center;
    padding: 0 6%;

    .bind-tip {
        margin-top: 10PX;
        margin-bottom: 10PX;
        color: #fff;
        font-size: 13PX;

        .title {
            font-size: 28PX;
            line-height: 1.5;
        }
    }

    .tip {
        margin-top: 30PX;
        color: #fff;
        font-size: 16PX;
        line-height: 2;

        a {
            color: #3FB274;
        }
    }

    .header {
        position: relative;
        height: 40PX;
        margin: 20PX 0 30PX;

        .go-back {
            display: block;
            position: absolute;
            height: 30PX;
            width: 30PX;
            top: 5PX;
            left: 0;
            background: resolve('passport/go-back.png') no-repeat;
            background-size: 100% 100%;
        }

        .title {
            font-size: 20PX;
            line-height: 40PX;
            color: #fff;
        }

        .img-header {
            width: 68PX;
            height: 40PX;
            background: resolve('passport/yoho-family.png') no-repeat;
            background-size: 100% 100%;
            margin: 0 auto;
        }
    }

    .input-container, .select-container {
        position: relative;
        width: 100%;
        height: 52PX;
        font-size: 20PX;
        background-color: #575757;
        border: 1px solid #606060;
        border-radius: 5PX;
        text-align: left;
        color: #fff;
    }

    .select-container {
        .select {
            position: absolute;
            height: 50PX;
            padding-right: 40PX;
            right: 0;
            color: #fff;
            background-color: transparent;
            border: 0;
            border-radius: 5PX;
            appearance: none;
            direction: rtl;

            &:focus {
                outline: 0;
                border: none;
            }

            &:-moz-focusring {
                color: transparent;
                text-shadow: 0 0 0 #fff;
            }
        }

        .select-title {
            line-height: 2.5;
            margin-left: 15PX;
        }

        .arrow-right {
            position: absolute;
            width: 13PX;
            height: 20PX;
            right: 15PX;
            top: 16PX;
            background: resolve('passport/arrow-right.png') no-repeat;
            background-size: 100% 100%;
        }
    }

    .has-eye, .has-clear {
        padding-right: 30PX;
    }

    .area-code {
        position: absolute;
        left: 15PX;
        line-height: 2.5;
    }

    .phone-container {
        padding-left: 55PX;
    }

    .input {
        width: 100%;
        line-height: 26PX;
        padding: 12PX 0;
        padding-left: 15PX;
        border-radius: 5PX;
        color: #fff;
        background-color: transparent;
        border: none;
    }

    .btn {
        display: block;
        width: 100%;
        font-size: 20PX;
        line-height: 2.5;
        background-color: #36a74c;
        border-radius: 5PX;
        color: #fff;

        &.disable {
            background-color: #a2a2a2;
        }
    }

    .country-select.in-android-uc {
        width: 90PX;
    }

    .clear-input {
        position: absolute;
        display: none;
        top: 18PX;
        right: 10PX;
        width: 16PX;
        height: 16PX;
        background: resolve('passport/clear-input.png') no-repeat;
        background-size: 100% 100%;
    }

    .eye {
        position: absolute;
        top: 20PX;
        right: 10PX;
        width: 19PX;
        height: 12PX;
        background: resolve('passport/eye.png') no-repeat;
        background-size: 100% 100%;

        &.close {
           background-image: resolve('passport/eye-close.png');
        }
    }

    .row {
        margin-bottom: 10PX;
    }
}