<commit_before>.modal {
  display: none;
  outline: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  white-space: nowrap;
  z-index: map-get($dialog-elevation-shadow, elevation);

  &::before {
    content: '';
    display: inline-block;
    height: 100%;
    margin-right: -.25em;
    vertical-align: middle;
    width: 1px;
  }

  &.fade {
    @include transition-standard-complex(opacity);

    .modal-dialog {
      @include transition-standard-complex(transform);

      transform: scale($dialog-scale);
    }
  }

  &.show .modal-dialog {
    transform: scale(1);
  }
}

.modal-open {
  overflow: hidden;

  .modal {
    overflow-x: hidden;
    overflow-y: auto;
  }
}



// Backdrop

.modal-backdrop {
  background-color: $dialog-backdrop-bg;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: (map-get($dialog-elevation-shadow, elevation) - 1);
}



// Dialog

.modal-dialog {
  @include text-align(left);

  display: inline-block;
  margin: $dialog-margin-y $dialog-margin-x;
  max-width: $dialog-width;
  position: relative;
  vertical-align: middle;
  white-space: normal;
  width: calc(100% - #{$dialog-margin-x} * 2);
}

.modal-lg {
  max-width: $dialog-width-lg;
}

.modal-sm {
  max-width: $dialog-width-sm;
}



// Misc

.modal-body {
  flex: 1 1 auto;
  padding: $dialog-padding-y $dialog-padding-x;
  position: relative;

  .modal-header + & {
    padding-top: 0;
  }

  > :last-child {
    margin-bottom: 0;
  }
}

.modal-content {
  @include border-radius($border-radius);

  background-clip: padding-box;
  background-color: $dialog-content-bg;
  box-shadow: map-get($dialog-elevation-shadow, shadow);
  display: flex;
  flex-direction: column;
  outline: 0;
  position: relative;
  vertical-align: baseline;
}

.modal-footer {
  align-items: flex-end;
  display: flex;
  justify-content: flex-end;
  padding: $dialog-footer-padding-y $dialog-footer-padding-x $dialog-footer-padding-y ($dialog-footer-padding-x - $dialog-footer-inner-spacer-x);

  > * {
    margin-left: $dialog-footer-inner-spacer-x;
  }

  .btn {
    background-color: transparent;
    box-shadow: none;
    max-width: calc(50% - #{$dialog-footer-inner-spacer-x});
    min-width: $dialog-footer-btn-min-width;
    overflow: hidden;
    padding-right: $dialog-footer-inner-spacer-x;
    padding-left: $dialog-footer-inner-spacer-x;
    text-overflow: ellipsis;

    &:active,
    &.active {
      background-color: $btn-bg-active;
      box-shadow: none;
    }

    &:disabled,
    &.disabled {
      background-color: transparent;
    }
  }

  // Colour
  @each $color, $values in $theme-colors {
    .btn-#{$color} {
      @include plain-active-focus-hover {
        color: map-get(theme-color($color), color);
      }

      &:disabled,
      &.disabled {
        color: $btn-color-disabled;
      }
    }
  }
}

.modal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: $dialog-padding-y $dialog-padding-x;
}

.modal-title {
  @include typography-title;

  margin: 0;
}



// Scrollbar measure

.modal-scrollbar-measure {
  height: 50px;
  overflow: scroll;
  position: absolute;
  top: -99999px;
  width: 50px;
}<commit_msg>Add `.modal-footer-stacked`<commit_after>.modal {
  display: none;
  outline: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  white-space: nowrap;
  z-index: map-get($dialog-elevation-shadow, elevation);

  &::before {
    content: '';
    display: inline-block;
    height: 100%;
    margin-right: -.25em;
    vertical-align: middle;
    width: 1px;
  }

  &.fade {
    @include transition-standard-complex(opacity);

    .modal-dialog {
      @include transition-standard-complex(transform);

      transform: scale($dialog-scale);
    }
  }

  &.show .modal-dialog {
    transform: scale(1);
  }
}

.modal-open {
  overflow: hidden;

  .modal {
    overflow-x: hidden;
    overflow-y: auto;
  }
}



// Backdrop

.modal-backdrop {
  background-color: $dialog-backdrop-bg;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: (map-get($dialog-elevation-shadow, elevation) - 1);
}



// Dialog

.modal-dialog {
  @include text-align(left);

  display: inline-block;
  margin: $dialog-margin-y $dialog-margin-x;
  max-width: $dialog-width;
  position: relative;
  vertical-align: middle;
  white-space: normal;
  width: calc(100% - #{$dialog-margin-x} * 2);
}

.modal-lg {
  max-width: $dialog-width-lg;
}

.modal-sm {
  max-width: $dialog-width-sm;
}



// Misc

.modal-body {
  flex: 1 1 auto;
  padding: $dialog-padding-y $dialog-padding-x;
  position: relative;

  .modal-header + & {
    padding-top: 0;
  }

  > :last-child {
    margin-bottom: 0;
  }
}

.modal-content {
  @include border-radius($border-radius);

  background-clip: padding-box;
  background-color: $dialog-content-bg;
  box-shadow: map-get($dialog-elevation-shadow, shadow);
  display: flex;
  flex-direction: column;
  outline: 0;
  position: relative;
  vertical-align: baseline;
}

.modal-footer {
  align-items: flex-end;
  display: flex;
  justify-content: flex-end;
  padding: $dialog-footer-padding-y $dialog-footer-padding-x $dialog-footer-padding-y ($dialog-footer-padding-x - $dialog-footer-inner-spacer-x);

  > * {
    margin-left: $dialog-footer-inner-spacer-x;
  }

  .btn {
    background-color: transparent;
    box-shadow: none;
    max-width: calc(50% - #{$dialog-footer-inner-spacer-x});
    min-width: $dialog-footer-btn-min-width;
    overflow: hidden;
    padding-right: $dialog-footer-inner-spacer-x;
    padding-left: $dialog-footer-inner-spacer-x;
    text-overflow: ellipsis;

    &:active,
    &.active {
      background-color: $btn-bg-active;
      box-shadow: none;
    }

    &:disabled,
    &.disabled {
      background-color: transparent;
    }
  }

  // Colour
  @each $color, $values in $theme-colors {
    .btn-#{$color} {
      @include plain-active-focus-hover {
        color: map-get(theme-color($color), color);
      }

      &:disabled,
      &.disabled {
        color: $btn-color-disabled;
      }
    }
  }
}

.modal-footer-stacked {
  align-items: stretch;
  flex-direction: column;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;

  .btn {
    @include text-align(right);

    border-radius: 0;
    margin-left: 0;
    max-width: none;
    padding: $dialog-footer-btn-stacked-padding-y $dialog-footer-btn-stacked-padding-x;
  }
}

.modal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: $dialog-padding-y $dialog-padding-x;
}

.modal-title {
  @include typography-title;

  margin: 0;
}



// Scrollbar measure

.modal-scrollbar-measure {
  height: 50px;
  overflow: scroll;
  position: absolute;
  top: -99999px;
  width: 50px;
}
{'fraction_non_alphanumeric': 0.16014026884862653, 'fraction_numerical': 0.011835184102863822, 'mean_word_length': 2.736353711790393, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3201778', 'n_tokens_mistral': 2624, 'n_tokens_neox': 2491, 'n_words': 474}