<commit_before>@mixin elr-accordion($config: ()) {
  $config:extend(
    (
      label-color: #333,
      border-radius: 3px,
      color: #fff,
      border-color: #333,
      icon-color: rgb(0, 140, 255)
    ),
    $config
  );

  $label-color: map-get($config, label-color);
  $border-radius: map-get($config, border-radius);
  $color: map-get($config, color);
  $border-color: map-get($config, border-color);
  $icon-color: map-get($config, icon-color);

  margin-top: 10px;
  margin-bottom: 10px;

  .elr-accordion-label,
  .elr-accordion-content {
    background-color: $color;

    @if ($border-color != none) {
      border: 1px solid $border-color;
    }

    @if ($border-radius != 0) {
      border-radius: $border-radius;
    }
  }

  .elr-accordion-label {
    font-size: 18px;
    color: $label-color;
    font-weight: 700;
    position: relative;

    @if ($border-color == none) {
      margin: 0;
      padding: 5px 0;
      padding-left: 15px;
    } @else {
      margin: 0 0 5px;
      padding: 5px 10px;
      padding-left: 30px;
    }

    &:hover {
      cursor: pointer;
    }

    &.active {
      .elr-accordion-icon {
        transform: rotate(0deg);
      }
    }
  }

  .elr-accordion-icon {
    font-size: 14px;
    font-weight: 700;
    color: $icon-color;
    transform: rotate(-90deg);
    line-height: 1;
    position: absolute;
    top: 9px;
    transition: transform 0.3s ease-in-out;

    @if ($border-color == none) {
      left: 0;
    } @else {
      left: 15px;
    }
  }

  .elr-accordion-content {
    @include elr-slide;
    padding: 0;

    &.active {
      margin-bottom: 5px;

      @if ($border-color == none) {
        padding: 10px 0;
      } @else {
        padding: 20px;
      }
    }

    p {
      margin: 0;
      padding: 5px 0;
    }

    p:first-child {
      padding-top: 0;
    }

    p:last-child {
      padding-bottom: 0;
    }
  }

  .elr-accordion-inner {
    padding: 10px 20px;
  }<commit_msg>update border color and padding<commit_after>@mixin elr-accordion($config: ()) {
  $config:extend(
    (
      label-color: #333,
      border-radius: 3px,
      color: #fff,
      border-color: #ccc,
      icon-color: rgb(0, 140, 255)
    ),
    $config
  );

  $label-color: map-get($config, label-color);
  $border-radius: map-get($config, border-radius);
  $color: map-get($config, color);
  $border-color: map-get($config, border-color);
  $icon-color: map-get($config, icon-color);

  margin-top: 10px;
  margin-bottom: 10px;

  .elr-accordion-label,
  .elr-accordion-content {
    background-color: $color;

    @if ($border-color != none) {
      border: 1px solid $border-color;
    }

    @if ($border-radius != 0) {
      border-radius: $border-radius;
    }
  }

  .elr-accordion-label {
    font-size: 18px;
    color: $label-color;
    font-weight: 700;
    position: relative;

    @if ($border-color == none) {
      margin: 0;
      padding: 5px 0;
      padding-left: 15px;
    } @else {
      margin: 0 0 5px;
      padding: 5px 10px;
      padding-left: 25px;
    }

    &:hover {
      cursor: pointer;
    }

    &.active {
      .elr-accordion-icon {
        transform: rotate(0deg);
      }
    }
  }

  .elr-accordion-icon {
    font-size: 14px;
    font-weight: 700;
    color: $icon-color;
    transform: rotate(-90deg);
    line-height: 1;
    position: absolute;
    top: 9px;
    transition: transform 0.3s ease-in-out;

    @if ($border-color == none) {
      left: 0;
    } @else {
      left: 10px;
    }
  }

  .elr-accordion-content {
    @include elr-slide;
    padding: 0;

    &.active {
      margin-bottom: 5px;
    }

    p {
      margin: 0;
      // padding: 5px 0;

      @if ($border-color == none) {
        padding: 5px 0;
      } @else {
        padding: 5px 20px;
      }
    }

    p:first-child {
      padding-top: 20px;
    }

    p:last-child {
      padding-bottom: 20px;
    }
  }
{'fraction_non_alphanumeric': 0.15528747433264886, 'fraction_numerical': 0.03413757700205339, 'mean_word_length': 1.9322799097065462, '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': '6570275', 'n_tokens_mistral': 1612, 'n_tokens_neox': 1433, 'n_words': 295}