dropdown-lang.scss
1.5 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
@import "@/styles/_support.scss";
.drop-list {
display: inline-block;
position: relative;
margin: 0 0px;
font-size: $fontSizeTitle;
.list {
position: absolute;
width: 34px;
left: 0;
right: 0;
margin: 0 auto;
font-size: 16px;
left: 50%;
transform: translateX(-50%); //居中处理
.space {
height: 18px;
}
.triangle-up {
opacity: 0;
margin: 2px auto 0;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 9px solid #f1f2f2;
}
.opacity1{
opacity: 1;
}
}
span {
display: block;
text-align: center;
}
span:hover {
}
ul {
display: none;
overflow: hidden;
border-radius: 5px;
background-color: #f1f2f2;
li {
@extend .fcc;
text-align: center;
position: relative;
height: 28px;
color: $cFontGray2;
&:after {
content: "";
width: 28px;
height: 1px;
background-color: #c5c5c5;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%); //居中处理
}
}
li:last-child {
border-bottom: none;
&:after {
background: transparent;
}
}
li:hover {
color: $cOrange2;
}
.act {
color: $cOrange2;
}
}
}
// .drop-list:lang(en){
// min-width: 0;
// margin: 0 13px;
// }
@media (max-width: 1100px) {
}
@media (max-width: 1000px) {
}