Appendix C. Quick Reference—Style Guide

Mojo’s styling is automatically provided when you select the Mojo class names within your HTML, or use Mojo widgets. This appendix will help you determine the selectors or properties to change when you want to override the automatic styling. It’s best to use this style guide along with the StyleMatters sample application provided with the SDK.

The guide is organized into several categories, including:

  • Scene Basics

  • List Basics

  • Containers

  • Dividers

  • Panels

  • Text

  • Widgets

Each category is presented in a table with:

  • A brief description

  • The filename of the CSS style sheet where the style category is defined

  • An HTML code sample using the style

  • A list of the base selectors that you can use in your CSS to override the framework’s styling

  • A list of optional selectors

  • Required child selectors, which must be embedded with the base selector for the style to be used effectively

These styles may be updated from time to time by Palm as part of an SDK update—you should check the SDK documentation to get the latest information.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.78.131