This pattern library is a brand new, bespoke catalogue of design components suitable for use within the O.K. sites range of websites.
By applying the ok-stylesheet, the components that appear in this document can be directly copied into your new page.
Click the links below to download the required folder of images and the ok-stylesheet, then simply copy the CSS link into your page's HTML header.
Folder of images
<link rel="stylesheet" type="text/css" href="ok-stylesheet.css">
This header has been designed in a simplistic manner that although covers the width of the display, is not overly distracting.
<div class="ok-header">
<img src="img/header.png" alt="O.K. sites, a portfolio worth investing in" title="O.K. sites, a portfolio worth investing in">
</div>
Jumbotron text
This jumbotron is used to catch the users attention, with the content intended to be that which is likely to spark interest. The size will adjust automatically depenind on how much content is within the jumbotron.
<div class="ok-jumbotron">
<h3>Jumbotron Heading</h3>
<p>Jumbotron text</p>
</div>
This button allows the user to quickly navigate back to the index/homepage. It has a no background colouring to ensure it is able to seamlessly blend into the navigation bar, where it is to be predominantly placed.
<div class="ok-button-home">
<a href="index.html"><img src="img/ok-button-home.png"></a>
</div>
Either of these logos are the official image used to represent the O.K. Sites brand across all forms of media. The variation in colours allow for it to be placed against different colour schemes. The image is also to be used as a button when applied as hypermedia, reverting the user to the website when clicked.
<div class="ok-button-logo">
<a href="index.html"><img src="img/ok-button-logo-light.png"></a>
</div>
<div class="ok-button-logo">
<a href="index.html"><img src="img/ok-button-logo-dark.png"></a>
</div>
This button has been designed to allow users to return to the top of a page without the need to scroll up manually or refresh the page. The area it returns to is to be changed within the HTML relative to the page it page it occupies.
<div class="ok-button-rtt">
<a href="#contents"><img src="img/ok-button-rtt.png"></a>
</div>
Where necessary, this button will allow the user to skip through content or onto the next page. It shares the same design as the RtT button in order to provide a level of consistency within the site(s).
<div class="ok-button-next">
<a href="nextpage.html"><img src="img/ok-button-next.png"></a>
</div>
The Back button also shares a familiar design, however it has been designed to return the user to their previous page.
<div class="ok-button-back">
<a href="javascript:history.go(-1)"><img src="img/ok-button-back.png"></a>
</div>
Where a form exists, this button should be deployed in order to submit the information to the relevant script/database.
<div class="ok-button-submit">
<a href="index.html"><img src="img/ok-button-submit.png"></a>
</div>
Much like the submit button, where a form is used in order to provide search functionality, this button must be used to facilitate the search.
<div class="input-group" id="keyword-box">
<input type="text"/><a href="searchresults.html"><img src="img/ok-button-search.png"></a></span>
</div>
This generic form is the default template for all kinds of forms used throughout the sites. It is to be used for contact, searching and all other forms of data capture.
<div class="ok-form-generic">
<input class="ok-form-input" type="text" name="ok-form-generic" placeholder="Placeholder"/>
</div>