home-header.scss
2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.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;
}