diff --git a/website/src/css/_shared.scss b/website/src/css/_shared.scss index 598c4cc39a8..e4e58fec83f 100644 --- a/website/src/css/_shared.scss +++ b/website/src/css/_shared.scss @@ -50,30 +50,3 @@ color: var(--ifm-link-color); } } - -%scrollbar-style { - &::-webkit-scrollbar { - width: 7px; - height: 7px; - } - - &::-webkit-scrollbar-thumb { - background: #888; - border-radius: 10px; - } - - &::-webkit-scrollbar-track { - background: #f1f1f1; - border-radius: 10px; - } -} - -%scrollbar-style-dark { - &::-webkit-scrollbar-track { - background: #141414; - } - - &::-webkit-scrollbar-thumb { - background: var(--ifm-color-emphasis-200); - } -} diff --git a/website/src/css/customTheme.scss b/website/src/css/customTheme.scss index 1ad0fd4920f..b69df3500e7 100644 --- a/website/src/css/customTheme.scss +++ b/website/src/css/customTheme.scss @@ -420,10 +420,6 @@ hr { background-color: var(--ifm-color-emphasis-300); } - .prism-code { - @extend %scrollbar-style; - } - .tabs { border-bottom: 1px solid var(--ifm-table-border-color); color: var(--ifm-font-color-base); @@ -461,10 +457,6 @@ html[data-theme="dark"] { } } - .prism-code { - @extend %scrollbar-style-dark; - } - div[class*="codeBlockTitle"] { color: var(--docsearch-muted-color); background-color: var(--deepdark); @@ -558,12 +550,6 @@ html[data-theme="dark"] .alert--secondary { } } -/* Sidebars */ - -html[data-theme="dark"] { - @extend %scrollbar-style-dark; -} - /* Blog */ .avatar__name { @@ -855,10 +841,6 @@ html[data-theme="dark"] { aside[class^="theme-doc-sidebar-container"] { margin-right: 16px; - .thin-scrollbar { - @extend %scrollbar-style; - } - .menu__list .menu__list { margin-top: 0; } @@ -1043,8 +1025,6 @@ aside[class^="theme-doc-sidebar-container"] { } html[data-theme="dark"] .menu { - @extend %scrollbar-style-dark; - .menu__list > .menu__list-item > .menu__link--sublist { color: var(--ifm-color-emphasis-400); } @@ -1059,8 +1039,6 @@ html[data-theme="dark"] .menu { div[class^="tableOfContents"] { min-width: 100%; width: 100%; - - @extend %scrollbar-style; } .table-of-contents { @@ -1134,10 +1112,6 @@ html[data-theme="dark"] { } } -html[data-theme="dark"] div[class^="tableOfContents"] { - @extend %scrollbar-style-dark; -} - button[class*="tocCollapsibleButton"] { color: var(--ifm-color-content-secondary); } @@ -1916,18 +1890,6 @@ html[data-theme="dark"] .docsRating { article.margin-bottom--xl { margin-bottom: 2.5rem !important; } - - aside nav { - @extend %scrollbar-style; - } -} - -html[data-theme="dark"].blog-wrapper { - .main-wrapper { - aside nav { - @extend %scrollbar-style-dark; - } - } } html[data-theme="light"].blog-wrapper {