Docs: adding release notes and docs for LP1760160
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 1 May 2018 08:22:15 +0000 (03:22 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 23 Aug 2018 19:25:14 +0000 (15:25 -0400)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
docs/RELEASE_NOTES_NEXT/OPAC/different_styles_for_searchbar.adoc [new file with mode: 0644]
docs/admin_initial_setup/different_styles_for_searchbar.adoc [new file with mode: 0644]
docs/root.adoc
docs/root_command_line_admin.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 (file)
index 0000000..aca7133
--- /dev/null
@@ -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 (file)
index 0000000..f1995a6
--- /dev/null
@@ -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;
+}
+----
+
index 25744ed..a282ea5 100644 (file)
@@ -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[]
index 6a60f24..dd28df3 100644 (file)
@@ -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[]