Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard feeaa09e23
Bug 34792: Improve flexibility of CookieConsentBar layout
This patch makes CSS and markup changes to the CookieConsentBar, in both
the OPAC and staff interface, so that the layout of custom text and
buttons works better with varying text content and varying browser widths.

The patch also adds some JavaScript to the OPAC so that the cookie
consent bar interacts better with the language selection footer. When
the language selection footer is visible, the cookie consent bar should
"stick" to the bottom of the viewport except when the page is scrolled
all the way down. When the page is scrolled all the way to the bottom
the cookie consent bar should move to the top of the language selection
footer.

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

- Go to Administration -> System preferences and enable the
  CookieConsent preference if necessary.
- Follow the link in the preference description to HTML customizations.
- Create an HTML customization in the CookieConsentBar display location.
  Add a paragraph of text.
- Go to the OPAC. If you don't see the cookie consent bar at the bottom
  of the screen you may need to clear your browser cookies and local
  storage.
- Confirm that the text flows well in relation to the buttons: With a
  lot of text, the text expands to fill the width of the cookie consent
  bar and the buttons are below. With a small amount of text, the text
  and buttons should be side by side.
- Test that this layout adapts well to various browser widths.

- Perform the same tests in the staff interface.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-29 09:35:50 +02:00
..
modals Bug 36615: Terminology: use 'on hold' instead of 'reserved' in OPAC self checkout 2024-04-29 09:35:48 +02:00
amazonimages.js Bug 34026: Move translatable cover-handling strings out of opac-bottom.inc 2023-10-09 11:41:14 -03:00
authtoresults.js
autofill.js
bakertaylorimages.js Bug 34026: Move translatable cover-handling strings out of opac-bottom.inc 2023-10-09 11:41:14 -03:00
basket.js
browse.js
browserid_include.js
coce.js
cookieconsent.js Bug 34792: Improve flexibility of CookieConsentBar layout 2024-04-29 09:35:50 +02:00
datatables.js Bug 33983: Move translatable strings out of OPAC's datatables.inc into JavaScript 2023-10-09 11:41:13 -03:00
Gettext.js
global.js
google-jackets.js Bug 34026: Move translatable cover-handling strings out of opac-bottom.inc 2023-10-09 11:41:14 -03:00
i18n.js
ill-availability.js
localcovers.js
openlibrary.js Bug 34026: Move translatable cover-handling strings out of opac-bottom.inc 2023-10-09 11:41:14 -03:00
overdrive.js Bug 36084: svc - overdrive 2024-03-01 11:01:02 +01:00
privacy.js Bug 34031: Move various translatable strings out of opac-bottom.inc 2023-10-09 11:41:15 -03:00
ratings.js
tags.js Bug 34478: Fix opac-tags and tags/lists 2024-03-01 10:58:10 +01:00
verovio.js