Koha/koha-tmpl/intranet-tmpl/prog/css
Owen Leonard 9e9fa64d5a
Bug 34413: Fix style of Flatpickr in iOS mobile view
This patch updates Flatpickr CSS in the OPAC and staff interface so that
date fields are displayed correctly in iOS mobile views.

To test, apply the patch and rebuild the OPAC and staff interface CSS.

- In the OPAC, click "Create new account"
- In the account entry form, confirm that the date of birth field looks
  correct and that the date-picker works as it should.
- In the staff client, go to Patrons -> New patron.
- Check the date of birth field in this form too.

This patch has been tested in the Xcode iOS device simulator with iOS
17. While I wasn't able to reproduce the problem in Firefox, I was able
to use the developer tools' responsive design mode to trigger the mobile
view and thus be able to see the styles which are being applied:

- In the OPAC, on the "Create new account" screen, open the Web
  Developer Tools panel (Tools -> Browser tools -> Web Developer Tools).
- Click the "Responsive Design Mode" button in the upper-right corner of
  the developer tools panel (it looks like a phone and tablet together).
- The main browser window will now how some settings at the top.
- In the first dropdown, choose an iPhone model.
- The date of birth field should now be styled differently because of
  the addition of a "flatpickr-mobile" style.
- Right-click the field and choose "Inspect." In the developer console
  you can see the styles which are being applied to the field. One of
  those should be ".flatpickr-input.flatpickr-mobile"

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-09 14:42:20 -03:00
..
src Bug 34413: Fix style of Flatpickr in iOS mobile view 2023-11-09 14:42:20 -03:00
addbiblio.css Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
cateditor.css Bug 34567: Correct colors for advanced cataloging editor status bar 2023-08-30 09:02:40 -03:00
hierarchy.css
humanmsg.css
itemsearchform.css
login.css Bug 32044: Improve consistency in primary submit buttons 2022-11-02 19:26:29 -03:00
preferences.css Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
print.css Bug 34030: Add a "print slips" action links to print in batch 2023-10-23 11:33:55 -03:00
printreceiptinvoice.css
reports.css Bug 32239: Remove uneeded CSS from reports.css 2023-01-31 11:08:49 -03:00
right-to-left.css Bug 30952: Fix navbar elements ordering for RTL 2022-10-12 16:14:35 -03:00
select2.css
spinelabel.css
tinymce.css
uploader.css