Implementation

Classes

Primary navigation

NameDescription

qld__main-nav

Wrapper for the primary nav component applied to  <nav> element

qld__main-nav--mega

Applies the mega menu style to menu links that contain sub-navigation

qld__main-nav__content

Container for navigation links

qld__main-nav__menu-inner

Styles the main menu wrapper and its inner contents.

qld__main-nav__focus-trap-top

This class traps keyboard focus within the navigation when it's opened.

qld__main-nav__header

This styles the header of the navigation on mobile viewports.

qld__main-nav__menu-heading

Styles text within the the mobile navigation.

qld__main-nav__toggle qld__main-nav__toggle--close

Styles the header of the navigation, the toggle button, and its "close" state respectively.

qld__link-list

Defines the layout and position of menu navigation items

qld__main-nav__item

Class applied to <li> items.  This  class sets list items to appear vertically on mobile  and horizontally on desktop.

qld__main-nav__item-link

This is what creates the visual appearance of the primary level 1 menu links.
qld__main-nav__overlaySets the overlay  colour that applies across the screen when mobile menu  is toggled open.

Mega-menu sub-navigation

NameDescription

qld__main-nav__item-toggle

Class that controls style of mega menu toggle buttons in the primary nav.

qld__main-nav__menu-sub qld__main-nav__menu-sub qld__accordion__body

This class works with the accordion classes to style the submenu container. 

qld__main-nav__menu-sub-inner

Content container for sub-navigation items. This applies the padding

qld__main-nav__sub-head

Container for header section of mega menu which containers link to level 1 category.

qld__main-nav__sub-heading

Styles the heading of the submenu.

qld__main-nav__sub-footer

Used to style the footer of the submenu.