Message

Variables to customize Message

$gbc-MessageWidget-margin-ratio

Margin ratio for the Message

Type: number

Default value: $ui-margin-ratio

Computed value: "0.6"

$gbc-MessageWidget-z-index

MessageWidget z-index

Type: number

Default value: $z-index-Message

Computed value: "60"

$gbc-MessageWidget-color

MessageWidget text color

Type: color

Default value: $ui-on-primary-color

Computed value: "rgb(255, 255, 255)"

Alias (for compatibility): $theme-message-color

$gbc-MessageWidget-background-color

MessageWidget background color

Type: color

Default value: "color.adjust($ui-background-color, $lightness: -71% );"

Computed value: "#424242"

Alias (for compatibility): $theme-message-background-color

$gbc-MessageWidget-shadow-color

MessageWidget shadow color

Type: color

Default value: $ui-overlay-color

Computed value: "rgba(31, 31, 31, 0.26)"

$gbc-MessageWidget-gasadmin-color

Color of notification popup when gasadmin broadcast a message

Type: color

Default value: $ui-on-primary-color

Computed value: "rgb(255, 255, 255)"

$gbc-MessageWidget-gasadmin-background-color

Background Color of notification popup when gasadmin broadcast a message

Type: color

Default value: $gbc-MessageWidget-background-color

Computed value: "#424242"

$gbc-MessageWidget-gasadmin-display-position

Position of the gasadmin message.

Type: string

Default value: "top-center"

Computed value: "top-center"

$gbc-MessageWidget-warning-color

Color of a warning message

Type: color

Default value: $mt-black

Computed value: "#000000"

$gbc-MessageWidget-warning-background-color

Background Color of a warning message

Type: color

Default value: $mt-orange-200

Computed value: "#ffcc80"

$gbc-MessageWidget-message-display-time

Specify the number of seconds to display the message pane
  • A positive value is the number of seconds to display the pane before fade-out.
  • Set to zero (0) to always show the pane.
  • Set to a negative value to always hide the pane.

Type: number

Default value: 0

Alias (for compatibility): $gbc-message-display-time,theme-message-display-time

$gbc-MessageWidget-message-display-position

Position of the message panel. Valid values are:
  • top-left
  • top-center
  • top-right
  • bottom-left
  • bottom-center
  • bottom-right (default)
If the error and message positions are defined for the same place, the two panels will stack.

Type: string

Default value: "bottom-right"

Computed value: "bottom-right"

Alias (for compatibility): $gbc-message-position,theme-message-display-position

$gbc-MessageWidget-error-color

Error message foreground color.

Type: color

Default value: $ui-on-primary-color

Computed value: "rgb(255, 255, 255)"

Alias (for compatibility): $theme-error-color

$gbc-MessageWidget-error-display-time

Specify the number of seconds to display the error message pane
  • A positive value is the number of seconds to display the pane before fade-out.
  • Set to zero (0) to always show the pane.
  • Set to a negative value to always hide the pane.

Type: number

Default value: 0

Alias (for compatibility): $gbc-error-display-time,theme-error-display-time

$gbc-MessageWidget-error-display-position

Position of the error panel. Valid values are:
  • top-left
  • top-center
  • top-right
  • bottom-left
  • bottom-center
  • bottom-right (default)
If the error and message positions are defined for the same place, the two panels will stack.

Type: string

Default value: "bottom-right"

Computed value: "bottom-right"

Alias (for compatibility): $gbc-error-position,theme-error-display-position