From ac3351d4a475561a6eea76f68a01bd7ea3be45a3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Jul 2023 14:47:41 +0200 Subject: [PATCH] Bug 34129: Fix plus and minus icon This patch fixes the plus and minus on the buttons to expand the columns in mobile or zoomed in view. To test: 1. Apply the patch 2. Rebuild css (yarn build) 3. Go to the OPAC and search for a record with an item 4. Zoom in to 400% or change view to mobile --> The items table should have a plus (+) button in the last column to expand and have the rest of the information Signed-off-by: Caroline Cyr La Rose Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../opac-tmpl/bootstrap/css/src/_common.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss index a25d513c83..6888ba9a29 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss @@ -559,7 +559,7 @@ table { border-radius: .25rem; box-shadow: none; color: #000; - content: "\f067"; + content: "\2b"; font-family: FontAwesome; font-size: 1em; font-style: normal; @@ -576,7 +576,20 @@ table { th { &.dtr-control { &::before { - content: "\f068"; + background-color: #E1E1E1; + background-image: linear-gradient(180deg, #EBEBEB, #E1E1E1); + border: 1px solid #B3B3B3; + border-radius: .25rem; + box-shadow: none; + color: #000; + content: "\2d"; + font-family: FontAwesome; + font-size: 1em; + font-style: normal; + height: 1em; + left: 35%; + padding: .5rem; + width: 1em; } } } -- 2.39.5