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