coupons.page.css 3.01 KB
.my-coupon-page {
    background-color: #f2f2f2;

    .coupon-tab {
        height: 90px;
        line-height: 90px;
        text-align: center;
        background-color: #fff;
        font-size: 32px;
        color: #b0b0b0;

        ul li {
            float: left;
            width: 33.33%;

            &.activate {
                color: #444;
            }
        }
    }

    .coupon-group {
        background-color: #f2f2f2;
        color: #fff;
        margin: 20px 20px 0;

        & > div {
            padding: 0 15px;
        }

        .coupon-header {
            border-radius: 10px 10px 0 0;
            background-color: #e53333;
            height: 60px;
            line-height: 60px;
            box-shadow: 0 0 10px #eee;
        }

        .coupon-content {
            border-radius: 0 0 10px 10px;
            height: 140px;
            border-top: 1px dashed #e53333;
            display: table;
            color: #f2f2f2;
            padding: 15px 0;
            background-color: #f06a6b;

            .coupon-content-group1 {
                display: table-cell;
                text-align: center;
                vertical-align: middle;
                font-size: 20px;

                p {
                    width: 200px;
                    overflow: hidden;
                }

                .coupon-money {
                    font-size: 70px;
                }
            }

            .coupon-content-group2 {
                display: table-cell;
                font-size: 16px;
                border-left: 1px solid #f1aeaf;
                padding-left: 20px;
                padding-right: 20px;
                width: 100%;

                .coupon-content-group2-table {
                    display: table;
                    overflow: hidden;
                    height: 100%;
                    line-height: 45px;
                }

                .coupon-content-group2-table > div {
                    display: table-row;
                    height: 100%;
                }

                .left {
                    float: left;
                    line-height: 45px;

                    &.down .iconfont:before {
                        content: '\e609';
                    }

                    &.up .iconfont:before {
                        content: '\e608';
                    }
                }

                .right {
                    float: right;
                }

                .coupon-expire {
                    color: #000;
                }

                .btn {
                    display: inline-block;
                    width: 120px;
                    height: 45px;
                    text-align: center;
                    background-color: #e53333;
                    border-radius: 10px;
                    color: #fff;
                }
            }
        }

        .coupon-footer {
            background-color: #f06a6b;
            padding: 20px;
            font-size: 20px;
            border-radius: 10px;
            border-top: 1px dashed #fff;
        }

    }
}