Skip to content

Commit 0cc5ff2

Browse files
committed
variant: set color for perfect scrollbar matcornic#471
1 parent 8e4b7cd commit 0cc5ff2

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

static/css/perfect-scrollbar.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/theme-neon.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,9 @@ above will not apply, so we have to repeat it here */
309309
text-shadow: none;
310310
}
311311

312+
#content-wrapper {
313+
--ps-thumb-color: #d0d0d0;
314+
--ps-thumb-hover-color: #ccc;
315+
}
316+
312317
}

static/css/theme.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ dd {
136136
}
137137

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

12721273
#TableOfContents {
1274+
--ps-rail-hover-color: rgba( 176, 176, 176, .25 );
12731275
font-size: .8125rem !important;
12741276
max-height: 90vh;
12751277
overflow: hidden;
@@ -1770,7 +1772,3 @@ article ul li input[type="checkbox"]:checked::before {
17701772
overflow: auto;
17711773
padding: min(2vh, 2vw);
17721774
}
1773-
1774-
#TableOfContents{
1775-
min-width: 1px;
1776-
}

static/js/perfect-scrollbar.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)