<commit_before>@import "bootstrap/less/variables.less";
@import "octicon-mixins.less";

.tree-view-resizer {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: default;
  -webkit-user-select: none;
  min-width: 50px;
  z-index: 2;

  .tree-view-resize-handle {
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    width: 10px;
    cursor: col-resize;
    z-index: 3;
  }
}

.tree-view-scroller {
  height: 100%;
  width: 100%;
  overflow: auto;
}

.tree-view {
  min-width: -webkit-min-content;
  min-height: 100%;
  @item-line-height: @line-height-base * 1.25;
  @disclosure-arrow-size: 12px;
  @icon-margin: @line-height-base / 4;

  position: relative;
  padding: 0 @icon-margin;
  margin-bottom: 0;
  cursor: default;

  .entry {
    text-wrap: none;
    white-space: nowrap;

    .name {
      position: relative;
      z-index: 1;
    }

    &.selected > .highlight {
      position: absolute;
      left: 0;
      right: 0;
      height: @item-line-height;
    }
  }

  .directory {
    > .header {
      line-height: @item-line-height;
      .disclosure-arrow { margin-right: @icon-margin; }
    }

    .entries {
      margin-left: 12px;
    }
  }

  .file {
    line-height: @item-line-height;

    .name {
      margin-left: @disclosure-arrow-size + @icon-margin;
    }
  }

  // icons
  .name:before {
    margin-right: @icon-margin;
    position: relative;
    top: 1px;
  }

  .directory > .header {
    .disclosure-arrow {
      .octicon(triangle-right, @disclosure-arrow-size);
      position: relative;
    }
    .directory-icon { .octicon(file-directory); }
    .repository-icon { .octicon(repo); }
    .submodule-icon { .octicon(file-submodule); }
  }

  .directory.expanded > .header {
    .disclosure-arrow { .octicon(triangle-down, @disclosure-arrow-size); }
  }

  .file {
    .text-icon { .octicon(file-text); }
    .image-icon { .octicon(file-media); }
    .compressed-icon { .octicon(file-zip); }
    .pdf-icon { .octicon(file-pdf); }
    .readme-icon { .octicon(book); }
    .binary-icon { .octicon(file-binary); }
    .symlink-icon { .octicon(file-symlink-file); }
  }
}


.tree-view-dialog {
  padding: 5px;
  position: absolute;
  bottom: 0;<commit_msg>Try chevrons in tree view instead of triangles<commit_after>@import "bootstrap/less/variables.less";
@import "octicon-mixins.less";

.tree-view-resizer {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: default;
  -webkit-user-select: none;
  min-width: 50px;
  z-index: 2;

  .tree-view-resize-handle {
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    width: 10px;
    cursor: col-resize;
    z-index: 3;
  }
}

.tree-view-scroller {
  height: 100%;
  width: 100%;
  overflow: auto;
}

.tree-view {
  min-width: -webkit-min-content;
  min-height: 100%;
  @item-line-height: @line-height-base * 1.25;
  @disclosure-arrow-size: 12px;
  @icon-margin: @line-height-base / 4;

  position: relative;
  padding: 0 @icon-margin;
  margin-bottom: 0;
  cursor: default;

  .entry {
    text-wrap: none;
    white-space: nowrap;

    .name {
      position: relative;
      z-index: 1;
    }

    &.selected > .highlight {
      position: absolute;
      left: 0;
      right: 0;
      height: @item-line-height;
    }
  }

  .directory {
    > .header {
      line-height: @item-line-height;
      .disclosure-arrow { margin-right: @icon-margin; }
    }

    .entries {
      margin-left: 12px;
    }
  }

  .file {
    line-height: @item-line-height;

    .name {
      margin-left: @disclosure-arrow-size + @icon-margin;
    }
  }

  // icons
  .name:before {
    margin-right: @icon-margin;
    position: relative;
    top: 1px;
  }

  .directory > .header {
    .disclosure-arrow {
      .octicon(chevron-right, @disclosure-arrow-size);
      position: relative;
    }
    .directory-icon { .octicon(file-directory); }
    .repository-icon { .octicon(repo); }
    .submodule-icon { .octicon(file-submodule); }
  }

  .directory.expanded > .header {
    .disclosure-arrow { .octicon(chevron-down, @disclosure-arrow-size); }
  }

  .file {
    .text-icon { .octicon(file-text); }
    .image-icon { .octicon(file-media); }
    .compressed-icon { .octicon(file-zip); }
    .pdf-icon { .octicon(file-pdf); }
    .readme-icon { .octicon(book); }
    .binary-icon { .octicon(file-binary); }
    .symlink-icon { .octicon(file-symlink-file); }
  }
}


.tree-view-dialog {
  padding: 5px;
  position: absolute;
  bottom: 0;
{'fraction_non_alphanumeric': 0.16289997762362945, 'fraction_numerical': 0.0165585142089953, 'mean_word_length': 2.350824587706147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5600052', 'n_tokens_mistral': 1763, 'n_tokens_neox': 1652, 'n_words': 302}