CSS classes

Release 2.0 - ...

Control classes

Containers

  • xforms-cc
    Control container div, wrapped around each control outputed.

    • xforms-valid
      Added to the control container when the current value is valid according to schema or constraints.

    • xforms-invalid
      Added to the control container when the current value is invalid according to schema or constraints.

  • xforms-rc
    Repeat container div, used for each repeat iteration

    • current
      Class added to the currently selected repeat container (using setindex)

  • xforms-group
    Group container element

  • xforms-switch
    Switch container element

  • xforms-repeat
    Repeat container element

  • xforms-case
    Case container element

  • xforms-htc
    Class emited on a group element when it contains HTML elements

Controls

  • xforms-control
    All controls get this class.
  • xforms-input
  • xforms-output
  • xforms-select1
  • xforms-select
  • xforms-secret
  • xforms-upload
  • xforms-range

Behavior classes

  • sync
    a synchronous operation is started
  • async
    An asynchronous operation is started.
  • block-ui
    The user interface is to be blocked visually.

Appearance

When using the appearance attribute, the following classes are added:

  • xforms-ap-minimal
  • xforms-ap-compact
  • xforms-ap-full

Repeat