New Styleguide page for "Loading" | |
Introduce CDN links to all images | |
Add Section with index-tiles to branding page | |
New Styleguide page for "Branding" | |
FC | Extend ".wui-bs-alert" with all fruit-color-variantes |
Font-Awesome has been updated to version 5.12.0 | |
Ut | "Utils" has been extended with opacity, heights and colors |
Do you have any design-related questions or suggestions? We'd love to hear from you.
Please contact Wuiman to discuss your ideas.
We use labels in different contexts and for different purposes, but they should still be consistent across the platform. The basic label comes with 3 different variations for:
Labels help users to quickly register the status of a particular item. For example the three different states - success, warning and danger - are shown in their usual colors - green, yellow and red. For further status colors have a look at the table below or at the wescale colors.
Label default | ||
Label secondary with longer name | .wui-label--secondary | |
Label success | .wui-label--success | |
Label warning | .wui-label--warning | |
Label danger | .wui-label--danger | |
Default label with icon |
Labels among each other have the same width according to the widest. The size of labels in tables is limited to a width of 180px and than truncated with ellipsis - so better be concise when it comes to wording (see: Table).
Labels can also contain icons. Note when choosing a color - an unchecked option is not always dangerous or needs a warning. The impact on the users workflow by the activation of an option is made from case to case.
<span class="wui-label" title="Title of label">
Label default
</span>
<span class="wui-label wui-label--secondary" title="Title of label">
Label secondary
</span>
<span class="wui-label wui-label--success" title="Title of label">
Label success
</span>
<span class="wui-label wui-label--warning" title="Title of label">
Label warning
</span>
<span class="wui-label wui-label--danger" title="Title of label">
Label danger
</span>
<span class="wui-label" title="Title of label">
<i class="fas fa-check"></i>
</span>
In addition to the modifiers for the color, there are a few more for the size. In tables we do not need these modifiers because we always use the default size there. But outside of tables, you can use the following size-modifiers for all different variations of labels:
.wui-label-size--sm .wui-label-size--lg and .wui-label-size--xlg
Labels with numbers are very similar to the default labels. The main difference is about the font-weight. Numbers are always bold. Furthermore it is not very common to have a big range of colors, because numbers usually don't show states. For the most cases you will have the label-green ( #078390). Except for labels that contain the number "0". These ones are grey ( #888).
27 | .wui-label--number | |
0 | .wui-label--number .wui-label--muted |
Number labels are centered and have a min-width so that numbers of two digits have the same width than single-digit-labels.
<span class="wui-label wui-label--number" title="Title of label">
27
</span>
<span class="wui-label wui-label--number wui-label--muted" title="Title of label">
0
</span>
Price labels are a very special type of label for our domain. These labels are used exclusively for price information. Differences to the other tags are the missing border-radius which is set by .wui-label--angular. Modifiers for resizing can also be used together with the .wui-label--price. Because the price-labels are often used in other contexts, the sizes differ slightly from those of the other labels.
<span class="wui-label wui-label--price wui-label--angular" title="EUR 312.95">
EUR 312.95
</span>
Optically tags are very similar to labels. But in contrast to labels, tags are not set by the system to inform about a specific status. Tags could be set, written or changed directly by the users.
Tags can be used in different scenarios. Sometimes they are restricted to a max number of characters or a specific character set like the tags for tenant codes.
<span class="wui-tag" title="Title of tag">
removable tag
<span class="wui-tag__remove">
<i class="fa fa-times"></i>
</span>
</span>