_order.scss 7.77 KB
.orderCart {
    background-color: $YOHO-white-color;
    li {
        position: relative;
        height: 81px;
        line-height: 81px;
        padding: 10px;
        border-bottom: 1px solid $YOHO-goods-img-color;
    }
    .yCheckbox {
        margin-right: 10px;
    }
    .reducePrice {
        color: $YOHO-red-color !important;
    }
    .orderInfo {
        width: 160px;
        padding: 0 0 0 10px;
        line-height: 1.4;
        h2 {
            font-size: 16px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        p span {
            margin-right: 10px;
            color: $YOHO-border-color;
        }
        p span:last-of-type {
            margin-right: 0;
        }
        p.orderPrice {
            font-size: 14px;
            padding: 10px 0;
            span {
                color: $YOHO-normal-color;
            }
        }
    }
    .deleteFromOrder {
        position: absolute;
        background-color: $YOHO-goods-img-color;
        right: -10px;
        top: 50%;
        padding: 11px 0;
        width: 204px;
        height: 22px;
        line-height: 22px;
        margin-top: -22px;
        white-space: nowrap;
        a:first-of-type {
            border-right: 1px solid $YOHO-border-color;
        }
        a {
            font-size: 16px;
            padding:0 10px;
        }
    }
    .additive {
        padding: 10px;
        border-bottom: 1px solid $YOHO-goods-img-color;
        li {
            line-height: 44px;
            height: 44px;
            background-color: $YOHO-goods-img-color;
            border: 0;
            margin-bottom: 5px;
            padding: 0 10px 0 36px;
            position: relative;
        }
        li.activityInfo {
            line-height: 16px;
            height: auto;
            padding: 5px 10px;
            margin-bottom: 0;
            p {
                em {
                    font-size: 10px;
                    vertical-align: middle;
                    margin-right: 10px;
                }
            }
        }
        .icon-gift {
            background: url("../img/gift-icon.png") no-repeat;
            background-size: 24px 24px;
            width: 24px;
            height: 24px;
            position: absolute;
            top: 50%;
            left: 7px;
            margin: -12px 0 0 0;
        }
        .icon-rmb {
            background: url("../img/rmb-icon.png") no-repeat;
            background-size: 24px 24px;
            width: 24px;
            height: 24px;
            position: absolute;
            top: 50%;
            left: 7px;
            margin: -12px 0 0 0;
        }
    }

    .additiveBoxList {
        li {
            height: 80px;
            line-height: 80px;
            padding-top: 0;
            padding-bottom: 0;
            border: 0;
            margin-bottom: 10px;
        }
        .giveaway {
            padding-left: 10px !important;
        }
        li:last-of-type {
            margin-bottom: 0;
        }
    }
}
.calcPrice {
    padding: 10px;
    border-bottom: 1px solid $YOHO-goods-img-color;
    min-height: 43px;
    line-height: 16px;
    color: $YOHO-normal-color;
}

.buttonControl {
    padding: 10px 0;
    a {
        float: left;
        @include box-sizing(border-box);
        width: 70px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }
    .selectAll {
        background-color: $YOHO-goods-img-color;
        border:1px solid $YOHO-dot-color;
    }
    .selectInfo {
        margin: 0 80px;
        line-height: 20px;
        p:last-of-type {
            color: $YOHO-normal-color;
        }
    }
    .calcButton {
        float: right;
        background-color: $YOHO-red-color;
        color: $YOHO-white-color;
    }
}


// add style
.loginTip {
    height: 44px;
    line-height: 44px;
    padding: 0 10px;
    color: #24acaa;
    em {
        margin-right: 5px;
    }
    a {
        background-color: $YOHO-red-color;
        color: $YOHO-white-color;
        display: inline-block;
        width: 40px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        margin: 0 5px;
    }
}

.removeGoods {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -22px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: right;
    font-size: 16px;
    color: $YOHO-normal-color;
}

.giveaway {
    padding-left: 36px !important;
}

.giveawayImg {
    position: relative;
    display: inline-block;
    background-color: $YOHO-goods-img-color;
    .giveawayTitle {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 12px;
        line-height: 12px;
        font-size: 9px;
        background-color: #98c93c;
        color: $YOHO-white-color;
        text-align: center;
    }
    .makeup {
        background-color: #ea68a2;
    }
}

// cancel delete
.cancelDelete {
    height: 36px;
    line-height: 18px;
    background-color: #24acaa;
    color: $YOHO-white-color;
    padding: 4px 10px;
    font-size: 14px;
    position: relative;
    .cancelDeleteBtn {
        position: absolute;
        width: 72px;
        height: 22px;
        line-height: 22px;
        background-color: #333;
        color: $YOHO-white-color;
        text-align: center;
        right: 10px;
        top: 50%;
        margin: -11px 0 0;
    }
}

.cancelText {
    width: 220px;
    p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.additiveTitleBox {
    padding: 10px;
    h3 {
        background-color: $YOHO-goods-img-color;
        height: 44px;
        line-height: 44px;
    }
}

.giveawayTitleBox {
    @extend .additiveTitleBox;
}


// order list collect
.brandCollectList {
    font-size: 0;
    letter-spacing: 0;
    white-space: nowrap;
    word-wrap: normal;
    li {
        height: 88px;
        line-height: 88px;
        padding: 0 10px;
        border-bottom: 1px solid $YOHO-goods-img-color;
        label {
            margin-right: 10px;
        }
    }
}

.goodsCollectList {
    @extend .brandCollectList;
    li {
        height: 101px;
        line-height: 101px;
    }
    .brandColInfo {
        padding: 0;
        height: 80px;
        white-space: normal;
        position: relative;
        p {
            font-size: 14px;
            line-height: 18px;
            margin-bottom: 3px;
        }
        .noGoods {
            font-size: 14px;
            height: 23px;
            line-height: 23px;
            width: 64px;
            text-align: center;
            position: absolute;
            left: 0;
            bottom: 0;
            background-color: $YOHO-dot-color;
            color: $YOHO-search-color;
        }
    }
}

.brandColImg {
    width: 68px;
    vertical-align: middle;
    display: inline-block;
}
.brandColInfo {
    width: 150px;
    vertical-align: middle;
    display: inline-block;
    padding: 15px 0 15px 10px;
    font-size: 12px;
    p {
        line-height: 20px;
    }
}
.BrandColDel {
    width: 44px;
    height: 44px;
    line-height: 44px;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    text-align: right;
    color: $YOHO-normal-color;
}

.BrandColController {
    height: 44px;
    padding: 10px;
    a {
        display: block;
        height: 42px;
        line-height: 42px;
        border:1px solid #ddd;
        background-color: $YOHO-goods-img-color;
        text-align: center;
        float: left;
        margin-right: 10px;
        width: 143px;
        font-size: 16px;
    }
    a:last-of-type {
        margin-right: 0;
    }
}

.errorTipBox {
    height: 44px;
    line-height: 44px;
    padding: 0 10px;
    background-color: #feeded;
    p {
        color: $YOHO-red-color;
        em {
            margin-right: 5px;
        }
    }
}