_brand.scss 3.57 KB
.brand-main {
    width: 1180px;
    margin: 50px auto;
}

.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: 43px 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;
        position: relative;
        .close-tag {
            position: absolute;
            font-size: 25px;
            top: 32px;
            right: 32px;
        }
        .img-box {
            position: relative;
            img {
                max-width: 160px;
                max-height: 100px;
            }
            .grey-brand-logo {
                opacity: .8;
                -webkit-filter: grayscale(100%);
                -moz-filter: grayscale(100%);
                -ms-filter: grayscale(100%);
                -o-filter: grayscale(100%);
                filter: grayscale(100%);
                filter: gray;
                &:hover {
                    opacity: 1;
                    -webkit-filter: none;
                    -moz-filter: none;
                    -ms-filter: none;
                    -o-filter: none;
                    filter: none;
                }
            }
        }
    }
}

.brand-introduction {
    display: none;
    position: fixed;
    max-width: 900px;
    max-height: 750px;
    top: 50%;
    left: 50%;
    margin: -355px 0 0 -452px;
    padding: 50px 80px 0;
    z-index: 102;
    background: #fff;
    h2 {
        font-size: 18px;
        color: #000;
        line-height: 20px;
    }
    .brand-info {
        margin: 40px 0 0 0;
        padding-bottom: 20px;
        .pic {
            float: left;
            width: 235px;
            height: 235px;
            overflow: hidden;
            margin-top: 6px;
            img {
                width: 100%;
            }
        }
        .text {
            float: left;
            margin: 0 0 0 20px;
            p {
                width: 480px;
                height: 188px;
                max-height: 188px;
                overflow-x: hidden;
                overflow-y: auto;
                margin: 0;
                line-height: 24px;
                font-size: 14px;
                text-align: left;
            }
        }
        a {
            font-size: 16px;
            display: inline-block;
            height: 33px;
            margin-top: 15px;
            margin-left: 20px;
            padding: .3em 1.5em;
            line-height: 2em;
            border: 1px solid #000;
            background: #fff;
            color: #000;
        }
    }
    .brand-close-btn {
        position: absolute;
        color: #b2b2b2;
        top: 10px;
        right: 10px;
    }
}

.brand-related-post {
    margin: 0 0 50px 0;
    h3 {
        font-size: 20px;
        font-weight: bold;
    }
    .post-list {
        .time {
            text-align: left;
        }
    }
}