@keyframes jelly {
  0%,
  100% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
}

.AvatarEditor {
  background: rgba(255, 255, 255, 0.1);

  .divider {
    background: rgba(255, 255, 255, 0.15);
  }

  .iconfont {
    display: flex;
    justify-content: center;
    position: relative;
    &:hover {
      animation: jelly 0.5s;
      &:not(.banTip):after {
        opacity: 1;
        transform: translateY(0px);
      }
    }
    &:after {
      content: attr(data-tip);
      position: absolute;
      bottom: 120%;
      border-radius: 5px;
      font-size: 0.75rem;
      color: #fff;
      background: #303030;
      padding: 0.15rem 0.75rem;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.2s ease-out;
    }
  }

  .codeBlock {
    background: #222;
    color: #eeebff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
    &.active {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
