<commit_before>@import "../../assets/scss/core/base";

$jigsaw-combo-select: #{$jigsaw-prefix}-combo-select;

.#{$jigsaw-combo-select}-host {
    @include inline-block;
    min-width: 240px;
    max-width: 100%;
}

.#{$jigsaw-combo-select} {
    position: relative;
    color: $text-color;
    font-size: $font-size-base;
    cursor: pointer;

    &-selection {
        border-radius: $border-radius-base;
        border: $border-width-base $border-style-base $border-color-base;
        background: $component-background;
        transition: all .3s $ease-in-out;
        user-select: none;
        padding: 0 30px 0 7px;
        &:hover {
            border-color: $primary-color;
            box-shadow: $box-focus-shadow;
        }
        .#{$jigsaw-combo-select}-error & {
            border: 1px solid $error-color;
            &:hover {
                border: 1px solid $error-color;
                box-shadow: none;
            }
        }
    }

    &-selection-rendered {
        min-height: $height-base;
        padding: 3px 0 0;
        overflow: hidden;
        font-size: 0;
        .jigsaw-tag-host {
            vertical-align: middle;
            margin-right: 4px;
            margin-bottom: 2px;
        }
        .jigsaw-input {
            height: $height-base - 6;
            line-height: $height-base - 6;
            input {
                padding: 0 !important;
                font-size: $font-size-base;
                border: none;
                &:focus, &:hover {
                    box-shadow: none;
                    border: none;
                }
            }
        }
    }

    &-placeholder {
        @include inline-block();
        font-size: $font-size-base;
        color: $text-color-secondary;
        padding-bottom: 3px;
        height: $height-base - 3;
        line-height: $height-base - 6;
    }

    &-disabled {
        @include compatible(color, $disabled-color, $disabled-color-ie11);
        pointer-events: none;
    }

    &-disabled &-placeholder {
        @include compatible(color, $disabled-color, $disabled-color-ie11);
    }

    &-disabled &-selection {
        background-color: $disabled-bg;
        cursor: not-allowed;
<commit_msg>[修复] 修复input在combo中有边框的问题<commit_after>@import "../../assets/scss/core/base";

$jigsaw-combo-select: #{$jigsaw-prefix}-combo-select;

.#{$jigsaw-combo-select}-host {
    @include inline-block;
    min-width: 240px;
    max-width: 100%;
}

.#{$jigsaw-combo-select} {
    position: relative;
    color: $text-color;
    font-size: $font-size-base;
    cursor: pointer;

    &-selection {
        border-radius: $border-radius-base;
        border: $border-width-base $border-style-base $border-color-base;
        background: $component-background;
        transition: all .3s $ease-in-out;
        user-select: none;
        padding: 0 30px 0 7px;
        &:hover {
            border-color: $primary-color;
            box-shadow: $box-focus-shadow;
        }
        .#{$jigsaw-combo-select}-error & {
            border: 1px solid $error-color;
            &:hover {
                border: 1px solid $error-color;
                box-shadow: none;
            }
        }
    }

    &-selection-rendered {
        min-height: $height-base;
        padding: 3px 0 0;
        overflow: hidden;
        font-size: 0;
        .jigsaw-tag-host {
            vertical-align: middle;
            margin-right: 4px;
            margin-bottom: 2px;
        }
        .jigsaw-input {
            height: $height-base - 6;
            line-height: $height-base - 6;
            border: none;
            &.jigsaw-input-focused, &:hover {
                box-shadow: none;
                border: none;
            }
            input {
                padding: 0 !important;
                font-size: $font-size-base;
            }
        }
    }

    &-placeholder {
        @include inline-block();
        font-size: $font-size-base;
        color: $text-color-secondary;
        padding-bottom: 3px;
        height: $height-base - 3;
        line-height: $height-base - 6;
    }

    &-disabled {
        @include compatible(color, $disabled-color, $disabled-color-ie11);
        pointer-events: none;
    }

    &-disabled &-placeholder {
        @include compatible(color, $disabled-color, $disabled-color-ie11);
    }

    &-disabled &-selection {
        background-color: $disabled-bg;
        cursor: not-allowed;

{'fraction_non_alphanumeric': 0.13637389930006774, 'fraction_numerical': 0.013547076089410703, 'mean_word_length': 1.547441058079356, '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': '4549865', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1365, 'n_words': 261}