RocksDB
view release on metacpan or search on metacpan
vendor/rocksdb/docs/_sass/_react_docs_nav.scss view on Meta::CPAN
}
.toggleNav {
background: $sidenav;
color: $sidenav-text;
position: relative;
transition: background-color 0.3s, color 0.3s;
.navToggle {
cursor: pointer;
height: 24px;
margin-right: 10px;
position: relative;
text-align: left;
width: 18px;
&::before, &::after {
content: "";
position: absolute;
top: 50%;
left: 0;
left: 8px;
width: 3px;
height: 6px;
border: 5px solid $sidenav-text;
border-width: 5px 0;
margin-top: -8px;
transform: rotate(45deg);
z-index: 1;
}
&::after {
transform: rotate(-45deg);
}
i {
&::before, &::after {
content: "";
position: absolute;
top: 50%;
left: 2px;
background: transparent;
border-width: 0 5px 5px;
border-style: solid;
border-color: transparent $sidenav-text;
height: 0;
margin-top: -7px;
opacity: 1;
width: 5px;
z-index: 10;
}
&::after {
border-width: 5px 5px 0;
margin-top: 2px;
}
}
}
.navGroup {
background: $sidenav-overlay;
margin: 1px 0;
ul {
display: none;
}
h3 {
background: $sidenav-overlay;
color: $sidenav-text;
cursor: pointer;
font-size: 14px;
font-weight: 400;
line-height: 1.2em;
padding: 10px;
transition: color 0.2s;
i:not(:empty) {
width: 16px;
height: 16px;
display: inline-block;
box-sizing: border-box;
text-align: center;
color: rgba($sidenav-text, 0.5);
margin-right: 10px;
transition: color 0.2s;
}
&:hover {
color: $primary-bg;
i:not(:empty) {
color: $primary-bg;
}
}
}
&.navGroupActive {
background: $sidenav-active;
color: $sidenav-text;
ul {
display: block;
padding-bottom: 10px;
padding-top: 10px;
}
h3 {
background: $primary-bg;
color: $primary-overlay;
i {
display: none;
}
}
}
}
ul {
padding-left: 0;
padding-right: 24px;
li {
list-style-type: none;
padding-bottom: 0;
padding-left: 0;
a {
border: none;
color: $sidenav-text;
display: inline-block;
font-size: 14px;
line-height: 1.1em;
margin: 2px 10px 5px;
padding: 5px 0 2px;
transition: color 0.3s;
&:hover,
&:focus {
color: $primary-bg;
}
&.navItemActive {
color: $primary-bg;
font-weight: 900;
}
}
}
}
}
.toggleNavActive {
.navBreadcrumb {
background: $sidenav;
margin-bottom: 20px;
position: fixed;
width: 100%;
}
section {
.navGroups {
display: block;
}
}
.navToggle {
&::before, &::after {
border-width: 6px 0;
height: 0px;
( run in 0.944 second using v1.01-cache-2.11-cpan-39bf76dae61 )