/** * Checkbox hack used by collapsed TOC on narrow viewports for no JS users. * Although it's display:none, the :checked state is still affected when clicking * the associated label. */ #vector-toc-collapsed-checkbox { display: none; } .vector-toc { background-color: @background-color-page-container; font-size: @font-size-base; .vector-pinnable-header-label { // Override heading element styles in elements.less overflow: unset; } .vector-toc-numb { display: none; } .vector-toc-toggle { // For no-js users, toggling is disabled and icon is hidden display: none; position: absolute; top: 1px; // visually center icon left: -@spacing-subsection-toggle; // leaves 6px between icon + text transition: @transition-duration-base; color: transparent; cursor: pointer; // Reset