The calendar icon we show with datepicker input fields can't be replaced by a Font Awesome icon because the image is displayed as a background image inside the input field itself. A simplified version of the famfamfam calendar icon converted to a data-url is only about 200 characters. This seems compact enough to include in staff-global.css to eliminate an image dependency.
Created attachment 94985 [details] [review] Bug 23956: Replace famfamfam calendar icon in staff client with CSS data-url This patch modifies the staff client CSS so that the backround image for datepicker input fields is defined as a data-url rather than a reference to an image file. To test, apply the patch and regenerate the staff client CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - In the staff client, view any form which includes a datepicker-styled input. For instance, patron entry: date of birth, expiry; Aquisitions -> Late orders -> Filter results. - Confirm that the calendar icon looks correct.
Created attachment 94987 [details] [review] Bug 23956: Replace famfamfam calendar icon in staff client with CSS data-url This patch modifies the staff client CSS so that the backround image for datepicker input fields is defined as a data-url rather than a reference to an image file. To test, apply the patch and regenerate the staff client CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - In the staff client, view any form which includes a datepicker-styled input. For instance, patron entry: date of birth, expiry; Aquisitions -> Late orders -> Filter results. - Confirm that the calendar icon looks correct. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Nice work everyone! Pushed to master for 20.05
Pushed to 19.11.x branch for 19.11.02
backported to 19.05.x for 19.05.07
Enhancement will not be backported to 18.11.x series.