@import "mixins/mixins";
@import "common/var";

@include b(color-select) {
    display: inline-block;
}

@include b(color-select-option) {
    @include m((active, items)) {
        line-height: 1.5;
        display: flex;
        align-items: center;
    }

    @include m(active) {
        cursor: pointer;
        &.is-disabled{
            cursor: not-allowed;
            & .el-color-select-option__label--active{
                color: $--color-text-placeholder;
            }
        }

    }
}

@include b(color-select-box) {
    @include m(items) {
        margin-right: 8px;
    }

    @include m(active) {
        border-radius: 2px;
        width: 24px;
        height: 24px;
        .el-color-select-box__image--active, .el-color-select-box__color--active {
            width: 100%;
            height: 100%;
        }
    }
}
@include b(color-select-option__label){
    @include m(active){
        padding-left: 8px;
    }
}
@include b(color-select-dropdown) {
    .el-color-select-dropdown__item {
        padding: 4px 8px;
        width: 96px;
        .el-color-select-box__image--items, .el-color-select-box__color--items {
            width: 16px;
            height: 16px;
        }
    }
}
