_product-category.scss 2.79 KB
.product-category {
    font-size: 30rem / $pxConvertRem;
    background-color: #fff;

    .allproduct {
        position: relative;
        padding: 15px 0px;
        background: #fff;
        border-top: 15px;
        border-bottom: 15px;
        padding-left: 32rem / $pxConvertRem;
        border-top: 1px solid #e6e6e6;
    }

    .margin-under-allproduct{
        width: 100%;
        height: 30rem / $pxConvertRem;
        background-color: #f0f0f0;
    }

    .category-container{
        border-top: 1px solid #e6e6e6;
    }
    .arrow-icon {
        position: absolute;
        font-size: 16px;
        top: 15px;
        right: 20px;
        color: #e1e1e1;
    }

    .allproductParagaraph {
        font-size: 18px;
        left: 20px;
    }

    .content {
        background: #fff;

        &.hide {
            display: none;
        }
    }

    .primary-level {
        float: left;
        box-sizing: border-box;
        width: 100%;
        position: absolute;
        > li {
            position:relative;
            height: 89rem / $pxConvertRem;
            line-height: 89rem / $pxConvertRem;
            box-sizing: border-box;
            border-bottom: 1px solid #e6e6e6;
            background-color: #fff;
            margin-left: 30rem / $pxConvertRem;
        }
    }

    .primary-level-trilangle{
        float: right;
        background: image-url('product/arrow.png');
        margin-top: 14rem / $pxConvertRem;
        width: 21rem / $pxConvertRem;
        height: 60rem / $pxConvertRem;
        background-repeat: no-repeat;
    }

    .trilanglefont {
        font-family: "iconfont" !important;
        font-size: 30px;
        font-style: normal;
        text-decoration: none;
        -webkit-font-smoothing: antialiased;
        -webkit-text-stroke-width: 0.2px;
        -moz-osx-font-smoothing: grayscale;
        color: #f4f4f4;
    }


    .sub-level-container {
        float: right;
        box-sizing: border-box;
        background: #f4f4f4;
        width: 55%;
        height: 100%;
        position: relative;
    }

    .sub-level {
        width: 100%;

        &.hide {
            display: none;
        }

        > li {
            box-sizing: border-box;
            height: 89rem / $pxConvertRem;
            line-height: 89rem / $pxConvertRem;
            border-bottom: 1px solid #e6e6e6;
            margin-left: 30rem / $pxConvertRem;
            padding-left: 0rem / $pxConvertRem;

            &.highlight {
                background: #dbdbdb;
                margin-left: 0rem / $pxConvertRem;
                padding-left: 30rem / $pxConvertRem;
            }

            &:last-child {
                border-bottom: none;
            }
        }

        a {
            display: block;
            height: 100%;
            width: 100%;
            color: #afafaf;
        }
    }
}