A presentation styles file (4st) is an XML file comprised of StyleList,
Style, and StyleAttribute elements.
Syntax (.4st)
<StyleList>
<Style name="style-identifier" >
<StyleAttribute name="attribute-name" value="attribute-value" />
[...]
</Style>
[...]
</StyleList>
where
style-identifier
is:
{ [ element-type ] [ .style-name ] [ :pseudo-selector ]
| *
}
- element-type is a type of AUI tree element, such as
Edit, Window.
- style-name is an explicit style name, that can be referenced in STYLE attributes of form
items.
- pseudo-selector indicates in what context the style should
apply.
- attribute-name defines the name of the style attribute.
- attribute-value defines the value to be assigned to attribute-name.
Syntax of attribute values
Presentation style attribute values are always specified as strings, for
example:
<StyleAttribute name="fontFamily" value="Serif" />
Numeric values must be specified in quotes:
<StyleAttribute name="completionTimeout" value="60" />
Boolean values must be specified with the values
"yes" or
"no":
<StyleAttribute name="forceDefaultSettings" value="yes" />
Note: Some front-ends may also support the boolean values 0/1 and
true/false. However, it is recommended to use
yes/no values only.