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)
committerroot <root@f1ebe1bec408>
Tue, 26 Feb 2019 14:32:20 +0000 (14:32 +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>

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

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