<commit_before>@import '../../variables';
@import '../../mixins';
@import '../../breakpoints';

.teaser-status {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-end;
  width: 100%;
  padding: 0;
  font-family: $font-regular;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.17;
  letter-spacing: 0.4px;

  /* fallback */
  color: $color-text-default;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-text, $color-text-default);
  }
  
  @include breakLongWords;
  margin: 8px 0 0;

  @include tablet-up {
    margin-top: 12px;
  }
}

.teaser-status__content {
  display: flex;
  align-items: center;
}

// only show teaser status when a modifier is set
.teaser-status--new,
.teaser-status--new-and-updated,
.teaser-status--visited,
.teaser-status--visited-and-updated {
  display: flex;
}

.teaser-status--new {
  /* fallback */
  color: $color-srf-light;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-new, $color-srf-light);
  }
}

.teaser-status--new-and-updated,
.teaser-status--visited,
.teaser-status--visited-and-updated {
  .teaser-status__content:before {
    content: '';
    margin-right: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 12px;
    width: 12px;
    animation: rotateSparselyAnimation 10s 5s infinite;
  }
}

.teaser-status--new-and-updated {
  /* fallback */
  color: $color-srf-light;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-new, $color-srf-light)
  }

  .teaser-status__content:before {
    /* fallback */
    background-image: url(../img/retry_red.svg);

    /* theme */
    /* NOTE1: Themes should be decalred via custom properties, but this does not work here (propably 'cause of gulp or something) therefore these assets are declared just below these lines */
  }
}

/* theme (see NOTE1) */
.teaser--theme-dark .teaser-status--new-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}
.teaser--theme-breaking .teaser-status--new-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}

.teaser-status--visited {
  /* fallback */
  color: $color-button-success;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-visited, $color-button-success)
  }

  .teaser-status__content:before {
    animation: none;

    /* fallback */
    background-image: url(../img/small_tick-blue.svg);

    /* theme */
    /* NOTE2: Themes should be decalred via custom properties, but this does not work here (propably 'cause of gulp or something) therefore these assets are declared just below these lines */
  }
}

/* theme (see NOTE2) */
.teaser--theme-dark .teaser-status--visited {
  .teaser-status__content:before {
    background-image: url(../img/small_tick-white.svg);
  }
}
.teaser--theme-breaking .teaser-status--visited {
  .teaser-status__content:before {
    background-image: url(../img/small_tick-white.svg);
  }
}



.teaser-status--visited-and-updated {
  /* fallback */
  color: $color-text-light;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-updated, $color-text-light)
  }

  .teaser-status__content:before {
    /* fallback */
    background-image: url(../img/retry_grey.svg);

    /* theme */
    /* NOTE2: Themes should be decalred via custom properties, but this does not work here (propably 'cause of gulp or something) therefore these assets are declared just below these lines */
  }
}

/* theme (see NOTE2) */
.teaser--theme-dark .teaser-status--visited-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}
.teaser--theme-breaking .teaser-status--visited-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}

// larger teaser sizes (L/XL) have larger gaps between previous content and teaser status
.teaser-status--size-large {
  margin: 16px 0 0;

  @include tablet-up {
    margin-top: 20px;
  }
}
<commit_msg>Fixes Typo :see_no_evil:<commit_after>@import '../../variables';
@import '../../mixins';
@import '../../breakpoints';

.teaser-status {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-end;
  width: 100%;
  padding: 0;
  font-family: $font-regular;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.17;
  letter-spacing: 0.4px;

  /* fallback */
  color: $color-text-default;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-text, $color-text-default);
  }
  
  @include breakLongWords;
  margin: 8px 0 0;

  @include tablet-up {
    margin-top: 12px;
  }
}

.teaser-status__content {
  display: flex;
  align-items: center;
}

// only show teaser status when a modifier is set
.teaser-status--new,
.teaser-status--new-and-updated,
.teaser-status--visited,
.teaser-status--visited-and-updated {
  display: flex;
}

.teaser-status--new {
  /* fallback */
  color: $color-srf-light;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-new, $color-srf-light);
  }
}

.teaser-status--new-and-updated,
.teaser-status--visited,
.teaser-status--visited-and-updated {
  .teaser-status__content:before {
    content: '';
    margin-right: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 12px;
    width: 12px;
    animation: rotateSparselyAnimation 10s 5s infinite;
  }
}

.teaser-status--new-and-updated {
  /* fallback */
  color: $color-srf-light;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-new, $color-srf-light)
  }

  .teaser-status__content:before {
    /* fallback */
    background-image: url(../img/retry_red.svg);

    /* theme */
    /* NOTE1: Themes should be declared via custom properties, but this does not work here (propably 'cause of gulp or something) therefore these assets are declared just below these lines */
  }
}

/* theme (see NOTE1) */
.teaser--theme-dark .teaser-status--new-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}
.teaser--theme-breaking .teaser-status--new-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}

.teaser-status--visited {
  /* fallback */
  color: $color-button-success;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-visited, $color-button-success)
  }

  .teaser-status__content:before {
    animation: none;

    /* fallback */
    background-image: url(../img/small_tick-blue.svg);

    /* theme */
    /* NOTE2: Themes should be declared via custom properties, but this does not work here (propably 'cause of gulp or something) therefore these assets are declared just below these lines */
  }
}

/* theme (see NOTE2) */
.teaser--theme-dark .teaser-status--visited {
  .teaser-status__content:before {
    background-image: url(../img/small_tick-white.svg);
  }
}
.teaser--theme-breaking .teaser-status--visited {
  .teaser-status__content:before {
    background-image: url(../img/small_tick-white.svg);
  }
}



.teaser-status--visited-and-updated {
  /* fallback */
  color: $color-text-light;

  /* theme */
  @supports (--foo: bar) {
    color: var(--teaser-color-status-updated, $color-text-light)
  }

  .teaser-status__content:before {
    /* fallback */
    background-image: url(../img/retry_grey.svg);

    /* theme */
    /* NOTE2: Themes should be declared via custom properties, but this does not work here (propably 'cause of gulp or something) therefore these assets are declared just below these lines */
  }
}

/* theme (see NOTE2) */
.teaser--theme-dark .teaser-status--visited-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}
.teaser--theme-breaking .teaser-status--visited-and-updated {
  .teaser-status__content:before {
    background-image: url(../img/retry_white.svg);
  }
}

// larger teaser sizes (L/XL) have larger gaps between previous content and teaser status
.teaser-status--size-large {
  margin: 16px 0 0;

  @include tablet-up {
    margin-top: 20px;
  }
}

{'fraction_non_alphanumeric': 0.16045982517063825, 'fraction_numerical': 0.009579691054963478, 'mean_word_length': 2.926657263751763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5523397', 'n_tokens_mistral': 3024, 'n_tokens_neox': 2928, 'n_words': 610}