Added by Jacob Farber, last edited by Jacob Farber on Dec 15, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Work In Progress
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

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 API 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. 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!


FSS class names recycled in mFSS

The following class names used in desktop FSS are also used in mobile FSS:

Classname Description
.fl-container-* All widths are removed. Reformats any inner content with extra padding. For the iphone, it adds rounded list corners.
.fl-icon Resizes the default dimensions for icons. Adds rounded corners. Manipulated extensively within .fl-list-* elements
.fl-label Changes the width
.fl-button Changes the behavious
.fl-button-inner Removes all behaviour.
.fl-tabs  
.fl-tabs-active  
.fl-list-menu  
.fl-grid  
.fl-grid-caption  

Any other FSS class name has no effect unless you include FSS files.

Layout

Containers

Classname Variants Description
.fl-container-* See FSS
For the iphone, it forces a list to have round corners and content to be indented by 10px
.fl-icon    
     

Lists

Classname Variants Description
.fl-list    

Tabs

Classname Variants Description
.fl-tabs    

Buttons

Classname Variants Description
.fl-button    

iPhone