4 font:normal 17px Helvetica, sans-serif; /* Base font rules */
5 -webkit-user-select: none; /* prevents child elements content from being selected - desired? */
6 -webkit-text-size-adjust:none; /* http://website-engineering.blogspot.com/2009/07/stop-adjusting-text-size-in-iphone-when.html */
8 h1, h2, h3, h4, h5, h6 {margin:0.25em;}
18 /***************************************/
20 * Basic overrides for fss layout
28 -webkit-border-radius: 5px;
34 /***************************************/
35 /* iPhone general purpose gel buttons */
36 /* effect is applied anywhere but the navbar, which has its own button look */
41 -webkit-border-radius:10px;
42 -webkit-background-origin: border;
43 -webkit-background-clip: border;
46 /*************************************************/
55 .fl-navbar .fl-table-row:first-child {
58 .fl-navbar .fl-table-cell:not(h1) {
63 .fl-navbar .fl-table-cell:first-child {
66 .fl-navbar .fl-table-cell:last-child {
81 .fl-navbar [class*=fl-button] {
82 -webkit-border-radius:5px;
87 .fl-navbar .fl-backButton {
89 * To create the oddly shaped back button with fully customizable CSS colors, there are 2 main things:
90 * 1) The stencil for the shadow and hilights along the angled edge
91 * 2) The mask to crop the background along the angled edge
93 /* Angled effect is just a single border with a transaprent stencil image for the bevel */
94 border-width:0 0 0 15px;
95 -webkit-border-top-right-radius: 5px;
96 -webkit-border-bottom-right-radius: 5px;
97 -webkit-background-origin: border;
98 -webkit-background-clip: border;
99 -webkit-mask-repeat: no-repeat;
100 -webkit-mask-origin: border;
101 -webkit-mask-clip: border;
104 .fl-navbar .fl-backButton .fl-button-inner {
105 margin-left:-3px; /* close tiny gap between angled border + button-inner on Mobile Safari */
108 .fl-navbar .fl-button-inner {
112 -webkit-background-origin: border;
113 -webkit-background-clip: border;
116 .fl-navbar img.fl-button-inner {
118 vertical-align:middle;
122 /*************************************************/
123 /* iPhone tabs: general purpose dividers, or fixed to the bottom of the screen
125 /*************************************************/
133 display:inline-block;
138 .fl-tabs li:first-child {
139 border-left-width:5px;
140 -webkit-border-top-left-radius:5px;
141 -webkit-border-bottom-left-radius:5px;
143 .fl-tabs li:last-child {
145 border-right-width:5px;
146 -webkit-border-top-right-radius:5px;
147 -webkit-border-bottom-right-radius:5px;
149 .fl-tabs li.fl-tabs-active a,
153 text-decoration:none;
154 padding:0.35em 0.5em;
161 .fl-tabs li:last-child a {
164 .fl-tabs li:first-child a {
168 /*************************************************/
169 /* iPhone list menu styles: Ordered lists, Unordererd lists, Thumbnail lists, Icon lists, Definition lists
170 * By default, all list formats fit to width
171 * When nested within a fl-container element, they are indented and therefore contain rounded corners
173 /*************************************************/
174 /* Default list system setup */
181 [class*=fl-list] > li {
183 padding: 12px 0px 12px 12px;
184 text-decoration: none;
188 border-width:1px 0px 0 0px;
189 overflow:auto; /* to encapsulate floating elements within */
191 [class*=fl-list] > li:last-child {
192 border-bottom-width:1px;
194 [class*=fl-list] .fl-link-loading .fl-link-secondary {
197 /* secondary link info behaviour */
198 [class*=fl-list] > li .fl-link-secondary {
204 /* summary link info ehaviour */
205 [class*=fl-list] > li .fl-link-summary {
212 [class*=fl-list] li .fl-icon ~ .fl-link-summary {
213 margin-left:30px; /* default size of fl-icon */
216 [class*=fl-list] li .fl-icon {
221 /*************************************************/
223 * fl-listmenu is now the way to create a link list
224 * The links create a hotspot over the entire list item, just like how it was by default
233 padding: 12px 0px 12px 12px;
234 text-decoration: none;
240 /*************************************************/
241 /* Thumbnail and Expanded Thumbnails list features */
243 .fl-list-thumbnails > li {
245 border-bottom-width:1px;
247 .fl-list-thumbnails > li a {
251 /* summary behaviour */
252 .fl-list-thumbnails > li a .fl-icon ~ .fl-link-summary {
253 margin:0 25px -12px 42px;
255 .fl-list-thumbnails:not(.fl-thumbnails-expanded):not(.fl-list-brief) > li a > .fl-icon ~ .fl-link-summary {
259 .fl-list-thumbnails > li a .fl-icon {
262 margin:-6px 10px -12px -12px;
263 -webkit-border-radius:0;
265 .fl-list-thumbnails.fl-thumbnails-expanded li {
267 border-bottom-width:0;
269 .fl-list-thumbnails.fl-thumbnails-expanded > li:last-child {
270 border-bottom-width:1px;
272 .fl-list-thumbnails.fl-thumbnails-expanded > li a {
273 -webkit-border-radius:0;
274 padding: 10px 0px 10px 10px;
276 .fl-list-thumbnails.fl-thumbnails-expanded > li a .fl-icon {
279 margin:-5px 5px -5px -5px;
280 -webkit-border-radius:0;
282 .fl-list-thumbnails.fl-thumbnails-expanded > li a .fl-icon ~ .fl-link-summary {
283 margin: 0px 0px -5px 60px;
285 .fl-list-thumbnails.fl-thumbnails-expanded > li a .fl-link-secondary {
289 /*************************************************/
290 /* Brief lists auto trim summary content + add ellipsis if necessary */
292 .fl-list-brief > li a {
295 .fl-list-brief > li a > .fl-link-summary {
298 text-overflow:ellipsis;
301 .fl-list-brief > li a > .fl-icon ~ .fl-link-summary {
304 .fl-list-brief.fl-list-thumbnails:not(.fl-thumbnails-expanded) > li a > .fl-icon {
305 margin:-6px 10px -6px -12px;
307 .fl-list-brief.fl-list-thumbnails:not(.fl-thumbnails-expanded) > li a > .fl-link-secondary {
311 /*************************************************/
312 /* Thumbnails in Grid layout, changes the entire layout of the list item and contents */
313 .fl-list-thumbnails.fl-grid {
316 .fl-list-thumbnails.fl-grid li {
317 display:inline-block;
324 .fl-list-thumbnails.fl-grid li a {
332 .fl-list-thumbnails.fl-grid li a .fl-caption {
334 .fl-list-thumbnails.fl-grid li a .fl-icon {
344 .fl-list-thumbnails.fl-thumbnails-expanded.fl-grid li {
347 .fl-list-thumbnails.fl-thumbnails-expanded.fl-grid li a {
351 .fl-list-thumbnails.fl-thumbnails-expanded.fl-grid > li a .fl-icon {
355 /* Reiterate the properties of fl-table-cell for specificities sake */
356 .fl-list-thumbnails.fl-grid li .fl-table {
358 .fl-list-thumbnails.fl-grid li .fl-table .fl-table-cell {
360 vertical-align:middle;
362 .fl-list-thumbnails.fl-grid .fl-grid-caption {
368 .fl-thumbnails-expanded.fl-grid .fl-grid-caption {
371 /*************************************************/
372 /* Glossy icons (and thumbnails?) */
374 /* Glossiness for 30x30 icons */
375 .fl-list-glossy > li a::before {
381 margin:-4px 0 0 -5px;
382 -webkit-border-radius:3px;
383 -webkit-background-size: 30px 60px;
384 background-repeat:no-repeat;
386 /* Glossiness for 44x44 thumbnails */
387 .fl-list-thumbnails.fl-list-glossy > li a::before {
391 -webkit-border-radius:0px;
392 -webkit-background-size: 44px 50px;
394 /* Glossiness for 60x60 thumbnails */
395 .fl-list-thumbnails.fl-thumbnails-expanded.fl-list-glossy > li a::before {
399 -webkit-border-radius:0px;
400 -webkit-background-size: 60px 40px;
404 /*************************************************/
406 /*************************************************/
408 [class*=fl-container]:not(.fl-navbar) {
413 /* Panel influence for list corners */
414 [class*=fl-container] [class*=fl-list] > li {
415 border-right-width: 1px;
416 border-left-width: 1px;
418 [class*=fl-container] [class*=fl-list] > li:first-child,
419 [class*=fl-container] [class*=fl-list] > li:first-child a {
420 -webkit-border-top-left-radius: 8px;
421 -webkit-border-top-right-radius: 8px;
424 [class*=fl-container] [class*=fl-list] > li:last-child,
425 [class*=fl-container] [class*=fl-list] > li:last-child a {
426 -webkit-border-bottom-left-radius: 8px;
427 -webkit-border-bottom-right-radius: 8px;
430 [class*=fl-container] [class*=fl-list]:not(.fl-thumbnails-expanded) > li a .fl-icon {
431 -webkit-border-bottom-left-radius: 8px;
432 -webkit-border-top-left-radius: 8px;
435 [class*=fl-container] .fl-list-thumbnails:not(.fl-thumbnails-expanded) > li,
436 [class*=fl-container] .fl-list-thumbnails:not(.fl-thumbnails-expanded) > li a {
437 -webkit-border-radius: 8px;
439 /* Panel Auto Headings */
440 /* The first element found becomes the "heading" */
441 .fl-container-autoHeading > *:first-child {
444 -webkit-border-top-left-radius: 8px;
445 -webkit-border-top-right-radius: 8px;
447 /* The last element found becomes the "content" - list or otherwise */
448 .fl-container-autoHeading > *:last-child {
450 -webkit-border-radius:0;
451 -webkit-border-bottom-left-radius:8px;
452 -webkit-border-bottom-right-radius:8px;
455 .fl-container-autoHeading [class*=fl-list] > li {
458 .fl-container-autoHeading [class*=fl-list] > li:first-child,
459 .fl-container-autoHeading [class*=fl-list] > li:first-child a {
460 -webkit-border-radius:0;
462 .fl-container-autoHeading [class*=fl-list] > li:first-child:last-child,
463 .fl-container-autoHeading [class*=fl-list] > li:first-child:last-child a {
464 -webkit-border-bottom-left-radius:8px;
465 -webkit-border-bottom-right-radius:8px;
468 /* Collapsing and expanding panels */
469 .fl-container-collapsable {
472 -webkit-border-radius:8px;
475 /***************************/
478 border-collapse:collapse;
485 vertical-align:middle;
489 /************************************************************************************************/
491 Theme/Device specific layout adjustments
492 The base CSS is modelled off the iPhone WebKit environment, which is a good UI to emulate
493 The following CSS modifies the base slightly to be a little more device-friendly and native-ish for other Webkit environments
497 font:normal 17px "Droid Sans", sans-serif;
499 .fl-theme-android [class*=fl-list] > li {
502 .fl-theme-android h1,
503 .fl-theme-android h2,
504 .fl-theme-android h3 {
508 .fl-theme-android [class*=fl-container] h1,
509 .fl-theme-android [class*=fl-container] h2,
510 .fl-theme-android [class*=fl-container] h3 {
513 .fl-theme-android .fl-list-menu a {
516 .fl-theme-android .fl-tabs li:not(:last-child) {
517 margin-right:-4px; /* for some reason, the use of Droid Sans font make the right border dissappear (on Chrome+XP). This 1px change fixes it */
519 /* Panel influence for list corners */
520 .fl-theme-android [class*=fl-container] [class*=fl-list] > li:first-child,
521 .fl-theme-android [class*=fl-container] [class*=fl-list] > li:first-child a {
522 -webkit-border-top-left-radius: 0px;
523 -webkit-border-top-right-radius: 0px;
525 .fl-theme-android [class*=fl-container]:not(.fl-container-autoHeading) [class*=fl-list] > li:last-child,
526 .fl-theme-android [class*=fl-container]:not(.fl-container-autoHeading) [class*=fl-list] > li:last-child a {
527 -webkit-border-bottom-left-radius: 0px;
528 -webkit-border-bottom-right-radius: 0px;
530 .fl-theme-android .fl-list-thumbnails.fl-thumbnails-expanded > li:last-child {
533 .fl-theme-android .fl-container-autoHeading > :first-child {
537 .fl-theme-android .fl-container-autoHeading > :last-child {
538 border-width:0 1px 1px;