Skip to content

Commit

Permalink
variant: set color for perfect scrollbar matcornic#471
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Feb 10, 2023
1 parent 8e4b7cd commit 0cc5ff2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion static/css/perfect-scrollbar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions static/css/theme-neon.css
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,9 @@ above will not apply, so we have to repeat it here */
text-shadow: none;
}

#content-wrapper {
--ps-thumb-color: #d0d0d0;
--ps-thumb-hover-color: #ccc;
}

}
6 changes: 2 additions & 4 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ dd {
}

#content-wrapper {
--ps-rail-hover-color: rgba( 176, 176, 176, .25 );
display: flex;
flex-direction: column;
flex: 1; /* fill rest of vertical space */
Expand Down Expand Up @@ -1270,6 +1271,7 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
}

#TableOfContents {
--ps-rail-hover-color: rgba( 176, 176, 176, .25 );
font-size: .8125rem !important;
max-height: 90vh;
overflow: hidden;
Expand Down Expand Up @@ -1770,7 +1772,3 @@ article ul li input[type="checkbox"]:checked::before {
overflow: auto;
padding: min(2vh, 2vw);
}

#TableOfContents{
min-width: 1px;
}
4 changes: 2 additions & 2 deletions static/js/perfect-scrollbar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0cc5ff2

Please sign in to comment.