.has-hover-style:not(.is-disabled) {
  cursor: pointer;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: solid 1px;
    border-bottom: solid 1px;
    transition: 0.3s;
    transform: scaleX(0);
    border-color: $ac-primary;
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-left: solid 1px;
    border-right: solid 1px;
    transition: 0.3s;
    transform: scaleY(0);
    border-color: $ac-primary;
  }

  &:hover {
    &::before,
    &::after {
      transform: scale(1);
    }
  }
}
