.@{editorList} .ant-collapse,
.editor-list-popover .ant-popover-inner {
  .icon {
    font-size: 16px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  line-height: 22px;
  font-size: 12px;

  &-dropdown {
    font-size: 12px;

    .ant-dropdown-menu-item {
      font-size: 12px;
    }
  }

  .ant-radio-group-small .ant-radio-button-wrapper {
    padding: 0 8px;
  }

  .ant-row {
    margin-bottom: 8px;
  }

  .ant-collapse-content-box {
    position: relative;
    padding: 0 !important;
  }

  .ant-input-number,
  .ant-input {
    width: 100%;
    background: @bgColor;
    border-color: @input-line-color;
    color: @edit-list-text-color;

    &.ant-input-disabled {
      color: fade(@edit-list-text-color, 10);
      border-color: fade(@input-line-color, 10);
    }

    input {
      background: @bgColor !important;
      color: @edit-list-text-color;
      border-color: @input-line-color;
    }

    &:hover,
    &:focus,
    &-focused {
      border-color: @input-line-color-hover;
      box-shadow: 0 0 4px @input-line-color-hover;
    }

    &::-moz-placeholder {
      color: fade(@edit-list-text-color, 15);
      opacity: 1;
    }

    &:-ms-input-placeholder {
      color: fade(@edit-list-text-color, 15);
    }

    &::-webkit-input-placeholder {
      color: fade(@edit-list-text-color, 15);
    }
  }

  .ant-input-group {
    &-addon {
      padding: 0 4px;
      color: @edit-list-text-color;
      border-color: @edit-list-text-color;
      background-color: @bgColor;
    }
  }

  .ant-select {
    width: 100%;
  }
  .ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item {
    padding-left: 8px;
  }
  .ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
  .ant-select,
  .ant-select-selection, .ant-select-auto-complete.ant-select {
    background: @bgColor;
    color: @edit-list-text-color;
    border-color: @input-line-color;

    &:hover,
    &:focus {
      border-color: @input-line-color-hover;
    }

    .ant-select-selection-selected-value {
      padding-right: 8px;
    }

    .ant-select-arrow {
      right: 4px;
      color: @edit-list-text-color;
    }

    input {
      padding: 0 7px;

      &:hover,
      &:focus,
      &-focused {
        box-shadow: none;
      }
    }

    &__choice {
      background: transparent;
      color: @edit-list-text-color;
      border-color: @input-line-color;

      &__remove {
        color: @edit-list-text-color;
      }
    }
  }

  .ant-select-single .ant-select-selector {
    padding: 0;
    .ant-select-selection-search {
      left: 0;
      right: 0;
    }
  }

  .ant-select-focused .ant-select-selection,
  .ant-select-open .ant-select-selection {
    border-color: @input-line-color-hover;
    box-shadow: 0 0 4px @input-line-color-hover;
  }

  .ant-select-selection .ant-select-selection__placeholder {
    color: fade(@edit-list-text-color, 15);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 1px 7px;
  }

  .ant-input-number-handler-wrap {
    background: transparent;

    .ant-input-number-handler {
      .ant-input-number-handler-up-inner,
      .ant-input-number-handler-down-inner {
        color: @edit-list-text-color;

        &:hover {
          color: @edit-list-text-color;
        }
      }
    }
  }

  .ant-radio-button-wrapper {
    color: fade(@input-line-color, 30);
    background: transparent;
    border-color: fade(@input-line-color, 30);
    min-width: 42px;
    text-align: center;
  }

  .ant-radio-button-wrapper-checked {
    color: @input-line-color-hover !important;
    background: @heiColor;
    border-color: @input-line-color-hover !important;
    // box-shadow: -1px 0 0 0 @input-line-color-hover;
  }

  .ant-radio-button-wrapper:not(:first-child)::before {
    background-color: fade(@input-line-color, 30);
  }

  .ant-radio-button-auto-width {
    width: auto;
  }

  .select-input {
    position: relative;

    & .anticon {
      position: absolute;
      right: 4px;
      line-height: 22px;
      cursor: pointer;
      font-size: 12px;
      transform: scale(0.75) rotate(0deg);
      z-index: 2;
    }
  }

  .ant-switch-checked {
    background-color: @input-line-color;
  }

  .add-button {
    display: block;
    width: 100%;
    height: 36px;
    line-height: 36px;
    background: @heiColor;
    border-radius: 4px;
    text-align: center;
    color: @edit-list-text-color;
    font-size: 24px;
    box-shadow: 0 0 0 fade(#000, 0);
    transition:
 transform 0.3s @ease-out,
 box-shadow 0.3s @ease-out,
      color 0.3s @ease-out,
 background 0.3s @ease-out;

    &:hover {
      transform: translateY(-2px) scale(1.01);
      box-shadow: 0 2px 3px fade(#000, 35);
      color: @edit-list-text-color-hover;
      background: @huiColor;
    }

    &:active {
      transform: translateY(-1px) scale(1.005);
      box-shadow: 0 1px 3px fade(#000, 35);
    }
  }

  .icon-button {
    cursor: pointer;
    display: block;
  }

  .editor-transition-tween {
    .ant-row {
      overflow: hidden;
    }
  }

  .ant-tag-checkable {
    color: @edit-list-text-color;
    margin-bottom: 8px;
    border: 1px solid @input-line-color;

    &:hover {
      color: @edit-list-text-color;
    }

    &:active,
    &.ant-tag-checkable-checked {
      border-color: @input-line-color-hover;
      color: @edit-list-text-color-hover;
      background: @heiColor;
    }
  }

  .sketch-picker {
    box-shadow: none !important;
    color: @bgColor;
    input {
      color: @bgColor;
    }
  }

  .ant-checkbox-group {
    .ant-row {
      margin-bottom: 0;
    }
  }

  .ant-checkbox-wrapper {
    color: @edit-list-text-color;
    font-size: 12px;
  }
  .ant-tag {
    cursor: pointer;
  }
}

.editor-list-popover .ant-popover-content {
  .ant-popover-inner {
    background-color: @huiColor;
    box-shadow: 0 0 16px fade(@huiColor, 70);
    position: relative;
    z-index: 1;
  }

  .ant-popover-inner-content {
    padding: 0;
    color: @edit-list-text-color;
  }

  .ant-popover-arrow {
    border-right-color: @huiColor;
    border-bottom-color: @huiColor;
    box-shadow: 0 0 16px fade(@huiColor, 70);
  }
}
