|
|
 |
Oracle ADF Faces - Selectors for Skinning ADF Faces subsections
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 */
.AFDarkForeground:alias {color:#035D5C;}
.AFDarkBackground:alias {background-color:Purple;}
/* Selectors to customize buttons. These are global selectors, too, since they affect all buttons. */
.AFButtonServerText:alias {background-color:#CECFCE; color:#25009E}
.AFButtonServerTextDisabled:alias {background-color:#F0F0F0; color:gray;-ora-text-antialias:true}
.AFButtonStartIcon:alias {content:url(/skins/purple/images/btns.gif); width:7px; height:18px}
.AFButtonStartIcon:alias:rtl {content:url(/skins/purple/images/btne.gif); width:7px; height:18px}
/* Component-specific selector. */
af|showOneTab::orientation-top
{
border-bottom: 3px solid black;
}
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.
Global Style Selectors
|
Selector Name
|
Description
|
|
.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
|
A bold version of the default font.
|
|
.AFVerySmallFont:alias
|
A very small version of the default font. This style is used for
very small text such as inline messages, and copyright and
privacy messages.
|
|
.AFSmallFont:alias
|
A small version of the default font. This style is used for text
which is slightly smaller than the default, such as af:menuPath
links.
|
|
.AFMediumFont:alias
|
A version of the default font which is slightly larger than the
default size. This is used for medium sized text, such as level
2 headers.
|
|
.AFLargeFont:alias
|
A large version of the default font. This is used for large
text, such as level 1 headers.
|
|
.AFVeryLargeFont:alias
|
A very large version of the default font.
|
|
.AFDarkBackground:alias
|
The primary background color in the core color ramp.
|
|
.AFVeryDarkBackground:alias
|
The darkest background color in the core color ramp. This value
is computed relative to the .AFDarkBackground:alias color.
|
|
.AFMediumBackground:alias
|
A slightly lighter background color in the core color ramp. This
value is computed relative to the .AFDarkBackground:alias color.
|
|
.AFLightBackground:alias
|
The lightest background color in the core color ramp. This value
is computed relative to the .AFDarkBackground:alias color.
|
|
.AFDarkAccentBackground:alias
|
The primary background color in the accent color ramp. The other
accent background colors are computed relative to this one. So
changing this style properties will affect those styles.
|
|
.AFVeryDarkAccentBackground:alias
|
The darkest background color in the accent color ramp. This
value is computed relative to the .AFDarkAccentBackground:alias
color.
|
|
.AFMediumAccentBackground:alias
|
A slightly lighter background color in the accent color ramp.
This value is computed relative to the
.AFDarkAccentBackground:alias color. Used in
.AFPanelBoxMediumBackground:alias.
|
|
.AFLightAccentBackground:alias
|
The lightest background color in the accent color ramp. This
value is computed relative to the
.AFDarkAccentBackground:alias
color. This is used in af|messages::body, .AFButtonServerText,
and .AFButtonServerTextDisabled.
|
|
.AFTextBackground:alias
|
The default text background color (white).
|
|
.AFDarkForeground:alias
|
The primary foreground color in the core color ramp.
|
|
.AFVeryDarkForeground:alias
|
The darkest foreground color in the core color ramp. This value
is computed relative to the .AFDarkForeground:alias color.
|
|
.AFMediumForeground:alias
|
A slightly lighter foreground color in the core color ramp. This
value is computed relative to the .AFDarkForeground:alias color.
|
|
.AFLightForeground:alias
|
The lightest foreground color in the core color ramp. This value
is computed relative to the .AFDarkForeground:alias color.
|
|
.AFDarkAccentForeground:alias
|
The primary foreground color in the accent color ramp.
|
|
.AFVeryDarkAccentForeground:alias
|
The darkest foreground color in the accent color ramp. This
value is computed relative to the .AFDarkAccentForeground:alias
color.
|
|
.AFMediumAccentForeground:alias
|
A slightly lighter foreground color in the accent color ramp.
This value is computed relative to the
.AFDarkAccentForeground:alias color.
|
|
.AFLightAccentForeground:alias
|
The lightest foreground
color in the accent color ramp. This
value is computed relative to the .AFDarkAccentForeground:alias
color.
|
|
.AFDarkBorder:alias
|
The primary border color in the core color ramp. By default, it
uses the same color as is used in .AFDarkBackground:alias's
background-color.
|
|
.AFVeryDarkBorder:alias
|
The darkest border color in the core color ramp. By default, it
uses the same color as is used in .AFVeryDarkBackground:alias's
background-color.
|
|
.AFMediumBorder:alias
|
A slightly lighter border color in the core color ramp. By
default, it uses the same color as is used in
.AFMediumBackground:alias's background-color.
|
|
.AFLightBorder:alias
|
The lightest border color in the core color ramp. By default, it
uses the same color as is used in .AFLightBackground:alias's
background-color.
|
|
.AFDarkAccentBorder:alias
|
The primary border color in the accent color ramp. By default,
it uses the same color as is used in
.AFDarkAccentBackground:alias's background-color.
|
|
.AFVeryDarkAccentBorder:alias
|
The darkest border color in the accent color ramp. By default,
it uses the same color as is used in
.AFVeryDarkAccentBackground:alias's background-color.
|
|
.AFMediumAccentBorder:alias
|
A slightly lighter border color in the accent color ramp. By
default, it uses the same c
olor as is used in
.AFMediumAccentBackground:alias's background-color.
|
|
.AFLightAccentBorder:alias
|
The lightest border color in the accent color ramp. By default,
it uses the same color as is used in
.AFLightAccentBackground:alias's background-color.
|
|
.AFTextForeground:alias
|
The default text foreground color (black).
|
|
.AFSelectedTextForeground:alias
|
The foreground color for selected/highlighted text, or text
which is drawn on a dark background. Currently this is not
included in other styles; you may include it in styles you skin.
|
|
.AFErrorTextForeground:alias
|
The foreground color for error text (red). This is included in
error styles, like af|panelHeader::error and af|messages::error
and .AFErrorIconStyle.
|
|
.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.
|
|
.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.
|
|
.AFFieldText
|
Style class for text displayed in af:select* components and in
inputText. Also can be used as a value for the styleClass attribute
in outputFormatted and outputText.
|
|
.AFFieldTextDisabled
|
Style class for text displayed in disabled af:select* components
and in inputText. Also can be used as a value for the styleClass attribute
in outputFormatted and outputText.
|
|
.AFLabelText
|
Style class for text displayed in prompts.This is used in
select* components and panelLabelAndMessage.
Also can be used as a value for the styleClass attribute
in outputFormatted and outputText.
|
|
.AFLabelCell
|
Style class for cell in which the prompt is displayed. A common
style property to set is text-align. This is used in select*
components and panelLabelAndMessage.
Also can be used as a value for the styleClass attribute
in outputFormatted and outputText.
|
|
.AFErrorIconStyle
|
Style class that styles the .AFErrorIcon:alias icons.
|
|
.AFWarningIconStyle
|
Style class that styles the .AFWarningIcon:alias icons.
|
|
.AFInfoIconStyle
|
Style class that styles the .AFInfoIcon:alias icons.
|
|
.AFRequiredIconStyle
|
Style class that styles the .AFRequiredIcon icon.
|
|
.AFLinkForeground:alias
|
The default foreground color for inactive, unvisited 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.
|
|
.AFDisabledLinkForeground:alias
|
The default foreground color for disabled links.
By default, this value is computed relative to the
.AFLinkForeground:alias color.
|
Global Icon Selectors
|
Name
|
Description
|
|
.AFErrorIcon:alias
|
This icon is used by the form components (eg.
selectInputText, selectBooleanCheckbox, outputLabel, etc...) to indicate that
an error has occurred.
|
|
.AFErrorAnchorIcon:alias
|
This icon is a version of the error icon that is
displayed when the icon is used as a link to additional
information about the error. For example, when outputLabel's messageType is error,
and the messageDescUrl is not null, an clickable error icon is rendered.
|
|
.AFInfoIcon:alias
|
This icon is used by
the form components (eg.
selectInputText, selectBooleanCheckbox, outputLabel, etc...) to indicate that an
informational message is being displayed to the user.
|
|
.AFInfoAnchorIcon:alias
|
This icon is a version of the info icon that is
displayed when the icon is used as a link to additional information.
|
|
.AFRequiredIcon:alias
|
This icon is used by the form components (eg.
selectInputText, selectBooleanCheckbox, outputLabel, etc...) to indicate that a
value is required.
|
|
.AFWarningIcon:alias
|
This icon is used by the form components (eg.
selectInputText, selectBooleanCheckbox, etc...) to indicate that an
warning message is being displayed to the user.
|
|
.AFWarningAnchorIcon:alias
|
This icon is a version of the warning icon that is
displayed when the icon is used as a link to additional information
about the warning.
|
|
.AFQuickSelectIcon
|
This icon depects a QuickSelect. This is used in LOV tables where a click on a button will act as a shortcut for a select/OK sequence.
|
Button Selectors
We do not support component-level selectors for buttons. For example,
you cannot customize a goButton differently from a commandButton. You can
customize buttons in general, and following is the description in how to do that.
Skinning supports two very different button
implementations. By default, standard browser buttons are used.
However, the skinn
ing also supports dynamic generation of
image-based buttons. In order to enable image-based buttons, the
following four button icon must be specified:
-
.AFButtonStartIcon:alias
-
.AFButtonEndIcon:alias
-
.AFButtonTopBackgroundIcon:alias
-
.AFButtonBottomBackgroundIcon:alias
When these four icons are
specified, ADF Faces combines the images specified by these icons into a
single button image. (Note: These icons must be specified using either
context-image or resource-image icons. Text-based icons are not
allowed.)
|
Style Selectors
|
|
Name
|
Description
|
|
.AFButtonServerText:alias
|
This style is used to provide the foreground color, background
color, and font information for server-side generated buttons.
You can set attributes background-color, color, -ora-text-antialias, font-size,
font-family.
|
|
.AFButtonServerTextDisabled:alias
|
This style is used to provide the foreground color, background
color, and font information for server-side generated disabled
buttons. You can attributes background-color, color, -ora-text-antialias, font-size,
font-family.
|
|
BUTTON
|
The BUTTON selector is used to apply styles to browser-based buttons.
|
|
Icon Selectors
|
|
Name
|
Description
|
|
.AFButtonStartIcon:alias
|
This icon is rendered at the starting side of the button. That is,
this image appears on the left side of the button when the reading
direction is right-to-left, and the right side of the button when
the reading direction is left-to-right.
|
|
.AFButtonEndIcon:alias
|
This icon is rendered at the ending side of the button. That is,
this image appears on the right side of the button when the reading
direction is right-to-left, and the left side of the button when the
reading direction is left-to-right.
|
|
.AFButtonTopBackgroundIcon:alias
|
This image is tiled horizontally along the top of the button,
providing the button's top border.
|
|
.AFButtonBottomBackgroundIcon:alias
|
This image is tiled horizontally along the bottom of the button,
providing the button's bottom border.
|
|
.AFButtonDisabledStartIcon:alias
|
This icon is rendered at the starting side of disabled buttons. If
this icon is not specified, the buttonStart icon will be used
instead.
|
|
.AFButtonDisabledEndIcon:alias
|
This icon is rendered at the ending side of disabled button. If this
icon is not specified, the buttonEnd icon will be used instead.
|
|
.AFButtonDisabledTopBackgroundIcon:alias
|
This icon is tiled horizontally along the top of disabled buttons.
If
this icon is not specified, the buttonTopBackground icon will be
used instead.
|
|
.AFButtonDisabledBottomBackgroundIcon:alias
|
This icon is tiled horizontally along the bottom of the disabled
buttons. If this icon is not specified, the buttonBottomBackground
icon will be used instead.
|
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:chooseDate component. If you go to the af:chooseDate Component
section of this document, you will see the selectors that you can use to skin the af:chooseDate
component. One of the selectors is af|chooseDate::title. The ::title pseudo-element indicates that this
is the title portion of the af:chooseDate component. If you want to skin the
title of the af:chooseDate component, you would
set css properties on the af|chooseDate::title selector in your ADF Faces
skin .css file.
You may see selector names that end in :alias in the component-level
section. These are meant to provide short-cuts to skin more than one
component that share a certain style or icon, or to skin more than one
piece of a component. For example, the .AFMenuBarItem:alias style defines
skin properties that are shared by all af:menuBar items. This is included by the
af|menuBar::enabled and af|menuBar::selected style classes.
Therefore, if you change the .AFMenuBarItem:alias style, you
will affect the af|menuBar::enabled and af|menuBar::selected style selectors.
af:chooseDate Component
|
Style Selectors
|
|
Name
|
Description
|
|
af|chooseDate::nav-link
|
Styles the chooseDate's navigation Previous Month and Next Month links.
|
|
af|chooseDate::title
|
Styles the chooseDate title which is month/year choice lists.
|
|
af|chooseDate::header
|
Styles the chooseDate header which is the days of week row..
|
|
af|chooseDate::content
|
Styles the chooseDate content.
|
|
af|chooseDate::selected
|
Styles the selected date.
|
|
af|chooseDate::disabled
|
Styles the disabled dates.
|
af:column Component
|
Style Selectors
|
|
Name
|
Description
|
|
af|column::cell-text
|
Styles the text cells.
|
|
af|column::cell-text-band
|
Styles the banded text cells.
|
|
af|column::cell-number
|
Styles the numeric cells.
|
|
af|column::cell-number-band
|
Styles the banded numeric cells.
|
|
af|column::cell-icon-format
|
Styles the icon cells.
|
|
af|column::cell-icon-format-band
|
Styles the banded icon cells.
|
|
af|column::header-text
|
Styles the column headers.
|
|
af|column::header-number
|
Styles the numeric column headers.
|
|
af|column::header-icon-format
|
Styles the icon column headers.
|
|
af|column::row-header-text
|
Styles the row headers.
|
|
af|column::total-text
|
Styles the text total row cells.
|
|
af|column::total-number
|
Styles the numeric total row cells.
|
|
af|column::sortable-header-text
|
Styles the sortable column headers.
|
|
af|column::sortable-header-number
|
Styles the numeric sortable column headers.
|
|
af|column::sortable-header-icon-format
|
Styles the icon sortable column headers.
|
|
.AFTableCellDataText:alias
|
Specifies the font family, font size and color for table data
text. This is included in the af|column::cell* selectors.
|
|
.AFTableCellDataBackgroundColor:alias
|
Specifies the background color for data cells.
This is included in the af|column::cell* and af|table::control-bar* selectors.
|
|
.AFTableCellDataBandedBackgroundColor:alias
|
Specifies the background color for banded data cells.
This is included in the af|column::cell*band selectors.
|
|
.AFTableCellDataBorderColor:alias
|
Specifies the border color for data cells.
This is included in the af|column::cell* and af|table::control-bar* selectors.
|
|
.AFTableCellDataVerticalAlign:alias
|
Specifies the vertical alignment for data cells.
This is included in the af|column::cell* selectors.
|
|
Icon Selectors
|
|
Name
|
Description
|
|
af|column::sort-ascend-icon
|
This icon is used to indicate that the column is sorted in
ascending order.
|
|
af|column::sort-descend-icon
|
This icon is used to indicate that the column is sorted in
descending order.
|
|
af|column::unsorted-icon
|
This icon is used to indicate that the column is unsorted. Used
in the oracle.adf.pda renderKit only.
|
af:menuBar Component
The af:menuBar is implemented using an inner table nested within an
outer table. The outer table contains cells for the
a
f|menuBar::start-icon and af|menuBar::end-icon icons, as well as a
cell for the nested inner table. The inner table contains the actual
contents of the menuBar - which includes the af:menuBar items if any
items exist, or possibly the af:menuBar title if no items are
specified.
Style properties can be applied to either the outer table or the
inner table, depending on how the styles are meant to be used. The
af|menuBar style can be used to apply styles to the entire menuBar -
including the af|menuBar::start-icon/af|menuBar::end-icon icons.
Note, however, that if these icons are transparent, then setting the
background color or borders on the af|menuBar style class itself is
probably not desirable, since the background color will show through
any transparent pixels in the icons.
Three other styles can be used to apply styles to the inner contents
of the af:menuBar (not including the af|menuBar::start-icon and
af|menuBar::end-icon icons). If the af:menuBar contains any items,
the af|menuBar::body style class is used to style the inner table
which contains the items. This is a good choice for specifying a
background color for the af:menuBar, since this background color is
not applied to the af:menuBar's outer icons. If no af:menuBar items
are present, but the af:menuBar's text attribute is specified, the
af|menuBar::title style class is rendered on the inner table instead
of af|menuBar::body. If no children are present and there is no
title, the af|menuBar::empty title is used.
|
Style Selectors
|
|
Name
|
Description
|
|
af|menuBar
|
Styles the menuBar container itself.
|
|
af|menuBar::body
|
Styles the menuBar's inner table when the menuBar contains child
items.
|
|
af|menuBar::title
|
Styles the menuBar's inner table when the menuBar does not
contain any child items but does have its text attribute set.
|
|
af|menuBar::empty
|
Styles empty menuBars - that is, menuBars which do not have any
children or a title.
|
|
af|menuBar::enabled
|
Styles enabled items in the menuBar.
|
|
af|menuBar::selected
|
Styles selected items in the menuBar.
|
|
af|menuBar::separator
|
Styles the menuBar separator items.
|
|
af|menuBar::enabled-link
|
Styles enabled links in the menuBar.
|
|
af|menuBar::selected-link
|
Styles selected links in the menuBar.
|
|
.AFMenuBarItem:alias
|
The .AFMenuBarItem:alias style defines style properties that are
shared by all menuBar items. This is included by the
af|menuBar::enabled and af|menuBar::selected style classes.
Therefore, if you change the .AFMenuBarItem:alias style, you
will affect af|menuBar::enabled and af|menuBar::selected.
|
|
Icon Selectors
|
|
Name
|
Description
|
|
af|menuBar::start-icon
|
This icon is rendered at the start of the af|menuBar.
|
|
af|menuBar::end-icon
|
This icon is rendered at the end of the af|menuBar.
|
|
af|menuBar::leading-separator-icon
|
This icon is rendered before the first item in the af|menuBar.
|
|
af|menuBar::trailing-separator-icon
|
This icon is rendered after the last item in the af|menuBar.
|
|
af|menuBar::background-icon
|
This icon is rendered as the background of the af|menuBar.
|
|
af|menuBar::separator-icon
|
This icon is rendered between items.
|
af:menuButtons Component
|
Style Selectors
|
|
Name
|
Description
|
|
af|menuButtons::text
|
Styles the enabled menu buttons text.
|
|
af|menuButtons::text-selected
|
Styles the selected menu buttons text.
|
|
af|menuButtons::text-disabled
|
Styles the disabled menu buttons text.
|
|
.AFMenuButtons:alias
|
The .AFMenuButtons:alias style defines style properties that are
shared by all menuButtons selec
tors: af|menuButtons::text,
af|menuButtons::text-selected, and af|menuButtons::text-disabled.
|
|
Icon Selectors
|
|
Name
|
Description
|
|
af|menuButtons::separator-icon
|
The separator icon that is rendered between af:menuButtons. This
is typically a text icon, like |.
|
af:menuList Component
|
Style Selectors
|
|
Name
|
Description
|
|
af|menuList
|
Styles the menuList.
|
|
af|menuList::selected
|
Styles the selected menuList.
|
af:menuPath Component
|
Style Selectors
|
|
Name
|
Description
|
|
af|menuPath
|
Styles the af:menuPath content.
|
|
af|menuPath::selected-step
|
Styles the selected step of af:menuPath. This step may be hidden
if the -ora-show-last-item property is set to false.
|
|
af|menuPath::step
|
Styles the af:menuPath steps.
|
|
.AFPath:alias
|
The .AFPath:alias style defines style properties that are shared
by both af|menuPath and af|treeTable::path.
|
|
.AFPathStep:alias
|
The .AFPathStep:alias style defines style properties that are
shared by both af|menuPath::step and af|treeTable::path-step
|
|
.AFPathSelectedStep:alias
|
The .AFPathSelectedStep:alias style defines style properties
that are shared by both af|menuPath::selected-step and
af|treeTable::path-selected-step
|
|
Icon Selectors
|
|
Name
|
Description
|
|
af|menuPath::separator-icon
|
The separator icon that is rendered between af:menuPath links.
This is typically a text icon, like '
>
'.
|
|
.AFPathSeparatorIcon:alias
|
Changing this icon changes both af|menuPath::separator-icon and
af|treeTable::separator-icon. This makes it easier to keep the
icons between the two consistent.
|
|
ADF Faces properties
|
|
Name
|
Description
|
|
-ora-show-last-item
|
Valid values are true or false. Determines whether the last item
is displayed or not. e.g., af|menuPath
{-ora-show-last-item:false} will not show the last item in the
menuPath.
|
af:menuTabs Component
|
Style Selectors
|
|
Name
|
Description
|
|
af|menuTabs
|
Styles the af:menuTabs container.
|
|
af|menuTabs::enabled
|
Styles the enabled items.
|
|
af|menuTabs::selected
|
Styles the selected item.
|
|
af|menuTabs::disabled
|
Styles the disabled item.
|
|
af|menuTabs::enabled-link
|
Styles link-specific styles to enabled links.
|
|
af|menuTabs::selected-link
|
Styles link-specific styles to selected links.
|
|
.AFTabBarItem:alias
|
The .AFTabBarItem:alias style defines style properties that are
shared by all menuTabs items. This alias style is included by
the af|menuTabs::enabled, af|menuTabs::selected and
af|menuTabs::disabled style classes.
|
|
.AFTabBarLink:alias
|
The .AFTabBarLink:alias style defines style properties that are
shared by all links within the tabBar. This alias style is
included by the "af|menuTabs::enabled-link" and
"af|menuTabs::selected-link" selectors.
|
|
Icon Selectors
|
|
Name
|
Description
|
|
af|menuTabs::enabled-start-icon
|
This icon is rendered at the start of each enabled menuTab item.
|
|
af|menuTabs::enabled-end-icon
|
This icon is rendered at the end of each enabled menuTab item.
|
|
af|menuTabs::enabled-background-icon
|
This icon is rendered in the background each enabled menuTab
item.
|
|
af|menuTabs::selected-start-icon
|
This icon is rendered at the start of the selected menuTab item.
|
|
af|menuTabs::selected-end-icon
|
This icon is rendered at the end of the selected menuTab item.
|
|
af|menuTabs::selected-background-icon
|
This icon is rendered in the background the selected menuTab
item.
|
|
af|menuTabs::enabled-join-icon
|
This icon is rendered in between two enabled menuTab items.
|
|
af|menuTabs::enabled-selected-join-icon
|
This icon is rendered in between an enabled tabBar item and the
selected menuTab item. That is, when the reading direction is
left to right, the join connects an enabled item with a selected
item to the right of the enab
led item.
|
|
af|menuTabs::selected-enabled-join-icon
|
Thisicon is rendered in between the selected menuTab item and an
enabled menuTab item. That is, when the reading direction is
left to right, the join connects a selected item with an enabled
item to the right of the selected item.
|
af:menuTree
|
Icon Selectors
|
|
Name
|
Description
|
|
af|menuTree::disclosed-icon
|
This icon is displayed when the af:menuTree component is
rendered in its disclosed state.
|
|
af|menuTree::undisclosed-icon
|
This icon is displayed when the af:menuTree component is
rendered in its undisclosed state.
|
|
.AFDetailDisclosedIcon:alias
|
Customizes all of these icons at once: af|table::disclosed-icon,
af|showDetail::disclosed-icon,
af|showDetailHeader::disclosed-icon, af|menuTree::disclosed-icon
|
|
.AFDetailUndisclosedIcon:alias
|
Customizes all of these icons at once:
af|table::undisclosed-icon, af|showDetail::undisclosed-icon,
af|showDetailHeader::undisclosed-icon,
af|menuTree::undisclosed-icon
|
af:messages Component
This af:messages component is implemented using an inner table nested
within an oute
r table. The outer container is used to lay out the
messages' icons. The inner container contains the actual contents of
the messages. If any transparent icons are used, style properties
such as the background color should probably be set on the inner
table via the af|messages::body selector.
|
Style Selectors
|
|
Name
|
Description
|
|
.AFHeaderLevelOne
|
This style class is included by af|messages::header and
af|messages::error, as well as the af|*::level-one selectors and
af|panelHeader::error
|
|
af|messages
|
Styles the messages's outer table. Since the messages's icons
are rendered within the outer table, the af|message::body
selector is probably a better choice for specifying the
messages's background color, padding, etc...
|
|
af|messages::body
|
Styles the messages's inner table, which does not include any
outer icons.
|
|
Icon Selectors
|
|
Name
|
Description
|
|
af|messages::top-start-icon
|
This icon is rendered at the top starting corner of the messages
(ie. at the top left corner for left to right languages.)
|
|
af|messages::top-end-icon
|
This icon is rendered at the top ending corner of the messages
(ie. at the top right corner for
left to right languages.)
|
|
af|messages::top-background-icon
|
This icon is rendered in the background in between the
af|messages::top-start-icon and af|messages::top-end-icon icons.
|
|
af|messages::bottom-start-icon
|
This icon is rendered at the bottom starting corner of the
messages (ie. at the bottom left corner for left to right
languages.)
|
|
af|messages::bottom-end-icon
|
This icon is rendered at the bottom ending corner of the
messages (ie. at the bottom right corner for left to right
languages.)
|
|
af|messages::bottom-background-icon
|
This icon is rendered in the background in between the
af|messages::bottom-start-icon and af|messages::bottom-end-icon
icons.
|
|
af|messages::start-background-icon
|
This icon is rendered in the background at the start of the
messages.
|
|
af|messages::end-background-icon
|
This icon is rendered in the background at the end of the
messages.
|
|
af|messages::error-icon
|
The icon that is displayed for error messages.
|
|
af|messages::warning-icon
|
The icon that is displayed for warning messages.
|
|
af|messages::info-icon
|
The icon that is displayed for information messages.
|
|
af|m
essages::confirmation-icon
|
The icon that is displayed for confirmation messages.
|
|
.AFHeaderErrorIcon:alias
|
The icon that is displayed for error messages or headers in
af:messages and af:panelHeader. Changing this icon changes both
af|panelHeader::error-icon and af|messages::error-icon
|
|
.AFHeaderWarningIcon:alias
|
The icon that is displayed for warning messages or headers in
af:messages and af:panelHeader. Changing this icon changes both
af|panelHeader::warning-icon and af|messages::warning-icon
|
|
.AFHeaderInfoIcon:alias
|
The icon that is displayed for information messages or headers
in af:messages and af:panelHeader. Changing this icon changes
both af|panelHeader::info-icon and af|messages::info-icon
|
|
.AFHeaderConfirmationIcon:alias
|
The icon that is displayed for confirmation messages or headers
in af:messages and af:panelHeader. Changing this icon changes
both af|panelHeader::confirmation-icon and
af|messages::confirmation-icon
|
af:panelBox
The panelBox contains two main regions: the body regio
n, which
contains the panelBox contents, and the header region, which contains
the panelBox header text (set by the text attribute on af:panelBox).
Styles can be applied to the body region via the af|panelBox::body
selector. Similarly, styles for the header region are specified via
the af|panelBox::header selector.
These two regions are themselves rendered within an outer container
that can be styled as well. There are two different sets of selectors
for the outer region, depending on whether a header is present. If a
header is present, one of the following selectors is used, depending
on the panelBox background color (background color can be quickly
configured to dark, medium, or light using the background attribute
on panelBox).
-
af|panelBox::dark
-
af|panelBox::medium
-
af|panelBox::light
-
af|panelBox::transparent
If
no header is present
, the outer container instead uses the following style classes:
-
af|panelBox::content-dark
-
af|panelBox::content-medium
-
af|panelBox::content-light
-
af|panelBox::content-transparent
In order to apply a style to the panelBox body or header for a
particular background type, a contextual selector can be used. For
example, the following selectors can be used to change the properties
of dark panelBox header and body regions:
af|panelBox::dark af|panelBox::header {...} af|panelBox::dark
af|panelBox::body {...}
And the following selector can be used to change the properties of
the dark panelBox body for panelBox which do not have a header:
af|panelBox::content-dark af|panelBox::body {...}
In order to make it easier to apply common style properties across
panelBox of different background types, several alias styles are
exposed. For example, the .AFPanelBoxDarkBackground:alias aliased
style provides a way to set the background color for all dark
panelBox. This aliased style is used regardless of whether the outer
container uses the af|panelBox::dark or af|panelBox::content-dark
style class (ie. whether or not a header is present).
The panelBox defines four sets of icons: one set for each background
type. Customizers are not required to specify icons for all of the
different icon names. If an icon is omitted, the panelBox will
attempt to expand to fill any empty space.
|
Style Selectors
|
|
Name
|
Description
|
|
af|panelBox::body
|
Styles the body region. The body region is rendered whether or
not the panelBox has a header.
|
|
af|panelBox::header
|
Styles the header region.
|
|
af|panelBox::dark
|
Styles the outer container of the dark panelBox when there is a
header.
|
|
af|panelBox::medium
|
Styles the outer container of the medium panelBox when there is
a header.
|
|
af|panelBox::light
|
Styles the outer container of light panelBox when there is a
header.
|
|
af|panelBo
x::transparent
|
Styles the outer container of transparent panelBox when there is
a header.
|
|
af|panelBox::content-dark
|
Styles the dark panelBox when there is no header.
|
|
af|panelBox::content-medium
|
Styles the medium panelBox when there is no header.
|
|
af|panelBox::content-light
|
Styles the light panelBox when there is no header.
|
|
af|panelBox::content-transparent
|
Styles the transparent panelBox when there is no header.
|
|
.AFPanelBox:alias
|
This aliased style can be used to specify common properties that
are shared by the af|panelBox::dark, af|panelBox::medium,
af|panelBox::light and af|panelBox::transparent style classes
(classes when the panelBox has a header).
|
|
.AFBoxContent:alias
|
This aliased style can be used to specify common properties that
are shared by the af|panelBox::content-dark,
af|panelBox::content-medium, af|panelBox::content-light and
| | |
| |