header.scss
1.7 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
.v-header {
font-family: SourceHanSansCN;
height: 5.833333rem;
background-color: #fff;
color: #4c4948;
position: relative;
z-index: 11;
.header-container {
max-width: 950px;
height: 100%;
margin: auto;
display: flex;
align-items: center;
position: relative;
}
.main-nav {
height: 100%;
flex: 1 0 auto;
}
.logo-img {
margin-right: 2rem;
cursor: pointer;
}
.nav-list {
height: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
position: relative;
}
.nav-item {
display: flex;
align-items: center;
height: 100%;
margin: 0;
font-size: 1rem;
// padding: 0 4.166667rem;
-ms-flex-pack: center;
justify-content: center;
position: relative;
cursor: pointer;
}
.main-nav-list {
display: flex;
cursor: pointer;
}
.nav-item.link-item {
padding: 0 50px;
height: 5rem;
}
.nav-item.search {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
cursor: auto;
}
.nav-item.submit {}
.nav-item.auth {
color: #ffffff;
.user {
width: 7.333333rem;
height: 2.25rem;
background-color: #f05a23;
border-radius: 1.333333rem;
display: flex;
align-items: center;
justify-content: center;
// margin-right: 2rem;
.icon-img {
margin: 0 .5rem;
}
}
.lang {
color: #f05a23;
}
}
}
@media (max-width: 950px) {
.v-header {
.header-container {
width: 96%;
}
}
}
@media (max-width: 800px) {
.v-header {
.main-nav-list {
display: none;
}
}
}