Interface ClipItemsStyles

Defition of the style for each of the clip objects

  • Each item is the name of the style and in that case the style should be loaded.
  • Do not forget that clips do not load any styles from css!
  • Does not support visual styles; it can be supported using hierarych (styles -> visualStyle -> section -> style; e.g. general: { title: { ....} }) but using style-defined substyle would be better idea
  • DEPRECIATED: For better clarity it is recommended to use style attribute directly in the block that is to be formated

Example

"title":"sysUserClipHeadStyle"

Defition can be an object that defines style.
Each key must be a valid HTMLElement.style in javascript notation

Example

"title": { "background":"#ccccccaa"}

If the the element strings start with = it is evaluated in the seme way as values, so that it can contain style conditions.
__Warning:__ defined styles could be in colision with visual scheme. If used color, Set up both back and front colour

Example

"active": { "background":"= obj.status='AC'?'white':'black'"}
interface ClipItemsStyles {
    active?: string | object;
    body?: string | object;
    empty?: string | object;
    icon?: string | object;
    nonactive: string | object;
    title?: string | object;
}

Properties

active?: string | object

style for active part of the fClip, only for fCLip not list

body?: string | object

style for item body (internally container)

  • Container has also style from the window.class
empty?: string | object

Optional style used for emptyClips

icon?: string | object

style for icon - only for fClip, not supported for list

nonactive: string | object

style for nonactive part of the fClip, only for fCLip not list

title?: string | object

style for title