_home-header.css 2.31 KB
.home-header {
    height: 90px;
    line-height: 90px;
    background-image: linear-gradient(#323232, #414141);
    position: relative;
    overflow: hidden;
    
    &.iswechat {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 90px;
        line-height: 90px;
        z-index: 2;
        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: resolve("channel/yohologo02.png") no-repeat center center;
        background-size: 100%;

        &.animate {
            background: resolve("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-left: 100px;
        margin-top: 18px;
        width: 510px;
        height: 56px;
        background: #fff;
        border-radius: 10px;

        .search-icon {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 110px;
            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", "榛戜綋";
    font-weight: bold;
    color: #fff;
}