<commit_before>@mixin modal-size($width, $height) {
  width: $width;
  height: $height;
  margin-left: -($width/2);
  margin-top: -($height/2);
}

%modal {
  @extend .hide;
  @extend .box;
  position: fixed;
  @include transition(opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out);
  box-shadow: 0 1px 3px $font;

  top: 50%;
  left: 50%;
  bottom: auto;
  right: auto;
  padding: 0;
  margin-left: -250px;
  background-clip: padding-box;

  /* Hidden */
  @include opacity(0);
  pointer-events: none;

  z-index: $z-modal;
  outline: none;

  &.is-open {
    @include opacity(1);
    pointer-events: auto;
    @extend .show;
  }
  .btn-close { z-index: $z-btn--close; }
}

.modal {
  @extend %modal;
  @include modal-size(600px, 390px);
}

.modal--small {
  @extend %modal;
  @include modal-size(420px, 100px);
  .modal-title { font-size: 1.2em; }
}

.modal--media {
  @extend %modal;
  @include modal-size(730px, 640px);
  .modal-content-actions {
    @include row;
    margin-bottom: 20px;
    .search {float: right;}
  }
}

.modal-header  { @extend .box-header; }
.modal-content { @extend .box-content; }
.modal-footer  { @extend .box-footer; }
.modal-title   {
  @extend .box-title;
  font-size: 1.8em;
}<commit_msg>Fix new page modal height<commit_after>@mixin modal-size($width, $height) {
  width: $width;
  height: $height;
  margin-left: -($width/2);
  margin-top: -($height/2);
}

%modal {
  @extend .hide;
  @extend .box;
  position: fixed;
  @include transition(opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out);
  box-shadow: 0 1px 3px $font;

  top: 50%;
  left: 50%;
  bottom: auto;
  right: auto;
  padding: 0;
  margin-left: -250px;
  background-clip: padding-box;

  /* Hidden */
  @include opacity(0);
  pointer-events: none;

  z-index: $z-modal;
  outline: none;

  &.is-open {
    @include opacity(1);
    pointer-events: auto;
    @extend .show;
  }
  .btn-close { z-index: $z-btn--close; }
}

.modal {
  @extend %modal;
  @include modal-size(600px, 390px);
}

.modal--small {
  @extend %modal;
  @include modal-size(420px, 250px);
  .modal-title { font-size: 1.2em; }
}

.modal--media {
  @extend %modal;
  @include modal-size(730px, 640px);
  .modal-content-actions {
    @include row;
    margin-bottom: 20px;
    .search {float: right;}
  }
}

.modal-header  { @extend .box-header; }
.modal-content { @extend .box-content; }
.modal-footer  { @extend .box-footer; }
.modal-title   {
  @extend .box-title;
  font-size: 1.8em;
}
{'fraction_non_alphanumeric': 0.17958860759493672, 'fraction_numerical': 0.037183544303797465, 'mean_word_length': 2.9209302325581397, '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': '3222069', 'n_tokens_mistral': 1079, 'n_tokens_neox': 1005, 'n_words': 228}