You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
745 B

.tog{
position:fixed;
top: @height_navbar + @gap * 2;
right: ~"calc((100% - @{container-width})/2)";
.enable-trans();
@media(max-width: @width_container){
right: 0;
}
@media(max-width: @on_phone){
right: -@width_sidebar;
&.active{
transform: translateX(-@width_sidebar);
}
}
width: @width_sidebar + 6px;
z-index:3;
padding: @gap;
border-left: 6px solid @color_bg_navbar;
background: @color_text_in_header;
a {
display: inline-block;
&:hover,&:active,&.active{
color: @color_text_highlight;
}
}
ol{
&.toc-child{
padding-left: @gap;
}
li{
list-style:none;
width: auto;
&:extend(.txt-ellipsis);
}
}
&:empty{
display:none;
}
}