Bug 32308 - Update Chocolat image viewer CSS to conform to redesign color scheme
Summary: Update Chocolat image viewer CSS to conform to redesign color scheme
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on: 30952
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-21 16:30 UTC by Owen Leonard
Modified: 2024-07-04 20:37 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.11.00
Circulation function:


Attachments
Bug 32308: Update Chocolat image viewer CSS to conform to redesign color scheme (4.19 KB, patch)
2022-11-21 16:46 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 32308: Update Chocolat image viewer CSS to conform to redesign color scheme (4.26 KB, patch)
2022-11-21 16:56 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 32308: Update Chocolat image viewer CSS to conform to redesign color scheme (4.31 KB, patch)
2022-11-21 20:10 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2022-11-21 16:30:09 UTC
The Chocolat image viewer uses SVG data-urls in CSS to control the appearance of buttons (next, previous, close). These need to be updated to go along with the new color scheme.
Comment 1 Owen Leonard 2022-11-21 16:46:53 UTC
Created attachment 144112 [details] [review]
Bug 32308: Update Chocolat image viewer CSS to conform to redesign color scheme

This patch makes minor modifications to the Chocolat CSS so that the
buttons (next, previous, close) are styled with colors that conform to
the new interface color scheme.

Note: You may encounter Bug 32307 when testing.

To test, apply the patch and enable at least two cover image services in
the staff interface: Amazon, Local cover images, and/or Coce.

Locate a bibliographic record which has at least two cover images and
view the detail page. Click on the cover image to trigger the image
viewer overlay.

Confirm that the controls in this view are colored green, matching the
current color scheme.
Comment 2 Jonathan Druart 2022-11-21 16:56:06 UTC
Created attachment 144113 [details] [review]
Bug 32308: Update Chocolat image viewer CSS to conform to redesign color scheme

This patch makes minor modifications to the Chocolat CSS so that the
buttons (next, previous, close) are styled with colors that conform to
the new interface color scheme.

Note: You may encounter Bug 32307 when testing.

To test, apply the patch and enable at least two cover image services in
the staff interface: Amazon, Local cover images, and/or Coce.

Locate a bibliographic record which has at least two cover images and
view the detail page. Click on the cover image to trigger the image
viewer overlay.

Confirm that the controls in this view are colored green, matching the
current color scheme.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 3 Katrin Fischer 2022-11-21 20:10:38 UTC
Created attachment 144117 [details] [review]
Bug 32308: Update Chocolat image viewer CSS to conform to redesign color scheme

This patch makes minor modifications to the Chocolat CSS so that the
buttons (next, previous, close) are styled with colors that conform to
the new interface color scheme.

Note: You may encounter Bug 32307 when testing.

To test, apply the patch and enable at least two cover image services in
the staff interface: Amazon, Local cover images, and/or Coce.

Locate a bibliographic record which has at least two cover images and
view the detail page. Click on the cover image to trigger the image
viewer overlay.

Confirm that the controls in this view are colored green, matching the
current color scheme.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Katrin <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi (tcohen) 2022-11-22 12:31:37 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!