From 3ff226e7d175b76c2f2ef2be1fcae5af8cc162d4 Mon Sep 17 00:00:00 2001 From: Matttttt <18152455+martholomew@users.noreply.github.com> Date: Thu, 9 May 2024 07:48:48 +0000 Subject: Change Details and Summary Tags CSS (#894) * Change summary CSS Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update structured-content-overrides.css Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --- dev/data/structured-content-overrides.css | 3 +++ ext/css/structured-content.css | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev/data/structured-content-overrides.css b/dev/data/structured-content-overrides.css index c792cbb6..df4f0d80 100644 --- a/dev/data/structured-content-overrides.css +++ b/dev/data/structured-content-overrides.css @@ -81,3 +81,6 @@ .gloss-sc-summary { /* remove-rule */ } +.gloss-sc-details[open] .gloss-sc-summary { + /* remove-rule */ +} diff --git a/ext/css/structured-content.css b/ext/css/structured-content.css index 2cb3fafe..e2c87beb 100644 --- a/ext/css/structured-content.css +++ b/ext/css/structured-content.css @@ -255,11 +255,11 @@ color: var(--text-color-light3); } .gloss-sc-details { - cursor: pointer; - padding-left: var(--list-padding2); - border-top: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color); border-bottom: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color); } .gloss-sc-summary { list-style-position: outside; } +.gloss-sc-details[open] .gloss-sc-summary { + border-bottom: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color); +} -- cgit v1.2.3