@import url('../../assets/css/animation.css');
@import url('../../assets/css/reset.css');
@import url('../../assets/css/scrollbar.css');
.v-select {
    width: 100%;
    min-width: 260px;
    position: relative;
    .v-select-input {
        width: 100%;
        min-height: 40px;
        box-sizing: border-box;
        padding-right: 10px;
        padding-left: 6px;
        border-radius: 4px;
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: .3s;
        &:hover {
            border-color: #c0c4cc;
        }
        .v_multiple_box {
            width: 94%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            .placeholder {
                font-size: 13px;
                color: #828482;
            }
            input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill {
                background-color: #fff;
                background-image: none;
                transition: background-color 50000000s ease-in-out 0s, border .3s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
            }
            .input {
                outline: none;
                border: none;
                cursor: pointer;
    
            }
            .v-clear {
                transform: translateX(0);
                &:hover {
                    color: #333;
                }
            }
            .v-select-multiple {
                width: 0;
                flex: 1;
                margin: 0;
                padding: 4px 0;
                display: flex;
                flex-wrap: wrap;
                li {
                    display: flex;
                    margin: 2px 6px 2px 0px;
                    justify-content: space-between;
                    align-items: center;
                    height: 24px;
                    padding: 0 4px 0 10px;
                    background-color: #f4f4f5;
                    border: 1px solid #d9ecff;
                    border-radius: 4px;
                    color: #909399;
                    font-size: 12px;
                    span {
                        margin-right: 4px;
                        max-width: 170px;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                    }
                }
            }
            /deep/.v_filterable_input {
                transform:  translate(-4px, -4px);
                min-width: 230px;
                .v-input-box {
                    .input {
                        width: 98%;
                        height: 30px;
                        border: none;
                    }
                }
            }
        }
        i {
            color: rgb(170, 170, 170);
            font-size: 16px;
            transition: .3s;
            color: #aaa;
        }
        .loading {
            animation: loading 1s linear infinite;
            color: #000;
            width: 16px;
            height: 16px;
        }
    }
    .v-select-box {
        position: absolute;
        z-index: 99;
        left: 0;
        right: 0;
        transform-origin: center top;
        transform: rotateX(90deg);
        transition: .2s;
        .v-select-ul {
            max-height: 250px;
            overflow: auto;
            padding: 4px 0;
            background-color: #fff;
            border-radius: 4px;
            box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
            border: 1px solid #e4e7ed;
            transform: translateY(14px);
            & div:last-child:after {
                height: 0;
            }
        }
    }
    .v-popper__arrow {
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 6px;
        filter: drop-shadow(0 2px 12px rgba(0,0,0,.03));
        top: 8px;
        left: 50%;
        margin-right: 3px;
        border-top-width: 0;
        border-bottom-color: #ebeef5;
        &:after {
            position: absolute;
            display: block;
            width: 0;
            height: 0;
            border-color: transparent;
            border-style: solid;
            content: " ";
            border-width: 6px;
            top: 1px;
            margin-left: -6px;
            border-top-width: 0;
            border-bottom-color: #fff;
        }
    }
    .disabled {
        cursor: not-allowed !important;
        background-color: #f5f7fa;
        color: #c0c4cc;
        .input::-webkit-input-placeholder {
            color: #c0c4cc;
        }
        &:hover {
            border-color: #ddd;
        }
    }
    .v-select-dropdown__empty {
        padding: 8px 0;
        margin: 0;
        text-align: center;
        color: #999;
        font-size: 14px;
    }
}