dropdown.scss
782 Bytes
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
@import '@/styles/_support';
.drop-list {
display: inline-block;
min-width: 6.25rem;
position: relative;
margin: 0 1rem;
.list {
position: absolute;
width: 100%;
.space {
height: 1.5rem;
}
}
span {
display: block;
text-align: center;
}
span:hover {
// background: #f6f6f6;
// color: #ec6429;
}
ul {
display: none;
overflow: hidden;
box-shadow: 0 0 1.5rem 0 rgba(255, 87, 0, 0.15);
border-radius: .5rem;
li {
border-bottom: solid 1px #f1f1f1;
background: #ffffff;
height: 4.25rem;
line-height: 4.25rem;
text-align: center;
}
li:last-child {
border-bottom: none;
}
li:hover {
// background: #f6f6f6;
color: #ec6429;
}
}
}