_common.css 3.51 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%;

    .header {
        position: relative;
        height: 80px;
        margin: 40px 0 60px;

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

        .title {
            font-size: 40px;
            line-height: 80px;
            color: #fff;
        }

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

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

    .select-container {
        .select {
            position: absolute;
            height: 100px;
            padding-right: 80px;
            right: 0;
            color: #fff;
            background-color: transparent;
            border: 0;
            border-radius: 10px;
            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: 30px;
        }

        .arrow-right {
            position: absolute;
            width: 26px;
            height: 40px;
            right: 30px;
            top: 32px;
            background: resolve('passport/arrow-right.png') no-repeat;
            background-size: 100% 100%;
        }
    }

    .has-eye, .has-clear {
        padding-right: 60px;
    }

    .area-code {
        position: absolute;
        left: 30px;
        line-height: 2.5;
    }

    .phone-container {
        padding-left: 110px;
    }

    .input {
        width: 100%;
        line-height: 52px;
        padding: 24px 0;
        padding-left: 30px;
        border-radius: 10px;
        color: #fff;
        background-color: transparent;
        border: none;
    }

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

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

    .country-select.in-android-uc {
        width: 180px;
    }

    .clear-input {
        position: absolute;
        display: none;
        top: 36px;
        right: 20px;
        width: 32px;
        height: 32px;
        background: resolve('passport/clear-input.png') no-repeat;
        background-size: 100% 100%;
    }

    .eye {
        position: absolute;
        top: 40px;
        right: 20px;
        width: 38px;
        height: 24px;
        background: resolve('passport/eye.png') no-repeat;
        background-size: 100% 100%;

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

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