Bugzilla – Attachment 94987 Details for
Bug 23956
Replace famfamfam calendar icon in staff client with CSS data-url
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23956: Replace famfamfam calendar icon in staff client with CSS data-url
Bug-23956-Replace-famfamfam-calendar-icon-in-staff.patch (text/plain), 1.71 KB, created by
Katrin Fischer
on 2019-11-03 23:07:56 UTC
(
hide
)
Description:
Bug 23956: Replace famfamfam calendar icon in staff client with CSS data-url
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-11-03 23:07:56 UTC
Size:
1.71 KB
patch
obsolete
>From 25ef1c4eb7caf52cad6c3d28693cd9108dfab456 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <katrin.fischer.83@web.de> >--- > 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 2ffaef1a78..98046b3dd3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -391,7 +391,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.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23956
:
94985
| 94987