_select-coupon.css 1.68 KB
@define-extend line {
    content: "";
    position: absolute;
    top: 50%;
    border-top: 1px solid #b0b0b0;
    width: 120px;
    height: 0;
}

.select-coupon-page {
    margin-top: 30px;
    margin-bottom: 30px;

    #new-coupon {
        margin-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
        font-size: 24px;

        input {
            padding: 0 12px;
            width: 384px;
            height: 80px;
            border: 1px solid #b0b0b0;
            border-radius: 0.1rem;
            outline: 0;
        }

        .submit {
            margin-left: 30px;
            width: 130px;
            height: 80px;
            color: #fff;
            background: #b0b0b0;
            border-radius: 0.1rem;
            border: none;
            outline: 0;
        }
    }

    .coupon-list {
        .employ-main:first-child {
            margin-top: 0;
        }

        .employ-main:last-child {
            margin-bottom: 0;
        }
    }

    .not-use {
        display: block;
        width: 560px;
        margin: 30px auto 0;
        text-align: center;
        font-size: 32px;
        line-height: 2.5;
        border: 1px solid #444;
        border-radius: 4PX;
    }

    .not-avaliable-coupon-line {
        position: relative;
        margin-top: 30px;
        margin-bottom: 30px;
        font-size: 28px;
        line-height: 2;
        color: #b0b0b0;
        text-align: center;

        &:before {
            @extend line;

            left: 60px;
        }

        &:after {
            @extend line;

            right: 60px;
        }
    }

    .not-avaliable {
        background-image: resolve("home/employ/employ-grey.jpg") !important;
    }
}