Theming and Styling"

From Documentation
(Created page with '{{ZKDevelopersReferencePageHeader}} {{ZKDevelopersReferenceHeadingToc}} {{ZKDevelopersReferencePageFooter}}')
 
Line 1: Line 1:
 
{{ZKDevelopersReferencePageHeader}}
 
{{ZKDevelopersReferencePageHeader}}
 +
 +
Depending on the requirement, there are different ways to customize the look and feel of components.
 +
*Molds
 +
*: A component could have multiple different appearance, such as accordion vs regular [[ZK Component Reference/Containers/Tabbox|tabbox]]. Each appearance is called a mold. You could choose one fulfilling your need.
 +
*CSS
 +
*: To fine-tune the look and feel, you could specify CSS styles and classes without changing the DOM structure at the client.
 +
*Theme Customization
 +
*:The default themes (breeze, classic blue.. provided by ZK) allows some generic customization, such as font size. In additions, you could customize CSS and also DOM structures.
 +
*Theme Provider
 +
*:If you allow users to select a theme from several themes you provide, you could implement a theme provider.
 +
 +
 
{{ZKDevelopersReferenceHeadingToc}}
 
{{ZKDevelopersReferenceHeadingToc}}
 
{{ZKDevelopersReferencePageFooter}}
 
{{ZKDevelopersReferencePageFooter}}

Revision as of 12:39, 27 November 2010


Theming and Styling


Depending on the requirement, there are different ways to customize the look and feel of components.

  • Molds
    A component could have multiple different appearance, such as accordion vs regular tabbox. Each appearance is called a mold. You could choose one fulfilling your need.
  • CSS
    To fine-tune the look and feel, you could specify CSS styles and classes without changing the DOM structure at the client.
  • Theme Customization
    The default themes (breeze, classic blue.. provided by ZK) allows some generic customization, such as font size. In additions, you could customize CSS and also DOM structures.
  • Theme Provider
    If you allow users to select a theme from several themes you provide, you could implement a theme provider.




Last Update : 2010/11/27

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.