added index to the docs/types route, minor fixes to styling
This commit is contained in:
parent
ea5b56acc8
commit
349c87a205
9 changed files with 109 additions and 32 deletions
|
@ -13,17 +13,7 @@
|
|||
|
||||
.toc-wrapper-mobile {
|
||||
display: block;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.toc-content {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
@ -35,7 +25,7 @@
|
|||
font-size: 1.614rem;
|
||||
max-height: 500px;
|
||||
|
||||
& > svg {
|
||||
&>svg {
|
||||
height: 100%;
|
||||
width: 24px;
|
||||
}
|
||||
|
@ -60,14 +50,20 @@
|
|||
-ms-overflow-style: none;
|
||||
background-color: hsl(var(--overlay-bkg));
|
||||
border-left: 1px solid hsl(var(--overlay-bkg-border));
|
||||
cursor: default;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
transition: width 0.3s ease, padding 0.3s ease;
|
||||
transition: width 0.3s ease,
|
||||
padding 0.3s ease;
|
||||
|
||||
&.shown {
|
||||
& .toc-content {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
overflow-y: scroll;
|
||||
width: var(--width);
|
||||
display: flex;
|
||||
|
@ -122,7 +118,7 @@
|
|||
list-style: none;
|
||||
|
||||
&.active {
|
||||
& > .toc_a {
|
||||
&>.toc_a {
|
||||
color: hsl(var(--green) 72 60);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue