From 26d52958c2103cb81914c17bf0d6734a42c2ff03 Mon Sep 17 00:00:00 2001
From: Jane Sandberg <sandbej@linnbenton.edu>
Date: Tue, 1 May 2018 03:22:15 -0500
Subject: [PATCH] Docs: adding release notes and docs for LP1760160

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
---
 .../OPAC/different_styles_for_searchbar.adoc       | 10 +++++++++
 .../different_styles_for_searchbar.adoc            | 24 ++++++++++++++++++++++
 docs/root.adoc                                     |  2 ++
 docs/root_command_line_admin.adoc                  |  2 ++
 4 files changed, 38 insertions(+)
 create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/different_styles_for_searchbar.adoc
 create mode 100644 docs/admin_initial_setup/different_styles_for_searchbar.adoc

diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/different_styles_for_searchbar.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/different_styles_for_searchbar.adoc
new file mode 100644
index 0000000000..aca7133cfc
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/different_styles_for_searchbar.adoc
@@ -0,0 +1,10 @@
+New class for searchbar when on the homepage
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+This adds the `.searchbar-home` class to the div that
+contains the searchbar when on the homepage.  This allows
+sites to customize the searchbar differently on the
+homepage than in other places the
+search bar appears (for example, offering a large,
+Google-style search bar on the homepage only).
+
diff --git a/docs/admin_initial_setup/different_styles_for_searchbar.adoc b/docs/admin_initial_setup/different_styles_for_searchbar.adoc
new file mode 100644
index 0000000000..f1995a64e5
--- /dev/null
+++ b/docs/admin_initial_setup/different_styles_for_searchbar.adoc
@@ -0,0 +1,24 @@
+Styling the searchbar on the homepage
+-------------------------------------
+
+The `.searchbar-home` class is added to the div that
+contains the searchbar when on the homepage.  This allows
+sites to customize the searchbar differently on the
+homepage than in search results pages, and other places the
+search bar appears.  For example, adding the following CSS
+would create a large, Google-style search bar on the homepage only:
+
+[source,css]
+----
+.searchbar-home .search-box {
+  width: 80%;
+  height: 3em;
+}
+
+.searchbar-home #search_qtype_label,
+.searchbar-home #search_itype_label,
+.searchbar-home #search_locg_label {
+  display:none;
+}
+----
+
diff --git a/docs/root.adoc b/docs/root.adoc
index 25744ed01a..a282ea53b2 100644
--- a/docs/root.adoc
+++ b/docs/root.adoc
@@ -114,6 +114,8 @@ include::admin_initial_setup/ordering_materials.adoc[]
 
 include::admin_initial_setup/designing_your_catalog.adoc[]
 
+include::admin_initial_setup/different_styles_for_searchbar.adoc[]
+
 include::admin/search_interface.adoc[]
 
 include::admin_initial_setup/borrowing_items.adoc[]
diff --git a/docs/root_command_line_admin.adoc b/docs/root_command_line_admin.adoc
index 6a60f2426a..dd28df3285 100644
--- a/docs/root_command_line_admin.adoc
+++ b/docs/root_command_line_admin.adoc
@@ -141,6 +141,8 @@ include::admin/template_toolkit.adoc[]
 
 include::admin_initial_setup/designing_your_catalog.adoc[]
 
+include::admin_initial_setup/different_styles_for_searchbar.adoc[]
+
 include::admin/search_interface.adoc[]
 
 include::opac/sitemap.adoc[]
-- 
2.11.0