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

@mixin raised-button-theme($color, $bg-color, $border-color) {
    color: $color;
    background-color: $bg-color;
    border-color: $border-color;

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

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

.raised-button {
    @include shadow(1);
    border-style: solid;
    border-width: 1px;

    &:hover {
        @include shadow(3);
    }

    &:active {
        @include shadow(2);
    }

    &[disabled] {
        box-shadow: none !important;
        color: $theme-field-disabled !important;
        background-color: $theme-field-bg-disabled !important;
        border-color: $theme-border-disabled !important;
    }

    // default theme
    @include raised-button-theme($theme-field, $theme-field-bg, $theme-secondary);

    // other themes
    &.theme-primary {
        @include raised-button-theme($theme-secondary, $theme-primary, $theme-primary);
    }<commit_msg>update RaisedButton style<commit_after>/**
 * @file RaisedButton style
 * @author liangxiaojun(<EMAIL>)
 */

@mixin raised-button-theme($color, $bg-color, $border-color) {
    color: $color;
    background-color: $bg-color;
    border-color: $border-color;

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

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

.raised-button {
    @include shadow(1);
    border-style: solid;
    border-width: 1px;

    &:hover {
        @include shadow(3);
    }

    &:active {
        @include shadow(2);
    }

    &[disabled] {
        box-shadow: none !important;
        color: $theme-field-disabled !important;
        background-color: $theme-field-bg-disabled !important;
        border-color: $theme-border-disabled !important;
    }

    // default theme
    @include raised-button-theme($theme-field, $theme-field-bg, $theme-border);

    // other themes
    &.theme-primary {
        @include raised-button-theme($theme-secondary, $theme-primary, $theme-primary);
    }
{'fraction_non_alphanumeric': 0.15633636004737467, 'fraction_numerical': 0.0031583103039873666, 'mean_word_length': 2.614835948644793, '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': '108965', 'n_tokens_mistral': 820, 'n_tokens_neox': 793, 'n_words': 140}