JNSQ
page.styles.liquid
.
Table of Contents
- Type
- Colors
- Typography
- Grid System
- Content Grid
- Tables
- Buttons
- Forms
- Page Elements
- Frames
- Panels
- Miscellaneous elements
- Iconography
- UI Elements
Fonts
Cinzel Regular
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
Gotham Medium
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
Gotham Book
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
Bodoni Bold Italic
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
Colors
Main
Very Light Peach
#FCF2E8
$color-very-light-peach
Light Peach
#F4D9BC
$color-light-peach
Peach
#F3C08D
$color-peach
Very Light Pink
#F7ECE6
$color-very-light-pink
Light Pink
#F8E4DE
$color-light-pink
Pink
#F6DDD9
$color-pink
Light Yellow
#FBF6E3
$color-light-yellow
Yellow
#F8E68B
$color-yellow
Pale Beige
#faf1e1
$color-pale-beige
Greyscale
Charcoal
#333132
$color-charcoal
Dark Grey
#666766
$color-dark-grey
Medium Grey
#848484
$color-medium-grey
Light Grey
#EBEAE8
$color-light-grey
Off-White
#FAF9F7
$color-off-white
White
#FFFFFF
$color-white
Typography
Headings
H1 - Cinzel Regular Font Size - 50px | Line Height - 60px | Letter Spacing - 4px
H2 - Cinzel Regular Font Size - 40px | Line Height - 50px | Letter Spacing - 4px
H3 - Cinzel Regular Font Size - 30px | Line Height - 40px | Letter Spacing - 2px
H4 - Cinzel Regular Font Size - 20px | Line Height - 30px | Letter Spacing - 2px
H5 - Gotham Medium/Book Font Size - 20px | Line Height - 26px | Letter Spacing - 1px
H6 - Gotham Medium/Book Font Size - 16px | Line Height - 26px | Letter Spacing - 1px
P1 - Gotham Book Font Size - 21px | Line Height - 31px | Letter Spacing - 0px
P2 - Gotham Book Font Size - 16px | Line Height - 26px | Letter Spacing - 0px
P3 - Gotham Book Font Size - 14px | Line Height - 24px | Letter Spacing - 0px
P4 - Gotham Book Font Size - 12px | Line Height - 20px | Letter Spacing - 0px
Paragraphs
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eleifend, enim nec tempor facilisis, urna dui hendrerit odio, sed laoreet ex metus commodo enim. Praesent vehicula malesuada ornare. Nulla in velit sit amet ligula convallis placerat ut sit amet nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus lobortis justo eu condimentum gravida. Aenean a sapien laoreet, scelerisque libero sit amet, ultrices est. Maecenas eu odio suscipit, maximus ligula eu, scelerisque sapien.
Mauris justo purus, bibendum ut molestie vitae, hendrerit in ipsum. Fusce commodo justo in lorem mattis, ut sagittis erat auctor. Maecenas dignissim, felis eu tempor varius, lorem nulla luctus augue, non volutpat massa sem nec felis. Suspendisse accumsan aliquam ornare. Suspendisse commodo nec arcu id imperdiet. Praesent tincidunt condimentum est non fermentum. Donec id malesuada enim. Nullam finibus arcu nulla, vestibulum egestas leo aliquet vel. Phasellus sed maximus eros.
Pellentesque imperdiet velit eu fringilla sagittis. Duis enim nibh, mattis id justo sed, euismod posuere diam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent egestas ultricies nunc a bibendum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras volutpat tellus tincidunt blandit efficitur. Sed maximus leo ultricies massa auctor egestas. Pellentesque aliquet aliquam porta. Vestibulum convallis libero et metus ornare, sit amet posuere dolor semper.
Type styles
- Strong
- Emphasis
- Inline link
- Strike
- Sup
Text Style Utilities
- .u-fw-normal
- .u-fw-bold
- .u-td-underline
- .u-td-strike
- .u-ls-base
Text Color Utilities
- .u-color-black
- .u-color-dark-grey
- .u-color-grey
- .u-color-light-grey
- .u-color-white
- .u-color-off-white
- .u-color-peach
- .u-color-light-peach
- .u-color-very-light-peach
- .u-color-pink
- .u-color-light-pink
- .u-color-very-light-pink
- .u-color-yellow
- .u-color-light-yellow
- .u-color-pale-beige
Background Color Utilities
- .u-bg-black/.u-bg-charcoal
- .u-bg-dark-grey
- .u-bg-grey/.u-bg-medium-grey
- .u-bg-light-grey
- .u-bg-white
- .u-bg-off-white
- .u-bg-peach
- .u-bg-light-peach
- .u-bg-very-light-peach
- .u-bg-pink
- .u-bg-light-pink
- .u-bg-very-light-pink
- .u-bg-yellow
- .u-bg-light-yellow
- .u-bg-pale-beige
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) |
|
RTE
Styles specific to text that comes out of the rich text editor.
- One
- Two
- Three, with child list
- First sub item
- Second sub item
- Third sub item, with ordered child list
- Third level item
- Another third level item
- Four
Note: Any table elements that come out of the rich text editor are will automatically have a responsive wrapper applied to them. This allows them to scroll on small screens without breaking the site layout.
Grid System
Extra small devices Phones (<768px) | Small devices Tablets (≥768px) | Medium devices Desktops (≥992px) | Large devices Desktops (≥1200px) | Extra Large devices Desktops (≥1480px) | |
---|---|---|---|---|---|
Grid behavior | Horizontal at all times | Collapsed to start, horizontal above breakpoints | |||
Container width | None (auto) | 750px | 970px | 1170px | 1440px |
Class prefix | .col-xs- |
.col-sm- |
.col-md- |
.col-lg- |
.col-xl- |
# of columns | 12 | ||||
Gutter width | 40px (20px on each side of a column) | ||||
Nestable | Yes | ||||
Offsets | Yes | ||||
Column ordering | Yes |
Content Grid
This is a more rigid grid for laying out content, typically products and articles. It uses the same sizing and gutters as the normal grid. There is one base version with several modifier classes that allow you some level of flexibility. The default layout is 1 across on mobile devices, and 3-col on screens larger than $screen-md-min
.
Alternate Content Grid Layouts
Modifier classes are available to create alternate grid layouts
Use .content-grid--2-col
to create a 2 column grid on screens larger than $screen-md-min
.
Use .content-grid--4-col
to create a 4 column grid on screens larger than $screen-md-min
.
Use .content-grid--2-4
to create a grid that switches from 2 to 4 columns.
Use .content-grid--1-2-4
to create a grid that switches from 1 to 2 to 4 columns.
Use .content-grid--1-2-3
to create a grid that switches from 1 to 2 to 3 columns.
Alternate Content Grid Spacing
Use the content-grid--flush
modifier class to make all grid items flush with each other.
Combine with frames to make tiled layouts.
Use the .content-grid--tight
and .content-grid--loose
modifier classes to adjust vertical spacing between grid items.
Tight Grid
Loose Grid
Tables
Responsive Tables
Wrap tables with a .table-responsive
element to enable horizontal scrolling on small screens. All child table elements of an .rte
element are wrapped by default via javascript.
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 |
Border-less Tables
Sizes | XXS | XS | S | M | L |
---|---|---|---|---|---|
Bust | 32"-34" | 34"-36" | 36"-38" | 38"-40" | |
Under Bust | 32"-34" | 34"-36" | 36"-38" | 38"-40" | |
Waist | 23.5"-24.5" | 32"-34" | 34"-36" | 36"-38" | 38"-40" |
Hip | 33"-34" | 32"-34" | 34"-36" | 36"-38" | 38"-40" |
Buttons
Default button Default Button (Disabled)
Primary button Primary button (Disabled)
Secondary button Secondary button (Disabled)
Alternate button (Serif) Alternate button (Serif, disabled)
Alternate secondary button (Serif) Alternate secondary button (Serif, disabled)
Block Level Default Button Block Level Primary Button Block Level Secondary Button
Forms
Default Forms
Animated labels
Add a class of control-label
to a label to and it will animate out of the way when either the is-focused
or is-filled
classes are applied to the form-group
. Note: Placeholders should not be used, as the label will be placed overtop of it.
Horizontal forms (customer, contact, etc)
The animated behavior of labels is removed when there is a parent with the .form-horizontal
class.
Inline Forms
Other Form Elements
Note About Select Elements
This theme is using the Chosen library to enhance native select tags. By default, any select.form-control
elements are targeted and initialized on page load. If you want to avoid this, add the data-no-chosen
attribute to your select tag and it will be left alone.
Page Elements
Page Header
Use this element at the top of pages to add consistent titles + subtitles. You can also use this element without the subtitle if necessary. This element also works with left and right modifier classes to change text alignment.
I'm a page title
I'm a page subtitle. I have a maximum width applied to prevent lines of text from getting unnecessarily long and becoming hard to read.
Content Header / Footer
Use these elements to create sections of content throughout the body of the page. While page header should be used once at the top, the content header can be used multiple times.
Content Header Title Goes Here
Frames
Use frames to create elements with defined aspect ratios. All frames require the .frame
base class and a modifier class to define their aspect ratio. There is also a child element .frame__inner
that is positioned absolutely and stretches the full dimensions of the frame.
Responsive Frames
There are responsive modifier classes for all frame sizes and all breakpoints.
.frame
.frame--xs-16x9
.frame--sm-6x4
.frame--md-1x1
.frame--lg-3x4
.frame--xl-4x6
Panels
Panels are generic containers for content that have a header and a body. They don't get used very much, but the base .panel
element is needed for the collapse / accordion plugin to work so we've included it here. The base element should remain unstyled. All the styling you see below is set on the child .panel__*
classes.
Panel Item Title
Wrap multiple panels with a .panel-group
element to make them vertically flush with eachother.
Panel Item Title
Panel Item Title
Miscellaneous elements
Horizontal Rules
Default hr
Alerts
Iconography
Read more about using, creating, and editing SVG icons in Slate's documentation.
UI Elements
Navigation Icons
Social icons
Product Icons
Arrows
Arrow elements are mostly used for slideshow controls. The root element has the base arrow
class applied to it and directional modifier classes are available. By default, it has one child element that makes up the actual arrow icon.
This child element easily be swapped out for a png, svg, or other icon made of pseudo elements.
Breadcrumbs
Pagination
Social Sharing
Minimal Input
Normal
Inverted
Large
Dots
Dots are an alternate UI used primarily for displaying / selecting variant option values. They respond to the two state classes .is-active
and .is-disabled
. Active dots will show a border around them, disabled dots will show with partial opacity and a strike through.
Use the .dots--small
modifier class to create smaller dots when space is tight.
Apply a background color or background image to the .dot__inner
element to use them as swatches.
Or apply a modifier class to apply a background color as defined in the swatch palette. The list of available color-modifier classes is below.