PhixFlow Help

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Styles

A style is a container for a set of CSS properties. A style can be assigned to objects, such as a layout component. You can also use it to provide default formatting, for example on selected grid rows. 

The properties tab for a Layout also has a Style Settings section where you can select options to format the border, background, font etc. PhixFlow combines any style settings and CSS properties.


The toolbar has the standard iconsFor information about the sections Parent Details, Analysis Models, Description and Audit Summary, see Common Properties.  For information about other property tabs, see Property Tabs.

For each style, set:

Basic Settings

FieldDescription
NameName of the style.

Style Elements

A list of of the style elements. For each style element, the following settings are configured:

Style Elements

A list of of the style elements. Click on an item on the list to open its CSS properties.

CSS Property

For each CSS property, set:

FieldDescription
CSS TagThe the CSS property.
Value

Enter the value for the property; see https://www.w3schools.com/cssref/.

State

Choose one of:

  • Focus
  • Mouse Down
  • Move Over
  • Read Only
Expression Tick to indicate the value is an expression.
OrderThe order in which the style element will be applied.
Cycle Size

Optionally enter a number to indicate the recurrence of this CSS formatting. For example to use this CSS for: 

  • alternate children, enter 2
  • every 5th child enter 5.
OffsetOptionally specify where you want the cycle to start after the first child. For example, to apply the formatting to the second item, instead of the first, enter 2.

Using Cycle Size and Offset

Use Cycle Size and Offset to specify different formatting for children of the layout. The two fields together work as an ax + b expression, where:

  • a is the cycle size,
  • x is the current cycle
  • b is the offset. 

For example, to apply the CSS formatting:

  • to the 5th child only, leave the Cycle Size empty and set the Offset to 5.
  • alternate children, starting with the second, (2, 4, 6...) set the Cycle Size  to 2 and the Offset to 2.
  • not format the first 10 items, but then format every 3rd child (i.e. 11,14,17...), set the Cycle Size  to 3 and the Offset to 11.


  • No labels