_common.scss 3.36 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: 40px;
        margin: 20px 0 30px;

        .go-back {
            position: absolute;
            height: 30px;
            width: 30px;
            top: 5px;
            left: 0;
        }

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

        .img-header {
            width: 68px;
            height: 40px;
        }
    }

    .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;
            @include border-radius(5px);
            @include 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-image: url('http://static.dev.yohobuy.com/img/passport/arrow-right.png');
            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;
        @include 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-image: url('http://static.dev.yohobuy.com/img/passport/clear-input.png');
        background-size: 100% 100%;
    }

    .eye {
        position: absolute;
        top: 20px;
        right: 10px;
        width: 19px;
        height: 12px;
        background-image: url('http://static.dev.yohobuy.com/img/passport/eye.png');
        background-size: 100% 100%;

        &.close {
           background-image: url('http://static.dev.yohobuy.com/img/passport/eye-close.png');
        }
    }

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