<commit_before>$border-color: #4B5662;
$white: #F0EFFB;
$summary-border-color: rgba(0, 0, 0, 0.1);

$statusColors:
  "passed" #2CB14A,
  "skipped" #00A0CC,
  "pending" #FFAD33,
  "undefined" #FFAD33,
  "ambiguous" #F4EBFD,
  "failed" #BB0000,
  "unknown" #B6BECB;

@mixin padding-table-cell {
  padding: .3em;
}

@mixin border-table-cell {
  border: 1px solid $border-color;
}

.cucumber-react {
  @each $name, $color in $statusColors {
    .cucumber-status--#{$name} {
      color: $color
    }
  }

  // Reset browser defaults.
  h1, h2, h3 {
    padding: 0;
    margin: 0;
  }
  a { color: inherit; }


  .gherkin-document-list {
    font: 14px 'Open Sans', sans-serif;
    color: #161C24;
    background: #fff;
    overflow-x: hidden;
  }

  .cucumber-title {
    margin-top: 0.3em;
    margin-bottom: 0;
    display: inline-block;

    &__keyword {
      font-weight: bold;
    }

    &__text {
      font-weight: normal;
    }
  }


  .cucumber-tags {
    padding: 0;
    margin-bottom: 0;

    .cucumber-tag {
      display: inline;
      list-style-type: none;
      padding: 4px 8px 4px 8px;
      margin-right: 6px;
      background-color: #FFFFFF;
      border-radius: 6px;
    }
  }

  .cucumber-feature__icon {
    padding-top: 0.35em;
    padding-right: 0.5em;
  }

  // Indentation inside feature and rules
  .cucumber-description,
  .cucumber-children {
    margin-left: 1em;
  }

  // Spacing between elements
  .cucumber-feature,
  .cucumber-rule,
  .cucumber-scenario,
  .cucumber-background {
    margin-bottom: 1em;
  }

  .cucumber-steps {
    list-style-type: none;
    padding-left: 10px;

    & .cucumber-step {
      display: flex;

      &__status {
        padding-top: 0.2em;
        padding-right: 0.5em;
      }

      &__content {
        flex-grow: 1;
      }

      &__keyword {
        font-weight: bold;
      }

      &__text {
        font-weight: normal;
      }

      &__param {
        font-weight: normal;
        font-style: italic;
      }
    }
  }

  .cucumber-table {
    border-collapse: collapse;
    margin-top: .5em;
    margin-bottom: .5em;

    &__header-cell {
      @include border-table-cell;
      @include padding-table-cell;
    }

    &__cell {
      @include border-table-cell;
      @include padding-table-cell;

      &__status {
        padding: 0.5em 3px 3px 3px;
      }

      &__step {
        flex-grow: 1;
      }
    }
  }

  .cucumber-code {
    padding: 0.25em;
    background-color: rgb(235, 235, 235);
  }

  .cucumber-error {
    padding: 0.5em;
    margin: 0;
    overflow: scroll;
  }

  .cucumber-no-documents {
    font: 14px 'Open Sans', sans-serif;
  }

  .cucumber-attachment {
    &__icon {
      margin-right: 0.5em;
    }

    &__image {
      max-width: 100%;
      margin-top: 1em;
    }

    &__text {
      background-color: rgb(235, 235, 235);
      padding: 0.5em;
    }
  }<commit_msg>make long errors and attachments scrollable<commit_after>$border-color: #4B5662;
$white: #F0EFFB;
$summary-border-color: rgba(0, 0, 0, 0.1);

$statusColors:
  "passed" #2CB14A,
  "skipped" #00A0CC,
  "pending" #FFAD33,
  "undefined" #FFAD33,
  "ambiguous" #F4EBFD,
  "failed" #BB0000,
  "unknown" #B6BECB;

@mixin padding-table-cell {
  padding: .3em;
}

@mixin border-table-cell {
  border: 1px solid $border-color;
}

.cucumber-react {
  @each $name, $color in $statusColors {
    .cucumber-status--#{$name} {
      color: $color
    }
  }

  // Reset browser defaults.
  h1, h2, h3 {
    padding: 0;
    margin: 0;
  }
  a { color: inherit; }


  .gherkin-document-list {
    font: 14px 'Open Sans', sans-serif;
    color: #161C24;
    background: #fff;
    overflow-x: hidden;
  }

  .cucumber-title {
    margin-top: 0.3em;
    margin-bottom: 0;
    display: inline-block;

    &__keyword {
      font-weight: bold;
    }

    &__text {
      font-weight: normal;
    }
  }


  .cucumber-tags {
    padding: 0;
    margin-bottom: 0;

    .cucumber-tag {
      display: inline;
      list-style-type: none;
      padding: 4px 8px 4px 8px;
      margin-right: 6px;
      background-color: #FFFFFF;
      border-radius: 6px;
    }
  }

  .cucumber-feature__icon {
    padding-top: 0.35em;
    padding-right: 0.5em;
  }

  // Indentation inside feature and rules
  .cucumber-description,
  .cucumber-children {
    margin-left: 1em;
  }

  // Spacing between elements
  .cucumber-feature,
  .cucumber-rule,
  .cucumber-scenario,
  .cucumber-background {
    margin-bottom: 1em;
  }

  .cucumber-steps {
    list-style-type: none;
    padding-left: 10px;

    & .cucumber-step {
      display: flex;

      &__status {
        padding-top: 0.2em;
        padding-right: 0.5em;
      }

      &__content {
        flex-grow: 1;
        // don't grow wider than container (less icon) width
        max-width: calc(100% - 1.5em);
      }

      &__keyword {
        font-weight: bold;
      }

      &__text {
        font-weight: normal;
      }

      &__param {
        font-weight: normal;
        font-style: italic;
      }
    }
  }

  .cucumber-table {
    border-collapse: collapse;
    margin-top: .5em;
    margin-bottom: .5em;

    &__header-cell {
      @include border-table-cell;
      @include padding-table-cell;
    }

    &__cell {
      @include border-table-cell;
      @include padding-table-cell;

      &__status {
        padding: 0.5em 3px 3px 3px;
      }

      &__step {
        flex-grow: 1;
      }
    }
  }

  .cucumber-code {
    padding: 0.25em;
    background-color: rgb(235, 235, 235);
  }

  .cucumber-error {
    padding: 0.5em;
    margin: 0;
    overflow-x: auto;
  }

  .cucumber-no-documents {
    font: 14px 'Open Sans', sans-serif;
  }

  .cucumber-attachment {
    &__icon {
      margin-right: 0.5em;
    }

    &__image {
      max-width: 100%;
      margin-top: 1em;
    }

    &__text {
      background-color: rgb(235, 235, 235);
      padding: 0.5em;
      overflow-x: auto;
    }
  }
{'fraction_non_alphanumeric': 0.1388700947225981, 'fraction_numerical': 0.03738159675236807, 'mean_word_length': 1.9330357142857142, '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': '2964471', 'n_tokens_mistral': 2486, 'n_tokens_neox': 2257, 'n_words': 446}