Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authork <68973000+moll-y@users.noreply.github.com>2021-06-19 21:48:40 +0300
committerGitHub <noreply@github.com>2021-06-19 21:48:40 +0300
commit028ae12ea56077fb630bbf12ed46781db583fe2a (patch)
treea79c64cab59e0754d54f21139ec46d98a9d7309e /assets
parented4a1bc56e2477d38deaa32d532965bb62f95592 (diff)
fix: set the scrollbar-track background to transparent (#228)
The body has this transition: 'transition: background-color 0.3s ease 0s'. Setting the scrollbar-track's background-color of the horizontal scrollbar of the Archives page to transparent will make us to appreciate that transition when switching the background-color.
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/partials/layout/list.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/scss/partials/layout/list.scss b/assets/scss/partials/layout/list.scss
index bcb276c..f9e7b6a 100644
--- a/assets/scss/partials/layout/list.scss
+++ b/assets/scss/partials/layout/list.scss
@@ -54,7 +54,7 @@
/* scrollbar styles for Firefox */
scrollbar-width: auto;
- scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
+ scrollbar-color: var(--scrollbar-thumb) transparent;
/* scrollbar styles for Chromium */
&::-webkit-scrollbar {
@@ -66,7 +66,7 @@
}
&::-webkit-scrollbar-track {
- background-color: var(--scrollbar-track);
+ background-color: transparent;
}
/**/