Koha/koha-tmpl/intranet-tmpl/prog/css
Owen Leonard b7a311ced9
Bug 28235: Correct CSS governing max width of custom cover images
Images shown in the OPAC and staff interface when the
OPACCustomCoverImages and  CustomCoverImages preferences are enabled
should be getting a max-width set in the current CSS, but the order of
the declarations is preventing the correct specificity.

This patch moves the CSS to the correct place in each file so that the
max-width is applied.

To test, apply the patch and rebuild both the staff and OPAC CSS. If you
get an error during the build process you may need to run 'yarn
install.'

- Go to Administration -> System preferences, and enable the
  OPACCustomCoverImages and  CustomCoverImages preferences.
- If you're testing with the default test database you can set the
  CustomCoverImagesURL preference to
  https://static.myacpl.org/public/covers/{normalized_isbn}.jpg
- Perform a catalog search in both OPAC and staff client limiting by
  itemtype = 'Book'.
- The search results in both interface should show several covers
  supplied from the external URL.
- In the staff client, these images should be limited to 140px wide even
  if the source image is larger.
- In the OPAC, view the detail page for one of the results with cover
  images. The image shown on the detail page should be constrained to
  140px wide even if the source image is larger.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-12-07 11:36:54 -03:00
..
src Bug 28235: Correct CSS governing max width of custom cover images 2022-12-07 11:36:54 -03:00
addbiblio.css Bug 32046: (follow-up) Accommodate the inclusion of item information 2022-11-23 09:34:04 -03:00
calendar.css Bug 32310: Compiled CSS 2022-11-24 15:35:39 -03:00
cateditor.css Bug 24452: Advanced editor - show multiple spaces visually 2020-01-23 10:24:53 +00:00
hierarchy.css
holds.css Bug 28816: (follow-up) Compiled CSS 2021-11-16 13:59:57 +01:00
humanmsg.css Bug 27099: Stage for import button not showing up 2020-12-26 18:14:11 +01:00
installer.css Bug 31943: Compiled CSS 2022-11-03 09:05:00 -03:00
itemsearchform.css Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
login.css Bug 32044: Improve consistency in primary submit buttons 2022-11-02 19:26:29 -03:00
mainpage.css Bug 31879: Compiled CSS 2022-10-24 13:19:42 -03:00
preferences.css Bug 30952: (follow-up) Fix style of floating toolbars 2022-10-12 16:15:14 -03:00
print.css Bug 13614: Replace usage of YUI on basket groups page 2022-06-07 09:32:17 -03:00
printreceiptinvoice.css Bug 13614: Replace usage of YUI on basket groups page 2022-06-07 09:32:17 -03:00
quotes.css Bug 27247: Re-add highlighting to the quote editor 2020-12-26 18:14:11 +01:00
reports.css Bug 29876: Style report id in report results heading 2022-02-22 22:27:29 -10:00
right-to-left.css Bug 30952: Fix navbar elements ordering for RTL 2022-10-12 16:14:35 -03:00
select2.css Bug 25727: (follow-up) Some style updates, JS i18n 2020-08-24 11:19:03 +02:00
spinelabel.css Bug 23464: Update the process of quick spine label printing 2019-09-09 11:26:55 +01:00
staff-global.css Bug 32310: Compiled CSS 2022-11-24 15:35:39 -03:00
tinymce.css
uploader.css