From c859cfdd231fb315280fcf8aa162fca3ba02d8b9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sun, 3 Nov 2019 22:31:39 +0000 Subject: [PATCH] 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 Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index ffabb88042..0cbd285f43 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -386,7 +386,7 @@ input { } &.hasDatepicker { - background-image: url("../img/famfamfam/silk/calendar.png"); + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAT0lEQVQ4jWNgoAZYd/LVf3IwigGkAuwGLE4hDg9eA4il8RqADVdtLYVjZLVEuwDZAKJcgKxh+zkyXIBuI8lhgG4jOqZdLJACMAygKDNRAgBj9qOB+rWnhAAAAABJRU5ErkJggg=="); background-position-x: right; background-position-y: center; background-repeat: no-repeat; -- 2.39.5