Portlet Styling Quick Reference - JSR-168
CSS ClassDefinitionportlet-dlg-icon-labelText that appears beside a "standard" icon (e.g. Ok, or Cancel)portlet-fontFont attributes for the "normal" fragment font. Used for the display of non-accentuatedinformation.portlet-font-dimFont attributes similar to the .portlet.font but the color is lighter.portlet-form-buttonText on a buttonportlet-form-fieldText for a field (not input field, e.g. checkboxes, etc)portlet-form-field-labelText for a separator of fields (e.g. checkboxes, etc.)portlet-form-input-fieldText of the user-input in an input field.portlet-form-labelText used for the descriptive label of the whole form (not the labels for fields).portlet-icon-labelText that appears beside a context dependent action icon.portlet-menuGeneral menu settings such as background color, margins, etc.portlet-menu-captionMenu captionportlet-menu-cascade-itemNormal, unselected menu item that has sub-menus.portlet-menu-cascade-item-selectedSelected sub-menu item that has sub-menus.portlet-menu-descriptionDescriptive text for the menu (e.g. in a help context below the menu)portlet-menu-itemNormal, unselected menu item.portlet-menu-item-hoverNormal, unselected menu item when the mouse hovers over it.portlet-menu-item-hover-selectedSelected menu item when the mouse hovers over it.portlet-menu-item-selectedSelected menu item.portlet-msg-alertWarning messages.portlet-msg-errorError messages.portlet-msg-infoHelp messages, general additional information, etc.portlet-msg-statusStatus of the current operation.portlet-msg-successVerification of the successful completion of a task.portlet-section-alternateText in every other row in the cellportlet-section-bodyNormal text in a table cellportlet-section-footerTable or section footnoteportlet-section-headerTable or section headerportlet-section-selectedText in a selected cell rangeportlet-section-subheaderText of a subheadingportlet-section-textText that belongs to the table but does not fall in one of the other categories (e.g. explanatory orhelp text that is associated with the section).A custom CSS class is not defined for the <a> tag. The entity should use the default classes when embedding anchor tags.If an portlet developer wants a certain font type to be larger or smaller, they should indicate this using a relative size.
by Gary S. Weaver 2009-10-19. F
or more information please see:
http://jcp.org/aboutJava/communityprocess/final/jsr168/index.html
Add a Comment