_index.scss 3.73 KB
.products-page {
    .filter-box {
        border: 1px solid #dfdfdf;
    }

    .section {
        padding: 10px 15px;
        font-size: 14px;
        border-top: 1px solid #dfdfdf;

        &:first-child {
            border-top: none;
        }
    }

    .title {
        float: left;
        width: 90px;
        line-height: 30px;
    }

    .attr-content {
        margin-left: 90px;
    }

    .multi-select {
        display: inline-block;
        width: 60px;
        height: 18px;
        line-height: 18px;
        border: 1px solid #000;
        text-align: center;
        cursor: pointer;
    }

    .attr {
        display: block;
        float: left;
        padding: 0 10px;
        margin-right: 30px;
        line-height: 30px;
        cursor: pointer;

        &:first-child {
            margin-left: 0;
        }

        -moz-user-select: none;
    }

    .channel {
        line-height: 35px;
        background: #eaeceb;

        .title, .attr {
            line-height: 35px;
        }
    }

    .brand {
        position: relative;

        .attr {
            box-sizing: border-box;
            width: 20%;
            margin: 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .attr-content {
            max-width: 900px;
        }

        .brand-opt {
            position: absolute;
            right: 20px;
            top: 15px;
        }

        .brand-more {
            margin-right: 20px;
            cursor: pointer;
        }

        .brands-index {
            float: left;
            line-height: 30px;

            span {
                margin: 0 5px;

                &:first-child {
                    margin-left: 10px;
                }
            }
        }

        .brand-search {
            float: left;
            height: 18px;
            border: 1px solid #b0b0b0;
            margin-top: 5px;
            margin-left: 15px;

            input {
                float: left;
                border: none;
                width: 100px;
                height: 18px;
                padding: 0;
            }

            .btn {
                display: inline-block;
                width: 55px;
                height: 18px;
                background: #b0b0b0;
                color: #fff;
                text-align: center;
            }
        }

        .panel-body {
            padding: 15px 20px;
            margin-top: 5px;
            background: #f4f7f6;
        }
    }

    .btns {
        display: none;
        margin-top: 10px;
        text-align: center;
    }

    .multi .btns {
        display: block;
    }

    .multi-select-ok, .multi-select-cancel {
        width: 55px;
        height: 24px;
        border: none;
        background: #000;
        color: #fff;
        font-size: 15px;
        margin-right: 15px;
    }

    .ud-price-range {
        margin-top: 2px;
    }

    .limit {
        height: 22px;
        width: 42px;
        border: 1px solid #ccc;
        padding: 0;
    }

    .price-sep {
        margin: 0 5px;
    }

    .price-sure {
        height: 24px;
        width: 44px;
        border: 1px solid #e0e0e0;
        background: #fff;
        color: #666;
        margin-left: 10px;
    }

    .color-block {
        display: inline-block;
        height: 22px;
        width: 22px;
        border: 1px solid #ccc;
        margin-bottom: -6px;
        margin-right: 5px;
    }

    .sub-senior-wrap {
        position: relative;
        padding: 15px;

        .sub {
            max-width: 950px;
        }

        .multi-select {
            position: absolute;
            top: 15px;
            right: 15px;
        }
    }

    .checkbox {
        display: none;
    }

    .multi .checkbox {
        display: inline;
    }
}