From 60b51765e24606793fc5395d575eabd86a9fbded Mon Sep 17 00:00:00 2001 From: Nicol Date: Wed, 6 Dec 2023 18:17:27 +0000 Subject: [PATCH] Removes accordion body border when there shouldn't be one MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Civi has two styles of accordions: with a border around it and without. This commit removes a third style – a border around half which isn't intentional and is a byproduct of the new html. --- css/civicrm.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index d4d5dbbeec..326a91959d 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -2312,7 +2312,8 @@ div.crm-master-accordion-header a.helpicon { /* Accordion bodies */ -.crm-container .crm-accordion-body { +.crm-container .crm-accordion-wrapper .crm-accordion-body, +.crm-container details.crm-accordion-bold .crm-accordion-body { border-radius: 0 0 4px 4px; border: 1px solid #70716b; border-top: 0; @@ -2323,13 +2324,15 @@ div.crm-master-accordion-header a.helpicon { border-color: #e8e8de; } -.crm-container .crm-master-accordion-header+.crm-accordion-body { +.crm-container .crm-master-accordion-header+.crm-accordion-body, +.crm-accordion-wrapper.crm-accordion-light { border: none; padding: 0; } #crm-container .widget-content .crm-accordion-body, -.crm-container .crm-accordion-body.padded { +.crm-container .crm-accordion-body.padded, +.crm-container details.padded { padding-left: .5em; padding-right: .5em; } -- 2.25.1