2023-07-02 02:46:54 +00:00
|
|
|
.autocomplete-suggestions {
|
2024-11-20 06:08:16 +00:00
|
|
|
text-align: start;
|
|
|
|
color-scheme: only light; /* set browser scrollbar color */
|
2023-07-02 02:46:54 +00:00
|
|
|
cursor: default;
|
2024-11-20 06:08:16 +00:00
|
|
|
border: 1px solid rgba( 204, 204, 204, 1 );
|
2023-07-02 02:46:54 +00:00
|
|
|
border-top: 0;
|
2024-11-20 06:08:16 +00:00
|
|
|
background: rgba( 255, 255, 255, 1 );
|
|
|
|
box-shadow: -1px 1px 3px rgba( 0, 0, 0, .1 );
|
2023-07-02 02:46:54 +00:00
|
|
|
|
|
|
|
/* core styles should not be changed */
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
z-index: 9999;
|
2024-11-20 06:08:16 +00:00
|
|
|
max-height: 10em;
|
|
|
|
max-height: calc( 100vh - 10em );
|
2023-07-02 02:46:54 +00:00
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.autocomplete-suggestion {
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
2024-11-20 06:08:16 +00:00
|
|
|
padding: .46em;
|
|
|
|
line-height: 1.5em;
|
2023-07-02 02:46:54 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2024-11-20 06:08:16 +00:00
|
|
|
color: rgba( 40, 40, 40, 1 );
|
2023-07-02 02:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion b {
|
|
|
|
font-weight: normal;
|
2024-11-20 06:08:16 +00:00
|
|
|
color: rgba( 31, 141, 214, 1 );
|
2023-07-02 02:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion.selected {
|
2024-11-20 06:08:16 +00:00
|
|
|
background: rgba( 40, 40, 40, 1 );
|
|
|
|
color: rgba( 255, 255, 255, 1 );
|
2023-07-02 02:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion:hover,
|
|
|
|
.autocomplete-suggestion:focus,
|
|
|
|
.autocomplete-suggestion:active,
|
|
|
|
.autocomplete-suggestion:hover > .context,
|
|
|
|
.autocomplete-suggestion:focus > .context,
|
|
|
|
.autocomplete-suggestion:active > .context,
|
|
|
|
#searchresults .autocomplete-suggestion:hover > .context,
|
|
|
|
#searchresults .autocomplete-suggestion:focus > .context,
|
|
|
|
#searchresults .autocomplete-suggestion:active > .context {
|
2024-11-20 06:08:16 +00:00
|
|
|
background: rgba( 56, 56, 56, 1 );
|
|
|
|
color: rgba( 255, 255, 255, 1 );
|
2023-07-02 02:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-suggestion > .context {
|
2024-11-20 06:08:16 +00:00
|
|
|
font-size: .7869em;
|
2023-07-02 02:46:54 +00:00
|
|
|
margin-inline-start: 1em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|