<h4 title="Current status" class="c-status-indicator pending">
    pending
</h4>
<h4 title="Current status" class="c-status-indicator {{status}}">
  {{status}}
</h4>
{
  "status": "pending"
}
  • Content:
    .c-status-indicator {
      display: inline-block;
      text-align: center;
      font-size: $text-size-7;
      padding: $space-xxxs $space-xs;
      border-radius: $global-radius;
      background-color: $status--pending-bg;
      color: $status--pending-color;
      letter-spacing: rem(0.5);
      text-transform: uppercase;
      @include font-weight(normal);
      align-self: center;
    
      @include hocus() {
        cursor: help;
      }
    
      &.completed {
        background-color: $status--completed-bg;
        color: $status--completed-color;
      }
    
      &.cancelled {
        background-color: $status--canceled-bg;
        color: $status--canceled-color;
      }
    }
    
  • URL: /components/raw/status-indicator/_status-indicator.scss
  • Filesystem Path: components/_code-components/status-indicator/_status-indicator.scss
  • Size: 598 Bytes

There are no notes for this item.