Components
Utility bar
The utility bar provides consistently positioned and styled access to application links and manage accounts.
The last link should always be either a "Sign in" link, or an initiator for the account popover with the full name of the currently signed-in user.
Logo
The Warwick logo should appear in the top left of the masthead, "bleeding" from the image behind the utility bar.
The logo should always link to the University of Warwick homepage (https://warwick.ac.uk), not the homepage of the current application.
Warwick site links
This HTML should not be modified or include (or exclude) any links other than the above.
Search
The search box provides a recognisable way to search across Warwick. When users focus inside the search box and start typing, a floating label appears.
Site title
The site title affixes to the top of the page and provides a way to quickly access the top of the site, or application.
Navigation
Horizontal navigation is designed to work consistently for up to three levels. For deeper content use a different navigation metaphor, such as search or in-page lists of links, to avoid confusing visitors.
Primary
Almost all sites will include primary navigation below the site title, to provide links to top-level content within the site.
It should always be visible at the root of the site, and hidden for mobile on deeper pages, by the addition of a hidden-xs
class.
You may optionally use dropdowns to expose children of primary pages on hover.
Below the site root, highlight the current section with an active
class on the appropriate list item,
and also add a next-secondary
class if secondary navigation will also be visible (see below).
Secondary
Secondary navigation is for breadcrumbs, taking you from the site root to the currently visible page's level.
If you only have two levels in your site, this will only contain the current top-level section, and be hidden in desktop views,
only visible on mobile for context. For deeper pages, it will show a breadcrumb trail, using the active
class
to highlight position.
Highlight the current section with an active
class on the appropriate list item,
and add a next-tertiary
class if tertiary navigation will also be visible (see below).
Tertiary
Tertiary navigation shows the current page and its siblings in two-level sites, and children of the current page in deeper sites.
Page footer
The page footer contains common links for the whole application and, optionally, for the site.
The footer MUST use one of id7-footer-coloured
or id7-footer-divider
as detailed below.
Site footer
Typical content might be contact information and social media links. The content of this section should not change across a site.
Application footer
The application footer contains common links that all Warwick apps should include - the small print. Typical links are for application platform information, copyright, terms of use, privacy policy, cookies, and accessibility.
For applications hosted by IT Services, it is usually appropriate to link to the relevant Sitebuilder pages. You will need to link to vendor-specific pages if the application has differing policies. If you link to central pages, you must ensure that your application does follow these policies and procedures without conflict.
Coloured footer
By adding the class id7-footer-coloured
to the <footer>
element, the site-wide footer will be coloured. You can then add a logo bleed to the app footer by using the following HTML:
Footer with divider
By adding the class id7-footer-divider
to the <footer>
element, the site-wide footer will be white and it is possible to add a divider at the top of it by using the following HTML:
The divider will be the brand colour.
Next/previous links
Example:
- Previous page
- Page X of Y
- Next page
Pagination with jump
Koan spinners
Replaces a <i>
with a class of id7-koan-spinner
with an inline SVG of a rotating Koan.
Any attributes you put on the <i>
are copied across.
Useful class names (in addition to id7-koan-spinner
):
id7-koan-spinner--lg
- a larger koanid7-koan-spinner--sm
- a smaller koanid7-koan-spinner--xs
- a much smaller koanid7-koan-spinner--2x
(3x, 4x, etc) - double size koanid7-koan-spinner--slow
- a slow spinning koanid7-koan-spinner--fast
- a fast spinning koan
You can style the SVG using normal CSS, e.g.