From dbe6d9f5caa372763cb24641499e10ec21d8cf1a Mon Sep 17 00:00:00 2001 From: Colin Wilson Date: Tue, 19 Sep 2023 02:13:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20update=20mobile=20ToC=20css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/docs/scss/custom/structure/_toc.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/assets/docs/scss/custom/structure/_toc.scss b/assets/docs/scss/custom/structure/_toc.scss index 2cbfd79c..7c3b0314 100644 --- a/assets/docs/scss/custom/structure/_toc.scss +++ b/assets/docs/scss/custom/structure/_toc.scss @@ -4,14 +4,16 @@ :root { --toc-link-hover-bg-color: var(--gray-300); - --toc-mobile-btn-bg-color: var(--gray-100); + --toc-mobile-btn-bg-color: var(--gray-200); --toc-mobile-menu-bg-color: var(--white); + --toc-mobile-link-hover-color: var(--primary); } [data-dark-mode] { --toc-link-hover-bg-color: var(--gray-700); - --toc-mobile-btn-bg-color: var(--gray-900); + --toc-mobile-btn-bg-color: var(--gray-800); --toc-mobile-menu-bg-color: var(--body-bg); + --toc-mobile-link-hover-color: var(--primary-300); } .docs-toc-mobile { @@ -33,6 +35,13 @@ // } // } + a { + color: var(--text-default); + } + a:hover { + color: var(--toc-mobile-link-hover-color); + } + .dropdown-toggle { margin-bottom: 16px; background: var(--toc-mobile-btn-bg-color);