Thursday 13 October 2011

CSS Class names in OAF

Oracle Application Framework (OAF) Predefined CSS Classes List

as documented in Oracle BLAF Guidelines

commonly used

  • OraFieldText           Updatable Fields
  • OraDataText           Display Only Fields
  • OraPromptText       Used for Prompts, Checkboxes
  • OraLinkText            For Links/URLs
  • OraInstructionText   For Plain Text Instruction

complete list


GENERAL COMPONENT CSS DEFINITIONS
OraBodyused on the element to define the default bgcolor/font family for the entire page
OraApplicationSwitcherTextlabel of Application Switcher
OraPromptTextText Prompts (Labels)
OraDataTextData text string anywhere in page except in tables - also often used for numeric values which don't need to be right-aligned
OraFieldTextText and numeric data in standard Web widget (field, poplist)
OraFieldTextDisabledRenders gray text in disabled form controls such as text fields, radio buttons, check boxes - does not match current BLAF guidelines
OraFieldNumberRight-aligned numeric Data in Field
OraFieldNumberDisabledRenders gray text for disabled Numeric Data fields - does not match current BLAF guidelines
OraInstructionTextInstruction Text
OraInstructionTextStrongInstruction Text with Emphasis
OraPageStampTextPage stamp text
OraPageStampLabelPage stamp label
OraButtonTextAction/Navigation Button Text
OraButtonTextDisabledButton Text - disabled
OraLinkTextLink Text (would be underlined with href tag)
OraVLinkTextvisited link text (would be underlined with href tag)
OraALinkTextactive link text - color change on mouse button down (would be underlined with href tag)
OraGlobalButtonTextGlobal Button Enabled} (This would be an "a href" link
OraGlobalButtonTextSelectedGlobal Button Active
OraGlobalButtonTextDisabledGlobal Button Disabled
OraTipTextTip Text for page or section of page
OraTipLabelTip label (the word "Tip") in bold
OraInlineErrorTextInline Error Text embedded in page content (not in message box; not for other message types)
OraInlineInfoTextInline Info and Hint Text embedded in page content (not in message box; not for other message types)
OraTextInlineVariant of OraInlineInfoText - not specified in current BLAF guidelines
OraErrorHeaderHeader for Error Message Only
OraErrorNameText Error Name Text
OraMessageBoxListnumbered list within message box for list of informational or warning messages (not for error messages)
OraMessageBoxLinkblue links in message boxes - current BLAF guidelines specify brown links
OraMessageBoxParagraphbody text in non-error message boxes
OraMessageBoxErrorListnumbered list in red text within message box for list of error messages
OraMessageBoxErrorLinkblue links in message boxes - current BLAF guidelines specify brown links
OraMessageBoxErrorParagraphred paragraph text in Error message boxes
OraPrivacyLink in Footer to Privacy Statement
OraCopyrightCopyright Statement Text in Footer
OraCalendarTitleTitle of Date Picker - usually name of the month
OraCalendarHeaderDate Picker column headers - usually days of the week
OraCalendarEnabledDays in Date Picker that can be selected
OraCalendarDisabledDays in Date Picker that are invalid for the current context
OraCalendarSelectedSelected days(s) in the in Date Picker
OraShuttleLinkTextLink text placed below each arrow button in the middle of the shuttle
TAB/NAVIGATION/LOCATOR CSS DEFINITIONS
OraNav1SelectedTab [level 1] selected
OraNav1EnabledTab [level 1] enabled
OraNav1DisabledTab [level 1] disabled
OraNav2SelectedHorizontal Navigation [level 2] selected
OraNav2EnabledHorizontal Navigation [level 2] enabled
OraNav2DisabledHorizontal Navigation [level 2] disabled
OraNav3SelectedSide Navigation [level 3] selected
OraNav3EnabledSide Navigation [level 3] enabled
OraNav3DisabledSide Navigation [level 3] disabled
OraNavBarActiveLinkused for enabled NavigationBarBean links (a "next" link when there are more items to view.)
OraNavBarInactiveLinkused for NavigationBarBean Next/Previous links when there are no more Next/Previous contents to be viewed
OraNavBarViewOnlyused for the step text (such as "Step 1 of 5") in a single-item NavigationBarBean
OraTrainActivecurrent page in step-by-step locator a.k.a. "train"
OraTrainVisitedvisited page(s) in step by step locator a.k.a. "train"
OraTrainUnvisitedpage(s) not yet visited page in step-by-step locator a.k.a. "train"
OraCrumbsSelectedcurrent page (without link) in breadcrumbs
OraCrumbsEnabledPages higher in the hierarchy (with links enabled) in breadcrumbs
HEADER CSS DEFINITIONS
OraHeaderStandard dark blue header on white background
OraHeaderSubStandard dark blue subheader on white background
OraHeaderSubSubStandard dark blue subsubheader on white background
OraDarkHeaderDark Header on dark beige in Side Navigation of Home page - usually subheader and subsubheader are used instead
OraDarkHeaderSubDark Subheader on dark beige in Side Navigation of Home page
OraDarkHeaderSubSubDark Subsubheader on dark beige in Side Navigation of Home page
OraLightHeaderLight blue header on light or medium beige background for content containers - usually subheader and subsubheader are used instead
OraLightHeaderSubLight blue subheader on light or medium beige background - typically in content containers
OraLightHeaderSubSubLight blue subsubheader on light background - typically in content containers
OraColorHeaderHeader on Blue for content containers - usually subheader and subsubheader are used instead
OraColorHeaderSubSubheader on Blue - typically in content containers
OraColorHeaderSubSubSubsubHeader on Blue - typically in content containers
OraPortletHeaderPortlet Content Header on White - currently only used for a Portal demo
OraDarkPortletHeaderPortlet Content Header on Beige - currently only used for a Portal demo
OraGlobalPageTitleGlobal header when there are no Tab links
TABLE CSS DEFINITIONS
OraTableTitleTable Title - used instead of Subheader when other elements separate the subheader from the table AND no control bar is present
OraTableBackground color for table gridlines
OraTableControlBarTexttext in table Control Bar (band appearing at top of some tables that contains controls)
OraTableColumnHeaderTable Column Header
OraTableColumnHeaderNumbersame as Table Column Header but with right aligned numeric header
OraTableColumnHeaderIconButtonTable Column Header with centered action button
OraTableSortableColumnHeaderSortable Table Column Header -- cursor turns to hand over header cell
OraTableSortableColumnHeaderNumbersortable form of numeric Table Column Header
OraTableSortableColumnHeaderIconButtonsortable form of Table Column Header with centered action button
OraTableRowHeaderTable Row Header
OraTableColumnFooterfor left-aligned text in table column footer, except for totals
OraTableTotalright-aligned "Total" label that appears in footer cell to left of numeric total
OraTableAddTotalleft-aligned "Total" label that appears in column header cell
OraTableTotalNumberright-aligned total value that appears in footer cell below the totalled column
OraTableTotalTextleft-aligned total value -- useful in updateable tables with more than one totaled column
OraTableCellTextTable Cell Text
OraTableCellTextBandTable Cell Text in row with band of color
OraTableCellNumbernumeric Table Cell Text - only required if column features calculations
OraTableCellNumberBandnumeric Table Cell Text in row with band of color - only required if column features calculations
OraTableCellIconButtonTable Cell containing an action/navigation button
OraTableCellIconButtonBandnumeric band color table cell containing an action/navigation button
OraTableCellSelectselect column with check box or radio button
OraTableCellSelectBandselect column with check box or radio button in row with band of color
OraTableVerticalGridTable Background Vertical Grid Color
OraTableVerticalHeaderGridTable Background Vertical Grid Color in Column Header
OraTableHorizontalGridTable Background Horizontal Grid Color
OraTableHorizontalHeaderGridTable Background Horizontal Grid Color in Row Header
OraTableShadowHeaderGridrenders shadow for sortable table headers???
OraTableHeaderLinkUsed for column headers rendered by SortableHeaderBean for headers which aren't sortable
OraTableSortableHeaderLinkLink in Header of Sortable Column
OraTableDetailUsed for details child in conjunction with Hide/Show in a table row
SPACING AND LAYOUT CSS DEFINITIONS
OraIndentHeaderIndents second and later occurrences of subheaders 20 pixels relative to page header
OraSpacingHeaderSpacing for Page Title Header: 7 pixels above and 2 below
OraSpacingHeaderSubSpacing for first SubHeader on page: 10 pixels above and 2 below
OraSpacingHeaderLargeSpacing for second and later occurrences of subheaders: 20 pixels above and 2 below

No comments:

Post a Comment