@import '../color/color-mixin.scss';

.__tip-item {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  text-align: center;
  .c {
    position: relative;
    z-index: 1;
    color: #FFF;
    font-size: 12px;
  }
  .tip {
    @include fill;
    // background-color: $themeColor;
    border-radius: 50%;
    @include bgColor;
    &.animate {
      animation-name: cycle-tip-animate;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
    }
  }
  @keyframes cycle-tip-animate {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(2);
      opacity: 0.5;
    }
    100% {
      transform: scale(3);
      opacity: 0;
    }
  }
}
