Components

To use the grid and components, start with the base code as your starting template. This will load all required external CSS and JS. You can then build out your layout using the grid and add any of the below components. Only embed the CSS code if you are going to edit those styles.

Base

To use the grid and components, use the below code as your base. This will load all required external CSS and JS. You can then build out your layout using the grid and then copy and paste the HTML of any of the components below. Only embed the CSS code if you are going to edit those styles.

<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="utf-8">
<title>Page Title Goes Here</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="/system/content_files/uploads/da3/ecd/bf-/original/normalize.css">
<link rel="stylesheet" href="/system/content_files/uploads/96a/57b/67-/original/data-entry-toolkit-styles-v2.css">

<!-- Add custom CSS styles here -->
<style>

</style>
</head>

<body>


<!-- These are the external calls to scripts that load out Javascript libraries and help with the interaction of the interface. 
Do not remove these. -->
<script src="/system/content_files/uploads/e2b/7ca/2c-/original/jquery-3.3.1.min.js"></script>
<script src="/system/content_files/uploads/faf/9bd/62-/original/data-entry-toolkit-functions.js"></script>
</body>
</html>

Grid

Standard 12 Column grid to build responsive layouts.

Column 3

Column 9

Column 4

Column 8

Column 5

Column 7

Column 6

Column 6

Column 7

Column 5

Column 8

Column 4

Column 9

Column 3

Markup Examples

Three Thirds

Column 4

Column 4

Column 4

<div class="container">
  <div class="row">
    <div class="four col">
    <p>Column 4</p>
    </div>
    <div class="four col">
    <p>Column 4</p>
    </div>
    <div class="four col">
    <p>Column 4</p>
    </div>
  </div>
</div>

Four Quarters

Column 3

Column 3

Column 3

Column 3

<div class="container">
  <div class="row">
    <div class="three col">
    <p>Column 3</p>
    </div>
    <div class="three col">
    <p>Column 3</p>
    </div>
    <div class="three col">
    <p>Column 3</p>
    </div>
    <div class="three col">
    <p>Column 3</p>
    </div>
  </div>
</div>

Data Entry Form

This markup for the form includes all relevant code to work in Simulator. Just copy and paste and customise the styles as needed.

Form Markup

This markup is ready to go into the CMS

HTML

<label for="username">Username</label>
<input id="username" name="username" placeholder="" type="text" value="" /> 

<label for="password">Password</label>
<input id="password" name="password" placeholder="" type="password" value="" /> 

<form action="[[PHISHMESUBMITURL]]" autocomplete="off" id="landing_form1" method="post" name="landing_form1">
  <input class="button primary" name="submit" type="submit" value="Sign In" />
</form>

CSS

label {
  display: block;
  font-weight: 700;
  color: #0E2438;
}
input[type=text] {
  margin: 5px 0px 10px 0px;
  display: block;
}
input[type=password] {
  margin: 5px 0px 25px 0px;
  display: block;
}
input[type=text], input[type=password] {
  background-color: white;
  border: 1px solid #666666;
  padding: 10px;
  box-sizing: border-box;
  max-width: 460px;
  width: 100%;
}

Buttons

Button Markup

HTML

<a href="#" class="button primary">Primary Button</a>
<a href="#" class="button secondary">Secondary Button</a>
<a href="#" class="button inactive">Inactive Button</a>
<button class="button primary">primary Button</button>
<button class="button secondary">Secondary Button</button>
<button class="button inactive">Inactive Button</button>

CSS

.button {
  text-align: center;
  cursor: pointer;
  margin: 0;
  font-size: .9rem !important;
  padding: 10px 16px;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
}
.primary {
  background-color: #D9282F;
  color: #ffffff;
}
.secondary {
  background-color: #90CAF9;
  color: #1B2057;
}
.inactive {
  background-color: #ADB5BB;
  color: #FFFFFF;
}
.button:hover {
  opacity: 0.8;
}

Pagination

Markup

HTML

<div class="pagination">
  <a href="#">First</a>
  <a href="#">«</a>
  <a href="#">1</a>
  <a href="#">2</a>
  <a href="#">3</a>
  <a href="#">4</a>
  <a href="#">5</a>
  <a href="#">»</a>
  <a href="#">Last</a>
</div>

CSS

.pagination {
  margin-top: 1rem;
}
.pagination a, .pagination strong {
  background: #EEEEEE;
  display: inline-block;
  margin-right: 3px;
  padding: 4px 12px;
  text-decoration: none;
  line-height: 1.5rem;
  color: #162531;
}
.pagination a:hover {
  background-color: #D9282F;
  color: #FFFFFF;
}
.pagination a:active {
  background: #D9282F;
}
.pagination a.active {
  background: #D9282F;
  font-weight: 700;
  color: #FFFFFF;
}

Tables

Heading Heading Heading
Column Column Column
Column Column Column

Markup

HTML

<table>
  <tbody>
    <tr>
      <th>Heading</th>
      <th>Heading</th>
      <th>Heading</th>
    </tr>
    <tr>
      <td>Column</td>
      <td>Column</td>
      <td>Column</td>
    </tr>
    <tr>
      <td>Column</td>
      <td>Column</td>
      <td>Column</td>
    </tr>
  </tbody>
</table>

CSS

table {
  width: 100%;
  font-weight: 400;
}
th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1;
}
th:first-child, td:first-child {
  padding-left: 0;
}
th:last-child, td:last-child {
  padding-right: 0;
}

ReCaptcha

A simulation of a recaptcha form.

img

reCAPTCHA
Privacy - Terms

Markup

HTML

<div class="captcha-container">
  <div class="captcha">
    <div class="captcha-wrapper">
      <button type="button" class="captcha-box box-hover"></button>
    </div>
    <input type="checkbox" name="hidden-captcha" id="hidden-captcha" disabled="disabled" />
    <label for="hidden-captcha" class="captcha-label">I'm not a robot</label>
  </div>
  <div class="captcha-right"> <img src="/system/content_images/uploads/1fe/092/e8-/original/cap.png" alt="img" width="22" height="auto">
    <p>reCAPTCHA<br>
    Privacy - Terms</p>
  </div>
</div>

Miscellaneous

Misc styles, typography, anchors etc.

Off Screen Skip to Main Content

Add this code after the body tag for an option for users to skip to the main content.

HTML

<div id="skip">
  <a href="#content">Skip to Main Content</a>
</div>

CSS

#skip a {
  display: inline;
  float: left;
  font-size: 100%;
  left: -9999px;
  line-height: 33px;
  margin-left: 13px;
  margin-right: 3%;
  position: absolute;
}
#skip a:active,#skip a:focus {
  left: 0px;
  top: 10px;
  z-index: 1000;
}