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

    .iconfont {
        color: #fff;
    }

    .nav-btn {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 2;
        padding: 0 32px;
    }

    .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: 97px;
        margin-top: 16px;
        width: 490px;
        height: 60px;
        background: #f8f8f8;
        border-radius: 50px;

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

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

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

.girls-wrap .home-header {
    background: #ff88ae;
}

.kids-wrap .home-header {
    background: #7ad9f9;
}

.lifestyle-wrap .home-header {
    background: #4f4138;
}

.kids-wrap .logo {
    font-style: italic;
    font-family: "helvetica", "Arial", "榛戜綋";
    font-weight: bold;
    color: #fff;
}