Bug 22300: Staff search results: Opt groups in 'sort' pull down are not well formatted
authorOwen Leonard <oleonard@myacpl.org>
Mon, 11 Feb 2019 15:09:36 +0000 (15:09 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 Mar 2019 14:35:36 +0000 (14:35 +0000)
This patch adds some CSS to style the staff client search results sort
menu headings. Formerly these were <optgroup> tags with a default
browser style.

To test, apply the patch and regenerate the staff client CSS.

 - Perform a catalog search in the staff client.
 - On the search results page, test the "Sort" menu. Confirm that the
   menu headers more clearly indicate the sections.
 - Test the "Add to list" button menu too, where the same style will be
   in use.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 0375414c04e97ce21270c114311a3d96403f8da5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

index afc9797..f07d87f 100644 (file)
@@ -2324,6 +2324,14 @@ li {
             padding: 5px 25em 0 0;
         }
     }
+
+    .dropdown-header {
+        border-top: 1px solid #EEE;
+        color: #000;
+        font-weight: bold;
+        padding-left: 10px;
+    }
+
 }
 
 #search-facets {