_coupons.css 1.64 KB
.me-coupons-page {
    font-size: 12px;

    .coupons > .title {
        font-size: 14px;
        font-weight: bold;
    }

    .coupons-header {
        width: 776px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        border: 1px solid #e6e6e6;
        background: #efefef;
        margin: 0 auto;

        span {
            display: block;
            float: left;
        }
    }

    .coupon {
        display: table;
        border: 1px solid #e6e6e6;
        width: 778px;
        margin: 10px auto;
        text-align: center;
        color: #666;

        > * {
            display: table-cell;
            vertical-align: middle;
            border-left: 1px solid #e6e6e6;
            padding: 5px;
            line-height: 18px;
        }

        .coupons-img {
            border-left: none;
        }
    }

    .coupon .end-soon {
        color: #e8044f;
    }

    .un-use-coupons {
        .coupons-img {
            width: 20%;
        }

        .value {
            width: 18%;
        }

        .term-of-validity {
            width: 22%;

            span {
                display: none;
            }
        }

        .use-remark {
            width: 24%;
        }

        .status {
            width: 16%;
        }

        .end-soon span {
            display: inline;
            padding: 3px 10px;
            color: #fff;
            background: #e8044f;
        }
    }

    .used-coupons {

        .coupons-header > span,
        .coupon > * {
            width: 16.66%;
        }
   }

   .no-valid-coupons {

        .coupons-header > span,
        .coupon > * {
            width: 25%;
        }
    }
}