<commit_before>.inspire-tree {
    &:focus {
        outline: none;
    }

    /* ~~@@@~~~~~ Lists ~~~~~@@@~~ */
    ol {
        list-style: none;
        margin: 0;
        padding: 0;

        ol {
            margin-left: 20px;
        }
    }

    .collapsed > ol, .hidden {
        display: none;
    }

    a {
        cursor: default;
        display: block;
        height: 100%;
    }

    li > .title-wrap {
        position: relative;
        z-index: 2;
    }

    /* ~~@@@~~~~~ Node Content ~~~~~@@@~~ */
    .toggle {
        height: $tree-node-height;
        left: 0;
        position: absolute;
        top: 0;
        width: $tree-node-height;
        z-index: 2;

        &:before {
            display: block;
            left: 50%;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
        }
    }

    [type="checkbox"] {
        left: 18px;
        position: absolute;
        top: 4px;
        vertical-align: middle;
        width: 20px;
        z-index: 2;
    }

    .title {
        line-height: $tree-node-height;
        overflow: hidden;
        padding-left: 30px;
        position: relative;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
        z-index: 1;

        &:before {
            left: -6px;
            position: relative;
            top: -2px;
            vertical-align: middle;
        }
    }
}<commit_msg>Disable user-select to avoid selection flashes<commit_after>.inspire-tree {
    // Clearing selection after click events typically flashes
    // because the selection must complete first.
    // Disabling selection here so that it's easy to override...
    user-select: none;

    &:focus {
        outline: none;
    }

    /* ~~@@@~~~~~ Lists ~~~~~@@@~~ */
    ol {
        list-style: none;
        margin: 0;
        padding: 0;

        ol {
            margin-left: 20px;
        }
    }

    .collapsed > ol, .hidden {
        display: none;
    }

    a {
        cursor: default;
        display: block;
        height: 100%;
    }

    li > .title-wrap {
        position: relative;
        z-index: 2;
    }

    /* ~~@@@~~~~~ Node Content ~~~~~@@@~~ */
    .toggle {
        height: $tree-node-height;
        left: 0;
        position: absolute;
        top: 0;
        width: $tree-node-height;
        z-index: 2;

        &::before {
            display: block;
            left: 50%;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
        }
    }

    [type="checkbox"] {
        left: 18px;
        position: absolute;
        top: 4px;
        vertical-align: middle;
        width: 20px;
        z-index: 2;
    }

    .title {
        line-height: $tree-node-height;
        overflow: hidden;
        padding-left: 30px;
        position: relative;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
        z-index: 1;

        &::before {
            left: -6px;
            position: relative;
            top: -2px;
            vertical-align: middle;
        }
    }
}
{'fraction_non_alphanumeric': 0.1395866454689984, 'fraction_numerical': 0.019077901430842606, 'mean_word_length': 1.2863372093023255, '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': '7632342', 'n_tokens_mistral': 1028, 'n_tokens_neox': 952, 'n_words': 227}