Stylesheet_Styles_Style

Style

An individual style to apply to user interface elements to govern the look and feel.

Properties

base : stringAn existing style that this style is based on.bgColor : stringThe background color. Must be a hex value, RGB(), comma-separated list for gradients, or the string literal transparent.bgColorEffect : EffectTypeBackground fill effect type. Values can be "none" or "glass".Valid values based on“string”.noneglassbgImage : stringThe background image.bgPositionX : stringThe x-position of the background image as defined in CSS. One of left, center, right, a percentage, or a positive/negative length.bgPositionY : stringThe y-position of the background image as defined in CSS. One of top, center, bottom, a percentage, or a positive/negative length.bgRepeat : stringThe background image repeat as defined in CSS. One of repeat, repeat-x, repeat-y, no-repeat.borderArcSize : BorderArcSizeTypeSpecifies the arc size of the border. Values can be "large" or "small".Valid values based on“string”.largesmallborderColor : stringColor of the border. Must be a hex value.borderLine : BorderLineTypeThe type of line used in drawing the border. Values can be "single" or "double".Valid values based on“string”.singledoubleborderRound : BorderRoundTypeThe type of roundness applied to the border. Values can be "top", "all", or "none".Valid values based on“string”.topallnoneborderStyle : stringSpecifies which locations the border is to be applied. Each location must be separated by a comma. Location values can be "top", "bottom", "left", and/or "right". borderWidth : intWidth of the surrounding border. Must be an integer value.description : stringDescription of the style.extraCSS : stringExtra CSS to be appended to the auto generated CSS.fgColor : stringThe foreground color. Must be a hex value.fontBoldSpecifies if the font is bold. Must be one of "true", "false", "semibold", "thin", "medium" or "light".Valid values based on“string”.falsetruesemiboldlightthinmediumfontHeight : floatHeight of the font. Must be a float type value.fontItalic : booleanSpecifies if the font is italic.fontName : stringThe name of the font to be applied.fontUnderlined : booleanSpecifies if the font is underlined.name : stringUniquely identifies the style.portletStyle : stringCommon portlet style name.

Parents


Parent topic: Stylesheet_Styles