From 0f3deeff83abf2612ce3134eeedae11b95d76c73 Mon Sep 17 00:00:00 2001 From: Marco Blessing Date: Tue, 13 Apr 2021 12:22:06 +0200 Subject: [PATCH] remove duplicated scrollbar definitions --- assets/scss/common/_dark.scss | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/assets/scss/common/_dark.scss b/assets/scss/common/_dark.scss index 0e158b0..5f1fe08 100644 --- a/assets/scss/common/_dark.scss +++ b/assets/scss/common/_dark.scss @@ -188,7 +188,7 @@ body.dark .docs-navigation { } body.dark pre code::-webkit-scrollbar-thumb { - background: $border-dark; + background: $gray-400; } body.dark code:not(.hljs) { @@ -202,7 +202,7 @@ body.dark pre code:hover { } body.dark pre code::-webkit-scrollbar-thumb:hover { - background: $border-dark; + background: $gray-500; } body.dark blockquote { @@ -331,20 +331,3 @@ body.dark .copy-status:active::after { display: block; color: $link-color-dark; } - -body.dark pre code::-webkit-scrollbar { - height: 5px; -} - -body.dark pre code::-webkit-scrollbar-thumb { - background: $gray-400; -} - -body.dark pre code:hover { - scrollbar-width: thin; - scrollbar-color: $gray-500 transparent; -} - -body.dark pre code::-webkit-scrollbar-thumb:hover { - background: $gray-500; -}