_order-ensure.scss 5.52 KB
.order-ensure-page {
    background: #f0f0f0;

    .block {
        background: #fff;
        margin: 20rem / $pxConvertRem 0;
        padding: 30rem / $pxConvertRem 20rem / $pxConvertRem;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    .title {
        font-size: 26rem / $pxConvertRem;
        font-weight: bold;
    }

    .address-wrap {
        display: block;
        position: relative;
        margin-top: 0;
        border-top: none;

        > .iconfont {
            position: absolute;
            color: #bcbcbc;
            right: 20rem / $pxConvertRem;
            top: 50%;
            margin-top: -8px;
        }

        .infos {
            font-weight: bold;
            font-size: 24rem / $pxConvertRem;
            padding-right: 55rem / $pxConvertRem;
        }

        .per-info {
            float: right;
        }

        .address {
            display: block;
            margin-top: 20rem / $pxConvertRem;
            color: #bcbcbc;
            font-weight: normal;
        }
    }

    .dispatch .title {
        margin-bottom: 10rem / $pxConvertRem;
    }

    .dispatch .sub-block:first-child {
        border-bottom: 1px solid #f7f7f7;
        margin-bottom: 15rem / $pxConvertRem;
    }

    .dispatch-mode li,
    .dispatch-time li {
        float: left;
        padding: 10rem / $pxConvertRem 20rem / $pxConvertRem;
        margin-right: 15rem / $pxConvertRem;
        margin-bottom: 15rem / $pxConvertRem;
        border: 1px solid #c9c9c9;
        color: #676767;
        font-size: 26rem / $pxConvertRem;

        &.chosed {
            border-color: #000;
            background: image-url('shopping-cart/black-right.png') no-repeat;
            background-size: 30rem / $pxConvertRem;
            background-position: bottom right;
        }
    }

    .goods {
        margin-right: -20rem / $pxConvertRem;

        .price-wrap {
            position: static;
            text-align: left;

            .price {
                color: #444;
            }

            .count {
                display: inline;
                margin-left: 20rem / $pxConvertRem;
            }
        }

        .name {
            max-width: pxToRem(400px);
        }
    }

    .sale-invoice {
        margin-top: -20rem / $pxConvertRem;
        font-size: 24rem / $pxConvertRem;

        li {
            height: 90rem / $pxConvertRem;
            line-height: 90rem / $pxConvertRem;
            border-bottom: 1px solid #f7f7f7;
            overflow: hidden;

            a {
                display: block;
            }
        }

        .coupon-count {
            padding: 5rem / $pxConvertRem 15rem / $pxConvertRem;
            background: #f00;
            color: #fff;
            @include border-radius(10px);
            margin-left: 20rem / $pxConvertRem;
        }

        .coupon-use,
        .coin-check {
            float: right;
            color: #999;

            &.used {
                color: #f00;
            }

            .iconfont {
                color: #999;
            }
        }

        .coin-check {
            float: right;
            color: #999;

            .checkbox {
                margin-left: 5rem / $pxConvertRem;
                color: #000;
            }

            em {
                color: #f00;
            }

        }

        .checkbox.icon-checkbox {
            color: #ccc;
        }

        .invoice {
            .checkbox {
                float: right;
            }

            &.focus {
                height: auto;
            }
        }

        .desc {
            color: #999;
        }
    }

    .block input {
        box-sizing: border-box;
        margin: pxToRem(20px) 0;
        padding: 0 pxToRem(12px);
        width: 100%;
        height: pxToRem(60px);
        color: #444;
        background: #efefef;
        font-size: pxToRem(16px);
        line-height: 1;
        outline: 0;
        border: 0;
        @include border-radius(4px);
    }

    #invoice {
        border-top: 1px solid #f7f7f7;

        label {
            display: block;
            border-top: 1px solid #f7f7f7;
        }

        select {
            position: relative;
            float: right;
            width: 40%;
            height: pxToRem(50px);
            top: pxToRem(20px);
            border: 1px solid #f7f7f7;
        }
    }

    #msg {
        padding-top: pxToRem(20px);
        input {
            margin: 0;
        }

    }

    .total {
        font-size: 22rem / $pxConvertRem;
        margin-top: 20rem / $pxConvertRem;

        span {
            display: inline-block;
            width: 130rem / $pxConvertRem;
        }
    }

    .price-cal {
        font-family: monospace;
    }

    .cost {
        border-top: 1px solid #f7f7f7;
        line-height: 100rem / $pxConvertRem;
        margin-top: 10rem / $pxConvertRem;
        font-size: 34rem / $pxConvertRem;

        em {
            color: #f00;
        }
    }

    .pay-mode {
        background: #fff;
        padding: 0 20rem / $pxConvertRem;
        margin-top: -22rem / $pxConvertRem;

        li {
            height: 88rem / $pxConvertRem;
            line-height: 88rem / $pxConvertRem;
            margin-bottom: 28rem / $pxConvertRem;
            @include border-radius(5px);
            font-size: 32rem / $pxConvertRem;
            color: #fff;
            text-align: center;
            background: #000;
        }

        .default {
            background: #57b038;
        }

        .iconfont {
            margin-right: 20rem / $pxConvertRem;
            font-size: 32rem / $pxConvertRem;
        }
    }
}