<commit_before>$dialog-tab-width: x(3);
$dialog-tab-height: y(3);
$dialog-body-height: y(28);

$dialog-width: x(36);
$dialog-height: $dialog-body-height;

$dialog-corner-radius: 8px;
$dialog-link-color: #1a85ad;
$dialog-link-active-color: #252525;
$dialog-button-text-color: #fff;
$dialog-body-background-color: #efefef;
$dialog-body-shadow-color: #dee0e1;
$dialog-body-field-color: #fff;
$dialog-body-border-color: #c5cace;
$dialog-body-text-color: #000;
$dialog-body-text-color-lighter: #545454;
$dialog-body-font-size: 16px;
$dialog-body-font-size-smaller: 13px;

$dialog-free-space-for-close-button: y(2);

.uploadcare-dialog {
  font-family: $font-family;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(#313131, .95);
  z-index: 10000;
  overflow: auto;

  * {
    margin: 0;
    padding: 0;
  }
}

.uploadcare-dialog-inner-wrap1 {
  display: table;
  width: 100%;
  height: 100%;
}
.uploadcare-dialog-inner-wrap2 {
  display: table-cell;
  vertical-align: middle;
}

.uploadcare-dialog-close {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  min-width: $dialog-width + $dialog-free-space-for-close-button * 2;
  > div {
    $size: y(1.5);
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    width: $size;
    height: $size;
    line-height: $size;
    font-size: $size * .9;
    font-weight: bold;
    color: #1d1d1d;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
  }
}

.uploadcare-dialog-panel-wrap {
  margin: 0 auto;
  width: $dialog-width;
  padding: 0 $dialog-free-space-for-close-button;
}

.uploadcare-dialog-panel {
  width: $dialog-width;
  height: $dialog-height;
  overflow: hidden;
  border-radius: $dialog-corner-radius;
  background: #fff;
  @include prefix(box-shadow, 0 1px 2px rgba(black, 0.35));
  font-weight: normal;

  a {
    text-decoration: none;
    border-bottom: 1px dotted;
    &:link, &:visited {
      color: $dialog-link-color;
      border-bottom-color: $dialog-link-color;
    }
    &:hover, &:active {
      color: $dialog-link-active-color;
      border-bottom-color: $dialog-link-active-color;
    }
  }
}

.uploadcare-dialog-body {
  .uploadcare-dialog-tabs {
    @include prefix(box-sizing, border-box);
    width: $dialog-tab-width;
    height: $dialog-body-height;
    float: left;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: $dialog-body-shadow-color;
    border-bottom-left-radius: $dialog-corner-radius;
    border-top-left-radius: $dialog-corner-radius;
    overflow: hidden;
    position: relative;
    &:before {
      content: '';
      display: block;
      position: absolute;
      top: 0; right: 0; bottom: 0;
      width: 0;
      border-left: 1px solid $dialog-body-border-color;
    }

    .uploadcare-dialog-tab {
      @include prefix(box-sizing, border-box);
      width: $dialog-tab-width;
      height: $dialog-tab-height;
      border-bottom: 1px solid $dialog-body-border-color;
      border-right: 1px solid $dialog-body-border-color;
      cursor: pointer;

      $frame-size: 50px;
      position: relative;
      &:after {
        @extend %tab-icons-image;
        content: '';
        display: block;
        position: absolute;
        width: $frame-size;
        height: $frame-size;
        top: 50%; 
        left: 50%;
        margin-top: $frame-size / -2;
        margin-left: $frame-size / -2;
      }

      &:hover {
        background-color: #ebeced;
        &:after {
          @extend %tab-icons-hover-image;
        }
      }

      &.uploadcare-dialog-selected-tab {
        margin-right: -1px;
        border-right: 1px solid $dialog-body-background-color;
        &, &:hover {<commit_msg>fix hovered tab button background color<commit_after>$dialog-tab-width: x(3);
$dialog-tab-height: y(3);
$dialog-body-height: y(28);

$dialog-width: x(36);
$dialog-height: $dialog-body-height;

$dialog-corner-radius: 8px;
$dialog-link-color: #1a85ad;
$dialog-link-active-color: #252525;
$dialog-button-text-color: #fff;
$dialog-body-background-color: #efefef;
$dialog-body-shadow-color: #dee0e1;
$dialog-body-field-color: #fff;
$dialog-body-border-color: #c5cace;
$dialog-body-text-color: #000;
$dialog-body-text-color-lighter: #545454;
$dialog-body-font-size: 16px;
$dialog-body-font-size-smaller: 13px;

$dialog-free-space-for-close-button: y(2);

.uploadcare-dialog {
  font-family: $font-family;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(#313131, .95);
  z-index: 10000;
  overflow: auto;

  * {
    margin: 0;
    padding: 0;
  }
}

.uploadcare-dialog-inner-wrap1 {
  display: table;
  width: 100%;
  height: 100%;
}
.uploadcare-dialog-inner-wrap2 {
  display: table-cell;
  vertical-align: middle;
}

.uploadcare-dialog-close {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  min-width: $dialog-width + $dialog-free-space-for-close-button * 2;
  > div {
    $size: y(1.5);
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    width: $size;
    height: $size;
    line-height: $size;
    font-size: $size * .9;
    font-weight: bold;
    color: #1d1d1d;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
  }
}

.uploadcare-dialog-panel-wrap {
  margin: 0 auto;
  width: $dialog-width;
  padding: 0 $dialog-free-space-for-close-button;
}

.uploadcare-dialog-panel {
  width: $dialog-width;
  height: $dialog-height;
  overflow: hidden;
  border-radius: $dialog-corner-radius;
  background: #fff;
  @include prefix(box-shadow, 0 1px 2px rgba(black, 0.35));
  font-weight: normal;

  a {
    text-decoration: none;
    border-bottom: 1px dotted;
    &:link, &:visited {
      color: $dialog-link-color;
      border-bottom-color: $dialog-link-color;
    }
    &:hover, &:active {
      color: $dialog-link-active-color;
      border-bottom-color: $dialog-link-active-color;
    }
  }
}

.uploadcare-dialog-body {
  .uploadcare-dialog-tabs {
    @include prefix(box-sizing, border-box);
    width: $dialog-tab-width;
    height: $dialog-body-height;
    float: left;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: $dialog-body-shadow-color;
    border-bottom-left-radius: $dialog-corner-radius;
    border-top-left-radius: $dialog-corner-radius;
    overflow: hidden;
    position: relative;
    &:before {
      content: '';
      display: block;
      position: absolute;
      top: 0; right: 0; bottom: 0;
      width: 0;
      border-left: 1px solid $dialog-body-border-color;
    }

    .uploadcare-dialog-tab {
      @include prefix(box-sizing, border-box);
      width: $dialog-tab-width;
      height: $dialog-tab-height;
      border-bottom: 1px solid $dialog-body-border-color;
      border-right: 1px solid $dialog-body-border-color;
      cursor: pointer;

      $frame-size: 50px;
      position: relative;
      &:after {
        @extend %tab-icons-image;
        content: '';
        display: block;
        position: absolute;
        width: $frame-size;
        height: $frame-size;
        top: 50%; 
        left: 50%;
        margin-top: $frame-size / -2;
        margin-left: $frame-size / -2;
      }

      &:hover {
        background-color: #e5e7e8;
        &:after {
          @extend %tab-icons-hover-image;
        }
      }

      &.uploadcare-dialog-selected-tab {
        margin-right: -1px;
        border-right: 1px solid $dialog-body-background-color;
        &, &:hover {
{'fraction_non_alphanumeric': 0.1579930611155591, 'fraction_numerical': 0.02922337870296237, 'mean_word_length': 2.6348205625606207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1363637', 'n_tokens_mistral': 2908, 'n_tokens_neox': 2713, 'n_words': 543}