<commit_before>@import "includes.less";

@star_color: #FFAE00;

.card {
    // common
    position: relative;
    overflow: hidden;
    border: 1px solid #999;
    background: #fafafa;

    .inline-block;
    .text-center;
    .border-radius;
    .box-shadow;

    width: 60px;
    margin: 5px 0 0 5px;

    [class^="icon-"] {
        font-size: 13pt;
        margin-top: 4px;
    }

    a,
    a:hover {
        color: #333;
        text-decoration: none;
    }

    .person-img {
        display: block;
        width: 60px;
        height: 80px;
        margin: 0 auto;
    }

    h2 {
        font-size: 10pt;
    }

    .btn-remove-card {
        display: none;
        position: absolute;
        top: 0;
        width: 100%;
        text-align: right;
        background: rgba(127, 127, 127, 0.3);
    }

    .to-favorites .icon-star-or-empty:before {
        content:"\f006";
    }

    &.favorited .to-favorites .icon-star-or-empty:before {
        content:"\f005";
    }

    &:hover .btn-remove-card {
        display: block;
    }

    &:hover {
        background: #ececec;
    }
}

.card.card-small {
    width: 48px;

    .person-img {
        width: 48px;
        height: 64px;
    }
}

.card .badges {
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 52px;
    right: 0;
    height: 13px;
    width: 20px;
    .badge-elected {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

.card.card-large {
    display: block;
    width: 90px;
    margin: 20px auto;

    .person-img {
        width: 90px;
        height: 120px;
    }

    h2 {
        font-size: 14pt;
        margin: 2px;
        text-align: right;
        line-height: 1.1em;
    }

}

.to-favorites {
    position: absolute;
    top: 0;
    right: 0;
    i {
        color: @star_color;
    }

    .btn-save-card {
        font-weight: bold;
        padding: 3px;
        .border-radius;
        &:hover {
            text-decoration: none;
            background: @hover_color;
        }
    }
}
<commit_msg>Remove color change for star when hovering<commit_after>@import "includes.less";

@star_color: #FFAE00;

.card {
    // common
    position: relative;
    overflow: hidden;
    border: 1px solid #999;
    background: #fafafa;

    .inline-block;
    .text-center;
    .border-radius;
    .box-shadow;

    width: 60px;
    margin: 5px 0 0 5px;

    [class^="icon-"] {
        font-size: 13pt;
        margin-top: 4px;
    }

    a,
    a:hover {
        color: #333;
        text-decoration: none;
    }

    .person-img {
        display: block;
        width: 60px;
        height: 80px;
        margin: 0 auto;
    }

    h2 {
        font-size: 10pt;
    }

    .btn-remove-card {
        display: none;
        position: absolute;
        top: 0;
        width: 100%;
        text-align: right;
        background: rgba(127, 127, 127, 0.3);
    }

    .to-favorites .icon-star-or-empty:before {
        content:"\f006";
    }

    &.favorited .to-favorites .icon-star-or-empty:before {
        content:"\f005";
    }

    &:hover .btn-remove-card {
        display: block;
    }

    &:hover {
        background: #ececec;
    }
}

.card.card-small {
    width: 48px;

    .person-img {
        width: 48px;
        height: 64px;
    }
}

.card .badges {
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 52px;
    right: 0;
    height: 13px;
    width: 20px;
    .badge-elected {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

.card.card-large {
    display: block;
    width: 90px;
    margin: 20px auto;

    .person-img {
        width: 90px;
        height: 120px;
    }

    h2 {
        font-size: 14pt;
        margin: 2px;
        text-align: right;
        line-height: 1.1em;
    }

}

.to-favorites {
    position: absolute;
    top: -5px;
    right: -3px;
    i,
    i:hover {
        color: @star_color;
    }

    .btn-save-card {
        color: @star_color;
        font-weight: bold;
        padding: 1px;
        .border-radius;
        &:hover {
            text-decoration: none;
        }
    }
}

{'fraction_non_alphanumeric': 0.13424124513618677, 'fraction_numerical': 0.04426070038910506, 'mean_word_length': 1.483695652173913, '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': '621661', 'n_tokens_mistral': 1676, 'n_tokens_neox': 1472, 'n_words': 319}