_sorter.scss
1.01 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
.sort-cat-wr {
//z-index: 10;
z-index: 1;
margin-bottom: 25px;
position: relative;
p {
float: left;
margin: 0;
}
.sort-cat {
float: left;
margin: 0 5px;
position: absolute;
//left: 100px;
left: 78px;
padding: 17px 20px;
top: -17px;
a {
background-color: #fff;
color: $mainColor;
text-decoration: none !important;
span {
font-weight: bold;
}
.fa {
@include Transition(0.2);
}
}
.sorter {
width: auto;
padding: 0;
list-style: none;
left: 0;
margin: 5px 0 0 0;
background-color: #fff;
display: none;
li {
padding: 5px 0;
a {
color: $link-color;
&:hover {
text-decoration: underline !important;
}
}
}
}
&.active {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
border-radius: $borderRadius;
background-color: #fff;
.sorter {
display: block;
}
}
}
}