<commit_before>// Block
.c-nav {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

// Elements
.c-nav__item {

}

.c-nav__link {
  display: block;
  line-height: $line-height-base;
  font-size: $font-size-base;
  &[disabled],
  &.is-disabled {
    opacity: .65;
    cursor: not-allowed;
  }
}

// Modifiers
.c-nav--menus {
  > .c-nav__item {
    &:not(:last-child) {
      margin-bottom: $nav-menus-item-margin-y;
    }
    > .c-nav__link {
      color: $nav-menus-link-color;
      padding: $nav-menus-link-padding-base-y $nav-menus-link-padding-base-x;
      border-radius: $nav-menus-link-border-radius-base;
      &:hover {
        background-color: $nav-menus-link-hover-bg;
      }
      &.is-active {
        color: $nav-menus-link-active-color;
        background-color: $nav-menus-link-active-bg;
      }
    }
  }

  > .c-nav__divider {
    height: 1px;
    margin-top: $space-stack-xs;
    margin-bottom: $space-stack-xs;
    background-color: $nav-menus-divider-color;
  }

  .c-nav--menus {
    margin: $nav-menus-item-margin-y 0 $nav-menus-item-margin-y $space-stack-s;
  }
}

.c-nav--pills {
  display: flex;
  > .c-nav__item {
    &:not(:last-child) {
      margin-right: $nav-pills-item-margin-x;
    }
    > .c-nav__link {
      color: $nav-pills-link-color;
      padding: $nav-pills-link-padding-base-y $nav-pills-link-padding-base-x;
      border-radius: $nav-pills-link-border-radius-base;
      &:hover {
        background-color: $nav-pills-link-hover-bg;
      }
      &.is-active {
        color: $nav-pills-link-active-color;
        background-color: $nav-pills-link-active-bg;
      }
    }
  }
}

.c-nav--tabs {
  display: flex;
  border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
  > .c-nav__item {
    margin-bottom: (0 - $nav-tabs-border-width);
    &:not(:last-child) {
      margin-right: $nav-tabs-item-margin-x;
    }
    > .c-nav__link {
      color: $nav-tabs-link-color;
      padding: $nav-tabs-link-padding-base-y $nav-tabs-link-padding-base-x;
      border-radius: $nav-tabs-link-border-radius-base $nav-tabs-link-border-radius-base 0 0;
      border: $nav-tabs-link-border-width solid transparent;
      &:hover {
        color: $nav-tabs-link-hover-color;
      }
      &.is-active {<commit_msg>pills nav text align center<commit_after>// Block
.c-nav {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

// Elements
.c-nav__item {

}

.c-nav__link {
  display: block;
  line-height: $line-height-base;
  font-size: $font-size-base;
  &[disabled],
  &.is-disabled {
    opacity: .65;
    cursor: not-allowed;
  }
}

// Modifiers
.c-nav--menus {
  > .c-nav__item {
    &:not(:last-child) {
      margin-bottom: $nav-menus-item-margin-y;
    }
    > .c-nav__link {
      color: $nav-menus-link-color;
      padding: $nav-menus-link-padding-base-y $nav-menus-link-padding-base-x;
      border-radius: $nav-menus-link-border-radius-base;
      &:hover {
        background-color: $nav-menus-link-hover-bg;
      }
      &.is-active {
        color: $nav-menus-link-active-color;
        background-color: $nav-menus-link-active-bg;
      }
    }
  }

  > .c-nav__divider {
    height: 1px;
    margin-top: $space-stack-xs;
    margin-bottom: $space-stack-xs;
    background-color: $nav-menus-divider-color;
  }

  .c-nav--menus {
    margin: $nav-menus-item-margin-y 0 $nav-menus-item-margin-y $space-stack-s;
  }
}

.c-nav--pills {
  display: flex;
  > .c-nav__item {
    &:not(:last-child) {
      margin-right: $nav-pills-item-margin-x;
    }
    > .c-nav__link {
      color: $nav-pills-link-color;
      text-align: center;
      padding: $nav-pills-link-padding-base-y $nav-pills-link-padding-base-x;
      border-radius: $nav-pills-link-border-radius-base;
      &:hover {
        background-color: $nav-pills-link-hover-bg;
      }
      &.is-active {
        color: $nav-pills-link-active-color;
        background-color: $nav-pills-link-active-bg;
      }
    }
  }
}

.c-nav--tabs {
  display: flex;
  border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
  > .c-nav__item {
    margin-bottom: (0 - $nav-tabs-border-width);
    &:not(:last-child) {
      margin-right: $nav-tabs-item-margin-x;
    }
    > .c-nav__link {
      color: $nav-tabs-link-color;
      padding: $nav-tabs-link-padding-base-y $nav-tabs-link-padding-base-x;
      border-radius: $nav-tabs-link-border-radius-base $nav-tabs-link-border-radius-base 0 0;
      border: $nav-tabs-link-border-width solid transparent;
      &:hover {
        color: $nav-tabs-link-hover-color;
      }
      &.is-active {
{'fraction_non_alphanumeric': 0.1758695652173913, 'fraction_numerical': 0.00391304347826087, 'mean_word_length': 2.2219887955182074, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '5906469', 'n_tokens_mistral': 1836, 'n_tokens_neox': 1815, 'n_words': 244}