.wiki-content h4 {
background:transparent;
}
.wiki-content h3 {
padding:5px;
background:transparent;
}
.api {
  border:1px solid #ccc;
  border-collapse:collapse;
  clear:both;
  width:100%;
 }

.api th,
.wiki-content .api tr th{
  border:1px solid #ccc;
  background:#f4f4f4;
  padding:5px;
  text-align:center;
  table-layout:fixed;
 }

.api td,
.wiki-content .api tr td {
  border:1px solid #ccc;
  padding:5px;
  vertical-align:top;
 }

.api tr td:nth-child(1),
.api tr td:nth-child(2) {
  font-family:monospace;
 }

.api tr td:nth-child(1) {  width:150px; }
.api tr td:nth-child(2) {  width:150px; }
.api tr td:nth-child(3) {  width:400px; }

This document is a work-in-progress. This page is for documenting all Mobile FSS classnames: what they do, when to use them, and how to extend them.

Introduction

Note: The Mobile FSS is new in v1.1.

This article is for documents all the Mobile FSS classnames and describes what they do, when to use them, and how to extend them.

Knowledge of the core FSS Cheat Sheet is not required, although extremely useful.

Mobile FSS recycles a large number of desktop FSS class names for the sake of easy portability. Mobile FSS includes some new class names too, which are unique in their usage. While the desktop and mobile flavours of FSS are very similar, there are some important differences:

  1. The fss-mobile-layout.css file is required.
  2. The fss-mobile-layout.css file has theme-specific layout adjustments.
  3. fss-reset.css is not as relevant on the mobile platform as it is on the desktop.
  4. mobile FSS relies heavily on Webkit, and is currently limited to platforms that use Webkit-based browsers (eg Android, iPhone, etc)
  5. Since performance on the mobile platform is very different than any other, it is highly recommended to reduce the amount of network traffice your page generates. Therefore, try not to include theme files you wont use, ie: don't push the iphone theme file to an android device if your not using it.

A typical mobile FSS setup looks like

fss-mobile-layout.css
fss-mobile-themeOfYourChoice.css
your-tweaks.css

...and, as always, order is important!

<hr style="clear:both">

FSS / mFSS overlapping class names

The following class names used in FSS are also used in mobile FSS, with different effects applied.
Any other FSS class name has no effect unless you include the FSS files.

Classname

Notes

Difference between FSS and mFSS

.fl-container*

 

Width values are ignored, the element is indented 10px, and for the iphone it adds rounded corners to .fl-list-* children. Usage is outlined in detail in the latest Mobile FSS demos

.fl-icon

 

Resizes the default dimensions for icons. Adds rounded corners. Manipulated extensively within .fl-list-* elements. Usage is outlined in detail in the latest Mobile FSS demos

.fl-label

 

width is reduced to 25% from 50%

.fl-button

 

Changes the appearance to a simple rounded button

.fl-button-inner

 

No styling applied since it becomes redundant in modern mobile browsers. Sliding door, scalable buttons can be achieved without it.

.fl-tabs

 

Restyled to look more like a multipurpose cluster of elements instead of desktop OS-style tabs

.fl-tabs-active

 

Still highlights the selected tab

.fl-list-menu

 

list-based menus are the core navigation mechanism in mobile FSS. Usage is outlined in detail in the latest Mobile FSS demos

.fl-grid

 

Grid items are much smaller, depending on other required mobile FSS class names like .fl-list-thumbnails and .fl-thumbnails-expanded

.fl-grid-caption

 

Captions are below image and not on top

Layout

Containers

Classname

Variants

Description

.fl-container*

Fixed width variants found in FSS are ignored

For the iphone, it forces a list to have round corners and content to be indented by 10px

.fl-table

 

For making an arbitrary element display like a table

.fl-table-cell

 

For making an arbitrary element display like a table cell, enabling vertically alignment for children, (ie. centering things vertically)

.fl-table-row

 

For making an arbitrary element display like a table row

Lists

Classname

Variants

Description

.fl-list

 

Applies to a list container, formats the li as container for general purpose content List Demo

.fl-list-menu

 

Applies to a list container, formats the li and an a child as a menu of options List Demo

.fl-list-thumbnails

 

Applies to a list container, formats the li with an a child with an img.fl-icon child as a menu of options with a large graphic on the left DEMO

.fl-icon

 

When used inside an .fl-list-menu it becomes a 30px x 30px graphic. When used within .fl-list-thumbnails it becomes a 44px x 44px thumbnail. When used within .fl-thumbnails-expanded it becomes a 64px x 64px thumbnail. .fl-icon inside and .fl-list has rounded corners and can be made "glossy" Icon Demo Thumbnail Demo

Tabs

Classname

Variants

Description

.fl-tabs

 

Works exactly like FSS Tabs (scroll to the bottom) but is much more compact for smaller mobile screens Tabs Demo

.fl-tabs-active

 

Hilights the active tab. Class name belongs on the li element Tabs Demo

Buttons

Classname

Variants

Description

.fl-button

.fl-button-green, .fl-button-black, .fl-button-blue, .fl-button-white

Doesn't do much on its own, but when used with the iphone/android theme (the android theme is new in v1.2) there is a border image and translucent gradient shading applied. Buttons Demo