When search results are in the cart, there is a "In your cart (remove)" mention under the search result. The "(remove)" part is either blue or red depending on the background color/if the search result is even or odd. To replicate: 1. Make a search in the OPAC that will give you 3+ results 2. Check the first three results and select "Add to: Cart" at the top of the results --> Note that for the first result, "In you cart (remove)" is blue --> Note that for the second result, the (remove) part is red --> The third result is like the first
Created attachment 148520 [details] [review] Bug 33272: Color of the "(remove)" link when an item is in the cart (OPAC) This patch improves the CSS for styling the OPAC cart's "remove" link in search results so that the color is consistent within alternating table row colors. To test, apply the patch and rebuild the OPAC CSS. - Perform a search in the OPAC which will return multiple results. - Click the "Add to cart" link next to multiple results. - The "remove" link which appears should be the correct red color whether the table row background is white or grey.
Created attachment 148548 [details] [review] Bug 33272: Color of the "(remove)" link when an item is in the cart (OPAC) This patch improves the CSS for styling the OPAC cart's "remove" link in search results so that the color is consistent within alternating table row colors. To test, apply the patch and rebuild the OPAC CSS. - Perform a search in the OPAC which will return multiple results. - Click the "Add to cart" link next to multiple results. - The "remove" link which appears should be the correct red color whether the table row background is white or grey. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Thanks Owen!
Created attachment 149072 [details] [review] Bug 33272: Color of the "(remove)" link when an item is in the cart (OPAC) This patch improves the CSS for styling the OPAC cart's "remove" link in search results so that the color is consistent within alternating table row colors. To test, apply the patch and rebuild the OPAC CSS. - Perform a search in the OPAC which will return multiple results. - Click the "Add to cart" link next to multiple results. - The "remove" link which appears should be the correct red color whether the table row background is white or grey. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work, thanks everyone! Pushed to 22.11.x for the next release.
Does not apply clean in 22.05.x, no backport.
Created attachment 151167 [details] k