This style guide is designed to aid the styling of elements within the templates and make sure that the majority of possible requirements of most website builds are covered. Each website is different, so not all needs may be met with this guide, but it is able to grow in the future. So when building, make sure that all these elements are styled up appropriately for when they are utilised on the website you are building.
NB. When initially created, this style guide is classified as unstyled.
This is an example of how the cookie layout will automatically render so it can be amended.
We use cookies to ensure that we provide you with the best experience on our site. To learn more about how they are used please view our Cookie Policy.
If you continue to browse our website we will assume that you are happy to receive cookies. However, click here if you would like to change your cookie settings.
If the design requires it, this allows some basic CSS driven functionality to have a nice looking tooltip*. Use a class of 'tooltip' with additional appending of 'tooltip-left' or 'tooltip-right' dependent on needs.
Styling of the <blockquote> tag if quotes are utilised within the design.
Code - wrap with a <pre> tag if you would like to keep layout, although do think about how this will work responsively.
All buttons require the class of 'button' and then additional classes as per requirements. Most contrasting call to action colour would be primary and this would filter down based upon the design. Delete classes as appropriate.
To alter format and sizing of buttons, use these classes. Delete classes as appropriate.
Dropdowns have a basic structure. Container with a class of 'dropdown', a child <a> and a <div>. The <a> has an href attribute of the id of the child <div>. The 'dropdown' class allows for functionality on touch devices.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
Tables should have markup as below. This allows the Footable plugin to make it work responsively. Certain columns columns can be hidden with the 'data-hide' attribute on the initial <th> in the <thead> based upon the breakpoints set within the 'common.js' file Has ability to add Sorting, Filtering & Pagination
Initially rendered as separate items, javascript generates a new layout. Initial layout* of on desktop is a tab system, but once a breakpoint is achieved, the layout should change to an accordion. Multiple can be used on a page.
Tab 1 content
Tab 2 content
Same as a mobile tab/accordion layout. Styling will need to be updated similar to Accordions in Tabs to Mobile Accordions. Multiple can be used on a page. Set an "data-independent" attribute to "true" if you would like other sections to be independent of the current one. If not required, this can be removed.
Accordion 2 content
When creating a form use this layout.
Below are some examples of an <input> of type="text", textarea and a RadDropDownList. Add a label to each as appropriate, even if not visible in the design (make it invisible with the class of 'visuallyhidden').
At the top of the form, include a summary. A <div> with the class of 'error-summary'. Within the summary, create an unordered list <ul> the fields which have errors. Add an <a> tag to link to the corresponding field or parent <div>. It must include an error message which is consistent with what is next to the field.
After the input label add a <span> with a class of 'error-notice'. Include the same error message as in the summary.
We use necessary cookies to make our site work. We'd also like to set optional analytics cookies to help us improve it. We won't set optional cookies unless you enable them. Using this tool will set a cookie on your device to remember your preferences.
For more detailed information about the cookies we use, see our Cookies page