From: Nicol Date: Wed, 6 Dec 2023 18:17:27 +0000 (+0000) Subject: Removes accordion body border when there shouldn't be one X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=60b51765e24606793fc5395d575eabd86a9fbded;p=civicrm-core.git Removes accordion body border when there shouldn't be one 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. --- 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; }