2017-09-28 16:47:26 +00:00
|
|
|
.autocomplete-suggestions {
|
2023-02-09 23:34:47 +00:00
|
|
|
text-align: start;
|
2023-02-17 09:21:35 +00:00
|
|
|
color-scheme: only light; /* set browser scrollbar color */
|
2017-09-28 16:47:26 +00:00
|
|
|
cursor: default;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-top: 0;
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: -1px 1px 3px rgba(0,0,0,.1);
|
|
|
|
|
|
|
|
/* core styles should not be changed */
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
z-index: 9999;
|
2023-02-14 20:16:39 +00:00
|
|
|
max-height: 10em;
|
|
|
|
max-height: calc( 100vh - 10em );
|
2017-09-28 16:47:26 +00:00
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.autocomplete-suggestion {
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
2023-02-14 20:16:39 +00:00
|
|
|
padding: .46em;
|
|
|
|
line-height: 1.5em;
|
2017-09-28 16:47:26 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2022-11-17 21:12:18 +00:00
|
|
|
color: #282828;
|
2017-09-28 16:47:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion b {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #1f8dd6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion.selected {
|
2022-11-17 21:12:18 +00:00
|
|
|
background: #282828;
|
2017-09-28 16:47:26 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2022-11-17 21:12:18 +00:00
|
|
|
.autocomplete-suggestion:hover,
|
2022-11-18 10:04:46 +00:00
|
|
|
.autocomplete-suggestion:focus,
|
|
|
|
.autocomplete-suggestion:active,
|
2022-11-17 21:12:18 +00:00
|
|
|
.autocomplete-suggestion:hover > .context,
|
2022-11-18 10:04:46 +00:00
|
|
|
.autocomplete-suggestion:focus > .context,
|
|
|
|
.autocomplete-suggestion:active > .context,
|
|
|
|
#searchresults .autocomplete-suggestion:hover > .context,
|
|
|
|
#searchresults .autocomplete-suggestion:focus > .context,
|
|
|
|
#searchresults .autocomplete-suggestion:active > .context {
|
2022-11-17 21:12:18 +00:00
|
|
|
background: #383838;
|
2017-09-28 16:47:26 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion > .context {
|
2023-02-14 20:16:39 +00:00
|
|
|
font-size: .7869em;
|
2022-11-17 16:29:01 +00:00
|
|
|
margin-inline-start: 1em;
|
2021-08-29 15:12:02 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-09-28 16:47:26 +00:00
|
|
|
}
|