From 3ac6b42e16dca5a44ed3fec2c0314f1dbbc2322b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 16 Jul 2023 06:02:12 +0000
Subject: [PATCH] finish path refactoring, add sourcemap + better trace support
---
quartz/components/styles/toc.scss | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 1f1a27b..9c0a4b2 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -29,7 +29,11 @@
list-style: none;
overflow: hidden;
max-height: none;
- transition: max-height 0.3s ease;
+ transition: max-height 0.5s ease;
+
+ &.collapsed > .overflow::after {
+ opacity: 0;
+ }
& ul {
list-style: none;
@@ -38,7 +42,7 @@
& > li > a {
color: var(--dark);
opacity: 0.35;
- transition: 0.5s ease opacity;
+ transition: 0.5s ease opacity, 0.3s ease color;
&.in-view {
opacity: 0.75;
}
--
Gitblit v1.10.0