QS Pack

Navigation

Variable nameDefault valueDescription
--b-foreground-navigationrgba(0, 0, 0, .5)Background color for the navigation overlay/backdrop.
--b-navigation#fffBackground color for the main navigation content area.
--p-navigation2rem 0Padding for the navigation content area.
--c-item-navigation#414c60Text color for individual navigation items.
--gap-item-navigation1remGap between the icon and text within a navigation item.
--b-item-active-navigationpurpleBackground color for an active navigation item.
--c-item-active-navigation#fffText color for an active navigation item.
--b-item-hover-navigationrgba(0, 0, 0, .15)Background color for a navigation item on hover.
--c-item-hover-navigation#414c60Text color for a navigation item on hover.


CSS ClassDescription
.navigation-toogleClass for the button that toggles navigation visibility. Styles size, position, and z-index.
.navigationBase class for the navigation container. Manages visibility, position, fixed placement, and overlay effect.
.navigation.hiddenClass dynamically applied to '.navigation' to hide it by adjusting its position and opacity.
.navigation-contentClass for the main content area within the navigation panel. Defines background, dimensions, padding, and overflow handling. Max-width is adjusted on screens 1024px or wider.
.navigation-itemsClass for the list (ul) that holds navigation links. Styles as a grid with a defined gap.
.navigation-itemClass for individual list items (li) within the navigation menu.
.navigation-item > * (e.g., a)Styles applied to direct children (typically anchor tags) of '.navigation-item'. Defines alignment, color, font size, padding, and transition. Font size is adjusted on screens 1024px or wider.
.navigation-item > *.active (e.g., a.active)Class dynamically applied to an active navigation link. Changes background color, text color, and disables pointer events.
.navigation-item > *:hover (e.g., a:hover)Styles applied when hovering over a navigation link. Changes the background color.