_cart-togetherGoods.css 9.86 KB
.cart-togetherGoods {
    margin-left: -350px;
    width: 700px;
    height: auto;
    overflow: hidden;
    background: #fff;
    &.yoho-dialog {
        .close {
            top: 10px;
            right: 10px;
            .iconfont {
                font-size: 20px;
            }
        }
    }


    .detail-body {
        width: 610px;
        padding: 15px;
        margin: 0 auto;
        .none {
            display: none;
        }
    }

    .detail-bigpic {
        width: 180px;
        padding-bottom: 30px;
        float: left;

        .bigpic {
            border: 1px solid red;
            width: 180px;
            height: 240px;
            display: block;
            margin: 0 auto 10px;
            img {
                width: 100%;
                height: auto;
            }
            &.none{
                display: none;
            }
        }

        .piclist {
            height: 55px;
            cursor: pointer;
            span {
                width: 15px;
                height: 55px;
            }
            .pre {
                background: url(/cart/pre.png);
                float: left;
            }
            .next {
                background: url(/cart/next.png);
                float: right;
            }
            .con {
                width: 145px;
                height: 55px;
                overflow: hidden;
                float: left;
                margin-left: 5px;
                li {
                    float: left;
                    width: 40px;
                    height: 55px;
                    border: 1px red solid;
                    margin: 0 5px 0 0;
                    vertical-align: top;
                    overflow: hidden;
                    text-align: center;
                }
                img {
                    width: auto;
                    height: 100%;
                    display: inline-block;
                }
                .active {
                    width: 40px;
                    height: 55px;
                    border: 2px #333 solid;
                }
            }
        }
    }


    .detail-info {
        width: 355px;
        float: right;
        .title {
            h2 {
                width: 355px;
                color: #000;
                font-size: 18px;
                color: #444;
                font-weight: 500;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                text-align: left;
            }
        }
        .price {
            padding: 0px 0px 20px 0px;
            margin-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
            .newprice {
                display: block;
                color: #b0b0b0;
                font-size: 12px;
                font-weight: normal;
                height: 25px;
                line-height: 25px;
                text-align: left;
                b {
                    font-size: 13px;
                    font-family: arial;
                }
            }
            .activityprice {
                display: block;
                color: #444;
                font-size: 13px;
                font-weight: normal;
                height: 22px;
                line-height: 22px;
                text-align: left;
                b {
                    font-size: 22px;
                }
            }
        }

        .order{
            color: #999;
            font-size: 13px;
            zoom: 1;
            &:after {
                 content: '';
                 display:block;
                 clear: both;
                 height: auto;
             }
            dl {
                zoom: 1;
                &:after {
                    content: '';
                    display: block;
                    clear: both;
                    height: auto;
                }
            }
            dd {
                width: 55px;
                float: left;
                padding-bottom: 15px;
                text-align: left;
            }
            dt {
                width: 300px;
                float: left;
                padding-bottom: 15px;
                text-align: left;
            }
            dd.colorBox {
                line-height: 40px;
            }
            dd.showSizeBox {
                line-height: 23px;
            }

            .colorBox {
                &>ul {
                    zoom: 1;
                    &:after {
                        content: '';
                        display: block;
                        clear: both;
                        height: auto;
                    }
                }
                li {
                    width: 40px;
                    height: 40px;
                    overflow: hidden;
                    text-align: center;
                    margin-right: 5px;
                    display: inline;
                    float: left;
                    cursor: pointer;
                    .active {
                        width: 40px;
                        height: 40px;
                        border: 2px #232323 solid;

                    }
                    p {
                        width: 38px;
                        height: 38px;
                        margin: 0px;
                        display: inline-block;
                        border: 1px #f5f6f5 solid;
                        position: relative;
                        img {
                            width: 100%;
                            height: auto;
                        }
                    }
               }
            }

            .showSizeBox{
                span {
                    cursor: pointer;
                    min-width:38px;
                    height: 23px;
                    line-height: 23px;
                    padding: 0px 12px;
                    border: 1px #f5f6f5 solid;
                    margin: 1px 5px 5px 1px;
                    display: inline;
                    float: left;
                    overflow: hidden;
                    font-size: 14px;
                    color: #444;
                    &.disabled {
                        color: #999;
                    }
                }
            }

            .amount_wrapper {
                position: relative;
                width: 52px;
                height: 23px;
                line-height: 23px;
                display: inline-block;
                .amount {
                    position: absolute;
                    right: 0;
                    border: 1px solid #eaeceb;
                    width: 10px;
                    height: 10px;
                    display: inline;
                    cursor: pointer;
                    background-position: center center;
                    background-repeat: no-repeat;
                }
                .cut {
                    top: 0;
                    background: url(/cart/minus.png);
                }
                .add {
                    bottom: 0;
                    background: url(/cart/plus.png);
                }
                .num {
                    width: 38px;
                    height: 21px;
                    line-height: 16px;
                    border: #eaeceb solid 1px;
                    text-align: center;
                    overflow: hidden;
                    float: left;
                    font-size: 15px;
                    color: #666;
                }
            }
        }

        .submit {
            text-align: left;
            button {
                width: 140px;
                height: 40px;
                font-size: 15px;
                color: #444;
                margin-right: 20px;
                border: 1px solid #b0b0b0;
                background-color: #fff;
                box-sizing: border-box;
                outline: none;
                i{
                    width: 16px;
                    height: 16px;
                    display: inline-block;
                    vertical-align: top;
                    margin-right: 8px;
                    margin-top: 2px;
                    background-repeat: no-repeat;
                    background-position: middle middle;
                    &.addCart{
                        background-image: url(/cart/addCart.png);
                    }
                    &.favCount{
                        background-image: url(/cart/pavCount.png);
                    }
                }
                &.btn-grey {
                    background-color: #b0b0b0;
                }
                &.btn-red {
                    color: #fff;
                    border-color: #d0021b;
                    background-color: #d0021b;
                }
            }
        }
    }

    .detail-size {
        float: left;
        border-top: 1px solid #e0e0e0;
        width: 100%;
        height: auto;
        padding-bottom: 15px;
        h3 {
            height: 35px;
            line-height: 35px;
            font-size: 14px;
            color: #444;
            text-align: left;
            margin-bottom: 10px;
        }
        table {
            width: 100%;
            height: auto;
            border: none;
            margin-bottom: 5px;
            font-size: 14px;
            border-bottom: 1px dashed #eaeceb;
            td {
                font-weight: normal;
                background: #fff;
                text-align: center;
                padding: 8px 3px;
                color: #444;
                height: 30px;
                line-height: 30px;
            }
            tr{
                th{
                    text-align: center;
                    background: #f5f7f6;
                    color: #999;
                    font-weight: 800;
                    height: 30px;
                    line-height: 30px;
                }
            }
        }
        .size-info {
            margin-top: 20px;
            font-size: 14px;
            color: #444;
            text-align: left;
        }
    }

}