Typography
Headings
Heading one
Heading two
Heading three
Heading four
Heading five
Heading six
RTE Headings
RTE heading one
RTE heading two
RTE heading three
RTE heading four
RTE heading five
RTE heading six
Paragraphs
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. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.
Type styles
- Strong
- Emphasis
- Inline link
- Strike
- Sup
Blockquotes
Eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.
The author of the quote
Lists
|
|
Numeric bullet
|
|
Child lists (to match the RTE styles) |
|
Inline list
|
|
Block level link lists
|
Tables
Default Responsive Table
A .table-wrapper-overflow
wrapping class will ensure the table stretches 100% width, and has a horizontal scroll if needed on smaller devices.
The default table is styled with a .table
class
<div class="table-wrapper-overflow">
<table class="table">
...
</table>
</div>
Order | Date | Payment Status | Fulfillment Status | Total |
---|---|---|---|---|
#1001 | December 22, 2015 | Authorized | Unfulfilled | $43.03 |
#1002 | December 23, 2015 | Authorized | Unfulfilled | $44.03 |
#1003 | December 24, 2015 | Authorized | Unfulfilled | $45.03 |
#1004 | December 25, 2015 | Authorized | Unfulfilled | $46.03 |
#1005 | December 26, 2015 | Authorized | Unfulfilled | $47.03 |
#1006 | December 27, 2015 | Authorized | Unfulfilled | $48.03 |
RTE Default Responsive Table
Our JavaScript will add a .table-wrapper-overflow
div and style the table exactly as the above Default Responsive Table.
Order | Date | Payment Status | Fulfillment Status | Total |
---|---|---|---|---|
#1001 | December 22, 2015 | Authorized | Unfulfilled | $43.03 |
#1002 | December 23, 2015 | Authorized | Unfulfilled | $44.03 |
#1003 | December 24, 2015 | Authorized | Unfulfilled | $45.03 |
#1004 | December 25, 2015 | Authorized | Unfulfilled | $46.03 |
#1005 | December 26, 2015 | Authorized | Unfulfilled | $47.03 |
#1006 | December 27, 2015 | Authorized | Unfulfilled | $48.03 |
Responsive Stacking Table
We add a class of .table-responsive-stack
to the table
element. On smaller screens, the table will tunr our rows into block-level columns that stack. This is achieved by using data-label
on the td
elements. These are then converted into the headings/labels for each entry on the column.
<td data-label="Date">December 22, 2015</td>
Order | Date | Payment Status | Fulfillment Status | Total |
---|---|---|---|---|
#1001 | December 22, 2015 | Authorized | Unfulfilled | $43.03 |
#1002 | December 23, 2015 | Authorized | Unfulfilled | $44.03 |
#1003 | December 24, 2015 | Authorized | Unfulfilled | $45.03 |
#1004 | December 25, 2015 | Authorized | Unfulfilled | $46.03 |
#1005 | December 26, 2015 | Authorized | Unfulfilled | $47.03 |
#1006 | December 27, 2015 | Authorized | Unfulfilled | $48.03 |
Forms
Default form elements
Form Couple
Wrap two .form__item
in a .form__couple
element to display them in equal size in one row on larger screens.
Alerts and errors
Example usage:
{% if form.posted_successfully? %}
<p class="alert alert--success">Thanks for submitting the form</p>
{% endif %}
{% if form.errors %}
<div class="alert alert--error">
{{ form.errors | default_errors }}
</div>
{% endif %}
This is a standard note
This is a success message
This is an error message.
- Bullets can offer more insight to the error
- Bullets can offer more insight to the error
Buttons
Button Group
Button Group Equal Sized
.button-group .button-group--equal-size
Icons (SVG)
Social icons
Payment icons
Header Icons
UI Icons
Other Icons
Modals
Default Modal
Fullscreen Modal
Accordions / Collapsibles
Default Collapsible
The default implementation means only one collapsible can be open.
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.
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.
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.
Collapsibles - Keep Multiple Open
This implementations allows multiple collapsibles to be open. Add the data-keep-multiple-collapsibles-open
attribute to whatever element is wrapping the collapsibles
<div class="collapsibles-wrapper" data-keep-multiple-collapsibles-open>
<div class="collapsible">
<button class="collapsible__heading">
Collapsible 1<span class="collapsible__icon"></span>
</button>
<div class="collapsible__panel">
<div class="collapsible__panel-content">
<p>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.</p>
</div>
</div>
</div>
...
...
</div>
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.
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.
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.