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

    .coupon-scroll {
        height: inherit;
    }

    .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;

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

        .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: 210px;
        }

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

    .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;
        }

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