2017-11-26 13:33:11 +00:00
|
|
|
/*! Autocomplete.js v2.6.3 | license MIT | (c) 2017, Baptiste Donaux | http://autocomplete-js.com */
|
|
|
|
|
2017-02-12 14:06:01 +00:00
|
|
|
.autocomplete {
|
2021-06-22 11:50:06 +00:00
|
|
|
position: absolute;
|
|
|
|
max-height: 0;
|
|
|
|
overflow-y: hidden;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2021-09-28 20:41:56 +00:00
|
|
|
background-color: var(--background_color);
|
2021-06-22 11:50:06 +00:00
|
|
|
}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
> ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
> li {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px 0 5px 10px;
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
&.active,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2021-09-28 20:41:56 +00:00
|
|
|
background-color: var(--color-base);
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
a:active,
|
|
|
|
a:focus,
|
|
|
|
a:hover {
|
|
|
|
text-decoration: none;
|
2017-02-12 14:06:01 +00:00
|
|
|
}
|
2021-06-22 11:50:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.locked {
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
2017-02-12 14:06:01 +00:00
|
|
|
}
|
2021-06-22 11:50:06 +00:00
|
|
|
}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
&.open {
|
|
|
|
display: block;
|
2021-09-28 20:41:56 +00:00
|
|
|
background-color: var(--background_color);
|
|
|
|
border: 1px solid var(--color-base);
|
2021-06-22 11:50:06 +00:00
|
|
|
max-height: 500px;
|
|
|
|
overflow-y: auto;
|
|
|
|
z-index: 100;
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-06-22 11:50:06 +00:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
2017-02-12 14:06:01 +00:00
|
|
|
}
|
2021-06-22 11:50:06 +00:00
|
|
|
}
|
2017-02-12 14:06:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: @results-width) {
|
|
|
|
.autocomplete {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete > ul > li {
|
|
|
|
padding: 7px 0 7px 10px;
|
2021-09-28 20:41:56 +00:00
|
|
|
border-bottom: 1px solid var(--color-result-top-border);
|
2017-02-12 14:06:01 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|