The Fluid Skinning System (FSS) is a group of CSS files with a specially designed modular structure and class-specific format. It is meant to work well as both a standalone CSS foundation for your site and our components, and as the CSS engine of the User Interface Options component.
This article is for documents all the FSS classnames and describes what they do, when to use them, and how to extend them.
Forces an element to be a certain width (eg. 100 = 100px)
.fl-container-*
auto, flex, flex25, flex30, flex33, flex50
Used to create flexible-width containers that depend on the width of their parents (eg. flex25 = 25% of its parent's width)
Auto defaults to the full width of its parent. .fl-container has no effect on inline elements
Columns
Classname
Variants
Description
Notes
.fl-col-*
flex2, flex3, flex4, flex5
System for creating equal width columns (eg. flex2 = 2 columns). Columns have flexible widths & gutters, and depend on the parents width
.fl-col
identifies a column container within an .fl-col-flex* system
.fl-col-mixed-*
100, 150, 200, 250, 300
System for creating mixed width columns. Allows for combinations of .fl-col-flex and .fl-col-fixed for complex layouts and includes gutters and padding
.fl-col-fixed
In a mixed column setup, identifies the fixed columns
requires .fl-force-left or .fl-force-right for alignment, and must be placed before .fl-col-flex columns
.fl-col-flex
In a mixed column setup, identifies the flexible column
must be placed after any .fl-col-fixed columns
Tabs
Classname
Variants
Description
Notes
.fl-tabs
Creates a basic tab system. Tabs are centred by default.
Markup must be a list, list items must have anchors. The anchors act as tabs.
.fl-tabs-*
left, right
Aligns tabs left or right.
.fl-tabs-active
Identifies the currently active tab
Must be added to the active <li> and not the <a>
Menu
Classname
Variants
Description
Notes
.fl-list-menu
Creates a basic vertical navigation menu.
Markup must be a list, list items must have anchors.
.fl-list-menu-active
Identifies the currently active menu item
Must be added to the active <li> and not the <a>
Grid
Classname
Variants
Description
Notes
.fl-grid
Creates a grid-like layout for list items and images. Default grid item height is 150px.
Markup must be a list. List items could include <img> and/or captions
.fl-grid-caption
Identifies the image caption.
Must be added to an element inside the <li>. It is absolutely positioned, so it will always appear on top of content.
Icons
Classname
Variants
Description
Notes
.fl-icon
Forces an element to have default dimensions of 16x16 pixels and hidden descriptive text.
To add the icon itself, assign it via background-image parameters
Buttons
Classname
Variants
Description
Notes
.fl-button-*
left, right
Decorates and element with sliding-door style graphics. Requires a secondary inner element.
Graphics are applied in 2 parts: the cap and the extender. Graphics can be found in the theme files and modified.
Widget Template
Classname
Variants
Description
Notes
.fl-widget
Setup for widget template. Widgets are subdivided into 3 sections: title bar, options, and contents
.fl-widget-titlebar
Title bar for widget, applies special styling to .fl-icon and other class names
This does little on its own, it's mostly for styling sub elements
.fl-widget-content
Content container
This does little on its own, it's mostly for styling sub elements
.fl-widget-options
Container within .fl-widget-titlebar for displaying widget options
Can hold list of anchors (like .fl-tabs), or just anchors.
Forms
Classname
Variants
Description
Notes
.fl-controls-*
left, right, centered
Align form controls and their labels
.fl-label
Identifies the text label for form control alignment.
Acscessibility
Classname
Variants
Description
Notes
.fl-progEnhance-basic
Identifies something that is meant to be the fallback if javascript doesn't run
Content is visible by default
.fl-progEnhance-enhanced
Identifies something that is meant to be the enhanced version if javascript is running
Content is hidden by default. Javascript should display this content, and hide the fallback content
.fl-offScreen-hidden
Used to place readable content for screen readers offscreen
Use this class name if you have something that should only be made aware to screen readers