_brand.css 8.17 KB
@import "search";
.brand-page {
    .re-pos-search {
        top: 80px !important;
    }

    .hide-when-loading {
        display: none;
    }

    .genderNav {
        display: block;
        width: 100%;
        height: 80px;
        line-height: 80px;
        overflow: hidden;
        color: #aeaeae;
        z-index: 3;
        position: fixed;
        border-bottom: 1px solid #e1e1e1;
        background-color: #fff;

        ul {
            width: 100%;
            height: 90%;
            overflow: hidden;

            li {
                width: 25%;
                height: 100%;
                overflow: hidden;
                float: left;
                text-align: center;
                position: relative;
                font-size: 28px;

                i {
                    width: 100%;
                    height: 40%;
                    overflow: hidden;
                    display: block;
                }

                span:not(.split-border) {
                    width: 100%;
                    height: auto;
                    overflow: hidden;
                    display: block;
                }

                .split-border {
                    display: inline-block;
                    width: 2px;
                    height: 1rem;
                    background-color: #e1e1e1;
                    position: absolute;
                    top: 30%;
                    right: 0;
                }
            }

            li:last-child {
                .split-border {
                    display: none;
                }
            }

            li.active {
                color: #444;
            }
        }
    }

    .brandNav {
        display: block;
        width: 100%;
        line-height: 80px;
        overflow: hidden;
        color: #aeaeae;
        z-index: 3;
        border-top: 30px solid #f4f4f4;
        background-color: #fff;
        border-bottom: 1px solid #f4f4f4;

        ul {
            width: 100%;
            height: 90%;
            overflow: hidden;

            li {
                width: 33%;
                height: 100%;
                overflow: hidden;
                float: left;
                text-align: center;
                position: relative;
                font-size: 28px;

                i {
                    width: 100%;
                    height: 40%;
                    overflow: hidden;
                    display: block;
                }

                span:not(.split-border) {
                    width: 100%;
                    height: auto;
                    overflow: hidden;
                    display: block;
                }

                .split-border {
                    display: inline-block;
                    width: 2px;
                    height: 1rem;
                    background-color: #e1e1e1;
                    position: absolute;
                    top: 30%;
                    right: 0;
                }
            }

            li:last-child {
                .split-border {
                    display: none;
                }
            }

            li.active {
                color: #444;
            }
        }
    }

    .newbrand-search {
        width: 100%;
        height: 88px;
        padding: 14px 3.125%;
        background-color: #f8f8f8;
        left: 0;
        top: 90px;
        position: fixed;
        z-index: 2;

        .search-box {
            position: relative;
            height: 60px;
            background-color: #fff;
            border-radius: 30px;
            padding: 0 32px 0 52px;

            a {
                width: 100%;
                height: 60px;
                border: 0;
                display: block;

                span {
                    line-height: 60px;
                    color: #bdbdbd;
                    font-size: 1.2em;
                    padding-left: 18px;
                }
            }

            .search-icon {
                position: absolute;
                font-size: 24px;
                top: 0;
                left: 24px;
                line-height: 60px;
                color: #bdbdbd;
            }

            .search-input {
                border: none;
                width: 95%;
                height: 60px;
                font-size: 1.2em;
                padding: 0 10px;
            }

            .search-action {
                display: none;
                position: absolute;
                top: 0;
                right: -74px;
                font-size: 32px;
                line-height: 60px;
                color: #666;

                .clear-text {
                    font-size: 40px;
                }
            }

            .cancel-btn {
                display: inline;
                font-size: 28px;
                vertical-align: middle;
                color: #666;
            }

            .clear-text {
                margin-right: 20px;
            }
        }
    }

    .banner-top {
        padding-top: 168px;
        background-color: #f8f8f8;
    }

    .hot-brands {
        padding-top: 178px;
        border-top: 30px solid #f4f4f4;

        .floor-header {
            padding: 0;
        }

        .brands-swiper {
            border-top: 0;
        }
    }

    .hot-brand {
        margin: 30px 0 0;

        .hot-brand-list {
            background: #fff;

            li {
                float: left;
                width: 158px;
                height: 158px;

                .img-box {
                    display: table-cell;
                    vertical-align: middle;
                    text-align: center;
                    width: 158px;
                    height: 158px;
                }

                img {
                    max-width: 140px;
                    max-height: 140px;
                }
            }
        }
    }

    .brand-list {
        width: 100%;

        .title-bar {
            width: 100%;
            background: #eee;
            color: #999;
            position: relative;

            h2 {
                padding: 0 20px;
                height: 50px;
                line-height: 50px;
                font-size: 34px;
                border-top: 1px solid #e6e6e6;
                background-color: #f4f4f4;
            }
        }

        p {
            cursor: pointer;
            padding: 0 20px;

            a {
                display: block;
                height: 76px;
                line-height: 76px;
                font-size: 28px;
                border-bottom: 1px solid #f3f3f3;
                border-top: 1px solid #f9f9f9;

                i {
                    display: inline-block;
                    margin-top: -4px;
                    width: 108px;
                    height: 42px;
                    text-align: center;
                    vertical-align: middle;
                    font-size: 28px;
                    line-height: 44px;
                    color: #fff;
                    border-radius: 50px;
                    transform: scale(0.8);
                }

                .icon-hot {
                    background: #f00;
                }

                .icon-new {
                    background: #86c048;
                }
            }
        }
    }

    .branding-wall {
        padding: 0;
        width: 98%;
        margin-left: 1%;
    }

    .brand-wall-box {
        margin-top: 20px;
        width: 32%;
        float: left;
    }

    .brand-name {
        margin-top: 10px;
        text-align: center;
        vertical-align: middle;
        font-size: 24px;
        line-height: 70px;
        height: 70px;
        overflow: hidden;
        color: #b8b8b8;
    }

    .right-bar {
        width: 60px;
        height: 75%;
        top: 20%;
        overflow: auto;
        position: fixed;
        right: 2px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.8);
        z-index: 2;
        display: none;

        b {
            height: 36px;
            line-height: 36px;
            text-align: center;
            display: block;
            color: #999;
            font-weight: bold;
        }
    }

    .right-bar::-webkit-scrollbar {
        display: none;
    }

    .con {
        padding-top: 10px;
    }

    .search-result {
        padding-top: 165px;
    }
}