2021-03-08 12:51:06 +01:00
|
|
|
.search .algolia-docsearch-suggestion--highlight,
|
|
|
|
.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
|
|
|
|
color: #2980b9;
|
|
|
|
background: #f1c40f;
|
|
|
|
}
|
2021-03-08 14:35:21 +01:00
|
|
|
|
|
|
|
.algolia-autocomplete {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-04-20 11:24:17 +02:00
|
|
|
|
|
|
|
#search-results a,
|
|
|
|
a.algolia-docsearch-suggestion {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2022-08-17 08:45:12 +02:00
|
|
|
|
2021-04-20 11:24:17 +02:00
|
|
|
#search-results h2 {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-08-17 08:45:12 +02:00
|
|
|
|
|
|
|
/* override algolia search input colors (set on element via JS) for dark mode alignment and radius for left icon */
|
|
|
|
|
|
|
|
#search-form .algolia-autocomplete > .form-control {
|
|
|
|
background: #fff none repeat scroll 0% 0% padding-box !important;
|
|
|
|
border-bottom-left-radius: 0 !important;
|
|
|
|
border-top-left-radius: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.theme-dark #search-form .algolia-autocomplete > .form-control {
|
2022-08-23 20:56:35 +02:00
|
|
|
background: #1b1238 none repeat scroll 0% 0% padding-box !important;
|
2022-08-17 08:45:12 +02:00
|
|
|
}
|
2023-01-23 11:44:10 +01:00
|
|
|
|
|
|
|
/* override algolia search default styles to prevent overflow on mobile devices */
|
|
|
|
|
|
|
|
@media (max-width: 991px) {
|
|
|
|
#algolia-autocomplete-listbox-0 {
|
|
|
|
width: auto;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|