<commit_before>.c-hotspot {
  margin: 0 -20px;
  padding: 0 20px;
  outline: none;
  cursor: pointer;

  .c-hotspot__image {
    transform: scale(1);
    background-size: cover;
  }

  &:hover {
    transform: scale(1.15);
    animation: hotspot-animation 100ms linear;

    &.c-hotspot--year-2016 {
      .c-hotspot__image {
        background-image: url("assets/images/hotspots/2016-hover.svg");
      }
    }

    &.c-hotspot--year-2017 {
      .c-hotspot__image {
        background-image: url("assets/images/hotspots/2017-hover.svg");
      }
    }
  }
}

.c-hotspot__image {
  .c-hotspot--year-2016 & {
    background-image: url("assets/images/hotspots/2016.svg");
  }

  .c-hotspot--year-2017 & {
    background-image: url("assets/images/hotspots/2017.svg");
  }
}

@keyframes hotspot-animation {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}<commit_msg>fixed code review tg-3483<commit_after>.c-hotspot {
  margin: 0 -20px;
  padding: 0 20px;
  outline: none;
  cursor: pointer;

  &:hover {
    transform: scale(1.15);
    animation: hotspot-animation 100ms linear;

  }
}

.c-hotspot--year-2016 {
  &:hover {
    .c-hotspot__image {
      background-image: url("assets/images/hotspots/2016-hover.svg");
    }
  }
}

&.c-hotspot--year-2017 {
  &:hover {
    .c-hotspot__image {
      background-image: url("assets/images/hotspots/2017-hover.svg");
    }
  }
}

.c-hotspot__image {
  transform: scale(1);
  background-size: cover;

  .c-hotspot--year-2016 & {
    background-image: url("assets/images/hotspots/2016.svg");
  }

  .c-hotspot--year-2017 & {
    background-image: url("assets/images/hotspots/2017.svg");
  }
}

@keyframes hotspot-animation {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}
{'fraction_non_alphanumeric': 0.16891891891891891, 'fraction_numerical': 0.061936936936936936, 'mean_word_length': 2.5754527162977867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7386516', 'n_tokens_mistral': 767, 'n_tokens_neox': 674, 'n_words': 96}