home-header.scss 2.25 KB
.home-header {
    height: 90px;
    line-height: 90px;
    background-image: linear-gradient(#323232, #414141);
    position: relative;
    overflow: hidden;

    &.iswechat {
        width: 100%;
        height: 90px;
        line-height: 90px;
        z-index: 99;
        background: rgba(0, 0, 0, 0.6);
    }

    .iconfont {
        color: #fff;
    }

    .nav-btn {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 2;
        width: 40px;
        margin: 0 30px;
        text-align: center;
    }

    .logo {
        display: block;
        margin: 0 auto;
        width: 208px;
        height: 87px;
        background: url("img/channel/yohologo02.png") no-repeat center center;
        background-size: 100%;

        &.animate {
            background: url("img/channel/yohologo01.png") no-repeat center center;
            background-size: 100%;
        }
    }

    .search-btn {
        position: absolute;
        right: 0;
        top: 0;
        width: 90px;
        height: 90px;
        text-align: center;

        a {
            display: block;
            color: #fff;
            font-size: 20PX;
            line-height: 90px;
        }
    }

    .search-input {
        margin: 18px auto 0;
        width: 600px;
        height: 56px;
        background: #fff;
        border-radius: 10px;

        .search-icon {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 30px;
            color: #999;
        }

        p {
            color: #999;
            padding-left: 50px;
            height: 56px;
            line-height: 56px;
        }
    }

    .iconfont.highlight {
        background: rgba(200, 200, 200, 0.4);
    }
}

.girls-wrap .home-header {
    background: rgb(255, 136, 174);

    &.iswechat {
        background: rgba(255, 136, 174, 0.6);
    }
}

.kids-wrap .home-header {
    background: rgb(122, 217, 249);

    &.iswechat {
        background: rgba(122, 217, 249, 0.6);
    }
}

.lifestyle-wrap .home-header {
    background: rgb(79, 65, 56);

    &.iswechat {
        background: rgba(79, 65, 56, 0.6);
    }
}

.kids-wrap .logo {
    font-style: italic;
    font-family: "helvetica", "Arial", "微软雅黑", sans-serif;
    font-weight: bold;
    color: #fff;
}