_left-content.css 2.95 KB
.product-page {
    .sort-container {
        width: 100%;
        font-size: 12px;
        border-bottom: 1px solid #ebebeb;
        padding-bottom: 10px;
        margin-bottom: 10px;

        h2 {
            height: 28px;
            line-height: 28px;
            color: #222;
            font-weight: bold;
            position: relative;

            span {
                color: #bbb;
                padding-left: 5px;
            }
        }
    }

    .product-list-nav {
        h3 {
            height: 28px;
            line-height: 28px;
            color: #222;
            font-weight: bold;
            position: relative;
            text-indent: 10px;
            cursor: pointer;

            span {
                color: #bbb;
                padding-left: 5px;

                &.icon-triangle {
                    display: inline-block;
                    padding-left: 0;
                    width: 0;
                    height: 0;
                    border-top: 6px solid #fff;
                    border-left: 6px solid #000;
                    border-bottom: 6px solid #fff;
                    position: absolute;
                    top: 50%;
                    margin-top: -6px;
                    left: 0;
                    transition: transform 0.3s;
                }
            }
        }

        &.active .icon-triangle {
            transform: rotate(90deg);
        }

        &.active .sort-child-list {
            display: block;
        }
    }

    .sort-child-list {
        display: none;

        &.new-sale,
        &.suggest-list {
            display: block;
        }

        li {
            color: #bbb;

            &.active {
                background: #333;
                color: #fff;

                a {
                    color: #fff;
                }
            }

            span {
                padding-left: 5px;
                color: #bbb;
            }
        }

        a {
            width: 150px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: block;
            color: #666;
            padding-left: 10px;
            height: 22px;
            line-height: 22px;
        }
    }

    .nav-pic-title {
        height: 35px;
        line-height: 35px;
        color: #000;
        border-bottom: 1px solid #ebebeb;
        font-size: 12px;
    }

    .shop-ad-nav > .nav-pic-title {
        width: 100%;
        height: 25px;
        line-height: 25px;
        background: #000;
        font-size: 14px;
        color: #fff;
        font-family: "黑体";
        padding-left: 14px;
        box-sizing: border-box;
        margin-bottom: 4px;
    }

    .pic-nav {
        display: block;

        li {
            margin-bottom: 10px;
        }

        li,
        img {
            display: block;
            width: 100%;
            overflow: hidden;
        }
    }

    .brand-card img,
    .brand-shop-ad img {
        max-width: 100%;
    }
}