.tn-color-select {

    .current-color-wrapper {
        border: 1px solid #d9d9d9;
        background-color: #fff;
        position: relative;
        border-radius: 2px;
        transition: all 0.3s;
        width: 120px;
        padding: 0 7px;
        cursor: pointer;
        display: flex;
        height: 24px;
        &:hover, &.active {
            border-color: #2182bf;
        }
        .current-item {
            padding-right: 21px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            flex: 1;
            display: flex;
            align-items: center;
            width: 100px;
        }
        .color-box {
            border: 1px solid #868686;
            width: 16px;
            height: 16px;
            margin-right: 8px;
        }
    }


}

.color-select-dropdown {
    background-color: rgb(247, 247, 247);
    // min-width: 200px;
    padding: 4px 0;


    .divider {
        width: 100%;
        border-bottom: 1px solid #868686;
    }

    .click-select {
        padding: 0 10px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: all 0.2s;
        &:hover {
            background-color: #c9c9c9;
        }
    }

    .color-box {
        border: 1px solid #868686;
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    .color-select {
        padding: 6px 10px;
        // display: flex;
        // flex-wrap: wrap;
        .color-wrapper {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            width: 180px;
            .color-item {
                flex: 0, 0, 20px;
                width: 20px;
                height: 20px;
                padding: 2px 2px;
                cursor: pointer;
                &:hover {
                    padding: 1px;
                    .color-box {
                        width: 19px;
                        height: 19px;
                    }
                }
            }
        }
    }

    .palette-icon {
        margin: 0 6px;
        color: #007ac5;
    }
}

.color-tooltip {
    padding-bottom: 0px;
    .ant-tooltip-arrow {
        bottom: -13px;
    }
    .ant-tooltip-inner {
        color: #000;
        border: 1px solid #aeaeae;
        text-align: center;
        padding: 4px;
    }
}

.color-select-modal {
    &-body {
        display: flex;
        // background-color: #eeeeee;
    }
}