_detail.css 6.39 KB
.multi-package-row {
    position: relative;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    background: #f4fbff;
    margin-bottom: $space;
    border: 1px solid $borderColor;

    .show-package {
        font-size: 16px;
        cursor: pointer;
    }

    .package-up-icon {
        position: absolute;
        width: 10px;
        height: 7px;
        background: url(/shopping/package-up.png);
        top: -7px;
        left: 392px;

        + .package-item .package-title {
            border-top: none;
        }
    }

    .package-list {
        position: absolute;
        background: #fff;
        border: 2px solid #bbb;
        width: 586px;
        right: 36px;
        padding: 0 50px;
    }

    .package-title,
    .package-shipping {
        text-align: left;
        margin-left: 10px;
    }

    .package-title {
        border-top: 1px solid #eee;
        line-height: 55px;
    }

    .package-shipping {
        color: #595959;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .package-goods li {
        width: 120px;
    }

    .package-goods-img {
        display: block;
        width: 100px;
        height: 134px;
        margin: 0 auto;
    }
}

.order-status {
    $basicHeight: 90px;

    border-top: 1px solid $borderColor;
    border-bottom: 1px solid $borderColor;
    position: relative;

    .time {
        width: 340px;
        height: 42px;
        margin-top: -$space;
        font-size: $smallSize;
        font-weight: normal;

        .iconfont {
            font-size: $smallSize;
            margin-right: 5px;
        }

        .left-time {
            display: inline-block;
        }

        .tip {
            float: right;
        }
    }

    .basic {
        height: $basicHeight;
        line-height: $basicHeight;
        position: relative;

        p {
            width: 20%;
            display: inline-block;
            color: $black;
            font-weight: bold;
        }

        .edit-btns {
            display: inline-block;
            position: absolute;
            right: 0;
            top: 50%;
            margin-top: -13px;

            .btn {
                cursor: pointer;
            }

            .mr {
                margin-right: $space;
            }

            li {
                float: left;
            }
        }
    }

    .time-line {
        padding-bottom: 10px;

        ul {
            width: 100%;
            height: 18px;
        }

        li {
            width: 25%;
            height: 18px;
            line-height: 18px;
            float: left;
            text-align: center;
            background-color: #eee;
            color: $black;
            font-size: $smallSize;
            font-weight: normal;

            &.active {
                background-color: $black;
                color: #fff;

                &.last-active {
                    border-top-right-radius: 9px;
                    border-bottom-right-radius: 9px;
                }
            }

            &.first {
                border-radius: 9px 0 0 9px;
            }

            &.last {
                border-radius: 0 9px 9px 0;
            }
        }

        p {
            width: 25%;
            margin: $space 0;
            text-align: center;
            font-size: $normalSize;
            color: $black;
        }
    }
}

.info-box {
    $w: 516px;

    margin: $bigSpace 0;
    padding-bottom: calc($space - $smallSpace);
    border-bottom: 1px solid $borderColor;

    .text {
        font-size: $normalSize;
        margin: $smallSpace 0;
    }

    .table {
        .header {
            li {
                width: $normalWidth;
                text-align: center;
            }

            .first {
                width: calc($goodImgWidth + 2 * $space + $w - $normalWidth + $space / 2);
                text-align: left;
            }
        }
    }

    .good-info {
        width: 519px !important;
    }

    .goods-container {
        width: calc($w + 3 * $normalWidth);

        .special-column {
            display: inline-block !important;
        }

        .right-border {
            border-right: 1px solid $borderColor;
        }

        .buy-number {
            display: none;
        }

        .detail {
            width: calc($w - $goodImgWidth - 2 * $space - 3px) !important;
        }
    }

    &.goods-list {
        margin-bottom: 0;
        border-bottom: none;
    }

    &.payment-info {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        text-align: right;

        p {
            font-size: $normalSize;
            margin-bottom: $smallSpace;
        }

        .payment-amount {
            margin-top: $bigSpace;

            .amount {
                font-size: $bigSize;
                font-weight: bold;
            }
        }

        .paid {
            margin-top: $bigSpace;
            font-size: $normalSize;
            color: $skyBlue;

            .iconfont {
                font-size: $normalSize;
                border: 1px solid $skyBlue;
                border-radius: 100%;
                margin-right: 5px;
            }
        }

        .tip {
            display: inline-block;
            width: 200px;
            text-align: left;
        }

        .amount {
            display: inline-block;
            min-width: 100px;
        }
    }

    .invoice-down {
        color: #d0021b;
        width: 90px;
        margin-top: -24px;
        margin-left: 170px;
        position: absolute;
        font-size: 12px;
        font-weight: 700;
        border: 1px solid #e0e0e0;
    }
}

.status-title {
    font-weight: bold;
    font-size: $bigSize;
    margin-bottom: $space;
}

.order-express {
    border-bottom: none;

    .header {
        padding-right: $space;
    }

    .table-body {
        width: 100%;
        padding: $space $space 0;
        border: 1px solid $borderColor;
        border-top: none;
    }

    .express-basic {
        margin-bottom: $space;

        p {
            min-width: 15%;
            display: inline-block;
            font-size: $normalSize;
            margin: 0;
        }
    }

    .column {
        float: left;
        text-align: left !important;

        .text {
            margin-bottom: $space;
        }

        &.time {
            width: 30% !important;
        }

        &.city {
            width: 30% !important;
        }

        &.action {
            width: 40% !important;
        }
    }
}