.editor-color-item {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  border-radius: 3px;

  .color-block {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-top: -2px;
    border-radius: 3px;
    flex: none;
    background: rgb(204, 204, 204);
    background: linear-gradient(
      90deg,
      rgba(204, 204, 204, 1) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(204, 204, 204, 1) 100%
    );

    span {
      display: block;
      width: 100%;
      height: 100%;
      border: 1px solid #666;
    }
  }

  .color-label {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
