1
1
.autocomplete {
2
2
display : none;
3
3
height : 0 ;
4
- margin : 0 5 px 0 0 ;
4
+ margin-right : 32 px ;
5
5
overflow : visible;
6
6
position : relative;
7
- width : 95% ;
8
7
}
9
8
10
9
.autocomplete .triangle {
11
10
width : 0 ;
12
11
height : 0 ;
13
12
border-left : 12px solid transparent;
14
13
border-right : 12px solid transparent;
15
- border-bottom : 12px solid var (--autocompleBackground );
14
+ border-bottom : 12px solid var (--autocompleBackground );
16
15
position : absolute;
17
- top : 9px ;
18
- left : 10% ;
16
+ top : 9px ;
17
+ left : 10% ;
19
18
transform : translateX (-50% );
20
- z-index : 250 ;
21
- background-color : transparent;
19
+ z-index : 250 ;
20
+ background-color : transparent;
22
21
}
23
22
24
23
.autocomplete-results {
61
60
width : 100% ;
62
61
z-index : 200 ;
63
62
box-shadow : 0px 15px 99px 0px var (--autocompleteBorder );
64
- overflow-y : auto;
65
- max-height : 450px ;
63
+ overflow-y : auto;
64
+ max-height : 450px ;
66
65
padding : 0 0 10px 0 ;
67
- margin-right : 10px ;
68
66
white-space : normal;
69
- overflow-x : hidden;
67
+ overflow-x : hidden;
70
68
}
71
69
72
70
.autocomplete-suggestion {
73
71
color : inherit;
74
72
display : block;
75
73
padding : 12px 20px ;
76
74
text-decoration : none;
77
- transition : background-color .3s ease-in-out;
75
+ transition : background-color 0 .3s ease-in-out;
78
76
border-bottom : 1px solid var (--suggestionBorder );
79
77
font-size : 0.9rem ;
80
78
}
90
88
}
91
89
92
90
.autocomplete-suggestion .description {
93
- opacity : .6 ;
91
+ opacity : 0 .6 ;
94
92
padding-top : 3px ;
95
93
}
96
94
128
126
/* Style the scrollbar thumb (the draggable part) */
129
127
.autocomplete-suggestions ::-webkit-scrollbar-thumb {
130
128
background-color : var (--autocompleteSrollbarThumb );
131
- border-radius : 7px ;
129
+ border-radius : 7px ;
132
130
}
133
131
134
132
/* Style the scrollbar track on hover */
138
136
139
137
@media (max-width : 480px ) {
140
138
.autocomplete .triangle {
141
- left : 27% ;
139
+ left : 27% ;
142
140
}
143
141
}
144
142
145
143
@media (max-width : 767px ) {
146
144
.autocomplete .triangle {
147
- left : 17% ;
145
+ left : 17% ;
148
146
}
149
147
}
150
148
151
149
@media (max-width : 1024px ) {
152
150
.autocomplete-results {
153
151
gap : 0 ;
154
152
}
155
-
153
+
156
154
.autocomplete-results .show {
157
155
width : 100% ;
158
156
}
159
-
157
+
160
158
.autocomplete-results .mobile-hide {
161
159
display : none;
162
160
}
163
- }
161
+ }
0 commit comments