Implementation

Classes

Global header classes

NameDescription

vertical-nav

Applies to <body> this class applies the vertical navigation header patterns.

qld__header

Class that defines main header container and default styles

Pre-header and mobile navigation controls

NameDescription

Pre-header

qld__header__pre-header

Default style for  pre-header container with not modifying class this is set to use the default light background colour.

qld__header__pre-header--dark

Modifying class that changes the pre-header and any components within it to use the dark theme.

qld__header__pre-header--dark-alt

Modifying class that changes the pre-header and any components within it to use the dark-alt theme.

qld__header__pre-header-url

Use to apply styles to a group radio buttons.

qld__header__pre-header-brand-image

On mobile the pre-header contains the primary brand  identifier which in most cases is the Queensland Government Coat of Arms.

qld__header__cta-wrapper

Right aligned container holds the pre-header site wide utility links.

qld__header__cta-link

Set the  size and style for utility links in the pre-header

qld__header__cta-link-icon

Defines the size and colour of utility link icons

Mobile navigation

qld__header__main-nav-controls

Container for main navigation controls (Search and Menu buttons on mobile and tablet screens). These controls toggle the search or mobile menu.
qld__main-nav__toggle-search
Defines the size and appearance of the 'search button' in the main nav control.
qld__header__toggle-main-nav
Defines the size and appearance of the 'menu button' in the main nav control.
qld__main-nav__toggle-text
Defines the style of labels for mobile menu buttons.

Header content

NameDescription

qld__header__main

This is the class for the main content section of banner.

qld__header__main--dark

Modifier class that sets the content area to to use the dark theme

qld__header__main--dark-alt

Modifier class that sets the content area to to use the dark-alt theme

qld__header__brand

Container for logo and site name

qld__header__brand-image

Defines size and shape of  primary site logo on desktop.

qld__header__site-name

Defines the position of site name

qld__header__heading

Defines  the size and text style of site name

qld__header__subline

Defines the size and text style for subheadings in the site name

qld__header__search

Class applied to the search form wrapper. See search field for more informaiton on search  classes.