_shop-index-coupon.css 2.36 KB
.coupon-content {
    color: #fff;
    height: 180px;
    overflow: hidden;

    .padding-20 {
        padding: 20px 0 !important;
    }

    .coupon-big {
        height: 120px;
        width: 580px;
        background: resolve('product/coupon-big.png') no-repeat;
        background-size: 580px 120px;
        margin: 30px;
        position: relative;

        .coupon-left {
            position: absolute;
            margin: 10px 0;
        }

        .coupon-left .coupon-left-price {
            margin: 0 50px;
        }

        .coupon-left .coupon-left-price .coupon-sign{
            font-size: 50px;
        }

        .coupon-left .coupon-left-price .coupon-price{
            font-size: 72px;
            font-weight: bold;
        }

        .coupon-left  .coupon-left-name {
            font-size: 22px;
            line-height: 35px;
            display: inline-block;
            width: 200px;
        }

        .coupon-right {
            width: 20px;
            font-size: 22px;
            right: 18px;
            position: absolute;
            height: inherit;
            line-height: 25px;
            padding: 10px;
        }
    }

    .coupon-small {
        height: 120px;
        width: 245px;
        background: resolve('product/coupon-small.png') no-repeat;
        background-size: 245px 120px;
        margin: 30px 0 30px 30px;
        position: relative;
        float: left;

        .coupon-left {
            position: absolute;
            width: 165px;
            overflow: hidden;
            margin: 0 30px;
        }

        .coupon-left .coupon-left-price {
            width: inherit;
            display: inline-block;
        }

        .coupon-left .coupon-left-price .coupon-sign{
            font-size: 42px;
        }

        .coupon-left .coupon-left-price .coupon-price{
            font-size: 52px;
            font-weight: bold;
        }

        .coupon-left  .coupon-left-name {
            font-size: 18px;
            display: inline-block;
            margin-top: -10px;
            width: 138px;
        }

        .coupon-right {
            width: 20px;
            font-size: 18px;
            right: 7px;
            position: absolute;
            height: inherit;
            line-height: 25px;
            padding: 10px;
        }
    }
}