// transparent background and border properties included for button version.
// iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`.
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile

.tombol-tutup {
  box-sizing: content-box;
  width: $tombol-tutup-width;
  height: $tombol-tutup-height;
  padding: $tombol-tutup-padding-y $tombol-tutup-padding-x;
  color: $tombol-tutup-color;
  background: transparent escape-svg($tombol-tutup-bg) center / $tombol-tutup-width auto no-repeat; // include transparent for button elements
  border: 0; // for button elements
  @include border-radius();
  opacity: $tombol-tutup-opacity;

  // Override <a>'s hover style
  &:hover {
    color: $tombol-tutup-color;
    text-decoration: none;
    opacity: $tombol-tutup-hover-opacity;
  }

  &:focus {
    outline: 0;
    box-shadow: $tombol-tutup-focus-shadow;
    opacity: $tombol-tutup-focus-opacity;
  }

  &:disabled,
  &.disabled {
    pointer-events: none;
    user-select: none;
    opacity: $tombol-tutup-disabled-opacity;
  }
}

.tombol-tutup-white {
  filter: $tombol-tutup-white-filter;
}
