.fade-motion(@className, @keyframeName) {
  .make-motion(@className, @keyframeName, 0);
  .@{className}-enter,
  .@{className}-appear {
    opacity: 0;
    animation-timing-function: linear;
  }
  .@{className}-leave {
    animation-timing-function: linear;
  }
}

.fade-motion(mapFade, pjtoolsFade);

@keyframes pjtoolsFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pjtoolsFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
