<commit_before>@import "ui-variables";
@import "octicon-mixins";

@close-icon-size: 12px;

.tab-bar {
  display: -webkit-flex;
  -webkit-user-select: none;
  margin: 0;

  .tab {
    font-size: 11px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px + @close-icon-size + 2px;
    -webkit-user-drag: element;
    -webkit-flex: 1;
    max-width: 175px;
    min-width: 40px;

    &.active {
      -webkit-flex: 2;
      min-width: -webkit-fit-content;

      .title {
        padding-right: 10px;
      }
    }

    .title {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .hide-icon {
      &.icon:before {
        display: none;
      }
    }

    .close-icon {
      .octicon(x, @close-icon-size);
      position: absolute;
      top: 1px;
      right: 10px;
      cursor: default;
    }

    &.modified:hover .close-icon {
      color: @background-color-info;
    }

    &.modified:not(:hover) .close-icon {
      &:before { content: "" }
      top: 11px;
      right: 11px;
      width: 8px;
      height: 8px;
      border: 2px solid @background-color-info;
      border-radius: 12px;
    }
  }

  /* Drag and Drop */
  .placeholder {
    position: absolute;
    top: 0;
    z-index: 999;
    display: inline-block;
    width: 2px;
    margin: -1px; padding: 0;

    height: @tab-height;
    display: inline-block;
    background: @background-color-info;

    list-style: none;

    &:after {
      content: "";<commit_msg>Hide the close-icon when the modified one is showing<commit_after>@import "ui-variables";
@import "octicon-mixins";

@close-icon-size: 12px;

.tab-bar {
  display: -webkit-flex;
  -webkit-user-select: none;
  margin: 0;

  .tab {
    font-size: 11px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px + @close-icon-size + 2px;
    -webkit-user-drag: element;
    -webkit-flex: 1;
    max-width: 175px;
    min-width: 40px;

    &.active {
      -webkit-flex: 2;
      min-width: -webkit-fit-content;

      .title {
        padding-right: 10px;
      }
    }

    .title {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .hide-icon {
      &.icon:before {
        display: none;
      }
    }

    .close-icon {
      .octicon(x, @close-icon-size);
      position: absolute;
      top: 1px;
      right: 10px;
      cursor: default;
    }

    &.modified:hover .close-icon {
      color: @background-color-info;
    }

    &.modified:not(:hover) .close-icon {
      &:before { display: none; }
      top: 11px;
      right: 11px;
      width: 8px;
      height: 8px;
      border: 2px solid @background-color-info;
      border-radius: 12px;
    }
  }

  /* Drag and Drop */
  .placeholder {
    position: absolute;
    top: 0;
    z-index: 999;
    display: inline-block;
    width: 2px;
    margin: -1px; padding: 0;

    height: @tab-height;
    display: inline-block;
    background: @background-color-info;

    list-style: none;

    &:after {
      content: "";
{'fraction_non_alphanumeric': 0.14398943196829592, 'fraction_numerical': 0.02509907529722589, 'mean_word_length': 1.9294003868471954, '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': '621676', 'n_tokens_mistral': 1178, 'n_tokens_neox': 1069, 'n_words': 233}