Oracle ADF Faces - Selectors for Skinning ADF Faces subsections

Selectors for Skinning Fusion's ADF Faces Components

NOTICE: These skin selectors still need to be reviewed, and they are subject to change. Also, this skin document is incomplete. We have not yet documented the skinning keys for all skinnable components. Any developers using these skinning keys must do so with the knowledge that all such skinning code may need to be rewritten.

Overview

This document lists the selectors that can be used in an ADF Faces skin .css file to skin ADF Faces components.
     Examples of some ADF Faces Skin selectors:
     /* Global selectors affect more than one component */
     .AFDefaultFontFamily:alias {
       font-family: Tahoma, Verdana, Helvetica, sans-serif;
      }

     /* Component-specific selector.  */
     af|inputText::content
      {
         background-color: red;
      }
      

Global Selectors

Global Selectors are selectors that affect more than one component. If the selector name ends in the :alias pseudo-class, then the selector is most likely included in other component-specific selectors. Defining properties for a selector that ends in :alias will most likely affect the skin for more than one component. For example, most, if not all of our components use the .AFDefaultFontFamily:alias definition to specify the font-family. If your skin overrides the .AFDefaultFontFamily:alias selector with a different font-family, that change will affect all the components that have included it in their selector definition.

Global Style Selectors

Selector Name Description
.AFButtonAccessKeyStyle:alias Specifies the access key style for af|commandButton, af|goButton, af|resetButton.
.AFDefaultFontFamily:alias Specifies the default font family list ("font-family" property) for the skin.
.AFDefaultFont:alias Specifies the default font for the skin. This style defines both the default font family (as specified by the AFDefaultFontFamily named style), the default font size, and default font weight.
.AFDefaultBoldFont:alias Includes AFDefaultFont:alias, and sets the font-weight to bold.
.AFStartTextAlign:alias Sets the text-align property to "left" for left-to-right reading direction and "right" for right-to-left reading direction.
.AFEndTextAlign:alias Sets the text-align property to "right" for left-to-right reading direction and "left" for right-to-left reading direction.
.AFEndPadding:alias Sets the padding property to pad on the left-to-right reading direction and "left" for right-to-left reading direction. e.g,: padding: 0px 8px 0px 0px; (for 'right' padding).
.AFLeftTextAlign:alias Sets the text-align property to "left" regardless of the reading direction.
.AFRightTextAlign:alias Sets the text-align property to "right" regardless of the reading direction.
.AFCenterTextAlign:alias Sets the text-align property to "center" regardless of the reading direction.
.AFClickableImageAnchor:alias Specifies the CSS properties needed to display an image which is clickable and which has inline-mode display. This style should be applied on an empty anchor, i.e. no text between the and tags. The attributes control the appearance, e.g. font-size and padding-right give the image room to display inline. By default, this alias is included in style selectors that use 16x16 images and need to display inline background-images for both IE and Firefox. To customize, you can include this alias in your selector and override its properties. For example, you can change font-size and padding-right for an image with different height and width, or you can set "display: block" together with height, width attributes to display in block mode.
.AFFormAccessKeyStyle:alias Style the access key (like underline or bold) for form components. Affects output labels, input, panelLabelAndMessage, af:select* components.
.AFLabel:alias Aliased style class that is included in the label selector for all the form components. e.g., "af|inputText::label". Uses .AFDefaultFont:alias, .AFEndTextAlign:alias, .AFEndPadding:alias, .AFLabelTextForeground:alias,
.AFLabelDisabled:alias Aliased style class that is included in the label selector for all the form components when they are disabled. It is a quick way to style disabled form components' labels the same, instead of for each component: .AFLabelDisabled:alias instead of e.g., "af|inputText:disabled af|inputText::label".
.AFLabelTextForeground:alias Colors the label. Use the css property 'color' to style the color of the label. This is used in the .AFLabel:alias style which styles the label for all form components, like af:inputText and af:selectOne/selectMany components.
.AFLabelTextForegroundDisabled:alias Use the property 'color' to style the color of the label when it is disabled. This is used in the .AFLabelDisabled:alias style which styles the label for all form components (like af:inputText and af:selectOne/selectMany) when they are disabled.
.AFStandardIconStyle:alias Aliased style class that defines styles for a standard icon that is defined as a background image (like .AFInfoIconStyle:alias). The Rich Client has a number of components that need to be changed dynamically on the client. Appending images to dom elements as backgrounds allows us to switch the icon by changing the style class rather then having to switch out the graphical image itself.
.AFConfirmationIconStyle:alias Aliased style class that defines the "confirmation" icon as a background image. When used in conjunction with a <div /> tag and the .AFStandardIconStyle:alias alias this will output the skinned graphic image.
.AFInfoIconStyle:alias Aliased style class that defines the "info" icon as a background image. When used in conjunction with a <div /> tag and the .AFStandardIconStyle:alias alias this will output the skinned graphic image.
.AFWarningIconStyle:alias Aliased style class that defines the "warning" icon as a background image. When used in conjunction with a <div /> tag and the .AFStandardIconStyle:alias alias this will output the skinned graphic image.
.AFErrorIconStyle:alias Aliased style class that defines the "error" icon as a background image. When used in conjunction with a <div /> tag and the .AFStandardIconStyle:alias alias this will output the skinned graphic image.
.AFLinkAccessKeyStyle:alias Highlight the Access Key for the link, e.g. bold it.
.AFLinkForeground:alias The default foreground color for links.
.AFActiveLinkBorder:alias The default border information (color, size, style) for active links.
.AFActiveLinkForeground:alias The default foreground color for active links. By default, this value is computed relative to the .AFLinkForeground:alias color.
.AFVisitedLinkForeground:alias The default foreground color for visited links. By default, this value is computed relative to the .AFLinkForeground:alias color.
.AFRequiredIconStyle A style class that styles the required icon for form components. You cannot currently style this icon for each component.
.AFInstructionText, .AFFieldText, .AFFieldTextLTR, .AFPhoneFieldText, .AFPostalCodeFieldText, .AFAddressFieldText, .AFInstructionTextDisabled, .AFFieldTextDisabled, .AFFieldTextLTRDisabled, .AFPhoneFieldTextDisabled, .AFPostalCodeFieldTextDisabled, .AFAddressFieldTextDisabled, .AFDataText, .AFDataTextDisabled, .AFDataNumber, .AFDataNumberDisabled, .AFFieldNumber, .AFFieldNumberDisabled, .AFLabelTextDisabled Built-in styles that can be used as a styleClass attribute value.

Please note: For the af:inputText components, you should use the styleClasses that end in 'Marker' instead. The style classes listed here will affect the entire af:inputText components, and the 'Marker' styles affect only the 'content' piece of the components. See af|inputText below for the list of public styleClasses to use for those components.
.AFDarkTone, .AFMediumTone, .AFLightTone, .AFDefaultTone Built-in styles that can be used as a styleClass attribute value.

Please note: These do absolutely nothing on their own.

You can use them in your skin to specify alternative containment styles to make components have alternative appearances when placed in a container that has this style as a parent. You will most like want to use these in your page templates.

For example, use AFDarkTone to signify bright text colors in dark containers or use AFLightTone to specify dark text colors in light containers.

The AFDefaultTone can be used as a way to revert overridden styles back to their original settings as if the component were in no tonal container.

The simple skin has no definitions with these container styles.



Example:
  af|foo,
  .AFDarkTone .AFMediumTone af|foo,
  .AFDarkTone .AFLightTone af|foo,
  .AFDarkTone .AFDefaultTone af|foo {
    color: black;
  }
  .AFDarkTone af|foo {
    color: white;
  }


Note that the BLAF+ skin will only have style definitions that work with the assumption that the tonal container style classes are in the following hierarchy:



AFDarkTone - AFMediumTone - AFLightTone - AFDefaultTone



If you do not wish to have this structure, you will need to create your own skin. In this skin, you will define your own tonal style definitions for every component that you want to have alternate appearances for, using your personalized tonal container hierarchy.
.AFVisualRoot A style class that styles the outer-most visual root element of a page template.
.AFBranding A style class that styles the branding area of a page template.
.AFDecorativeBoxTopStart, .AFDecorativeBoxTop, .AFDecorativeBoxTopEnd, .AFDecorativeBoxCenterStart, .AFDecorativeBoxCenter, .AFDecorativeBoxCenterEnd, .AFDecorativeBoxBottomStart, .AFDecorativeBoxBottom, .AFDecorativeBoxBottomEnd Built-in styles that can be used to create a decorative box.

These are handy for use in page templates where you might want to insert components in the outer sides of the box.



Intended box structure:
.AFDecorativeBoxTopStart .AFDecorativeBoxTop .AFDecorativeBoxTopEnd
.AFDecorativeBoxCenterStart .AFDecorativeBoxCenter .AFDecorativeBoxCenterEnd
.AFDecorativeBoxBottomStart .AFDecorativeBoxBottom .AFDecorativeBoxBottomEnd
.AFPopupSelectorHeader, .AFPopupSelectorHeaderStart, .AFPopupSelectorHeaderEnd, .AFPopupSelectorContent, .AFPopupSelectorContentStart, .AFPopupSelectorContentEnd, .AFPopupSelectorFooter, .AFPopupSelectorFooterStart, .AFPopupSelectorFooterEnd A Popup selector displays arbitrary content as a popup on the screen. for e.g.:

                <af:popup id="popup">
                  <af:panelGroupLayout layout="vertical">
                    Hi! I am displayed in a popup.
                  </af:panelGroupLayout>
                </af:popup>
                <af:commandButton text="Show Skinned Popup" id="button">
                  <af:showPopupBehavior popupId="popup"
                      align="afterEnd" alignId="button"/>
                </af:commandButton>
            
The rounded corners in the popup selector are achieved by dividing it into a 3x3 cell display. These styles can be used to style each of the cell in 3x3 matrix, with the AFPopupSelectorContent occupying the middle-center cell.

Message Selectors

Defining Component-level Message Styles

The rich client allows rich components to be styled based on whether or not they have certain levels of messages associated with them. When a message of a particular type is added to a component (using the FacesMessage framework), the styles of that component are automatically modified to reflect the new status. If styles are not defined for the status in question, then the default stles are used.

In order to define styles for your components based on message levels that are tied to them, you would append a style pseudo-class to your component definition. For example:

  af|inputText::content {
    /*defines the base style for the content region of the af:inputText tag*/
  }
  af|inputText:error::content {
    /*defines the base style for the content region of the ad:inputText tag
      whem an error message is present.  The default will also be processed
      in addition to this special "error" style.
  }

The valid message properties are: fatal, error, warning, confirmation, and info. Typically these styles will only be defined on input elements, and they are of the form of a css pseudo-class (:fatal, :error, etc).

Rich Message Formatting Selectors

The following selectors are used to format messages in the rich client and may be skinned as needed.

Style Selectors
Name Description
af|message::icon The default icon for messages that are not of type info, confirmation, warning, error, or fatal. This icon is rendered as a background image. Includes .AFStandardIconStyle:alias
af|message::icon-info The default icon for messages that are of type info. This icon is rendered as a background image. Includes .AFInfoIconStyle:alias
af|message::icon-confirmation The default icon for messages that are of type confirmation. This icon is rendered as a background image. Includes .AFConfirmationIconStyle:alias
af|message::icon-warning The default icon for messages that are of type warning. This icon is rendered as a background image. Includes .AFWarningIconStyle:alias
af|message::icon-error The default icon for messages that are of type error. This icon is rendered as a background image. Includes .AFErrorIconStyle:alias
af|message::icon-fatal The default icon for messages that are of type fatal. This icon is rendered as a background image. Includes .AFErrorIconStyle:alias
af|message::type The style for the messages "type" text. The "type" text appears next to the icon at the top of the message saying what level of message is present.
af|message::summary The style for the message summary.
af|message::detail The style for the message detail.
af|mesage::header The style for the message header. The message header contains the message icon and the message type text

BIDI and :rtl pseudo-class

You can add the :rtl pseudo-class to your selector when you want it to be rendered in right-to-left mode. This is most useful for non-symmetrical images. An example of the skinning key format is : af|panelAccordion::header-start:rtl

status pseudo-classes

You can add :hover and :active pseudo-class to your selector to change display style when mouse hovered and mouse pressed. There are also skinning keys for other status, such as disabled. If :active and :disabled are specified, make sure to specify :disabled:active to prevent disabled element from showing mouse down status when pressed by mouse. :disabled:active style should be the same as :disabled style. An example of the skinning key format is : af|inputDate::launch-icon-style:disabled:active.

Component-level Selectors

Component-level selectors are selectors that can be used to skin a particular ADF Faces component. The selectors defined below are specified by the component they affect. Let's say you want to skin the af:inputText component. If you go to the af:inputText Component section of this document, you will see the selectors that you can use to skin the af:inputText component. One of the selectors is af|inputText::content. The ::content pseudo-element indicates that this is the content portion of the af:inputText component; the input. To skin this you would set css properties on the af|inputText::content selector in your ADF Faces skin .css file.

af:breadCrumbs Component

Style Selectors
Name Description
af|breadCrumbs Styles the root dom element of the component.
af|breadCrumbs::access-key Style on the access key character of commandNavigationItem, when it is used inside a breadCrumbs. Includes .AFFormAccessKeyStyle:alias
af|breadCrumbs::icon-style Style on the icon of commandNavigationItem, when it is used inside a breadCrumbs.
af|breadCrumbs::separator Styles the separator icon.
af|breadCrumbs::step Styles the step. Available pseudo-classes are :selected and :disabled and pseudo-classes that are allowed in an a tag, like :hover. (e.g., af|breadCrumbs::step:selected)
Icon Selectors
Name Description
af|breadCrumbs::separator-icon This is the separator icon itself.
ADF Faces properties
Name Description
-tr-show-last-item Valid values are true or false. Determines whether the last item is displayed or not. e.g., af|breadCrumbs {-tr-show-last-item:false} will not show the last item in the breadCrumbs.

af:chooseColor Component

Style Selectors
Name Description
af|chooseColor Styles the root dom element of the component.
af|chooseColor::button Styles the standard color palette buttons.
af|chooseColor::button-swatch Styles the color swatch on standard color palette buttons. And :empty and :rtl are potential pseudo-classes for this class.
af|chooseColor::swatch Styles the margin and width/height of color swatch. And :empty is a potential pseudo-class for this class.
af|chooseColor::swatch-cell Styles the swatch cell on standard color palette; typically this would be the border properties. And :selected is a potential pseudo-class for this class.

af:chooseDate Component

Style Selectors
Name Description
af|chooseDate The selector on the root dom element of the component.
af|chooseDate::ampm-content The appearance of the AM/PM radio buttons within chooseDate. For example, this can be set to a different font-size.
af|chooseDate::days-row Styles the appearance of the dates within the calendar grid. Individual day types (previous or next month, selected, regular) can override the properties defined here. For example, this can be set to a uniform font-size for all the days.
af|chooseDate::month-list-content Styles the appearance of the dropdown month selector. For example, this can be set to a different font size
af|chooseDate::next-month-arrow Styles the next-month icon cell. You can put a background-image here. Available pseudo-classes are those that are allow on the html a tag, like :hover and :active.
af|chooseDate::prev-month-arrow Styles the previous-month icon cell. You can put a background-image here. Available pseudo-classes are those that are allow on the html a tag, like :hover and :active.
af|chooseDate::prev-month-day Styles the appearance of the table cell for dates in the previous or next month. For example, you can add background color or border to the cell. :selected pseudo-class available as well.
af|chooseDate::regular-day Styles the appearance of the table cell for dates in the current month. For example, you can add background color or border to the cell. :selected pseudo-class available as well.
af|chooseDate::spinbox-content The appearance of the spinboxes within chooseDate (year, hours, minutes, seconds). For example, this can be set to a different font-size.
af|chooseDate::timezone-list-content Styles the appearance for the dropdown timezone selector. For example, this can be set to a different font size
af|chooseDate::today Styles the appearance of the table cell for the current date (today). For example, you can add background color or border to the cell. :selected pseudo-class available as well.
af|chooseDate::week-header-row The appearance of the weekday headers of the calendar. For example, this can be set to a different font-size or background color.
Icon Selectors
Name Description
af|chooseDate::prev-month-arrow-icon The arrow for navigating to the previous month. Can be set to an image or a text string, e.g. "<". If setting to a text string, the background image in "af|chooseDate::prev-month-arrow" should be nulled out by setting '-tr-inhibit: background-image;'.
af|chooseDate::next-month-arrow-icon The arrow for navigating to the next month. Can be set to an image or a text string, e.g. ">". If setting to a text string, the background image in "af|chooseDate::prev-month-arrow" should be nulled out by setting '-tr-inhibit: background-image;'.

af:column Component

Style Selectors
Name Description
.AFTableCellHeaderText:alias Specifies the font family, font size and font-weight for table column and row header text. Includes .AFDefaultFont:alias.
.AFTableCellDataText:alias Specifies the font family, font size and font-weight for table column and row header text. Includes .AFDefaultFont:alias.
.AFTableCellPadding:alias Specifies the padding of the table cell. This must match the skin property -tr-padding-left-width, -tr-padding-right-width for the table.
.AFTableCellHeaderBorder:alias Specifies the borders of the table row header and column header cells. This must match the skin property -tr-border-left-width, -tr-border-right-width for the table.
.AFTableCellHeaderBackground:alias Specifies the background for table row header and column header cells.
.AFTableCellDataBackgroundColor:alias Specifies the background color for data cells.
.AFTableCellDataBandedBackgroundColor:alias Specifies the background color for banded data cells.
.AFTableCellDataBorder:alias Specifies the border for data cells.
.AFTableCellDataHGridBorder:alias Specifies the border for data cells when horizontal gridding is enabled.
.AFTableCellDataVGridBorder:alias Specifies the border for data cells when vertical gridding is enabled.
.AFTableCellDataVHGridBorder:alias Specifies the border for data cells when both horizontal and vertical gridding is enabled.
.AFTableCellFrozenBorder:alias Specifies the right edge border for column cells that are at frozen.
Icon Selectors
Name Description

af:commandButton Component

Style Selectors
Name Description
af|commandButton Style on the root element of the af:commandButton component. You can use any valid CSS-2.1 pseudo-class, like :hover, :active, :focus, as well as :disabled to style the button for different states.
af|commandButton::icon-style Style on the button icon, if icon on the button.
af|commandButton::access-key Style on the text of the button. This includes the .AFButtonAccessKeyStyle:alias style.

af:commandLink Component

Style Selectors
Name Description
af|commandLink Style on the root element of the af:commandLink component. This style includes the .AFLinkForeground:alias and .AFDefaultFont:alias styles. You can use any valid CSS-2.1 pseudo-class, like :hover, :active, :focus, :visited as well as :disabled to style the component for different states.
af|commandLink::access-key Styles the access key character for command links, default bold.

af:commandNavigationItem Component

Style Selectors
Name Description
af|commandNavigationItem Style on the root element of the af:commandNavigationItem component. You can use any valid CSS-2.1 pseudo-class, like :hover, :active, :focus, as well as :selected and :disabled to style the component for different states.
af|commandNavigationItem::icon-style Style for icon on NavigationItem, if specified.
af|commandNavigationItem::access-key Style on the text of the NavigationItem. This includes the .AFButtonAccessKeyStyle:alias style.

af:commandToolbarButton Component

Style Selectors
Name Description
af|commandToolbarButton Selector that renders on the root dom element of the component.

af:dialog Component

Style Selectors
Name Description
af|dialog Selector that renders on the root dom element of the component.

af:document Component

Style Selectors
Name Description
af|document Selector that renders on the root dom element of the component.

af:goButton Component

Style Selectors
Name Description
af|goButton Style on the root element of the af:goButton component. You can use any valid CSS-2.1 pseudo-class, like :hover, :active, :focus, as well as :disabled to style the component for different states.
af|goButton::icon-style Style on the button icon, if icon on the button.
af|goButton::access-key Style on the text of the button. This includes the .AFButtonAccessKeyStyle:alias style.

af:goLink Component

Style Selectors
Name Description
af|goLink Style on the root element of the af:goLink component. Available pseudo-classes are those that can go on an html A tag, like :hover, :active, :focus, :visited, as well as :disabled. This style includes the .AFLinkForeground:alias and .AFDefaultFont:alias styles.
af|goLink::access-key Styles the access key character for go links, default bold.

af:group Component

Style Selectors
Name Description
n/a This component generates no elements on the page and thus is not skinnable.

af:inlineFrame Component

Style Selectors
Name Description
af|inlineFrame Selector that renders on the root dom element of the component.

af:inputColor Component

Style Selectors
Name Description
af|inputColor Style on the root element of the component. Available pseudo-classes are :disabled, :read-only, :error, :fatal, :warning, :info, and :confirmation. For example, you can style the content when the component is readOnly by using this selector: "af|inputColor:read-only::content"
af|inputColor::access-key Style on the access key character for inputColor. Includes .AFFormAccessKeyStyle:alias
af|inputColor::content Style on the content of the component. You can set the width of the content piece and border colors.
af|inputColor::swatch-container Style the container element that holds both the swatch and the glyth of the component.
af|inputColor::launch-icon-style Style the clickable icon of the component. Available pseudo-class is hover.
af|inputColor::launch-icon The button icon which is used to launch the secondary color picker dialog. Note: This af|selectInputColor's color swatch is now used to launch the secondary dialog on most browsers. The af|selectInputColor::launch-icon icon is only displayed on browsers which do not display the color swatch, such as Netscape 4.x.

af:inputDate Component

Style Selectors
Name Description
af|inputDate Style on the root element of the component. Available pseudo-classes are :disabled, :read-only, :error, :fatal, :warning, :info, and :confirmation. For example, you can style the content when the component is disabled by using this selector: "af|inputDate:disabled::content"
af|inputDate::access-key Style on the access key character for inputDate. Includes .AFFormAccessKeyStyle:alias
af|inputDate::content Style on the content of the component. You can set the width of the content piece and border colors.
af|inputDate::timezone Style on the timezone that appears beside the input field. You can hide the entire timezone string by setting 'display:none'.
af|inputDate::launch-icon-style Style of the clickable launch icon. Available pseudo-classes are :disabled, :hover and :active. For example, you can style the icon when the component is disabled by using this selector: "af|inputDate::launch-icon-style:disabled".
Icon Selectors
Name Description
af|inputDate::launch-icon The button icon which is used to launch the secondary date picker dialog. For example, you can replace the glyph with a text icon.
af|inputDate::launch-icon-style Style of the clickable launch icon. Available pseudo-classes are disabled, hover and active. For example, you can replace the background image with another image - if so, you may need to modify the 'font-height' and 'padding-right' attributes to ensure there is enough height and width respectively for the image to show up. You can also style the icon when the component is disabled by using this selector: "af|inputDate::launch-icon-style:disabled".

af:inputFile Component

Style Selectors
Name Description
af|inputFile Style on the root element of the af:inputFile component. Available pseudo-classes are :disabled, :read-only, :error, :fatal, :warning, :info, and :confirmation.
af|inputFile::access-key Style on the access key for the label of the af:inputFile component. For example, underline the access key. Includes .AFFormAccessKeyStyle:alias.
af|inputFile::content Style on the content of the af:inputFile component.
af|inputFile::label Style on the label of the af:inputFile component. This includes .AFLabel:alias style selector.

af:inputNumberSpinbox Component

Style Selectors
Name Description
af|inputNumberSpinbox Style on the root element of the component. Available pseudo-classes are :disabled, :read-only, :error, :fatal, :warning, :info, and :confirmation. For example, you can style the content when the component is readOnly by using this selector: "af|inputNumberSpinbox:read-only::content"
af|inputNumberSpinbox::access-key Style on the access key for the label of the af:inputNumberSpinbox component. For example, underline the access key. Includes .AFFormAccessKeyStyle:alias.
af|inputNumberSpinbox::content Style on the content of the component. Common properties are height and border colors.
af|inputNumberSpinbox::incrementor-icon-style This key uses background-image to set the increment image. If you want to use text instead of a background-image, you can use af|inputNumberSpinbox::incrementor-icon {content:"Text"}. There is a :disabled pseudo-class available.
af|inputNumberSpinbox::decrementor-icon-style This key uses background-image to set the decrement image. If you want to use text instead of a background-image, you can use af|inputNumberSpinbox::decrementor-icon {content:"Text"}. There is a :disabled pseudo-class available.
af|inputNumberSpinbox::spinbox-cell This key styles the cell for the decrementor/incrementor icons. Available pseudo-classes are :disabled, :hover and :active. For example, you can style the icon when the component is disabled by using this selector: "af|inputNumberSpinbox:disabled::spinbox-cell".

af:inputText Component

Style Selectors
Name Description
af|inputText Style on the root element of the af:inputText component. Available pseudo-classes are :disabled, :read-only, :error, :fatal, :warning, :info, and :confirmation. For example, you can style the label when the component is disabled by using this selector: "af|inputText:disabled::label"
af|inputText::access-key Style on the access key for the label of the af:inputText component. For example, underline the access key. Includes .AFFormAccessKeyStyle:alias.
af|inputText::content Style on the content of the af:inputText component. You can set the width of the content piece that will be used when the columns attribute on af:inputText is not set.
af|inputText::label Style on the label of the af:inputText component. This includes .AFLabel:alias style selector.
To style the input piece of inputText without creating a skin definition, you can set the following public style classes on the styleClass attribute. The 'Marker' style classes are rendered on the root dom element, they have no style properties of its own, and they map the content piece of the component's styling to the public style class without the 'Marker'. For example, we map AFFieldTextMarker to AFFieldText by defining this skin definition for you in our base skin: af|inputText.AFFieldTextMarker af|inputText::content {-tr-rule-ref: selector(".AFFieldText")}. If you set styleClass="AFFieldText", the entire component will be affected, including the label. If you want to affect only the 'content' piece, use one of these marker style classes AFFieldTextMarker, AFFieldTextLTRMarker, AFPhoneFieldTextMarker, AFPostalCodeFieldTextMarker, AFAddressFieldTextMarker, AFFieldNumberMarker

af:menu Component

Style Selectors
Name Description
af|menu Selector that renders on the root dom element of the component.

af:menuBar Component

Style Selectors
Name Description
af|menuBar Selector that renders on the root dom element of the component.

af:navigationPane Component

Style Selectors
Name Description
af|navigationPane Styles the root dom element of the component.
af|navigationPane-bar::access-key Style on the access key character of commandNavigationItem, when it is used inside a navigationPane with hint 'bar'. Includes .AFFormAccessKeyStyle:alias
af|navigationPane-buttons::access-key Style on the access key character of commandNavigationItem, when it is used inside a navigationPane with hint 'buttons'. Includes .AFFormAccessKeyStyle:alias
af|navigationPane-choice::access-key Style on the access key character of commandNavigationItem, when it is used inside a navigationPane with hint 'choice'. Includes .AFFormAccessKeyStyle:alias
af|navigationPane-list::access-key Style on the access key character of commandNavigationItem, when it is used inside a navigationPane with hint 'list'. Includes .AFFormAccessKeyStyle:alias
af|navigationPane-tabs::access-key Style on the access key character of commandNavigationItem, when it is used inside a navigationPane with hint 'tabs'. Includes .AFFormAccessKeyStyle:alias
af|navigationPane-bar::icon-style Style on the icon of commandNavigationItem, when it is used inside a navigationPane with hint 'bar'
af|navigationPane-buttons::icon-style Style on the icon of commandNavigationItem, when it is used inside a navigationPane with hint 'buttons'
af|navigationPane-choice::icon-style Style on the icon of commandNavigationItem, when it is used inside a navigationPane with hint 'choice'
af|navigationPane-list::icon-style Style on the icon of commandNavigationItem, when it is used inside a navigationPane with hint 'list'
af|navigationPane-tabs::icon-style Style on the icon of commandNavigationItem, when it is used inside a navigationPane with hint 'tabs'

af:outputLabel Component

Style Selectors
Name Description
af|outputLabel Styles the root dom element of the component.
af|outputLabel::access-key Style on the access key character for the output label. Includes .AFFormAccessKeyStyle:alias.

af:pageTemplate Component

Style Selectors
Name Description
af|pageTemplate Selector that renders on the root dom element of the component.

af:panelAccordion Component

Style Selectors
Name Description
af|panelAccordion Selector that renders on the root dom element of the component.

af:panelBorderLayout Component

Style Selectors
Name Description
af|panelBorderLayout Selector that renders on the root dom element of the component.

af:panelBox

Style Selectors
Name Description

af:panelCollection Component

Style Selectors
Name Description
af|panelCollection The selector on the root dom element of this component. The root style contains -tr-toolbar-height and -tr-statusbar-height skin properties to specify the heights of toolbar and statusbar facets when present.
Icon Selectors
Name Description
af|panelCollection::qbe-icon Toolbar Icon for hiding/showing filter row in the table.
af|panelCollection::freeze-icon Toolbar Icon for freezing a column in the table.
af|panelCollection::maximize-icon Toolbar Icon for maximizing the table.
af|panelCollection::wrap-icon Toolbar Icon for wrapping a column in the table.
af|panelCollection::go-up-icon Toolbar Icon for moving up a node in display as root for tree/treeTable.
af|panelCollection::go-to-top-icon Toolbar Icon for showing the root node of the model as root for tree/treeTable.
af|panelCollection::show-as-top-icon Toolbar Icon for showing the currently selected node as root for tree/treeTable.

af:panelFormLayout Component

Style Selectors
Name Description
af|panelFormLayout The selector on the root dom element of this component.
af|panelFormLayout::column Specifies the style information for columns of the panelFormLayout, like vertical-align:top and text-align.
af|panelForm::separator Specifies the style information for separators between groups in the panelFormLayout
af|panelForm::cell Specifies the style information for each cell of the panelFormLayout.
af|panelForm::label-cell Specifies the style information for the label cell of the panelFormLayout when side-by-side with content. This includes .AFLabel:alias.
af|panelFormLayout::label-stacked-cell Specifies the style information for the label cell of the panelFormLayout when stacked above content. This includes af|panelForm::label-cell.

af:panelGroupLayout Component

Style Selectors
Name Description
af|panelGroupLayout Selector that renders on the root dom element of the component.

af:panelHeader Component

Style Selectors
Name Description
af|panelHeader Selector that renders on the root dom element of the component.
af|panelHeader::dynamic-help-icon-style Style the dynamic help icon. By default the dynamic-help-icon is null, and this style has a background-image that you can override. Available pseudo-classes are :hover and :active.
Icon Selectors
Name Description
af|panelHeader::dynamic-help-icon Dynamic help icon. You can use af|panelHeader::dynamic-help-icon-style instead. Available pseudo-class is :hover.

af:panelLabelAndMessage Component

Style Selectors
Name Description
af|panelLabelAndMessage::access-key Define the style on the access key for the label.

af:panelList Component

Style Selectors
Name Description
af|panelList Styles the root dom element of the panelList. Note: if you would like to style the bullets, you can set a css property/value to the listStyle attribute. For example, listStyle='list-style-type: decimal' changes the list style to decimals. See the w3.org's css spec for more options.

af:panelSplitter Component

Style Selectors
Name Description
af|panelSplitter Selector that renders on the root dom element of the component.

af:panelTabbed Component

Style Selectors
Name Description
af|panelTabbed Selector that renders on the root dom element of the component.

af:panelWindow Component

Style Selectors
Name Description
af|panelWindow Selector that renders on the root dom element of the component.

af:popup Component

Style Selectors
Name Description
af|popup Selector that renders on the root dom element of the component.

af:progressIndicator Component

Style Selectors
Name Description
af|progressIndicator Style on the root element of the af:progressIndicator component.
af|progressIndicator::indeterminate Style on the indeterminate model of the af:progressIndicator component. Available pseudo-class are :running and :finished. The indicator image is specified as a background-image in this key.
af|progressIndicator::determinate Style on the determinate model of the af:progressIndicator component. This defines the width and height of the progress bar.
af|progressIndicator::determinate-start-label Style on the label which indicates start percentage of the af:progressIndicator component.This includes .AFTextForeground:alias, .AFDefaultFont:alias and AFEndTextAlign:alias style selectors.
af|progressIndicator::determinate-end-label Style on the label which indicates end percentage of the af:progressIndicator component.This includes .AFTextForeground:alias, .AFDefaultFont:alias and AFEndTextAlign:alias style selectors.
af|progressIndicator::determinate-filled-icon-style Style on the determinate model indicator for percentage completion of the af:progressIndicator component.The indicator image is specified as a background-image in this key. This also defines width and height of the image. This image is repeated in the prgress bar according to the percentage completion and will occupy the percentage width of the total width as defined in the af|progressIndicator::determinate key.
af|progressIndicator::determinate-empty-icon-style Style on the determinate model indicator for remaining percentage completion of the af:progressIndicator component. The indicator image is specified as a background-image in this key. This also defines width and height of the image. This image is repeated in the prgress bar according to the remaining percentage completion and will occupy the remaining percentage width of the total width as defined in the af|progressIndicator::determinate key.
ADF Faces properties
Name Description
-tr-percent-block-increment Determines the percent block increment in determinate model. Valid value can be a integer >0 and <100. For e.g., af|progressIndicator {-tr-percent-block-increment: 5} will show the progress bar with block increment as 5.

af:query Component

Style Selectors
Name Description
af|query Style on the root element of the af:query component.
af|query::footer-content Style on the footer facet of the af:query component.
af|query::disclose-icon Style on the disclosure icon of af:query component.

af:queryCriteria Component

Style Selectors
Name Description
af|queryCriteria Style on the root element of the af|queryCriteria component.
af|queryCriteria::column Specifies the style information for columns of the queryCriteria, like vertical-align:top and text-align.
af|queryCriteriaItem Style on the item of the queryCriteria, which contains label and query content in it.
af|queryCriteriaItem::label Style on the label of the queryCriteria's item
af|queryCriteriaItem::content Style on the content of the queryCriteria's item, which contains operator and value inside.
af|queryCriteria::delete-icon-cell Style on the delete icon cell of af:queryCriteria component. This includes .AFEndPadding:alias style selector.
af|queryCriteria::delete-icon-style Style on the delete icon of the af:quickQuery component. The delete icon is specified as a background-image in this key.

af:quickQuery Component

Style Selectors
Name Description
af|quickQuery Style on the root element of the af:quickQuery component. Available pseudo-class is :vertical. Use the :vertical pseudo-class in the skin key when you want to style the component with vertical layout.For example, you can style the label in vertical mode like this: 'af|quickQuery:vertical::label'.
af|quickQuery::label Style on the label of the af:quickQuery component. This includes .AFLabel:alias style selector.
af|quickQuery::criteria-items Style on the criterion items facet of the af:quickQuery component.
af|quickQuery::value Style on the criterion value facet of the af:quickQuery component.
af|quickQuery::end Style on the end facet of the af:quickQuery component.
af|quickQuery::search-icon-cell Style on the search icon cell of af:quickQuery component. This includes .AFEndPadding:alias style selector.
af|quickQuery::search-icon-style Style on the clickable search icon of the af:quickQuery component. The search icon is specified as a background-image in this key. The width and height of the icon will be provided in this key.Available pseudo-classes are :hover and :active. For example, you can style the icon when the component is active by using this selector: "af|quickQuery::search-icon-style:active".

af:region Component

Style Selectors
Name Description
af|region Selector that renders on the root dom element of the component.

af:resetButton Component

Style Selectors
Name Description
af|resetButton Style on the root element of the af:resetButton component. You can use any valid CSS-2.1 pseudo-class, like :hover, :active, :focus, as well as :disabled to style the button for different states.
af|resetButton::access-key Style on the text of the button. This includes the .AFButtonAccessKeyStyle:alias style.

af:selectBooleanCheckbox Component

Style Selectors
Name Description
af|selectBooleanCheckbox Style on the root element of the af:selectBooleanCheckbox component. Available