_material.css 4.09 KB
.product_material {
    margin: auto;
    font-family: '微软雅黑';
    font-size: 14px;

    .logo {
        width: 171px;
        height: 40px;
        display: inline-block;
        background-image: url(../img/sprite.3party.png);
        background-position: 0px 0px;
        vertical-align: middle;
        margin-right: 10px;
    }

    input, select {
        outline: none;
    }

    select {
        margin-right: 10px;
    }

    h1 {
        font-size: 22px;
        margin: 0 0 50px;
        text-align: left;
        width: 100%;
        padding: 20px;
        color: #a5a5a5;
        box-sizing: border-box;
        border-bottom: 1px solid #e2e2e2;
        background: #f7f7f7;
    }

    /* 过滤 */
    .line {
        width: 90%;
        margin: 20px auto;
    }

    .sel {
        width: 173px;
        vertical-align: middle;
        padding: 9px;
        border-radius: 4px;
        box-sizing: border-box;
        border: 1px solid #d6d6d6;
    }

    label,
    a {
        vertical-align: middle;
    }

    /* 品牌 */
    #brand {
        position: relative;
        height: 40px;
        width: 173px;
        padding: 10px;
        border-radius: 4px;
        box-sizing: border-box;
        border: 1px solid #d6d6d6;

        label {
            cursor: pointer
        }
    }

    #brand_container {
        position: absolute;
        width: 90%;
        background: #101010;
        z-index: 2;
        display: none;
        height: 640px;
        overflow: auto;

        .nav {
            overflow: hidden;

            span {
                display: inline-block;
                width: 25%;
                text-align: center;
                height: 40px;
                line-height: 40px;
                cursor: pointer;
                float: left;
                color: #fff;
            }

            .focus {
                background: #ececec;
                color: #000;
            }
        }

        .title {
            padding: 10px 20px;
            background: #f9f9f9;
            color: #292929;
            font-weight: bold;
            text-align: left;
            box-sizing: border-box;
        }

        .content {
            background: #fff;
            padding: 0 10px;
            box-sizing: border-box;
        }

        .item {
            display: inline-block;
            width: 10%;
            padding: 5px 0;
            text-align: center;
            height: 20px;
            line-height: 20px;
            font-size: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 5px 0;

            &:hover {
                background: #eee;
                cursor: pointer;
                border-radius: 5px;
            }
        }
    }

    #category-2 {
        display: none;
    }

    #category-3 {
        display: none;
    }

    .search-btn {
        float: right;
        border-radius: 4px;
        background: #000;
        padding: 10px 25px;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        margin-right: 20px;
    }

    .search-recommend-btn {
        float: right;
        border-radius: 4px;
        background: #20a0ff;
        padding: 10px 25px;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
    }

    /*表格*/
    table {
        width: 90%;
        margin: 35px auto;
    }

    table {
        table-layout: fixed;
        empty-cells: show;
        border-collapse: collapse;

        img {
            width: 80px;
        }
    }

    td {
        height: 36px;
    }

    .table {
        border: 1px solid #d6d6d6;
        color: #666;
    }

    .table th {
        background-repeat: repeat-x;
        height: 30px;
        font-weight: bold;
    }

    .table td,
    .table th {
        border: 1px solid #d6d6d6;
        padding: 5px;
        text-align: center;
    }

    .table tr.alter {
        background-color: #f5fafe;
    }

    .mask {
        position: absolute;
        top: 0;
        width: 100%;
        bottom: 0;
        z-index: 1;
        background: #000;
        opacity: 0.6;
        display: none;
    }
}