Skip to content

Commit

Permalink
add fancy scrollbar support for .center graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
jothepro committed Mar 11, 2022
1 parent 5ed6579 commit 78803c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 8 additions & 4 deletions doxygen-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,8 @@ li.navelem:first-child:before {
div.fragment::-webkit-scrollbar,
pre.fragment::-webkit-scrollbar,
div.memproto::-webkit-scrollbar,
.contents center::-webkit-scrollbar {
.contents center::-webkit-scrollbar,
.contents .center::-webkit-scrollbar {
width: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
height: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
}
Expand All @@ -1842,7 +1843,8 @@ div.memproto::-webkit-scrollbar,
div.fragment::-webkit-scrollbar-thumb,
pre.fragment::-webkit-scrollbar-thumb,
div.memproto::-webkit-scrollbar-thumb,
.contents center::-webkit-scrollbar-thumb {
.contents center::-webkit-scrollbar-thumb,
.contents .center::-webkit-scrollbar-thumb {
background-color: transparent;
border: var(--webkit-scrollbar-padding) solid transparent;
border-radius: calc(var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
Expand All @@ -1853,15 +1855,17 @@ div.memproto::-webkit-scrollbar-thumb,
div.fragment:hover::-webkit-scrollbar-thumb,
pre.fragment:hover::-webkit-scrollbar-thumb,
div.memproto:hover::-webkit-scrollbar-thumb,
.contents center:hover::-webkit-scrollbar-thumb {
.contents center:hover::-webkit-scrollbar-thumb,
.contents .center:hover::-webkit-scrollbar-thumb {
background-color: var(--webkit-scrollbar-color);
}

#nav-tree::-webkit-scrollbar-track,
div.fragment::-webkit-scrollbar-track,
pre.fragment::-webkit-scrollbar-track,
div.memproto::-webkit-scrollbar-track,
.contents center::-webkit-scrollbar-track {
.contents center::-webkit-scrollbar-track,
.contents .center::-webkit-scrollbar-track {
background: transparent;
}

Expand Down
2 changes: 2 additions & 0 deletions doxygen-custom/custom-alternative.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ html.alternative {
--spacing-medium: 14px;
--spacing-large: 19px;

--top-height: 125px;

--side-nav-background: #324067;
--side-nav-foreground: #F1FDFF;
--header-foreground: var(--side-nav-foreground);
Expand Down

0 comments on commit 78803c1

Please sign in to comment.