// Base format for the navigation parts. // =INDENT($DEPTH, $BASE, $STEP, $PROGRESS:$DEPTH) @if $PROGRESS > 0 & li +INDENT($DEPTH, $BASE, $STEP, $PROGRESS - 1) @else & a padding-left: #{($BASE + $STEP * ($DEPTH - 1))}px =INDENTS($COUNT, $BASE, $STEP) @for $DEPTH from 1 through $COUNT +INDENT($DEPTH, $BASE, $STEP) .tsd-navigation padding: 0 0 0 40px a display: block padding-top: 2px padding-bottom: 2px border-left: 2px solid transparent color: $COLOR_TEXT text-decoration: none transition: border-left-color 0.1s &:hover text-decoration: underline ul margin: 0 padding: 0 list-style: none li padding: 0 // Primary part of the navigation containing the available modules. // // // .tsd-navigation.primary padding-bottom: 40px a display: block padding-top: 6px padding-bottom: 6px ul +INDENTS(6, 5, 20) > ul border-bottom: 1px solid $COLOR_PANEL_DIVIDER li border-top: 1px solid $COLOR_PANEL_DIVIDER &.current > a font-weight: bold &.label span display: block padding: 20px 0 6px 5px color: $COLOR_MENU_LABEL &.globals + li > span, &.globals + li > a padding-top: 20px // Secondary part of the navigation containing the table of contents // of the current module. // Can be made sticky by `typedoc.MenuSticky` and will highlight current sticky with `typedoc.MenuHighlight`. // // // .tsd-navigation.secondary ul +INDENTS(6, 25, 20) transition: opacity 0.2s &.current a border-left-color: $COLOR_PANEL_DIVIDER li.focus > a, ul.current li.focus > a border-left-color: $COLOR_MENU_DIVIDER_FOCUS li.current margin-top: 20px margin-bottom: 20px border-left-color: $COLOR_PANEL_DIVIDER > a font-weight: bold // Sticky menu setup // .menu-sticky-wrap +size-md-lg position: static .no-csspositionsticky & &.sticky position: fixed &.sticky-current position: fixed ul.before-current, ul.after-current opacity: 0 &.sticky-bottom position: absolute top: auto !important left: auto !important bottom: 0 right: 0 .csspositionsticky & &.sticky position: sticky &.sticky-current position: sticky