Open MCT Style Guide
Status classes allow any block or inline-block element to be decorated in order to articulate a status. Provided classes include color-only and color plus icon; custom icons can easily be employed by using a color-only status class in combination with an glyph.
s-status-warning-hi
s-status-warning-lo
s-status-diagnostic
s-status-info
s-status-ok
s-status-icon-warning-hi
s-status-icon-warning-lo
s-status-icon-diagnostic
s-status-icon-info
s-status-icon-ok
Limit classes are a specialized form of status, specifically meant to be applied to telemetry displays to indicate that a limit threshold has been violated. Open MCT provides both severity and direction classes; severity (yellow and red) can be used alone or in combination with direction (upper or lower). Direction classes cannot be used on their own.
Like Status classes, Limits can be used as color-only, or color plus icon. Custom icons can be applied in the same fashion as described above.
s-limit-yellow
: A yellow limit.s-limit-red
: A red limit.s-limit-icon-yellow
: A yellow limit with icon.s-limit-icon-red
: A red limit with icon.s-limit-upr
: Upper limit.s-limit-lwr
: Lower limit.Name | Value 1 | Value 2 |
ENG_PWR 4991 | 7.023 | 70.23 |
ENG_PWR 4992 | 49.784 | -121.22 |
ENG_PWR 4993 | 0.451 | 1.007 |
Indicators are small iconic notification elements that appear in the Status Bar area of the application at the window's bottom. Indicators should be used to articulate the state of a system and optionally provide gestures related to that system. They use a combination of icon and color to identify themselves and articulate a state respectively.
Indicators consist of a .ls-indicator
wrapper element with .icon-*
classes for the type of thing they represent and
.s-status-*
classes to articulate the current state. Title attributes should be used
to provide more verbose information about the thing and/or its status.
The wrapper encloses a .label
element that is displayed on hover. This element should
include a brief statement of the current status, and can also include clickable elements
as <a>
tags. An optional .count
element can be included to display
information such as a number of messages.
Icon classes are as defined on the Glyphs page. Status classes applicable to Indicators are as follows:
s-status-disabled
s-status-off
s-status-available
s-status-on
s-status-alert
s-status-error