@keyframes name-color-input-pending {
  0%    { border-color: @blue }
  50%   { border-color: @gray-2 }
  100%  { border-color: @blue }
}

@keyframes name-color-input-saved {
  0%    { border-color: @green }
  100%  { border-color: @gray-2 }
}

.mt-name-color-input {
  border: 2px solid @blue-3;
  background-color: @blue-1;
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  transition: border-color 1.0s ease;

  &--status-pending {
    animation: name-color-input-pending 1.5s infinite;
  }

  &--status-saved {
    border-color: @green
  }

  &--status-error {
    border-color: @red;
  }

  .colorpicker__wrap {
    margin: 5px;
  }

  .colorpicker__button {
    top: 0;
    height: 20px;
    width: 20px;
    margin-left: 0;
  }

  .colorpicker__modal {
    left: -244px;
    top: 35px;
  }

  .color-picker-placeholder {
    border-radius: 20px;
    width: 20px;
    height: 20px;
    margin: 0px 5px 0 15px;
  }

  &.is-disabled {
    background: @gray-1;
  }

  &__input {
    height: 30px;
    border: none;
    padding-left: 7px;
    outline: none;
    background-color: @blue-1;
    color: @blue-dark;
    font-weight: bold;

    &--abbr {
      border-left: 2px dashed @blue-4;
      border-right: 2px dashed @blue-4;
      width: 90px;
    }
  }
}
