home forum orange partner

Available styling properties

OrangeML provides a lot of styling properties for the main OrangeML elements:

  • Blocks
  • Sections
  • Formatted text
  • Navigation elements
  • Forms
  • Tables and lists
  • Orange world video components

The “class” column specifies if the property supports the class mechanism.

Headers and footers

Block properties

NameDescriptionClass Comment
BLOCK_BGCOLORBackground color of normal <block>YesAffect all the components in the block, except if their own properties are overridden.
Has no effect on major blocks (use MAJORBLOCK_BGCOLOR)
BLOCK_COLORForeground color of normal <block>YesAffect all the components in the block, except if their own properties are overridden.
Has no effect on links.
Has no effect on major blocks (use MAJORBLOCK_COLOR).
BLOCK_LINKCOLORLink color in normal <block>YesAffect all the components in the block, except if their own properties are overridden.
Has no effect on major blocks (use MAJORBLOCK_LINKCOLOR).
BLOCKSEPARATOR_COLORColor of the line above the <block>, or NONE if this line has to be removedYesHas no effect on major blocks (use MAJORBLOCKSEPARATOR_COLOR in this case). Ignored if a BLOCKTITLE_IMAGE_URL has been specified.
BLOCKTITLE_ALIGNMENTAlignment of normal AND major <block> titlenoHas effect on both major and normal blocks
BLOCKTITLE_BGCOLORBackground color normal <block> titleYesHas no effect on major blocks (use MAJORBLOCKTITLE_BGCOLOR).
BLOCKTITLE_BORDERCOLORColor of the top/bottom border of the normal and major <block> title, or NONE if these borders have to be removedYesHas effect on both normal and major blocks.
Only considered if a BLOCKTITLE_IMAGE_URL has been specified.
BLOCKTITLE_COLORForeground color normal <block> titleyesHas no effect on major blocks (use MAJORBLOCKTITLE_COLOR).
BLOCKTITLE_IMAGE_ALIGNMENTThe horizontal alignment of the optional background image for normal and major <block> titleyes
BLOCKTITLE_IMAGE_URLThe URL of the optional background image for normal and major <block> title, or NONE to remove the background imageyesHas effect on both normal and major blocks.
Currently only considered for Orange France.
Can be an orangeicon URL point that points on an orangeicon asset or an actual URL.
In this last case, you can use the height attribute of the <meta> element to specify the height of your image so that the platform can choose the most appropriate (typical height must be between 18px and 31px). You can obviously use some filtering_expression to modulate the size of the image depending on the device characteristics
BLOCKSUBTITLE_BGCOLORBackground color normal AND major <block> subtitleYesHas effect on both major and normal blocks
BLOCKSUBTITLE_COLORForeground color normal AND major <block> subtitleyesHas effect on both major and normal blocks
BLOCKSUBTITLE_ALIGNMENTAlignment of normal AND major <block> subtitlenoHas effect on both major and normal blocks
HR_SUBTITLE_COLORColor of the rule below normal AND major <block> subtitleyesHas effect on both major and normal blocks
MAJORBLOCK_BGCOLORBackground color of major <block>YesAffect all the components in the block, except if their own properties are overridden.
Has no effect on normal blocks (use BLOCK_BGCOLOR)
MAJORBLOCK_COLORForeground color of major <block>YesAffect all the components in the block, except if their own properties are overridden.
Has no effect on links.
Has no effect on normal blocks (use BLOCK_COLOR).
MAJORBLOCK_LINKCOLORLink color in normal <block>yesAffect all the components in the block, except if their own properties are overridden.
Has no effect on normal blocks (use BLOCK_LINKCOLOR).
MAJORBLOCKSEPARATOR_COLORColor of the line above the major <block>, or NONE if this line has to be removedYesHas effect only on major blocks (use BLOCKSEPARATOR_COLOR for other kinds of block). Ignored if a BLOCKTITLE_IMAGE_URL has been specified.
MAJORBLOCKTITLE_BGCOLORBackground color major <block> titleYesHas no effect on normal blocks (use BLOCKTITLE_BGCOLOR).
MAJORBLOCKTITLE_COLORForeground color major <block> titleyesHas no effect on normal blocks (use BLOCKTITLE_COLOR).
SMARTBLOCK_BGCOLORBackground color of smart <block>YesAffect all the components in smart blocks, except if their own properties are overridden.
SMARTBLOCK_COLORForeground color of smart <block>YesAffect all the components in smart blocks, except if their own properties are overridden.
Has no effect on links.
SMARTBLOCK_LINKCOLORLink color in smart <block>yesAffect all the components in smart blocks, except if their own properties are overridden. .

Section properties

NameDescriptionClass Comment
DIV_BGCOLORBackground color of <div>YesAlso affects dropdown div (except if a DROPDOWN_DIV_BGCOLOR is specified)
DIV_COLORForeground color of <div>YesAlso affects dropdown div (except if a DROPDOWN_DIV_COLOR is specified)
DIVTITLE_ALIGNMENTAlignment of <div> titleNo
FOCUS_BGCOLORBackground color for focused headline. cf. navigation_properties belowYesOnly supported on some devices.
HR_COLORColor of the horizontal lines above <div> and normal <headline>, or NONE to remove this lineYesAlso affects major headlines (except if a MAJORHR_COLOR is specified) and dropdown div (except if a DROPDOWN_HR_COLOR is specified)
HEADLINE_BGCOLORBackground color of normal <headline>YesHas no effect on major headlines (use MAJORHEADLINE_BGCOLOR)
HEADLINE_COLORForeground color of normal <headline>YesHas no effect on major headlines (use MAJORHEADLINE_COLOR)
HEADLINE_TITLE_COLORColor of normal <headline> titleYesHas no effect on major headlines (use MAJORHEADLINE_TITLE_COLOR)
CHEVRON_COLORColor of double chevron (“more” link) for normal <headline>YesHas no effect on major headlines (use MAJORCHEVRON_COLOR)
MAJORHR_COLORColor of the horizontal lines above major <headline>NoHas no effect on normal headlines (use HR_COLOR)
MAJORHEADLINE_BGCOLORBackground color of major <headline>YesHas no effect on normal headlines (use HEADLINE_BGCOLOR)
MAJORHEADLINE_COLORForeground color of major <headline>YesHas no effect on normal headlines (use HEADLINE_COLOR)
MAJORHEADLINE_TITLE_COLORForeground color of major <headline> titleYesHas no effect on normal headlines (use HEADLINE_TITLE_COLOR)
MAJORCHEVRON_COLORColor of double chevron (“more” link) for major <headline>YesHas no effect on normal headlines (use CHEVRON_COLOR)
HR_ALERT_COLORColor of line below Alert sectionsNo
HR_CONFIRM_COLORColor of line below Confirm sectionsNo

Formatted text properties

NameDescriptionClass Comment
EM_NORMAL_COLORColor of <em> textNo
EM_POSITIVE_COLORColor of positive <em> textNo
EM_NEGATIVE_COLORColor of negative <em> textNo

Navigation properties

NameDescriptionClass Comment
FOCUS_BGCOLORBackground color for focused links. Affects <headline>, <pagination>, <ni> inside <al>, <nl>, <navbar>, <a> and <pagination>, <vignette> and <ii>YesOnly supported on some devices.The class mechanism is only available for <headline> and <ni> inside <al>, <nl> and <navbar>
ACTIONLIST_BGCOLORBackground color for <ni> inside <al>No
ACTIONLIST_COLORForeground color for <ni> inside <al>No
AIBULLET_BGCOLORBackground color of <ni> bullet (chevron) inside <al>NoThis color is used only for devices that don't use action icons
AIBULLET_COLORForeground color of <ni> bullet (chevron) inside <al>NoThis color is used only for devices that don't use action icons
LETTERNAV_BGCOLORBackground color for <letternav>No
LETTERNAV_COLORForeground color for <letternav>No
NAVBAR_BGCOLORBackground color for the <navbar> elementNo
NAVBAR_COLORForeground color for <navbar> elementNo
NAVBAR_CURRENT_COLORForeground color for current <navbar> elementNo
NAVBARSEPARATOR_COLORColor for the separator of the <navbar> elementNo
NAVITEM_SEP_COLORColor of vertical separator for direct access inside <nl>, or NONE if you don't want a separatorNo
NI_BGCOLORBackground color for <ni> inside <nl>No
NI_COLORForeground color for <ni> inside <nl>Yes
NI_SEPARATOR_COLORColor of the horizontal separator of <ni> inside <nl>, or NONE if you don't want a separatorYesOnly supported by a couple of devices
NIBULLET_COLORColor of <ni> bullet (chevron) inside <nl>Yes
PAGINATION_BGCOLORBackground color for <pagination>No
PAGINATION_COLORForeground color for <pagination>NoHas effect on both pagination text and links
PAGINATION_CURRENTPAGE_COLORColor for <pagination> current pageNo
PAGINATION_PREVNEXTSTRIPE_COLORColor for <pagination> chevronsNo

Form properties

NameDescriptionClass Comment
FORMLABEL_COLORForeground color for <input> labelYes
ACTIONFORM_BGCOLORBackground color for “action” <form>No
ORANGEACTIONFORM_BGCOLORBackground color for “orange-action” <form>No
BUTTON_BGCOLORBackground color for <buttons>NoOnly applicable for devices that support background colors on buttons
BUTTON_COLORForeground color for <buttons>NoOnly applicable for devices that support background colors on buttons

Tables and list properties

NameDescriptionClass Comment
GRAYED_CELL_BGCOLORBackground color for “grayed” <td>No
HEADER_CELL_BGCOLORBackground color for <th>No
HEADER_CELL_COLORForeground color for <th>No
LIBULLET_COLORColor of <li> bulletNo

Dynamic OrangeML properties

Most of the “standard” properties are applicable to Dynamic OrangeML components . However, there are a couple of properties that are specific to Dynamic OML.

NameDescriptionClass Comment
ACTIVEBLOCKTAB_BGCOLORBackground color of active tabsyes
ACTIVEBLOCKTAB_BORDERCOLORBorder color of active tabsyes
ACTIVEBLOCKTAB_COLORForeground color of active tabsyes
BLOCKTAB_BGCOLORBackground color of tabsyes
BLOCKTAB_BORDERCOLORBorder color of tabsyes
BLOCKTAB_COLORForeground color of tabsyes
BLOCKTAB_PREVNEXT_BGCOLORBackground color of prev/next buttons in section tabsyes
BLOCKTAB_PREVNEXT_BORDERCOLORBorder color of prev/next buttons in section tabsyes
BLOCKTAB_PREVNEXT_COLORForeground color of prev/next buttons in section tabsyes
CAROUSEL_HR_COLORBorder color of the navbar of the carouselsno
CAROUSEL_ITEM_BGCOLORBackground color of carousels itemsyes
CAROUSEL_NAV_BGCOLORBackground color of the carousels navbar no
CAROUSEL_NAV_COLORForeground color of the carousels navbarnoonly used for the central part of the navbar, see CAROUSEL_LINK_COLOR for the links of the navbar
CAROUSEL_LINK_COLORForeground color of prev/next links in the carousels navbarno
CAROUSEL_NUMNAV_BGCOLORBackground color of the center part of the carousels navbarno
DROPDOWN_CLOSED_ICON_URLUrl of the open icon of closed dropdown <div> or <block>yes
DROPDOWN_OPEN_ICON_URLUrl of the icon of open dropdown <div> or <block>yes
DROPDOWN_DIV_BGCOLORBackground color of dropdown <div>YesOnly affects dropdown div for devices that support dropdown. For devices that don't support dropdown, the background color is controled by DIV_BGCOLOR
DROPDOWN_DIV_COLORForeground color of dropdown <div>YesOnly affects dropdown div for devices that support dropdown. For devices that don't support dropdown, the foreground color is controled by DIV_COLOR
DROPDOWN_HR_COLORColor of the horizontal lines above dropdown <div>, or NONE if you don't want a borderYesFor curious reasons, works only if the title background color is also customized (via DROPDOWN_TITLE_BGCOLOR)
DROPDOWN_TITLE_COLORForeground color of the title of dropdown <div>YesOnly applicable for dropdown div. For dropdown blocks, use BLOCKTITLE_COLOR, as usual
DROPDOWN_TITLE_BGCOLORBackground color of the title of dropdown <div>Yes

Orange World Video properties

NameDescriptionClass Comment
OWV_PROGRAM_BGCOLORBackground color for <owv:program>No
OWV_PROGRAM_COLORForeground color for <owv:program>No
OWV_PROGRAM_TITLE_COLORColor of <owv:program> titleNo
OWV_PROGRAM_SEPARATOR_COLORColor of the separator above <owv:program>No

Other properties

NameDescriptionClass Comment
DEFAULT_COLORThe color to be used by default for textNo
LINK_COLORThe color to be used by default for textNoThis property is useful for devices that support only one color for all the links of a page (e.g. SPV E100)
BG_COLORDefault background colorNoThis property is only used by the SPV E100. It will be deprecated in next versions
TITLE_BGCOLORBackground color for <title>No
TITLE_COLORForeground color for <title>No
TITLELINK_COLORForeground color for <title> when it is clickableNo
TITLE_ALIGNMENTAlignment for <title>No
COPYRIGHT_BGCOLORBackground color for <copyright>No
COPYRIGHT_COLORForeground color for <copyright>No
BREADCRUMBS_BGCOLORBackground color for <breadcrumbs>No
BREADCRUMBS_COLORForeground color for <breadcrumbs>No
BREADCRUMBS_SEP_COLORColor for <breadcrumbs> separators (i.e. chevrons)No
HR_BREADCRUMBS_COLORColor for the line above <breadcrumbs>No
TAB_COLORForeground color for menu tabNo
TAB_BGCOLORBackground color for menu tabNo
ACTIVETAB_COLORForeground color for menu tab when highlightedNo
ACTIVETAB_BGCOLORBackground color for menu tab when higlightedNo