diff options
-rw-r--r-- | dev/data/structured-content-overrides.css | 3 | ||||
-rw-r--r-- | 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); +} |