From 7c1f3ceecfbc2a92309408e6c751acb64e34e3f8 Mon Sep 17 00:00:00 2001 From: Timur Tripp Date: Wed, 21 Aug 2024 10:58:53 -0600 Subject: [PATCH] CuBoulder/tiamat-theme#1228 Updates CSS specificity --- css/ucb-accordion-styles.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/css/ucb-accordion-styles.css b/css/ucb-accordion-styles.css index 28fe8e8a..8466ad5e 100644 --- a/css/ucb-accordion-styles.css +++ b/css/ucb-accordion-styles.css @@ -337,13 +337,21 @@ display: none; } - .horizontal-tab-content .accordion-item, - .vertical-tab-content .accordion-item { + .horizontal-tab-content > .accordion > .accordion-item, + .vertical-tab-content > .accordion > .accordion-item { border-bottom: none; } - .horizontal-tab-content .accordion-body, - .vertical-tab-content .accordion-body { + .horizontal-tab-content + > .accordion + > .accordion-item + > .accordion-collapse + > .accordion-body, + .vertical-tab-content + > .accordion + > .accordion-item + > .accordion-collapse + > .accordion-body { padding-top: 20px; padding-bottom: 0; }