diff --git a/_data/ui-text.yml b/_data/ui-text.yml index 576cb735f8e6..6dd2ae56dc88 100644 --- a/_data/ui-text.yml +++ b/_data/ui-text.yml @@ -46,6 +46,7 @@ en: &DEFAULT_EN comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." loading_label : "Loading..." search_placeholder_text : "Enter your search term..." + search_label_text : "Enter your search term..." results_found : "Result(s) found" back_to_top : "Back to top" en-US: diff --git a/_includes/search/search_form.html b/_includes/search/search_form.html index 925f6cd74ecf..c3463798437d 100644 --- a/_includes/search/search_form.html +++ b/_includes/search/search_form.html @@ -1,18 +1,26 @@
-{%- assign search_provider = site.search_provider | default: "lunr" -%} -{%- case search_provider -%} + {%- assign search_provider = site.search_provider | default: "lunr" -%} + {%- case search_provider -%} {%- when "lunr" -%} - -
+
+ + +
+
{%- when "google" -%} -
- -
-
- -
+
+ + +
+
+ +
{%- when "algolia" -%} - -
-{%- endcase -%} + +
+ {%- endcase -%}
diff --git a/_sass/minimal-mistakes/_search.scss b/_sass/minimal-mistakes/_search.scss index 85bf311a7802..fa7ee832bf17 100644 --- a/_sass/minimal-mistakes/_search.scss +++ b/_sass/minimal-mistakes/_search.scss @@ -50,6 +50,11 @@ @include breakpoint($x-large) { max-width: $max-width; } + + } + + &__form { + background-color: transparent; } .search-input { @@ -119,6 +124,7 @@ font-style: normal; text-decoration: underline; } + .archive__item-excerpt .ais-Highlight { color: $primary-color; font-style: normal;