<commit_before>/**
 * @file ListItem style
 * @author liangxiaojun(<EMAIL>)
 */

@mixin list-item-theme($color, $bg-color) {
    color: $color;
    background-color: $bg-color;

    &:hover {
        color: theme-color-hover($color);
        background-color: theme-color-hover($bg-color);
    }

    &:active {
        color: theme-color-active($color);
        background-color: theme-color-active($bg-color);
    }
}

@mixin list-item-readonly {
    cursor: default;
    color: $theme-field;
    background: $theme-field-bg;
}

@mixin list-item-disabled {
    cursor: not-allowed;
    color: $theme-field-disabled;
    background-color: $theme-field-bg-disabled;
}

.list-item {
    display: block;
    width: 100%;
    height: 40px;
    position: relative;
    line-height: 40px;
    border: none;
    transition: all $theme-transition-duration ease-in-out;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0 16px;
    font-size: 12px;
    text-align: left;
    user-select: none;<commit_msg>update ListItem style<commit_after>/**
 * @file ListItem style
 * @author liangxiaojun(<EMAIL>)
 */

@mixin list-item-theme($color, $bg-color) {
    color: $color;
    background-color: $bg-color;

    &:hover {
        color: theme-color-hover($color);
        background-color: theme-color-hover($bg-color);
    }

    &:active {
        color: theme-color-active($color);
        background-color: theme-color-active($bg-color);
    }
}

@mixin list-item-readonly {
    cursor: default;
    color: $theme-field;
    background: $theme-field-bg;
}

@mixin list-item-disabled {
    cursor: not-allowed;
    color: $theme-field-disabled;
    background-color: $theme-field-bg-disabled;
}

.list-item {
    display: block;
    width: 100%;
    height: 40px;
    position: relative;
    line-height: 40px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0 16px;
    font-size: 12px;
    text-align: left;
    user-select: none;
{'fraction_non_alphanumeric': 0.1510681586978637, 'fraction_numerical': 0.012207527975584944, 'mean_word_length': 2.732447817836812, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1434369', 'n_tokens_mistral': 709, 'n_tokens_neox': 673, 'n_words': 135}