<commit_before>/*  ============================================================================

  Copyright (C) 2006-2016 Talend Inc. - www.talend.com

  This source code is available under agreement available at
  https://github.com/Talend/data-prep/blob/master/LICENSE

  You should have received a copy of the agreement
  along with this program; if not, write to Talend SA
  9 rue Pages 92150 Suresnes, France

  ============================================================================*/

$contains-color: $wave-dark;
$inside_range-color: $wave;
$empty_records-color: $light;
$valid_records-color: $peace;
$invalid_records-color: $juice;
$matches-color: $ground;
$sc-metadata-color: $wave-light !default;
$sc-pattern-color: $wave-light !default;

.filter-item {

  .operator{
    padding: 0 5px 0 5px;
    border-radius: 2px;
    text-align: center;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.2);
    vertical-align: middle;
  }

  &-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-left: 10px;
    vertical-align: middle;
  }

  &-value, &-range {
    padding: 3px 2px;
    font-family: $base-font-family;
    font-style: italic;<commit_msg>Revert filter-item style<commit_after>/*  ============================================================================

  Copyright (C) 2006-2016 Talend Inc. - www.talend.com

  This source code is available under agreement available at
  https://github.com/Talend/data-prep/blob/master/LICENSE

  You should have received a copy of the agreement
  along with this program; if not, write to Talend SA
  9 rue Pages 92150 Suresnes, France

  ============================================================================*/

$contains-color: $wave-dark;
$inside_range-color: $wave;
$empty_records-color: $light;
$valid_records-color: $peace;
$invalid_records-color: $juice;
$matches-color: $ground;
$sc-metadata-color: $wave-light !default;
$sc-pattern-color: $wave-light !default;

%badge-colors {
  &.metadataBadge {
    .badge {
      @include badge($sc-metadata-color);
    }
  }

  &.patternBadge {
    .badge {
      @include badge($sc-pattern-color);
    }
  }

  &.valid_records {
    .badge {
      @include badge($valid_records-color);
    }
  }

  &.invalid_records {
    .badge {
      @include badge($invalid_records-color);
    }
  }

  &.empty_records {
    .badge {
      @include badge($empty_records-color);
      color: $dark;
      border-color: #8C8C8C;

      &-btn-close {
        color: $dark;
        vertical-align: middle;
      }
    }
  }

  &.contains {
    .badge {
      @include badge($contains-color);
    }
  }

  &.exact {
    .badge {
      @include badge($contains-color);
    }
  }

  &.inside_range {
    .badge {
      @include badge($inside_range-color);
    }
  }

  &.matches {
    .badge {
      @include badge($matches-color);
    }
  }
}

.filter-item {
  @extend %badge-colors;

  .operator{
    padding: 0 5px 0 5px;
    border-radius: 2px;
    text-align: center;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.2);
    vertical-align: middle;
  }

  &-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-left: 10px;
    vertical-align: middle;
  }

  &-value, &-range {
    padding: 3px 2px;
    font-family: $base-font-family;
    font-style: italic;
{'fraction_non_alphanumeric': 0.21565731166912852, 'fraction_numerical': 0.020384047267355983, 'mean_word_length': 3.045400238948626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1877675', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1091, 'n_words': 249}