Bugzilla – Attachment 148520 Details for
Bug 33272
Color of the "(remove)" link when an item is in the cart (OPAC)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33272: Color of the "(remove)" link when an item is in the cart (OPAC)
Bug-33272-Color-of-the-remove-link-when-an-item-is.patch (text/plain), 1.71 KB, created by
Owen Leonard
on 2023-03-22 11:57:42 UTC
(
hide
)
Description:
Bug 33272: Color of the "(remove)" link when an item is in the cart (OPAC)
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-03-22 11:57:42 UTC
Size:
1.71 KB
patch
obsolete
>From dca628c657dba98da6808716f06c723174402240 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 Mar 2023 12:08:04 +0000 >Subject: [PATCH] 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. >--- > .../opac-tmpl/bootstrap/css/src/opac.scss | 22 +++++++++++++------ > 1 file changed, 15 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index 31d2e3dc3a..c83dd097d5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -60,17 +60,21 @@ > } > } > >+@mixin cartRemove { >+ color: #900; >+ font-size: 90%; >+ padding-left: 0; >+ >+ &:hover { >+ color: #C60000; >+ } >+} >+ > a { > &:link, > &:visited { > &.cartRemove { >- color: #900; >- font-size: 90%; >- padding-left: 0; >- >- &:hover { >- color: #C60000; >- } >+ @include cartRemove(); > } > } > >@@ -657,6 +661,10 @@ th { > > &.btn-link { > color: $links; >+ >+ &.cartRemove { >+ @include cartRemove(); >+ } > } > } > } >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33272
:
148520
|
148548
|
149072