/**
 * @license EUPL-1.2
 * Copyright (c) 2021 The Knights Who Say NIH! B.V.
 * Copyright (c) 2021 Gemeente Utrecht
 */

@import "~@utrecht/button-css/src/mixin";

@mixin utrecht-button-link {
  @include utrecht-button;
  @include utrecht-button--media-query-forced-colors;

  cursor: var(--utrecht-action-navigate-cursor, pointer);
  text-decoration: none;
}

@mixin utrecht-button-link--active {
  @include utrecht-button--active;
}

@mixin utrecht-button-link--hover {
  @include utrecht-button--hover;
}

@mixin utrecht-button-link--focus {
  @include utrecht-button--focus;
}

@mixin utrecht-button-link--focus-visible {
  @include utrecht-button--focus-visible;
}

@mixin utrecht-button-link--placeholder {
  @include utrecht-button--disabled;
}

@mixin utrecht-button-link--html-a {
  &:focus {
    @include utrecht-button-link--focus;
  }
  &:focus-visible {
    @include utrecht-button-link--focus-visible;
  }
  &:hover {
    @include utrecht-button-link--hover;
  }
  &:active {
    @include utrecht-button-link--active;
  }
}
