header.scss
1.62 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
@import '@/styles/_support';
.v-header {
height: 7.666667rem;
background-color: #fff;
color: $cFontGray;
position: relative;
z-index: 11;
font-size: $fontSize;
.header-container {
max-width: 1200px;
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;
-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 {
flex: 1 1 auto;
}
.nav-item.auth {
color: #ffffff;
.user {
width: 7.333333rem;
height: 2.25rem;
background-color: $cOrange;
border-radius: 1.333333rem;
display: flex;
align-items: center;
justify-content: center;
// margin-right: 2rem;
.icon-img {
margin: 0 .5rem;
}
}
.lang {
color: $cOrange;
}
}
}
.pc {
display: block;
}
.mobile {
display: none;
}
@media (max-width: 1200px) {
.v-header {
@include content-percent();
.main-nav {}
.logo-img {
margin: 0;
}
.pc {
display: none;
}
.mobile {
display: block;
}
}
}
@media (max-width: 768px) {}