<div class="alert alert--info">
    <div class="alert-text"><strong>Vorsicht!</strong> Vielen Dank.</div>
    <button class="alert-btn" type="button">
        <span class="icon icon-close icon--brand-white icon--small"></span>
        <span class="sr-only">Schließen</span>
    </button>
</div>
<div class="alert alert--info">
    <div class="alert-text"><strong>Vorsicht!</strong> Vielen Dank.</div>
    <button class="alert-btn" type="button">
        <span class="icon icon-close icon--brand-white icon--small"></span>
        <span class="sr-only">Schließen</span>
    </button>
</div>
/* No context defined. */
  • Content:
    .alert {
      @extend %heading-font-regular;
    
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
    
      padding: $spacer-xs;
    
      font-size: $font-size-base;
      color: $alert-color;
    
      &--info {
        background-color: $brand-info;
      }
    
      &--warn {
        color: $brand-text;
        background-color: $brand-warn;
      }
    
      &--error {
        background-color: $brand-danger;
      }
    }
    
    .alert-btn {
      @extend %base-button;
    
      color: inherit;
    }
    
    @media screen and (min-width: $grid-breakpoint-md) {
      .alert {
        padding: $spacer-sm;
      }
    }
    
  • URL: /components/raw/alert/_alert.scss
  • Filesystem Path: components/05-atoms/form-elements/alert/_alert.scss
  • Size: 533 Bytes

No notes defined.