SHOFLO

Base Front End Boilerplate

Goals

The goal of this project is to ease the development process of front end systems for SHOFLO. A global stylesheet is compiled from source files in the project that sets the style for all SHOFLO sites. It is serverd from assets.shoflo.tv as to cache well. The build script in this project will compile the less and push the compiled file to S3.

The CSS File is available at

Typography

All HTML headings, h1 through h6 are available.

h1. Heading 1

h2. Heading 2

h3. Heading 3

h4. Heading 4

h5. Heading 5
h6. Heading 6

Tables

Tables present data for various pieces of informaton. While not actual HTML table elements, the tables are made up of div elements.

Colmns are created by using span elements inside .sfHeader and .sfRow elements.

To use hover states on rows, use the .hover class on the .sfBody element.

To define column widths, the following classes are available and self-describe the widths the represent:

Plain display table

SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2
foo
foo
Title 3
SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2Title 3

Table with hover rows

SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2
foo
foo
Title 3
SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2Title 3

Table with hover rows with buttons

SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2Title 3
SHOFLO TableTitle 2Title 3

Tabs

Tabs align a list of li elements in a fashionable order.

Tabs are li elements wrapped in a elements.

To use tabs, add the .sfTabs class to the parent ul element.

The following widths are available to size the widths of the tabs

3 Wide Tabs

6 Wide Tabs

Forms

Forms in SHOFLO are styled by using the .sfForm class on the form itself.

To get label elements to display block, use the .sfLabel class on a parent div.

To use columns, add the .sfFomCol class to a parent div.

Basic Form

Columned Form

Buttons

Buttons in SHOFLO are usable via the .sfButton class.

To make a button inline, use the .inline class.

More specific classes are as follows:

.blue .grey

Compact

Icons