-
Notifications
You must be signed in to change notification settings - Fork 45
/
Style.css
90 lines (83 loc) · 1.86 KB
/
Style.css
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
/* The container */
.checkcontainer {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
display: block;
font-size: 16px;
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}
/* Hide the browser's default checkbox */
.checkcontainer input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Create a custom checkbox */
.checkmark {
background-color: #eeeeee;
height: 15px;
left: 0;
position: absolute;
top: 3px;
width: 15px;
}
/* On mouse-over, add a grey background color */
.checkcontainer:hover input ~ .checkmark {
background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.checkcontainer.active-filter input:checked ~ .checkmark {
background-color: #2196F3;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the checkmark when checked */
.checkcontainer.active-filter input:checked ~ .checkmark::after {
display: block;
}
/* Style the checkmark/indicator */
.checkcontainer .checkmark:after {
left: 5px;
top: 2px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.filter-sidebar .sbf-title {
border-bottom: 1px solid;
display: block;
font-size: 18px;
font-weight: 600;
margin-bottom: 10px;
margin-top: 30px;
}
.sb-filter .advanced-filters {
max-height: 220px;
overflow: auto;
}
.sb-widget.filter-sidebar.no-sidebar.dropdown {
padding: 0 20px 0 0;
}
.coll_prodbar .grid--view-items {
border-left: 1px solid #000;
margin: 0;
padding-left: 20px;
}
.checkcontainer.active-filter.advanced-filter.rt > a {
font-weight: 600;
}