From 969266141a3db09de87bb3977b875033ac60d99a Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:25:55 -0600 Subject: [PATCH] Change active TOC color is \'Show Position in TOC\' widget is in use --- stellar-dark.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stellar-dark.css b/stellar-dark.css index 15dca06..692ece5 100644 --- a/stellar-dark.css +++ b/stellar-dark.css @@ -167,6 +167,15 @@ html { overflow: visible !important; font-size: var(--tree-font-size); } + +/***Only applies if 'Show Position in TOC' widget is in use***/ +.toc-widget span.toc li[style] { + color: var(--bold-sun) !important; +} +.toc-widget span.toc li:not([style*="color:"]) { + color: inherit !important; +} + .toc-widget .toc li, .highlights-list > ol > li { text-align: left; }