|
| 1 | +--- |
| 2 | +title: Status Label |
| 3 | +assets: |
| 4 | + - helix-ui.css |
| 5 | +--- |
| 6 | +{% extends 'component.njk' %} |
| 7 | +{% block content %} |
| 8 | + |
| 9 | +<section> |
| 10 | + <h2 class="hxSectionTitle" id="default-label">Default Label</h2> |
| 11 | + <div class="demo"> |
| 12 | + <hx-status> |
| 13 | + Default Label |
| 14 | + </hx-status> |
| 15 | + </div> |
| 16 | + {% code 'html' %} |
| 17 | + <hx-status> |
| 18 | + Default Label |
| 19 | + </hx-status> |
| 20 | + {% endcode %} |
| 21 | +</section> |
| 22 | + |
| 23 | +<section> |
| 24 | + <h2 class="hxSectionTitle" id="emphasis-gray">Emphasis Gray</h2> |
| 25 | + <p> |
| 26 | + The <code>.-hxEmphasisGray</code> CSS class can be added to status labels that require more |
| 27 | + attention than the default style. |
| 28 | + </p> |
| 29 | + <div class="demo"> |
| 30 | + <hx-status class="-hxEmphasisGray"> |
| 31 | + Emphasis Gray |
| 32 | + </hx-status> |
| 33 | + </div> |
| 34 | + {% code 'html' %} |
| 35 | + <hx-status class="-hxEmphasisGray"> |
| 36 | + Emphasis Gray |
| 37 | + </hx-status> |
| 38 | + {% endcode %} |
| 39 | +</section> |
| 40 | + |
| 41 | +<section> |
| 42 | + <h2 class="hxSectionTitle" id="emphasis-purple">Emphasis Purple</h2> |
| 43 | + <p> |
| 44 | + The <code>.-hxEmphasisPurple</code> CSS class can be added to status labels that require |
| 45 | + more attention than the gray emphasis. |
| 46 | + </p> |
| 47 | + <div class="demo"> |
| 48 | + <hx-status class="-hxEmphasisPurple"> |
| 49 | + Emphasis Purple |
| 50 | + </hx-status> |
| 51 | + </div> |
| 52 | + {% code 'html' %} |
| 53 | + <hx-status class="-hxEmphasisPurple"> |
| 54 | + Emphasis Purple |
| 55 | + </hx-status> |
| 56 | + {% endcode %} |
| 57 | +</section> |
| 58 | + |
| 59 | +<section> |
| 60 | + <h2 class="hxSectionTitle" id="subdued">Subdued</h2> |
| 61 | + <p> |
| 62 | + The <code>.-hxSubdued</code> class can be used on status labels that require less or |
| 63 | + no attention from the user. |
| 64 | + </p> |
| 65 | + <div class="demo"> |
| 66 | + <hx-status class="-hxSubdued"> |
| 67 | + Subdued |
| 68 | + </hx-status> |
| 69 | + </div> |
| 70 | + {% code 'html' %} |
| 71 | + <hx-status class="-hxSubdued"> |
| 72 | + Subdued |
| 73 | + </hx-status> |
| 74 | + {% endcode %} |
| 75 | +</section> |
| 76 | + |
| 77 | +<section> |
| 78 | + <h2 class="hxSectionTitle" id="filled-labels">Filled Labels</h2> |
| 79 | + <p> |
| 80 | + The <code>.-hxFill</code> class can be used on status labels to apply filled |
| 81 | + backgrounds. This class can be used in conjunction with any of the previous |
| 82 | + status label modifier classes above. |
| 83 | + </p> |
| 84 | + <div class="demo"> |
| 85 | + <hx-status class="-hxFill"> |
| 86 | + Default Label |
| 87 | + </hx-status><br/> |
| 88 | + <hx-status class="-hxFill -hxEmphasisGray"> |
| 89 | + Emphasis Gray |
| 90 | + </hx-status><br/> |
| 91 | + <hx-status class="-hxFill -hxEmphasisPurple"> |
| 92 | + Emphasis Purple |
| 93 | + </hx-status><br/> |
| 94 | + <hx-status class="-hxFill -hxSubdued"> |
| 95 | + Subdued |
| 96 | + </hx-status> |
| 97 | + </div> |
| 98 | + {% code 'html' %} |
| 99 | + <hx-status class="-hxFill"> |
| 100 | + Default Label |
| 101 | + </hx-status><br/> |
| 102 | + <hx-status class="-hxFill -hxEmphasisGray"> |
| 103 | + Emphasis Gray |
| 104 | + </hx-status><br/> |
| 105 | + <hx-status class="-hxFill -hxEmphasisPurple"> |
| 106 | + Emphasis Purple |
| 107 | + </hx-status><br/> |
| 108 | + <hx-status class="-hxFill -hxSubdued"> |
| 109 | + Subdued |
| 110 | + </hx-status> |
| 111 | + {% endcode %} |
| 112 | +</section> |
| 113 | + |
| 114 | +{% endblock %} |
0 commit comments