List

Lists can be used to show an arbitrary number of elements of the same type along with their attributes and meta data as well as basic action icons.

To align content in different columns, the .item__content column/wrapper elements have to be used.

To see a detailed explanation of all existing helper and debug classes, please refer to the usage table below.

List

List with checkboxes

Compact list

Compact list with checkboxes

Compact list without icon

Compact list in (frameless) container

List with debug option

Compact list with debug option

Usage

ElementClassDescription
.list .debug Applies different background colors to the columns to have a visual debugging option.
.list .list--compact The list spacing is more dense compared to the default list.
.list__item .is-info, .is-warning, .is-error, .is-success Adds different states to the list item.
.list__item .is-selected Highlights the list item visually (for a selected state).
.list__item .is-hovered Highlights the list item visually (for a hover state), if items are clickable.
.content__column .content__column--primary Marks the primary data cell for a special headline and description styling.
.content__column .xx-yyy This class can be customized for following breakpoints (xx):
  • xs, sm, md, lg, xl.
In combination with the percentage (yyy) of the data cell for the specified breakpoint:
  • 5, 10, 15, 20, 25, 30, 33, 40, 50, 60, 66, 70, 75, 80, 85, 90, 95 and 100
e.g. .lg-25, .md-50, .sm-75, .xs-100, ...
.content__column .has-default-width-XX Sets the default width in percent for the according data cell if no other specific width is set for the viewport:
  • Possible percentage values for the defaultWidth-class:
    5, 10, 20, 25, 30, 33, 40, 50, 60, 66, 70, 75, 80, 90, 95 and 100.
The default width, e.g. .has-defaultWidth-50, can be overwritten with the classes described above, e.g. .lg-75 for large displays.
.content__column .xx-hide Every data cell can be hidden for a certain breakpoint. Note that the data cell will still be visible below and above the two breakpoints.
Following values are possible:
  • .xs-hide, .sm-hide, .md-hide, .lg-hide and .xl-hide.
.item__content .xx-nowrap Every list row can be set so that its columns don't wrap if their combined widths are more then 100 percent. By default, columns wrap if they don't fit into one row. By adding this class, the columns will stay in one line for the specified breakpoint range. Following values are possible:
  • .xs-nowrap, .sm-nowrap, .md-nowrap, .lg-nowrap and .xl-nowrap
.content__column .has-alignment-right Marks the data cell which shall be used for action icons/buttons:
  • Data cell should always be right aligned.
Note that this class is not working in combination with the state class .content__column--primary.
.content__column .has-alignment-top The content of this data cell will be aligned to the top of the cell's row.
.content__column .has-alignment-bottom The content of this data cell will be aligned to the bottom of the cell's row.
.content__column .has-alignment-center The content of this data cell will be vertically centered within the cell's row.

Note that a cell can only be aligned top OR center OR bottom, assigning multiple of these helper classes might result in unexpected behaviour.
.content__column .iconMdsp .no-margin-left The default left margin of the icon gets removed.
.content__column a .has-icon-only The underlining of an icon nested in an <a> tag gets removed.
Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.
Back to top