_brand3.0.scss 3.49 KB
.brand-main {
    margin: 50px 0;
}

.search-wrap {
    position: relative;
    width: 306px;
    height: 36px;
    margin: 0 auto;
    padding: 0;
    line-height: 36px;
    input {
        width: 260px;
        height: 36px;
        line-height: 36px\9;
        padding: 0 36px 0 10px;
        margin: 0;
        border: none;
        background: url("../images/yohood/search-bg.png");
        outline: none;
    }
    .search-btn {
        position: absolute;
        top: 0px;
        right: 10px;
        color: #000;
        font-weight: bold;
        &:focus {
            outline: none;
        }
    }
}

.brand-content {
    margin: 38px 0 0 0;
    .no-search {
        display: none;
        margin: 100px 0 120px 0;
        text-align: center;
        line-height: 22px;
        font-size: 16px;
        a {
            font-size: 16px;
            color: #000;
            &:hover {
                text-decoration: underline;
            }
        }
    }
}

.brand-list {
    li {
        float: left;
    }
}

.brand-introduction {
    display: none;
    position: fixed;
    width: 644px;
    max-height: 560px;
    top: 50%;
    left: 50%;
    margin: -288px 0 0 -352px;
    padding: 16px 30px 0;
    z-index: 102;
    background: #fff;
    h2 {
        font-size: 18px;
        color: #000;
        line-height: 20px;
    }
    .brand-info {
        margin: 20px 0 0 0;
        padding-bottom: 20px;
        border-bottom: 1px solid #e0e0e0;
        .pic {
            float: left;
            width: 200px;
            height: 200px;
            overflow: hidden;
            margin-top: 6px;
            img {
                width: 100%;
            }
        }
        .text {
            float: left;
            margin: 0 0 0 29px;
            p {
                width: 414px;
                max-height: 192px;
                overflow-x: hidden;
                overflow-y: auto;
                margin: 0;
                line-height: 24px;
                font-size: 14px;
            }
            a {
                display: block;
                width: 94px;
                height: 33px;
                margin-top: 15px;
                padding-left: 34px;
                line-height: 35px;
                border: 1px solid #000;
                border-radius: 4px;
                background: #fff;
                color: #000;
                background: url("../images/yohood/enter-store.png") no-repeat 10px center;
            }
        }
    }
    .brand-close-btn {
        position: absolute;
        color: #b2b2b2;
        top: 10px;
        right: 10px;
    }
}

.related-post {
    h3 {
        margin-top: 20px;
        line-height: 22px;
        font-size: 18px;
    }
    .post-list {
        margin-top: 17px;
        width: 666px;
        .layout-item {
            float: left;
            width: 200px;
            margin-right: 22px;
            .image-box {
                height: 128px;
                overflow: hidden;
                a{
                    display: table-cell;
                    width: 200px;
                    height: 128px;
                    vertical-align: middle;
                    img{
                        margin: 0 auto;
                    }
                }
            }
            .content {
                h2 {
                    margin: 8px 0 0 0;
                    line-height: 20px;
                    a {
                        font-size: 14px;
                        font-weight: normal;
                    }
                }
            }
        }
    }
}